[FFmpeg-devel] [PATCH] mjpegdec: parse JPS extension and save relevant stereo3d information

Kirill Gavrilov gavr.mail at gmail.com
Fri Jan 31 10:13:57 CET 2014


On Thu, Jan 30, 2014 at 3:53 AM, Michael Niedermayer <michaelni at gmx.at>wrote:

> btw it seems ffprobe doesnt support showing avframe side data
> heres a quick proof of concept patch, that prints something
> maybe you (or someone else) wants t improve it ?
>
I have prepared 2 alternative patches for ffprobe - one prints information
as integers and another as text (probably requires libavutil minor version
bump).

But there are several issues with current stereo3d implementation.
FFmpeg have two alternative implementations which are not yet synchronized:
1) First is based on metadata keys parsing (implemented for MKV container
which has dedicated fields and per-frame metadata in h264_sei) and
documented (stereo_mode in http://www.ffmpeg.org/ffmpeg-formats.html).
2) Second is based on new frame side_data extension, taken from LibAV
(implemented for various other decoders).

Another issue is that per-frame stereo3d information is unavailable within
av_dump_format(), but in most cases stereo format should be consistent
across single stream in file (excluding potential live-streaming use cases).
-----------------------------------------------
Kirill Gavrilov,
<kirill at sview.ru>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ffprobe-print-frame-side_data-info_string.patch
Type: text/x-patch
Size: 4039 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140131/38f7f516/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ffprobe-print-frame-side_data-info_int.patch
Type: text/x-patch
Size: 1746 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140131/38f7f516/attachment-0001.bin>


More information about the ffmpeg-devel mailing list