Opened 9 years ago
#5504 new defect
Interlaced xdcam mov tags are not used
Reported by: | Carl Eugen Hoyos | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avformat |
Version: | git-master | Keywords: | mov |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
http://ffmpeg.org/pipermail/ffmpeg-user/2016-May/031988.html
$ ffmpeg -f lavfi -i testsrc=s=hd1080:r=50 -vf tinterlace=4 -flags +ildct+ilme -top 1 -vcodec mpeg2video -pix_fmt yuv422p -t 3 -tag:v xd5c out.mov ffmpeg version N-79725-g80d14de Copyright (c) 2000-2016 the FFmpeg developers built with gcc 4.7 (SUSE Linux) configuration: --enable-gpl --enable-libwebp --enable-libvpx libavutil 55. 23.100 / 55. 23.100 libavcodec 57. 38.100 / 57. 38.100 libavformat 57. 35.100 / 57. 35.100 libavdevice 57. 0.101 / 57. 0.101 libavfilter 6. 44.100 / 6. 44.100 libswscale 4. 1.100 / 4. 1.100 libswresample 2. 0.101 / 2. 0.101 libpostproc 54. 0.100 / 54. 0.100 Input #0, lavfi, from 'testsrc=s=hd1080:r=50': Duration: N/A, start: 0.000000, bitrate: N/A Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 1920x1080 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 50 tbn [mov @ 0x295f7c0] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead. Output #0, mov, to 'out.mov': Metadata: encoder : Lavf57.35.100 Stream #0:0: Video: mpeg2video (4:2:2) (xd5c / 0x63356478), yuv422p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 25 fps, 12800 tbn Metadata: encoder : Lavc57.38.100 mpeg2video Side data: cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1 Stream mapping: Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg2video (native)) Press [q] to stop, [?] for help frame= 75 fps= 36 q=31.0 Lsize= 588kB time=00:00:02.92 bitrate=1649.5kbits/s speed=1.39x video:587kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.182035%
$ ffmpeg -i out.mov ffmpeg version N-79725-g80d14de Copyright (c) 2000-2016 the FFmpeg developers built with gcc 4.7 (SUSE Linux) configuration: --enable-gpl --enable-libwebp --enable-libvpx libavutil 55. 23.100 / 55. 23.100 libavcodec 57. 38.100 / 57. 38.100 libavformat 57. 35.100 / 57. 35.100 libavdevice 57. 0.101 / 57. 0.101 libavfilter 6. 44.100 / 6. 44.100 libswscale 4. 1.100 / 4. 1.100 libswresample 2. 0.101 / 2. 0.101 libpostproc 54. 0.100 / 54. 0.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'out.mov': Metadata: major_brand : qt minor_version : 512 compatible_brands: qt encoder : Lavf57.35.100 Duration: 00:00:03.00, start: 0.000000, bitrate: 1605 kb/s Stream #0:0(eng): Video: mpeg2video (4:2:2) (xd5e / 0x65356478), yuv422p(tv), 1920x1080 [SAR 1:1 DAR 16:9], 1602 kb/s, 25 fps, 25 tbr, 12800 tbn (default) Metadata: handler_name : DataHandler encoder : Lavc57.38.100 mpeg2video At least one output file must be specified
The tag is xd5e instead of xd5c because the mov muxer thinks the video is progressive although both content and encoding are interlaced.
Note:
See TracTickets
for help on using tickets.