[FFmpeg-user] Problems decoding h264 from Blu-ray

wtfux wtfux.dev at googlemail.com
Thu Sep 6 20:52:33 CEST 2012


2012/9/6 Carl Eugen Hoyos <cehoyos at ag.or.at>:
> Please provide a sample.

Well I tried. Those errors occur randomly while decoding the video
(nothing to do with the encoder, they also happen when I decode to
rawvideo and discard the output). I tried to cut a scene (without
re-encoding of course) and upload it but even a scene where decoding
failed multiple times is fine when it is decoded alone. It seems that
the errors only happen after decoding about 5 minutes of the video.
Sometimes there are hundreds of decoding errors and sometimes only 1
in the 30 minute video. I didn't manage to decode it without errors,
though. Uploading a longer piece is not possible as it's from a 1080p
Blu-ray and a minute already hundreds of megabytes.

Tried with zeranoe's and my own build of 64bit FFmpeg using latest git.

The weird thing is that there are *no such errors* when decoding using
zeranoe's or mine *32bit* build of FFmpeg. I just found this out.
Using 32bit this is the only error in the whole 30minute clip and the
output video is fine every time:

> number of reference frames (0+3) exceeds max (2; probably corrupt input), discarding one

Maybe it's my PC, I already had failing RAM in the past or it could be
a CPU feature that's causing this and that is not available in the
32bit build. I don't have another PC to test it.
32bit is fine but the process is running out of memory (only 2GB on
32bit) because I need more memory to encode using my x264 settings so
I'd prefer to use a 64bit build.

Any idea what I could try?

> Please never point to external resources for more information about
> your report, always post all necessary information on this list.

Sorry for that but it was a 3MB large log that couldn't be pasted into the mail.

> (I do not remember a report where mediainfo helped.)

Okay, I thought it could be helpful to know that the stream has a
bitrate of 34.3 Mbps and other stuff that is noted there.


Thanks for your time.


More information about the ffmpeg-user mailing list