[FFmpeg-user] ProRes transcoding

PyProg PyProg pyprog05 at gmail.com
Sat Oct 27 15:34:45 CEST 2012


2012/10/27 Carl Eugen Hoyos <cehoyos at ag.or.at>:

Hello Carl,

> Please provide the command line you have used together
> with the complete, uncut console output.

Here :

angelo at angelo-kubuntu:~/Téléchargements/ffmpeg_static_linux/ffmpeg.static.32bit.2012-10-20$
/home/angelo/Téléchargements/ffmpeg_static_linux/ffmpeg.static.32bit.2012-10-20/ffmpeg
-i /home/angelo/blender/dronez.MOV -codec:v prores -profile:v 3
-codec:a pcm_s16le aaa_ProRes.mov
ffmpeg version N-45739-g04bf2e7 Copyright (c) 2000-2012 the FFmpeg developers
  built on Oct 20 2012 05:11:12 with gcc 4.6 (Debian 4.6.3-1)
  configuration: --prefix=/root/ffmpeg-static/32bit --arch=x86_32
--extra-cflags='-m32 -I/root/ffmpeg-static/32bit/include -static'
--extra-ldflags='-m32 -L/root/ffmpeg-static/32bit/lib -static'
--extra-libs='-lxml2 -lexpat -lfreetype' --enable-static
--disable-shared --disable-ffserver --disable-doc --enable-bzlib
--enable-zlib --enable-postproc --enable-runtime-cpudetect
--enable-libx264 --enable-gpl --enable-libtheora --enable-libvorbis
--enable-libmp3lame --enable-gray --enable-libass --enable-libfreetype
--enable-libopenjpeg --enable-libspeex --enable-libvo-aacenc
--enable-libvo-amrwbenc --enable-version3 --enable-libvpx
  libavutil      51. 76.100 / 51. 76.100
  libavcodec     54. 67.100 / 54. 67.100
  libavformat    54. 33.100 / 54. 33.100
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 19.103 /  3. 19.103
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 16.100 /  0. 16.100
  libpostproc    52.  1.100 / 52.  1.100
Guessed Channel Layout for  Input Stream #0.1 : stereo
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/angelo/blender/dronez.MOV':
  Metadata:
    major_brand     : qt
    minor_version   : 512
    compatible_brands: qt
    creation_time   : 1970-01-01 00:00:00
    encoder         : Lavf52.31.0
    encoder-eng     : Lavf52.31.0
  Duration: 00:03:11.24, start: 0.000000, bitrate: 5121 kb/s
    Stream #0:0(eng): Video: mpeg4 (Simple Profile) (mp4v /
0x7634706D), yuv420p, 720x576 [SAR 1:1 DAR 5:4], 3708 kb/s, 25 fps, 25
tbr, 25 tbn, 25 tbc
    Metadata:
      creation_time   : 1970-01-01 00:00:00
      handler_name    : DataHandler
    Stream #0:1(eng): Audio: pcm_s16be (twos / 0x736F7774), 44100 Hz,
stereo, s16, 1411 kb/s
    Metadata:
      creation_time   : 1970-01-01 00:00:00
      handler_name    : DataHandler
File 'aaa_ProRes.mov' already exists. Overwrite ? [y/N] y
Output #0, mov, to 'aaa_ProRes.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 512
    compatible_brands: qt
    encoder-eng     : Lavf52.31.0
    encoder         : Lavf54.33.100
    Stream #0:0(eng): Video: prores (apch) (apch / 0x68637061),
yuv422p10le, 720x576 [SAR 1:1 DAR 5:4], q=2-31, 200 kb/s, 12800 tbn,
25 tbc
    Metadata:
      creation_time   : 1970-01-01 00:00:00
      handler_name    : DataHandler
    Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 44100 Hz,
stereo, s16, 1411 kb/s
    Metadata:
      creation_time   : 1970-01-01 00:00:00
      handler_name    : DataHandler
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 -> prores)
  Stream #0:1 -> #0:1 (pcm_s16be -> pcm_s16le)
