Substituting Mencoder_MT in place of ffmpeg

Need help? Post your questions here.

Moderator: moderators

Substituting Mencoder_MT in place of ffmpeg

Postby rickeo » Thu Jul 14, 2011 4:19 pm

I'm fed up with trying to get ffmpeg to be more efficient (i've made a few posts/threads about it) with how it utilizes my 4-core CPU. Currently, ffmpeg will choke on high bit-rate transcoding of 1080p H264 (mkv container) material because ffmpeg will only use a single core of my CPU. Obviously this is useless when I have a 4 core CPU with 3 cores sitting around doing nothing when they could in fact be helping transcode the video.

I've recently installed PS3MediaServer to play around with transcoding video for my WDTVLive and low and behold, the "mencoder_mt.exe" that spawns is fully multithreaded and when I throw the same high bit-rate 1080p file at it, it uses all 4 cores beautifully.

Now, I've made a copy of the "mencoder_mt.exe" file and dumped it in Subsonic's transcode folder. Is there any way I can use that to pump video to JWPlayer? I would need an encoding string which is where i'm struggling. Can anyone shed some light on this? Thanks!
rickeo
 
Posts: 30
Joined: Wed Jun 17, 2009 6:40 pm

Re: Substituting Mencoder_MT in place of ffmpeg

Postby Aethies » Thu Jul 14, 2011 6:07 pm

rickeo wrote:I'm fed up with trying to get ffmpeg to be more efficient (i've made a few posts/threads about it) with how it utilizes my 4-core CPU. Currently, ffmpeg will choke on high bit-rate transcoding of 1080p H264 (mkv container) material because ffmpeg will only use a single core of my CPU. Obviously this is useless when I have a 4 core CPU with 3 cores sitting around doing nothing when they could in fact be helping transcode the video.

I've recently installed PS3MediaServer to play around with transcoding video for my WDTVLive and low and behold, the "mencoder_mt.exe" that spawns is fully multithreaded and when I throw the same high bit-rate 1080p file at it, it uses all 4 cores beautifully.

Now, I've made a copy of the "mencoder_mt.exe" file and dumped it in Subsonic's transcode folder. Is there any way I can use that to pump video to JWPlayer? I would need an encoding string which is where i'm struggling. Can anyone shed some light on this? Thanks!


From what I understand, the only requirements for having it work with subsonic, is the transcoder can accept command line commands. So if it has a CLI, then you are good to go. Just make the necessary changes on the transcoding screen. In stead of ffmpeg (and the switches) change it to mencoder_mt.exe (switches) for processing. Subsonic should use that engine instead..
Might take some reading up on mencoders options, but I think you should be fine.

Hope this helps
Aethies

Ubuntu Server 12.04
===================
3,281 artists
9,432 albums
113,608 songs
2636.09 GB (10,769 hours)
===================
User avatar
Aethies
 
Posts: 197
Joined: Fri Oct 24, 2008 4:33 pm

Postby rickeo » Thu Jul 14, 2011 6:13 pm

Therein lies the problem. I can get a list of command line switches but how on earth to combine them I'm lost as hell.

http://tivo-mplayer.sourceforge.net/doc ... r-man.html
rickeo
 
Posts: 30
Joined: Wed Jun 17, 2009 6:40 pm

Postby rickeo » Thu Jul 14, 2011 6:45 pm

I've found this page: http://videotranscoding.wikispaces.com/mencoder

It seems to outline how to convert a video to FLV which is what i want to do, however that't still not completely explaining it. I have a feeling i'm going to need to do some trial and error.

Code: Select all
mencoder \videos\soph1.wmv -o soph4.flv -of lavf -oac mp3lame -lameopts abr:br=56
  -ovc lavc -lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -srate 22050
rickeo
 
Posts: 30
Joined: Wed Jun 17, 2009 6:40 pm

Postby rickeo » Thu Jul 14, 2011 10:32 pm

In the meantime, I seem to have deleted my normal "mkv > flv" encoding string. Would someone be so kind as to paste theirs? Thanks!
rickeo
 
Posts: 30
Joined: Wed Jun 17, 2009 6:40 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 21 guests