[MEncoder-users] Merging audio and video file

Rodolfo Medina rodolfo.medina at gmail.com
Thu Dec 25 20:56:24 CET 2008


Hi.

I posted my problem to the ffmpeg-user mailng list but got no reply.  I hope
someone from this list can help me.

What I'm trying to do is:
first, merging audio.waw and movie.m2v into movie.mpg;
then, `cat' movie.mpg in front of second-movie.vob so to have total-movie.mpg.

Can anyone suggest the right mencoder syntax to do the first step?

With ffmpeg, I did:

 $ ffmpeg -i audio.wav -i movie.m2v -target pal-dvd -acodec pcm_s16be -b 8000k -s 720x576 -ab 1536k -ac 2 -r 25 movie.mpg

, getting the following error message:

[...]

[dvd @ 0x8311670]buffer underflow i=1 bufi=4026 size=4096te= 344.9kbits/s
[dvd @ 0x8311670]packet too large, ignoring buffer limits to mux it

[...]


.  Then I did:

 $ cat movie.mpg second-movie.vob > total-movie.mpg

, but a terrible noise is heard when second-movie.vob begins.
About second-movie.vob, ffmpeg gives the following information:

Input #0, mpeg, from 'second-movie.vob':
  Duration: N/A, start: 556.163678, bitrate: N/A
    Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x576 [PAR 16:15 DAR 4:3], 8000 kb/s, 25.00 tb(r)
    Stream #0.1[0xa0]: Audio: pcm_s16be, 48000 Hz, stereo, s16, 1536 kb/s

.  Is it possible to achieve what I want?  If not with mencoder, can you point
out other tools/solutions?

Thanks for any help
Rodolfo




More information about the MEncoder-users mailing list