[Ffmpeg-devel] got it - cat - demux

Jim Shupert, Jr. jshupert
Tue Nov 14 23:15:17 CET 2006


I have recently asked this forum for some wisdom on concatenating & demuxing w ffmpeg.
I thought I would return what I have found.
Thanks to those who have helped (Hats Off ! to Michel Bardiaux)


::  CONCATENATE  ::

since I am on a winders platform I could not cat ( or at least ...have not yet )

so I employed some old dos knowingz

copy /b j1.mpg + j2.mpg + j3.mpg + j4.mpg jjjj.mpg

this seems to join up 4 mpg2 program streams - ok


::  DEMUX solution  ::

I was able to demux and hopefully it is working good enough - but some oddness that i have yet to figure out.

ffmpeg -i jjjj.mpg -an -vcodec copy jvid.mpg
    needs to ne renamed file.mpv     -    going right to an mpv = fail
ffmpeg -i jjjj.mpg -vn -acodec copy jaud.mpg

        this might be a problem ... the audio should be mpa 
.... but it will not play in win media player.../ ??header???

   needs to be renamed file.wav  or file.ac3    plays in VLC



More information about the ffmpeg-devel mailing list