[Ffmpeg-devel] mux demux
Michel Bardiaux
mbardiaux
Mon Nov 13 12:24:11 CET 2006
Jim Shupert, Jr. wrote:
> Friends,
>
> I am wondering If ffmpeg can
>
> mux and demux a mpg2 program file.
Yes.
>
> If so how?
> I see talk of the api - does that mean I have to write something in C++ ?
ffmpeg -i input.mpg -an -vcodec copy video.m1v
ffmpeg -i input.mpg -vn -acodec copy audio.m2a
>
> also I think I can use ffmpeg to concatenate several mpg2 s into a single mpg2
Yes.
>
> is that true and what would the syntax be to cat
> dog.mpg , frog.mpg and monkey.mpg into an all.mpg
cat dog.mpg frog.mpg monkey.mpg | ffmpeg -i - -acodec copy -vcodec copy
x.mpg
>
> thanks
>
> also- if ffmpeg is not the best command line choice for Mux demux - could someone suggest a good one.
>
> thanks!
>
> j
Greetings,
--
Michel Bardiaux
R&D Director
T +32 [0] 2 790 29 41
F +32 [0] 2 790 29 02
E mailto:mbardiaux at mediaxim.be
Mediaxim NV/SA
Vorstlaan 191 Boulevard du Souverain
Brussel 1160 Bruxelles
http://www.mediaxim.com/
More information about the ffmpeg-devel
mailing list