Press [q] to stop, [?] for help
frame= 4779 fps=114 q=0.0 Lsize=  918172kB time=00:03:11.24
bitrate=39330.5kbits/s
video:885114kB audio:32944kB subtitle:0 global headers:0kB muxing
overhead 0.012328%

Here is the information on the video after transcoding:

angelo at angelo-kubuntu:~/Téléchargements/ffmpeg_static_linux/ffmpeg.static.32bit.2012-10-20$
/home/angelo/Téléchargements/ffmpeg_static_linux/ffmpeg.static.32bit.2012-10-20/ffmpeg
-i aaa_ProRes.mov
ffmpeg version N-45739-g04bf2e7 Copyright (c) 2000-2012 the FFmpeg developers
  built on Oct 20 2012 05:11:12 with gcc 4.6 (Debian 4.6.3-1)
  configuration: --prefix=/root/ffmpeg-static/32bit --arch=x86_32
--extra-cflags='-m32 -I/root/ffmpeg-static/32bit/include -static'
--extra-ldflags='-m32 -L/root/ffmpeg-static/32bit/lib -static'
--extra-libs='-lxml2 -lexpat -lfreetype' --enable-static
--disable-shared --disable-ffserver --disable-doc --enable-bzlib
--enable-zlib --enable-postproc --enable-runtime-cpudetect
--enable-libx264 --enable-gpl --enable-libtheora --enable-libvorbis
--enable-libmp3lame --enable-gray --enable-libass --enable-libfreetype
--enable-libopenjpeg --enable-libspeex --enable-libvo-aacenc
--enable-libvo-amrwbenc --enable-version3 --enable-libvpx
  libavutil      51. 76.100 / 51. 76.100
  libavcodec     54. 67.100 / 54. 67.100
  libavformat    54. 33.100 / 54. 33.100
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 19.103 /  3. 19.103
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 16.100 /  0. 16.100
  libpostproc    52.  1.100 / 52.  1.100
Guessed Channel Layout for  Input Stream #0.1 : stereo
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'aaa_ProRes.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 512
    compatible_brands: qt
    encoder         : Lavf54.33.100
  Duration: 00:03:11.24, start: 0.000000, bitrate: 39330 kb/s
    Stream #0:0(eng): Video: prores (apch / 0x68637061), yuv422p10le,
720x576, 37930 kb/s, 25 fps, 25 tbr, 12800 tbn, 12800 tbc
    Metadata:
      handler_name    : DataHandler
    Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 44100 Hz,
stereo, s16, 1411 kb/s
    Metadata:
      handler_name    : DataHandler
At least one output file must be specified

Here is the video after transcoding (read by VLC):

http://glouk.legtux.org/divers/films/27_10_12_transcodage_ProRes_FFmpeg_read_with_VLC_001.jpg

There are lots of artifacts in the video. Artifacts problems are
exactly the same when played in ffplay ... in fact it is not ffplay
which is installed by default in Kubuntu 12.04 but avplay (!) :

angelo @ angelo-kubuntu: ~ $ ffplay
avplay 0.8.3-4:0.8.3-0 ubuntu0.12.04.1 Version, Copyright (c)
2003-2012 the libav developers
   built on Jun 4:52:09 p.m. December 2012 with gcc 4.6.3
Simple media player
use: avplay [options] input_file

An input file must be specified
Use-h to get full help or, even better, run 'man avplay'

Here is the video after transcoding (played by MPlayer), everything is
ok, no artifacts with MPlayer! :

http://glouk.legtux.org/divers/films/27_10_12_transcodage_ProRes_FFmpeg_read_with_MPlayer_001.jpg

Can we conclude that VLC has a serious problem with ProRes videos ?

> Carl Eugen

a+

-- 
http://ekd.tuxfamily.org
http://ekdm.wordpress.com
http://glouk.legtux.org/guiescputil
http://lcs.dunois.clg14.ac-caen.fr/~alama/blog
http://www.youtube.com/user/EnKoDeurMixeur
http://lprod.org/wiki/doku.php/video:encodage:avchd_converter


More information about the ffmpeg-user mailing list