[MPlayer-users] Stitched video file has no audio and no timecode

Dominik 'Rathann' Mierzejewski dominik at rangers.eu.org
Thu Oct 9 19:58:12 CEST 2008


On Thursday, 09 October 2008 at 17:18, Anthony Castillon wrote:
> I'm using mencoder to stitch together multiple .wmv files and output
> to a single .wmv file.  I'm pretty much successful in doing so using
> the following command
> 
> mencoder -ovc copy -oac copy -lavcopts vcodec=msmpeg4v2 -of lavf -o <output file path>  <list of files to merge>

-lavcopts has no effect if you're using -ovc copy.

> I have two problems, however, with the stitched file:
> 1.  It does not have any audio even though the individual files have sound
> 2.  It does not show the timecode even though each input file has timecode
> (i.e. when I play the individual files in WMP 10, I can see the running
> timecode; this does not happen with the merged file.)
> 
> For the first problem, I previously tested it with .wmv files that I encoded
> in our encoding workstation and the merged file had no problem with the
> audio (but timecode was still missing).  However, when I asked our broadcast
> group to send me sample .wmv files to test stitching with, the merged file
> did not have audio.
> 
> Does that mean they have an audio codec which I do not have?

No. Audio codecs are irrelevant if you're using -oac copy, as long
as MEncoder supports muxing that codec.

> If so, how come I can play the individual .wmv files in my machine without
> audio problems but I'm having the problem with the merged file.
> 
> How can I get the timecode from the individual files to be picked up in the
> merged file?
> 
> I'd really appreciate any inputs.

Well, MEncoder supports AVI and MPEG output best. Anything else works by pure
luck. Thus, I suggest using FFmpeg if you don't need to use any of MEncoder's
filters.

Regards,
R.

-- 
MPlayer http://mplayerhq.hu | Livna http://rpm.livna.org
There should be a science of discontent. People need hard times and
oppression to develop psychic muscles.
	-- from "Collected Sayings of Muad'Dib" by the Princess Irulan



More information about the MPlayer-users mailing list