[FFmpeg-user] FFmpeg Prores encoded mov when switching to single field display in quicktime crashes quicktime
Rens Dijkshoorn
rens at offlinemedia.nl
Fri Aug 28 00:18:08 CEST 2015
This is problem is hard to describe, but I will give it try.
It shows when opening an interlace file in the Quicktime7 player
on OSX 10.10.5 in my case and selecting single field in
the movie visual properties.
You would expect to see interlace artifacts being removed
as the player switches to single field. This happens only momentary.
If you switch "single field" a few times on or off,
a few seconds later Quicktime7 crashes.
The same with dnxhd and other prores materiaal is fine.
This "problem" exists for a while previous version
and in both codec for prores and prores_ks.
To generate visible interlace articfact in the clock
on the second boundary we shift frame phase by one field.
--prores testfile
ffmpeg -f lavfi -i testsrc=s=hd1080 -f lavfi -i sine -vf phase=t,setfield=tff -t 10
-pix_fmt yuv422p10le -vcodec prores -c:a pcm_s16le out.mov
ffmpeg version N-74684-g15f4b3d Copyright (c) 2000-2015 the FFmpeg developers
built with Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
configuration: --enable-libvpx --enable-libx264 --enable-libx265 --enable-libopenjpeg --enable-libmp3lame --enable-libfaac --enable-libfdk-aac --enable-libfribidi --enable-libfreetype --enable-libass --enable-gpl --enable-nonfree --enable-shared
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 59.100 / 56. 59.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 39.100 / 5. 39.100
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
Input #0, lavfi, from 'testsrc=s=hd1080':
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], 25 tbr, 25 tbn, 25 tbc
Input #1, lavfi, from 'sine':
Duration: N/A, start: 0.000000, bitrate: 705 kb/s
Stream #1:0: Audio: pcm_s16le, 44100 Hz, mono, s16, 705 kb/s
[prores @ 0x7f9ffa808000] encoding with ProRes standard (apcn) profile
[prores @ 0x7f9ffa80ec00] encoding with ProRes standard (apcn) profile
[prores @ 0x7f9ffa813400] encoding with ProRes standard (apcn) profile
[prores @ 0x7f9ffa817c00] encoding with ProRes standard (apcn) profile
[prores @ 0x7f9ffa81c400] encoding with ProRes standard (apcn) profile
[prores @ 0x7f9ffa820c00] encoding with ProRes standard (apcn) profile
[prores @ 0x7f9ffa825400] encoding with ProRes standard (apcn) profile
[prores @ 0x7f9ffa829c00] encoding with ProRes standard (apcn) profile
[prores @ 0x7f9ffa012a00] encoding with ProRes standard (apcn) profile
Output #0, mov, to 'out.mov':
Metadata:
encoder : Lavf56.40.101
Stream #0:0: Video: prores (apcn) (apcn / 0x6E637061), yuv422p10le, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 25 fps, 12800 tbn, 25 tbc
Metadata:
encoder : Lavc56.59.100 prores
Stream #0:1: Audio: pcm_s16le (sowt / 0x74776F73), 44100 Hz, mono, s16, 705 kb/s
Metadata:
encoder : Lavc56.59.100 pcm_s16le
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> prores (native))
Stream #1:0 -> #0:1 (pcm_s16le (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
frame= 250 fps= 27 q=-0.0 Lsize= 41746kB time=00:00:10.00 bitrate=34198.2kbits/s
video:40879kB audio:861kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.013745%
-- dnxhd testfile
ffmpeg -f lavfi -i testsrc=s=hd1080 -f lavfi -i sine -vf phase=t,setfield=tff
-t 10 -pix_fmt yuv422p -vcodec dnxhd -b:v 120M -c:a pcm_s16le out.mov
ffmpeg version N-74684-g15f4b3d Copyright (c) 2000-2015 the FFmpeg developers
built with Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
configuration: --enable-libvpx --enable-libx264 --enable-libx265 --enable-libopenjpeg --enable-libmp3lame --enable-libfaac --enable-libfdk-aac --enable-libfribidi --enable-libfreetype --enable-libass --enable-gpl --enable-nonfree --enable-shared
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 59.100 / 56. 59.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 39.100 / 5. 39.100
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
Input #0, lavfi, from 'testsrc=s=hd1080':
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], 25 tbr, 25 tbn, 25 tbc
Input #1, lavfi, from 'sine':
Duration: N/A, start: 0.000000, bitrate: 705 kb/s
Stream #1:0: Audio: pcm_s16le, 44100 Hz, mono, s16, 705 kb/s
Output #0, mov, to 'out.mov':
Metadata:
encoder : Lavf56.40.101
Stream #0:0: Video: dnxhd (AVdn / 0x6E645641), yuv422p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-1024, 120000 kb/s, 25 fps, 12800 tbn, 25 tbc
Metadata:
encoder : Lavc56.59.100 dnxhd
Stream #0:1: Audio: pcm_s16le (sowt / 0x74776F73), 44100 Hz, mono, s16, 705 kb/s
Metadata:
encoder : Lavc56.59.100 pcm_s16le
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> dnxhd (native))
Stream #1:0 -> #0:1 (pcm_s16le (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
frame= 250 fps= 38 q=1.0 Lsize= 148866kB time=00:00:10.00 bitrate=121951.2kbits/s
video:148000kB audio:861kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.003304%
Any Ideas ?
Rens
More information about the ffmpeg-user
mailing list