[FFmpeg-trac] #6146(undetermined:new): use ImageDescription version>=2 with uncompressed yuv in quicktime
FFmpeg
trac at avcodec.org
Mon Feb 13 16:35:56 EET 2017
#6146: use ImageDescription version>=2 with uncompressed yuv in quicktime
-------------------------------------+-------------------------------------
Reporter: dericed | Owner:
Type: defect | Status: new
Priority: normal | Component:
Version: | undetermined
unspecified | Keywords: mov
Blocked By: | Blocking:
Reproduced by developer: 0 | Analyzed by developer: 0
-------------------------------------+-------------------------------------
Summary of the bug:
When writing uncompressed yuv into quicktime, ffmpeg writes a version 0
ImageDescription, although TN2162 requires a version 2 of the
ImageDescription, though version 0 is ok for 2vuy and yuv2. See:
https://developer.apple.com/library/content/technotes/tn2162/_index.html#//apple_ref/doc/uid/DTS40013070-CH1-TNTAG3.
How to reproduce:
{{{
ffmpeg -f lavfi -i smptebars=s=720x486:r=30000/1001 -movflags write_colr
-color_primaries smpte170m -color_trc bt709 -colorspace smpte170m
-color_range mpeg -vf "setfield=bff,setdar=4/3" -c:v v210 -vframes 1 -y
tn2162_v210.mov
ffmpeg version git-2017-02-12-79d232f Copyright (c) 2000-2017 the FFmpeg
developers
built with Apple LLVM version 8.0.0 (clang-800.0.42.1)
configuration: --prefix=/usr/local/Cellar/ffmpeg/HEAD-79d232f --enable-
shared --enable-pthreads --enable-gpl --enable-version3 --enable-
hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-
ldflags= --enable-chromaprint --enable-ffplay --enable-libcaca --enable-
libfreetype --enable-libmp3lame --enable-libopus --enable-libtesseract
--enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid
--enable-opencl --disable-lzma --enable-vda
libavutil 55. 46.100 / 55. 46.100
libavcodec 57. 79.100 / 57. 79.100
libavformat 57. 66.102 / 57. 66.102
libavdevice 57. 2.100 / 57. 2.100
libavfilter 6. 73.100 / 6. 73.100
libavresample 3. 2. 0 / 3. 2. 0
libswscale 4. 3.101 / 4. 3.101
libswresample 2. 4.100 / 2. 4.100
libpostproc 54. 2.100 / 54. 2.100
Input #0, lavfi, from 'smptebars=s=720x486:r=30000/1001':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 720x486
[SAR 1:1 DAR 40:27], 29.97 tbr, 29.97 tbn, 29.97 tbc
Output #0, mov, to 'tn2162_v210.mov':
Metadata:
encoder : Lavf57.66.102
Stream #0:0: Video: v210 (v210 / 0x30313276), yuv422p(tv,
smpte170m/smpte170m/bt709), 720x486 [SAR 9:10 DAR 4:3], q=2-31, 200 kb/s,
29.97 fps, 30k tbn, 29.97 tbc
Metadata:
encoder : Lavc57.79.100 v210
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> v210 (native))
Press [q] to stop, [?] for help
[swscaler @ 0x7fe2cc03a200] Warning: data is not aligned! This can lead to
a speedloss
frame= 1 fps=0.0 q=-0.0 Lsize= 912kB time=00:00:00.00
bitrate=226411636.4kbits/s speed=0.00533x
video:911kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.088735%
}}}
Patches should be submitted to the ffmpeg-devel mailing list and not this
bug tracker.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6146>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list