Advertisement
Guest User

Untitled

a guest
Dec 3rd, 2012
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. I am trying to concatenate two mpg files, both the source files play on any video player.
  2.  
  3. File 1: bleh.mpg, 1.5mb
  4. File 2: blah.mpg, 1.4mb
  5.  
  6. First I do:
  7.  
  8. cat blah.mpg bleh.mpg > out.mpg
  9.  
  10. Then I repair the out.mpg like this:
  11.  
  12. ffmpeg -i out.mpg -acodec copy -vcodec copy final.mpg
  13.  
  14. The file final.mpg seems broken, it is 2.9 mb in size. it will not open with any video payer.
  15. How can I debug this process? MPlayer gives me this error when I try to open final.mpg:
  16.  
  17. GstMpegAudioParse: No valid frames before end of stream
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement