Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have an error while just copying a video with ffmpeg. I use the command:

ffmpeg -i leon.mpg -vcodec copy -acodec copy leon2.mpg

The errors:

[mpeg @ 00000000020ebd20] max_analyze_duration 5000000 reached at 5004000 microseconds
[mpeg @ 00000000042f4020] buffer underflow i=0 bufi=11286 size=14824
[mpeg @ 00000000042f4020] packet too large, ignoring buffer limits to mux it

What do I have to set that the buffer errors don't occur anymore?

Here is a picture of what ffmpeg gives out first. After that the red errors repeat really many times. There you also can see what the film's codec and so on is. See this picture:

I use the ffmpeg Version git-5ce023b (2013-01-15) - Win64 - static build from Zeranoe. I tried some things but nothing happened. I searched a while but found no solution.

share|improve this question

migrated from stackoverflow.com Feb 11 '13 at 1:33

This question came from our site for professional and enthusiast programmers.

2 Answers 2

up vote 1 down vote accepted

I have also had this problem, my workaround was to use a different format, example

$ ffmpeg -i leontest.mpg -c copy -v warning leon2.mp4
[mpeg @ 000000000209bd40] max_analyze_duration 5000000 reached at 5004000 micros
econds
[mp4 @ 0000000004718360] pts has no value
    Last message repeated 54 times

Now as you can see FFmpeg does put out a warning, but the video appears to play flawless.

share|improve this answer
    
Here is the link: dropbox.com/s/jrj82hle0sa7q5k/test.rar –  Leon5x Feb 9 '13 at 19:12
    
Password: "leon" Thanks for your help:) –  Leon5x Feb 9 '13 at 19:13

By using this command you could also use

ffmpeg -i leon.mpg -c copy -v quiet leon2.mpg

So there are errors but the video also plays flawless. I would really like to know what the problem is... Nevertheless thank you for your help;)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.