PDA

View Full Version : MediaCoder - universal batch A/V transcoder - putting all things together


stanleyhuang
13th December 2006, 08:54
MediaCoder is a free universal audio/video batch transcoder with a well-designed extension mechanism to support different audio/video devices (including file transmission to device, still under dev). MediaCoder supports most major audio/video/container formats and most valid combinations of them.

http://mediacoder.sourceforge.net/screenshots/h264encoding.png

http://mediacoder.sf.net/screenshots/device-phone.png

http://mediacoder.sourceforge.net/screenshots/device-psp-small.jpg

New subtitle tab:
http://mediacoder.sourceforge.net/screenshots/tab-subtitle.png

MediaCoder 0.5.1-r6 is just released! (http://mediacoder.sourceforge.net/dlfull.htm)

Changelog
1. added support for Speex encoder
2. fixed subtitle character set issue (a big fix for Chinese users)
3. added more subtitle features and a new subtitle tab
4. auto set subtitle file once detected
5. added interlaced encoding option for FFmpeg
6. fixed audio stream selection bug (audio ID setting no effect)
7. updated miniPlayer extension

Codec/muxer updates
1. Matroska Merger 1.8.1
2. Ogg Vorbis 2.83 (aoTuVb5)
3. WavPack 4.40
3. WavPack Winamp input plugin 2.4
4. FAAC 1.25
5. Speex encoder 1.2beta1
6. Speex Winamp input plugin 0.7.5
7. x264 r606
8. MPlayer/MEncoder r21599
9. FFmpeg r7284

Kurtnoise
13th December 2006, 19:16
Hey,

1/ Cross-Posting is bad...
2/ Why did you use FFMpeg *and* Mencoder whereas they have the same libs ?

Sirber
13th December 2006, 19:18
is it me or I've seen this before?

skipper152
13th December 2006, 19:35
@kurtnoise13

Just something I came across for your #2 during my lurking and searches.

http://forum.doom9.org/showthread.php?p=914788#post914788

stanleyhuang
16th December 2006, 16:24
Hey,

1/ Cross-Posting is bad...
2/ Why did you use FFMpeg *and* Mencoder whereas they have the same libs ?

Because MEncoder and FFmpeg both have some feature the other doesn't have. For example, MEncoder can't handle multiple audio stream but FFmpeg can while FFmpeg isn't able to decode as much formats as MEncoder.

stanleyhuang
16th December 2006, 16:25
@kurtnoise13

Just something I came across for your #2 during my lurking and searches.

http://forum.doom9.org/showthread.php?p=914788#post914788

I just saw lots of threads about MeGUI, or I've just come to the home of it?

stanleyhuang
18th December 2006, 19:28
MediaCoder Full Pack 0.5.1-r7 is released. In this release,


MediaCoder updated to build 2822

fixed some rare subtitle issues in build 2815
updated CPU detection code
set processor affinity for audio encoders (improved performance for dual-core CPUs)
added multi-threading option for FFmpeg
auto enabling video encoder multi-threading when multi-core processor is detected
bugfix for E900 extension
fixed build 2815 crashing issue on Windows 2003

MPlayer/MEncoder updated
FFmpeg updated


Download (http://mediacoder.sourceforge.net/dlfull.htm)

stanleyhuang
20th December 2006, 16:12
0.5.1-r8 is out

[update] MediaCoder build 2826

[add] support for x264 standalone encoder backend
[fix] AVISynth source breakage
[update] x264 multi-threading option
[add] more specific error messages
[fix] MPlayer source bug with file names containing white spaces

[update] x264 svn-r614
[add] x264.exe (built with pthread and fprofile)
[update] MPlayer svn-r21694
[update] FFmpeg svn-r7333


Download (http://mediacoder.sourceforge.net/dlfull.htm)

sterlina
27th December 2006, 02:40
0.5.1-r8 is out


maybe a good thing when there is a new release is to edit the first post of the thread and add a line on the top (last version: 0.5.1-r8 (20 dec 2006), so anyone that opens this thread for the first time knows wich is the last version

Fluffbutt
4th January 2007, 14:17
When I press the buton 'settings' it just shuts down.

Same thing happens when I pres the buttton in the picture tab - resize.

DarkZell666
5th January 2007, 14:41
Nice to see that the project is still being worked on !

I didn't manage to do everything I wanted last time round, I'll give it another try soon :)

Razorholt
29th March 2007, 18:51
Stanley,

Why MKV format output a 25fps clip although I specified 23.976 in the picture tab?

Thanks,
- Dan

DarkZell666
13th April 2007, 10:44
Version 0.6.0-pre10 is out.

The changelog is massive since 0.5.1:
http://mediacoder.sourceforge.net/wiki/index.php?title=MediaCoder_Changelog

Download latest version here: http://mediacoder.sourceforge.net/dlfull.htm

@Razorholt: dunno what version you tried, but It might have been fixed since.

DarkZell666
13th April 2007, 18:22
Huh, not very impressive if you ask me, every attempt I made at encoding aac+h.264 in mp4 crashes mencoder and mediacoder all together (at least in the latest dev version). I'll try other combinaisons but I think I'm not gonna like this thing ...

Edit: it seems no matter what, if you ask for AAC audio, the "backend" crashes (I tried mencoder & avisynth for the source).

Theora+vorbis in mkv doesn't work out of the box either, the file isn't playable in mplayer (and I'm too lazy to try further :p)

tetsuo55
11th August 2007, 13:04
Hi, i recently found your program and use it to convert RMVB files to XVID-AVI files.

however some of the files will hang on converting, fps will drop to 0.1 and it will hang forever, Mencoder will be using 100% cpu

what info do you need to fix these issues?

ReinerSchweinlin
19th August 2007, 22:36
Nice App :)
I tried to convert some old files to xvid/nero aac in MP4 container. Since Audio was horribly low, I tried "normalize", but since itīs mplayers/mencoders one-pass volume-adaption, it "pumps" all the time.
So I tried ssrc, which should do a 2-pass normalize. I canīt get it to work, though. It says "beta".
Has anyone gotten shibatch to work in Mediacoder?

robert88
12th January 2008, 10:42
will be added an extra option for font size?

DarkZell666
13th January 2008, 12:59
I think the author isn't investing into this thread anymore, your best bet would be his own website. Any info here is kinda out of date <_<

Main site : http://mediacoder.sourceforge.net/
Forum : http://forum.mediacoderhq.com/ (link from main site top menu anyway)

robert88
14th January 2008, 12:12
thx, but there people ask the same thing on his forum, and they don`t get a proper answer.

Neillithan
14th April 2008, 11:33
I would have to say that this is by far the most useful program I've used for encoding h264 or transmuxing files. This program needs more love! :)

Nozomi
13th July 2008, 15:54
I've to agree with that, this program definitely deserve more attention... it is amazing, I've manage to convert a 1 hr RMVB file:

Video
Format : RealVideo 4
Codec ID : RV40
Codec ID/Info : Based on AVC (H.264), Real Player 9
Duration : 1h 8mn
Bit rate : 538 Kbps
Width : 640 pixels
Height : 352 pixels
Display aspect ratio : 16/9
Frame rate : 23 fps
Resolution : 12 bits
Bits/(Pixel*Frame) : 0.104

Audio
Format : Cooker
Codec ID : cook
Codec ID/Info : Based on G.722.1, Real Player 6
Duration : 1h 8mn
Bit rate : 32.0 Kbps
Channel(s) : 2 channels
Sampling rate : 44.1 KHz
Resolution : 16 bits

to a PSP MP4 file:
Video
Format : AVC
Codec ID : avc1
Duration : 1h 8mn
Bit rate mode : Variable
Bit rate : 403 Kbps
Nominal bit rate : 400 Kbps
Maximum bit rate : 1346 Kbps
Width : 480 pixels
Height : 272 pixels
Display aspect ratio : 16/9
Frame rate mode : Constant
Frame rate : 15.000 fps
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.206
Stream size : 197 MiB (91%)
Writing library : x264 core 58

Audio
Format : AAC
Codec ID : 40
Duration : 1h 8mn
Bit rate mode : Variable
Bit rate : 37.3 Kbps
Maximum bit rate : 60.5 Kbps
Channel(s) : 2 channels
Channel positions : L R
Sampling rate : 44.1 KHz
Resolution : 16 bits
Stream size : 18.3 MiB (8%)

within 1 hour and the outcome is perfectly ok with no sound track out of sync problem.

Slifer
5th August 2008, 00:27
Fos some reason the subtitle files just wont work for me when i try to hardsub them...

They show up in the preview but not in the outcome...

The subs are .ass (advanced sub station) type, and the video is .avi.

I am using vista but everything else works fine. Any ideas guys?

PatchWorKs
27th September 2008, 12:03
MediaCoder 0.6.1.4193 Changelog

(update) MediaCoder build 4193
(add) subtitle text scale option
(add) subtitle file encoding option (ANSI/UTF-8/unicode)
(add) new options for x264’s adaptive B-frame decision, variance AQ method and psychovisual optimization
(fix) fix-ups for online extensions support
(fix) frame rate issue when mkvmerge multiplexes H.264 ES
(update) the Extension button now gives the choice of connecting to MediaCoder Extension Center (experimental)
(update) PSP target folder name updated for newer firmware
(update) x264 r982
(update) Dirac video codec 1.0.0
(update) mkvmerge 2.3.0
(update) MPlayer/MEncoder r27632

CruNcher
29th September 2008, 16:27
i tried again with Mediacoder the newest available to do a simple WMV (VFR)->MP4/MKV H.264 transcode useing AAC via Nero

The piping:

# ".\codecs\mencoder.exe" -quiet -of rawvideo -ovc raw -rawvidopts pipe=7 -ofps
29.970 -channels 2 -subcp cp1252 -sub-fuzziness 1 -subfont-autoscale 3 -subfont-
blur 2 -subfont-outline 2 -vf harddup,format=i420 -nosound "C:\x264\6238v1.wmv"
-o NUL


Matroska:

# ".\codecs\mencoder.exe" -demuxer rawvideo -rawvideo fps=2997/100:w=1280:h=720:
format=i420 pipe:8 -ovc x264 -x264encopts crf=26:level_idc=40:nodct_decimate:me=
hex:me_range=16:keyint=96:keyint_min=25:fast_pskip:scenecut=-1:deadzone_inter=11
:partitions=none:cabac:direct_pred=spatial:nomixed_refs:trellis=0:nobrdo:nobime:
nob_pyramid:nob_adapt:8x8dct:weight_b:bframes=2:threads=3:frameref=1:subq=6 -nos
ound -o "C:\DOKUME~1\ADMINI~1\LOKALE~1\Temp\mcstream1720.avi"


MP4:

# ".\codecs\x264.exe" - 1280x720 --fps 2997/100 --quiet --no-psnr --no-ssim --ke
yint 96 --min-keyint 25 --level 40 --me hex --merange 16 --no-dct-decimate scen
ecut=-1:deadzone_inter=11:partitions=none --aq-mode 1 --aq-strength 1.0 --b-adap
t 0 --ref 1 --subme 1 --psy-rd 1:0 --bframes 2 --trellis 0 --weightb --direct s
patial --crf 26 --sar 1:1 --threads 3 -o "C:\DOKUME~1\ADMINI~1\LOKALE~1\Temp\mcs
tream3708.264"


Matroska (it uses AVI as intermediate why ?) and MP4 it uses X264 with H.264 raw output as intermediate both frameworks lose frames @ the end (compared to the original) :(
so there seems only 1 logic explanation it looses the frames @ the piping and as x264.exe never loses frames (worked with the CLI for years never lost 1 frame) :D

i would say Stanley skip this piping framework finally and do it native (i guess then it finally would never lose frames and also all the sync issues people have would be gone if it's not a mencoder isue)

PS: I'm not quiet sure that fps=2997/100 is correct either for this source gonna check that maybe that's causing the frame lose

Stanley do you use a adapted version of X264 so that Mencoder and X264.exe syntax can be matched because

MP4:

# ".\codecs\x264.exe" - 1280x720 --fps 2997/100 --quiet --no-psnr --no-ssim --ke
yint 96 --min-keyint 25 --level 40 --me hex --merange 16 --no-dct-decimate scen
ecut=-1:deadzone_inter=11:partitions=none --aq-mode 1 --aq-strength 1.0 --b-adap
t 0 --ref 1 --subme 1 --psy-rd 1:0 --bframes 2 --trellis 0 --weightb --direct s
patial --crf 26 --sar 1:1 --threads 3 -o "C:\DOKUME~1\ADMINI~1\LOKALE~1\Temp\mcs
tream3708.264"

that is strange for X264 CLI syntax (though it encodes the original X264 CLI would stop with a error)

devilsneck
24th November 2008, 08:45
bug found..
when converting from flv, the audio of output goes out of sync with video.
also it cannot convert small files..
it could not convert a 1541kb file but could encode a 2216kb file.

anyway, its the best multi-video converter out there.
final soution to all your video needs....:D

roozhou
27th November 2008, 19:01
that is strange for X264 CLI syntax (though it encodes the original X264 CLI would stop with a error)

The original x264's piping does not work well under win32. To avoid such problems it is better to use native win32 API instead of crt functions to implement I/O under windows.