[MEncoder-users] muxing audio and video with mencoder (avi/ lavc)

Bernd Butscheidt bbutscheidt at yahoo.de
Thu Jul 30 23:04:16 CEST 2009


Hi there,


I already posted this to the mplayer-user list, but knowing that this list exists, this was maybe the wrong place:

I convert e.g. my TV recordings to avi using mencoder.

But all files muxed with mencoder confuse my stand alone player (elta 8843)- it cannot fast forward or rewind through the file or isn't able to jump to a manually selected time stamp.

Remuxing the file with avidemux solves all these problems.

The only hint I get in linux so far about the different results is the output of the tool avinfo (from http://shounen.ru/soft/avinfo/english.shtml). Here is an example I've made:


bernd_b at localhost $ avinfo Gaya_remux_avidemux.avi
Gaya_remux.avi, 1.3Gb

video: 720x576 01:28:43 25fps XviD 1.9Mbps
audio: 48KHz  01:28:43 Stereo 256Kbps P

bernd_b at localhost $ avinfo Gaya_remux_mencoder.avi
Gaya.avi, 1.3Gb
video: 720x576 01:28:43 25fps XviD 1.4Mbps
audio: 48KHz  01:28:43 Stereo 189Kbps P


Gaya_remux_avidemux.avi is the file muxed with avidemux, Gaya_remux_mencoder.avi is the file remuxed with mencoder (using "mencoder -oac copy -ovc copy Gaya-remux-avidemux.avi -o Gaya_remux_mencoder.avi"). In both cases the video is encoded with mencoder using lavc-codec. I can repeat this result vice versa.

Due to the lenght of the movie, the file size and the audio bitrate the infos of the file muxed by avidemux are reasonable, the infos of the file muxed by mencoder seem to be wrong. 
The "view info and properties" button in smplayer confirms the data given by avinfo and Gaya_remux_avidemux.avi on both files.

Is this some kind of bug in mencoder or do I miss a switch/ command line option?

Kind regards
Bernd


      


More information about the MEncoder-users mailing list