Sampson, Evan <esampson <at> soe.sony.com> writes:
So instead what I did was download the latest CVS of FFMPeg and x264.
When I first compiled x264 I found that when I attempted to encode an MP4 with it the output was a pure white screen. This turned out to be because I had not yet compiled Gpac and set certain flags correctly for the make configuration of x264 (--extra-cflags="=-../gpac/include" --extra-ldflags="-L../gpac/bin/gcc"). With that out of the way I am now able to encode a raw YUV file with x264 and get a fully compatible MP4.
Unfortunately when I try to use FFMpeg I get the exact same white screen that I got with x264 when it was missing the gpac libraries. I've tried adding --extra-cflags="=-../gpac/include" and --extra-ldflags="-L../gpac/bin/gcc" when I do the configuration for FFMpeg. I've tried locating all the critical files for gpac and copying them to both /usr/lib and /usr/local/lib (though it is possible that I have not moved the correct file since there are quite a few files in those directories and I am reluctant to dump their entire contents) and still I get the same white output. No errors in compile or execution, just white output in the video.
I'm currently fighting a very similar issue -- wondering if an answer was out there yet. I've compiled ffmpeg on a Windows machine with libx264 in an attempt to encode QT7-compliant .mp4 files. Any source files (.mov, .avi, ...) convert fine, but display a blank/white screen when played back in QT. The audio stream exists and plays fine. INTERESTING SIDENOTE: The files play back fine in mencoder, so the avc stream that is being generated is apparently valid. So, the question is, what is needed to get the file playing in QT? Currently I'm looking at the avcC box (the counterpart to the 'esds' box in mp4's). It appears to contain the pps (Picture Parameter Set) and sps (Sequence Parameter Set), but I haven't the foggiest how to generate or fake these structures. I've tried including an avcC box with 0 instances of sps and pps to no avail. I'm also open to the possibility that it could be something else entirely. The avcC box seems like it might even be optional. Can anyone help please?