Activity › Forums › Compression Techniques › Convert png sequence to Quicktime ProRes 422.
-
Convert png sequence to Quicktime ProRes 422.
Posted by Jeremy Eliosoff on February 17, 2017 at 4:50 amHello,
I’m trying to convert an image sequence of .png’s into a Quicktime movie in ProRes 422 format on Linux. I am submitting this to a film festival and it is crucial that it be in EXACTLY this format. I have been using ffmpeg like so (note the film is 10 frames per second):
ffmpeg -start_number 0 -f image2 -r 10 -i image.%04d.png -i ~/Desktop/aud/aud_01.wav -codec:v prores -profile:v NUMBER -r 10 -strict -2 final.movI’ve tried various options for NUMBER following -profile:v, then checked the resulting video codec by using the “Properties” function in Linux’s totem media player. Here are the results I get:
0 = Apple ProRes Proxy
1 = Apple ProRes LT
2 = Apple ProRes
3 = Apple ProRes HQAre any of these ProRes 422? I’ve already submitted option 3, Apple ProRes HQ, and the festival is not yet sure they can accept it. Is there something else I should be doing?
Thank you,
Jeremy.
Jeremy Eliosoff replied 9 years, 4 months ago 2 Members · 4 Replies -
4 Replies
-
Gyan Doshi
February 17, 2017 at 12:17 pmThe default encoder reports only supporting YUV 4:2:2 10-bit output, so it should be that. Run
ffprobe final.movorffmpeg -i final.movto check. -
Jeremy Eliosoff
February 17, 2017 at 1:49 pmThank you very much for the quick response. To confirm, you’re saying all of the movies created from the above commands should indeed be in ProRes422 format? Here is the output of ffprobe for two of the resulting movies. Note that in both cases it says encoder : Lavc56.60.100 prores.
Using -profile:v 2:
~/Desktop/v09shortEnd:ffprobe testV2.mov
ffprobe version 2.8.11-0ubuntu0.16.04.1 Copyright (c) 2007-2017 the FFmpeg developers
built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'testV2.mov':
Metadata:
major_brand : qt
minor_version : 512
compatible_brands: qt
encoder : Lavf56.40.101
Duration: 00:01:59.00, start: 0.023220, bitrate: 38311 kb/s
Stream #0:0(eng): Video: prores (apcn / 0x6E637061), yuv422p10le, 1920x1080, 38193 kb/s, 10 fps, 10 tbr, 10240 tbn, 10240 tbc (default)
Metadata:
handler_name : DataHandler
encoder : Lavc56.60.100 prores
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 126 kb/s (default)
Metadata:
handler_name : DataHandler
~/Desktop/v09shortEnd:
Using -profile:v 3:
~/Desktop/v09shortEnd:ffprobe testV3.mov
ffprobe version 2.8.11-0ubuntu0.16.04.1 Copyright (c) 2007-2017 the FFmpeg developers
built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'testV3.mov':
Metadata:
major_brand : qt
minor_version : 512
compatible_brands: qt
encoder : Lavf56.40.101
Duration: 00:01:59.00, start: 0.023220, bitrate: 55753 kb/s
Stream #0:0(eng): Video: prores (apch / 0x68637061), yuv422p10le, 1920x1080, 55634 kb/s, 10 fps, 10 tbr, 10240 tbn, 10240 tbc (default)
Metadata:
handler_name : DataHandler
encoder : Lavc56.60.100 prores
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 126 kb/s (default)
Metadata:
handler_name : DataHandler
~/Desktop/v09shortEnd: -
Gyan Doshi
February 17, 2017 at 2:12 pmYeah. The pixel format is identified by the string yuv422p10le which is YUV 4:2:2 (planar, 10 bits per channel stored in little-endian order).
Reply to this Discussion! Login or Sign Up