I did try exporting the frames using the ffmpeg binary. The result was
the same, except the output was clipped. I didn't see an option to
turn on full range processing (0-255). If it's there, it's my fault
for looking it over but if it isn't, it needs to be there since it's a
simple call to sws_setColorspaceDetails().

Regarding your comment about libx264, wouldn't this be for encoding
only? In fact, my FFmpeg source doesn't even contain libx264. The
issue is strictly a DECODING issue, which I think is handled by
libavcodec exclusively. I did notice what look like TWO H.264 codecs
in avcodec.h, however:

CODEC_ID_H264
CODEC_ID_FFH264

I tried selecting the latter with avcodec_find_decoder() but the
function reported that the codec couldn't be found. It found the
former just fine, which is the one that is producing the mediocre
output.

I'm a little confused by the way the source is organized. I was
looking for something like "h264dec.c." I do realize that the
decompression code is most assuredly written in assembly, and I did
find h264_i386.h in libavcodec/x86/, but this has to do with CABAC
decoding which I know to be very CPU intensive. I don't know if the
7D's files are encoded this way, so I don't know if trying to tweak
this will even help. Anyway, I don't know assembly and even if it was
just C I probably wouldn't understand the math involved.

Thomas


On Wed, Jan 27, 2010 at 12:16 AM, Janez Zemva <[email protected]> wrote:
> I am by no means a video or ffmpeg expert, but congrats for being able
> to use libavcodec at all, the documentation being as scarce as it is.
> My experiences with it were much the same as yours. But your concerns
> ought to be directed at libx264 rather than at libavcodec. Check out
> the ffmpegs "magical" presets for libx264 usually in /usr/share/ffmpeg
> for some ideas, and check in ffmpeg source how ffmpeg feeds these
> presets to libx264.
>
> Did you try to export images with the ffmpeg utility proper?
> _______________________________________________
> libav-user mailing list
> [email protected]
> https://lists.mplayerhq.hu/mailman/listinfo/libav-user
>
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to