|
From: Steven M. S. <sm...@2B...> - 2004-01-03 19:17:12
|
On Sat, 3 Jan 2004, Lehmeier Michael wrote: > I have several files that were originally encoded to be burned as VCD. > > My problem: They have been split at a later time without care, just > brutally hacked apart at a certain point of the file. :-( > Mplayer plays them as if nothing happened. > Now I have to demux and remux the files. > Demuxing works without any problems, but the video stream is no longer > recognizable by mplex (or mplayer) and is therefore useless. > > Is there any way to salvage the situation without having to reencode the > video? Do you have the original source material to perform encoding from? I tried a brief experiment on a .mpg file - I used "dd" to cut a section from the middle of the file (attempting to simulate the 'hacked apart' you mention). Then I used mplayer to dump the video stream. dd if=foo.mpg of=bar.mpg skip=23 bs=2k count=100 mplayer -dumpvideo bar.mpg the file 'stream.dump' was correctly recognized as a MPEG-ES stream suitable for use with mplex. If that method does not work for you then, alas, reencoding I think is the only way to salvage the situation. Good Luck! Steven Schultz |