MEncoder

„MEncoder is a free command line video decoding, encoding and filtering tool released under the GNU General Public License. It is a close sibling to MPlayer and can convert all the formats that MPlayer understands into a variety of compressed and uncompressed formats using different codecs.“

MEncoder. (2008, February 23). In Wikipedia, The Free Encyclopedia. Retrieved 18:57, April 5, 2008, from
http://en.wikipedia.org/w/index.php?title=MEncoder&oldid=193447614


My Blog List

Tuesday, May 13, 2008

[MEncoder-users] Distributed transcoding

Hi,

as I have explained in a previous post to this mailing list I'm trying
to transcode my video file in a distributed way!

This is my code so far:


#Splitting the file

input=$1

mencoder $input -oac lavc -o geluid.mp3

mencoder -endpos 00:00:06 -ovc copy -oac copy $input -o first_half
mencoder -ss 0:00:06 -oac copy -ovc copy $input -o second_half

#Transcoding the file

mencoder first_half -ovc lavc -oac lavc -o first_half.avi

mencoder second_half -ovc lavc -oac lavc -o second_half.avi

rm first_half
rm second_half

mencoder -oac copy -ovc copy first_half.avi second_half.avi -o
transcoded.avi

mencoder -oac copy -ovc copy -audiofile geluid.mp3 transcoded.avi -o
output.avi

But I get very strange things with this. When playing with VLC it is
totaly corrupted and when playing it with Mplayer I get a file with sync
(at first) all right but the transcoding of the first part is very poor
(though the first_half.avi is completely correct).

What am I doing wrong?
_______________________________________________
MEncoder-users mailing list
MEncoder-users@mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users

No comments:

PCBs

Links

Forex brokers, Forex online


Privacy Policy