[FFmpeg-devel] [OT]: `cat' two video files

Víctor Paesa wzrlpy
Fri Dec 26 00:13:58 CET 2008


Hola,

Rodolfo Medina said:
> My apologizes if this list is not the right one for my question,
> or my question is not right for this list.

That's correct.

> I posted my problem to ffmpeg-user m.l. but got no reply.

You posted 2 days ago, and we are in Christmas: I'd say you have to be
more patient and wait for an answer in ffmpeg-user.

> I really think a solution exists and the answer can come from ffmpeg
> expert people.
>
> I wish to use the simple old plain unix `cat' command to join two video
> files together.
>
> The first file (presentation.mpg) is a simple text presentation
> converted into mpeg format from a jpeg image,
> the second is a .vob video file coming from a dvd.  Information about it
> are:
>
> Input #0, mpeg, from '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
>
> I tried with:
>
> ffmpeg -i presentation.wav -i presentation.m2v -target pal-dvd -acodec
> pcm_s16be -b 8000k -s 720x576 -ab 1536k -ac 2 -r 25 -f mp2
> presentation.mpg

This command is wrong: why the -f mp2 ?

> , then
>
> cat presentation.mpg movie.vob > final-movie.mpg
>
> , but the two are not properly concatenated.
> I need indications about how to achieve what I want, if ever possible.

Saludos,
V?ctor







More information about the ffmpeg-devel mailing list