Recherche avancée

Médias (1)

Mot : - Tags -/publier

Autres articles (46)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (5844)

  • Extracting mp3 from mp4 via FFMPEG doesn't apply audio bitrate

    17 juillet 2021, par Mohammad Zamanian

    I want to extract a simplified mono low bitrate low frequency and basically low sized audio from any mp4 file. I use the following FFMPEG command but the resulting audio somehow has 2 channels and its bitrate is the same as the original audio from mp4.

    


    ffmpeg.exe -report -y -i "{mp4}" -vn -acodec libmp3lame -ac 1 -ab 64k -ar 24000 -f mp3 output "{mp3}"


    


    Here is my report :

    


    ffmpeg started on 2021-07-17 at 18:30:20
Report written to "ffmpeg-20210717-183020.log"
Log level: 48
Command line:
"C:\\ffmpeg\\bin\\ffmpeg.exe" -report -y -i "C:/Users/ScottRobertson/Desktop/VirtualExhibition/Final Booth Data/1-Abidi (gold)/Video/Video1.mp4" -vn -acodec libmp3lame -ac 1 -ab 64k -f mp3 output "C:/Users/ScottRobertson/Desktop/VirtualExhibition/Final Booth Data/1-Abidi (gold)/Video/Audio.mp3"
ffmpeg version 4.3.1-2021-01-01-full_build-www.gyan.dev Copyright (c) 2000-2021 the FFmpeg developers
  built with gcc 10.2.0 (Rev5, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-libsnappy --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libzvbi --enable-librav1e --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-l  libavutil      56. 51.100 / 56. 51.100
  libavcodec     58. 91.100 / 58. 91.100
  libavformat    58. 45.100 / 58. 45.100
  libavdevice    58. 10.100 / 58. 10.100
  libavfilter     7. 85.100 /  7. 85.100
  libswscale      5.  7.100 /  5.  7.100
  libswresample   3.  7.100 /  3.  7.100
  libpostproc    55.  7.100 / 55.  7.100
Splitting the commandline.
Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option '-i' ... matched as input url with argument 'C:/Users/ScottRobertson/Desktop/VirtualExhibition/Final Booth Data/1-Abidi (gold)/Video/Video1.mp4'.
Reading option '-vn' ... matched as option 'vn' (disable video) with argument '1'.
Reading option '-acodec' ... matched as option 'acodec' (force audio codec ('copy' to copy stream)) with argument 'libmp3lame'.
Reading option '-ac' ... matched as option 'ac' (set number of audio channels) with argument '1'.
Reading option '-ab' ... matched as option 'ab' (audio bitrate (please use -b:a)) with argument '64k'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'mp3'.
Reading option 'output' ... matched as output url.
Reading option 'C:/Users/ScottRobertson/Desktop/VirtualExhibition/Final Booth Data/1-Abidi (gold)/Video/Audio.mp3' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option report (generate a report) with argument 1.
Applying option y (overwrite output files) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input url C:/Users/ScottRobertson/Desktop/VirtualExhibition/Final Booth Data/1-Abidi (gold)/Video/Video1.mp4.
Successfully parsed a group of options.
Opening an input file: C:/Users/ScottRobertson/Desktop/VirtualExhibition/Final Booth Data/1-Abidi (gold)/Video/Video1.mp4.
[NULL @ 000002e7d956ed40] Opening 'C:/Users/ScottRobertson/Desktop/VirtualExhibition/Final Booth Data/1-Abidi (gold)/Video/Video1.mp4' for reading
[file @ 000002e7d956fd80] Setting default whitelist 'file,crypto,data'
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002e7d956ed40] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002e7d956ed40] ISO: File Type Major Brand: mp42
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002e7d956ed40] Unknown dref type 0x206c7275 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002e7d956ed40] Setting codecpar->delay to 1 for stream st: 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002e7d956ed40] Unknown dref type 0x206c7275 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002e7d956ed40] Before avformat_find_stream_info() pos: 139797 bytes read:65536 seeks:1 nb_streams:2
[h264 @ 000002e7d9570c00] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 000002e7d9570c00] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 000002e7d9570c00] nal_unit_type: 5(IDR), nal_ref_idc: 3
[h264 @ 000002e7d9570c00] Format yuv420p chosen by get_format().
[h264 @ 000002e7d9570c00] Reinit context to 1920x1088, pix_fmt: yuv420p
[h264 @ 000002e7d9570c00] no picture 
[h264 @ 000002e7d9570c00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[h264 @ 000002e7d9570c00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[h264 @ 000002e7d9570c00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[h264 @ 000002e7d9570c00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[h264 @ 000002e7d9570c00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[h264 @ 000002e7d9570c00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[h264 @ 000002e7d9570c00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002e7d956ed40] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002e7d956ed40] After avformat_find_stream_info() pos: 158020 bytes read:65536 seeks:1 frames:11
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:/Users/ScottRobertson/Desktop/VirtualExhibition/Final Booth Data/1-Abidi (gold)/Video/Video1.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42mp41
    creation_time   : 2020-11-24T06:56:49.000000Z
  Duration: 00:00:56.45, start: 0.000000, bitrate: 893 kb/s
    Stream #0:0(eng), 10, 1/30000: Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 749 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
    Metadata:
      creation_time   : 2020-11-24T06:56:49.000000Z
      handler_name    : Mainconcept Video Media Handler
      encoder         : AVC Coding
    Stream #0:1(eng), 1, 1/44100: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 125 kb/s (default)
    Metadata:
      creation_time   : 2020-11-24T06:56:49.000000Z
      handler_name    : #Mainconcept MP4 Sound Media Handler
Successfully opened the file.
Parsing a group of options: output url output.
Applying option vn (disable video) with argument 1.
Applying option acodec (force audio codec ('copy' to copy stream)) with argument libmp3lame.
Applying option ac (set number of audio channels) with argument 1.
Applying option ab (audio bitrate (please use -b:a)) with argument 64k.
Applying option f (force format) with argument mp3.
Successfully parsed a group of options.
Opening an output file: output.
[file @ 000002e7d958e340] Setting default whitelist 'file,crypto,data'
Successfully opened the file.
Parsing a group of options: output url C:/Users/ScottRobertson/Desktop/VirtualExhibition/Final Booth Data/1-Abidi (gold)/Video/Audio.mp3.
Successfully parsed a group of options.
Opening an output file: C:/Users/ScottRobertson/Desktop/VirtualExhibition/Final Booth Data/1-Abidi (gold)/Video/Audio.mp3.
[file @ 000002e7da1bc480] Setting default whitelist 'file,crypto,data'
Successfully opened the file.
Stream mapping:
  Stream #0:1 -> #0:0 (aac (native) -> mp3 (libmp3lame))
  Stream #0:1 -> #1:0 (aac (native) -> mp3 (libmp3lame))
Press [q] to stop, [?] for help
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
detected 8 logical cores
[graph_0_in_0_1 @ 000002e7dac2b7c0] Setting 'time_base' to value '1/44100'
[graph_0_in_0_1 @ 000002e7dac2b7c0] Setting 'sample_rate' to value '44100'
[graph_0_in_0_1 @ 000002e7dac2b7c0] Setting 'sample_fmt' to value 'fltp'
[graph_0_in_0_1 @ 000002e7dac2b7c0] Setting 'channel_layout' to value '0x3'
[graph_0_in_0_1 @ 000002e7dac2b7c0] tb:1/44100 samplefmt:fltp samplerate:44100 chlayout:0x3
[format_out_0_0 @ 000002e7dac2b8c0] Setting 'sample_fmts' to value 's32p|fltp|s16p'
[format_out_0_0 @ 000002e7dac2b8c0] Setting 'sample_rates' to value '44100|48000|32000|22050|24000|16000|11025|12000|8000'
[format_out_0_0 @ 000002e7dac2b8c0] Setting 'channel_layouts' to value '0x4'
[format_out_0_0 @ 000002e7dac2b8c0] auto-inserting filter 'auto_resampler_0' between the filter 'Parsed_anull_0' and the filter 'format_out_0_0'
[AVFilterGraph @ 000002e7da1bdfc0] query_formats: 4 queried, 7 merged, 3 already done, 0 delayed
[auto_resampler_0 @ 000002e7d958edc0] [SWR @ 000002e7d95fd240] Using fltp internally between filters
[auto_resampler_0 @ 000002e7d958edc0] [SWR @ 000002e7d95fd240] Matrix coefficients:
[auto_resampler_0 @ 000002e7d958edc0] [SWR @ 000002e7d95fd240] FC: FL:0.707107 FR:0.707107 
[auto_resampler_0 @ 000002e7d958edc0] ch:2 chl:stereo fmt:fltp r:44100Hz -> ch:1 chl:mono fmt:fltp r:44100Hz
Output #0, mp3, to 'output':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42mp41
    TSSE            : Lavf58.45.100
    Stream #0:0(eng), 0, 1/44100: Audio: mp3 (libmp3lame), 44100 Hz, mono, fltp, 64 kb/s (default)
    Metadata:
      creation_time   : 2020-11-24T06:56:49.000000Z
      handler_name    : #Mainconcept MP4 Sound Media Handler
      encoder         : Lavc58.91.100 libmp3lame
[graph_1_in_0_1 @ 000002e7d9a5bf00] Setting 'time_base' to value '1/44100'
[graph_1_in_0_1 @ 000002e7d9a5bf00] Setting 'sample_rate' to value '44100'
[graph_1_in_0_1 @ 000002e7d9a5bf00] Setting 'sample_fmt' to value 'fltp'
[graph_1_in_0_1 @ 000002e7d9a5bf00] Setting 'channel_layout' to value '0x3'
[graph_1_in_0_1 @ 000002e7d9a5bf00] tb:1/44100 samplefmt:fltp samplerate:44100 chlayout:0x3
[format_out_1_0 @ 000002e7da1b8580] Setting 'sample_fmts' to value 's32p|fltp|s16p'
[format_out_1_0 @ 000002e7da1b8580] Setting 'sample_rates' to value '44100|48000|32000|22050|24000|16000|11025|12000|8000'
[format_out_1_0 @ 000002e7da1b8580] Setting 'channel_layouts' to value '0x4|0x3'
[AVFilterGraph @ 000002e7da1be5c0] query_formats: 4 queried, 9 merged, 0 already done, 0 delayed
Output #1, mp3, to 'C:/Users/ScottRobertson/Desktop/VirtualExhibition/Final Booth Data/1-Abidi (gold)/Video/Audio.mp3':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42mp41
    TSSE            : Lavf58.45.100
    Stream #1:0(eng), 0, 1/44100: Audio: mp3 (libmp3lame), 44100 Hz, stereo, fltp (default)
    Metadata:
      creation_time   : 2020-11-24T06:56:49.000000Z
      handler_name    : #Mainconcept MP4 Sound Media Handler
      encoder         : Lavc58.91.100 libmp3lame
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
size=     129kB time=00:00:16.40 bitrate=  64.2kbits/s speed=32.8x    
size=     254kB time=00:00:32.49 bitrate=  64.1kbits/s speed=32.5x    
size=     256kB time=00:00:47.83 bitrate=  43.8kbits/s speed=31.8x    
[out_0_0 @ 000002e7d95b3d40] EOF on sink link out_0_0:default.
[out_1_0 @ 000002e7d9bae780] EOF on sink link out_1_0:default.
No more output streams to write to, finishing.
[libmp3lame @ 000002e7d958dbc0] Trying to remove 175 more samples than there are in the queue
[libmp3lame @ 000002e7da1bb940] Trying to remove 175 more samples than there are in the queue
size=     442kB time=00:00:56.45 bitrate=  64.1kbits/s speed=  33x    
video:0kB audio:1324kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Input file #0 (C:/Users/ScottRobertson/Desktop/VirtualExhibition/Final Booth Data/1-Abidi (gold)/Video/Video1.mp4):
  Input stream #0:0 (video): 10 packets read (17858 bytes); 
  Input stream #0:1 (audio): 2431 packets read (886147 bytes); 2431 frames decoded (2489344 samples); 
  Total: 2441 packets (904005 bytes) demuxed
Output file #0 (output):
  Output stream #0:0 (audio): 2161 frames encoded (2489344 samples); 2162 packets muxed (451813 bytes); 
  Total: 2162 packets (451813 bytes) muxed
Output file #1 (C:/Users/ScottRobertson/Desktop/VirtualExhibition/Final Booth Data/1-Abidi (gold)/Video/Audio.mp3):
  Output stream #1:0 (audio): 2161 frames encoded (2489344 samples); 2162 packets muxed (903627 bytes); 
  Total: 2162 packets (903627 bytes) muxed
2431 frames successfully decoded, 0 decoding errors
[AVIOContext @ 000002e7d958e400] Statistics: 2 seeks, 3 writeouts
[AVIOContext @ 000002e7da1bc580] Statistics: 2 seeks, 5 writeouts
[AVIOContext @ 000002e7d9578040] Statistics: 2725576 bytes read, 65 seeks


    


    How can I force the desired audio bitrate ?

    


    Also, why is there 2 outputs called Output file #0 and Output file #1 and why the #0 doesn't have any path ?

    


  • why ffmpeg only combines first 390 images when combining very large amount ( about 9k) images into video ?

    4 juillet 2021, par Siwei

    I have a VCD, and I split it into nearly 10,000 images, named like :

    


    $ ls tmp_enlarged_image_folder

vcd3_00000001.png
vcd3_00000002.png
vcd3_00000003.png
vcd3_00000004.png
...
vcd3_00089998.png
vcd3_00089999.png
vcd3_00090000.png


    


    and the following command doen't work for me :

    


    ffmpeg -loglevel trace -f image2 -r 25 -pattern_type sequence -i 'tmp_enlarged_image_folder/vcd3-%08d.png' -vcodec libx264 test.mp4



    


    and the detailed log shows as below :

    


    ffmpeg version 3.4.8-0ubuntu0.2 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
  configuration: --prefix=/usr --extra-version=0ubuntu0.2 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --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-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --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-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
  libavutil      55. 78.100 / 55. 78.100
  libavcodec     57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter     6.107.100 /  6.107.100
  libavresample   3.  7.  0 /  3.  7.  0
  libswscale      4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
Splitting the commandline.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'trace'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'image2'.
Reading option '-r' ... matched as option 'r' (set frame rate (Hz value, fraction or abbreviation)) with argument '25'.
Reading option '-pattern_type' ... matched as AVOption 'pattern_type' with argument 'sequence'.
Reading option '-i' ... matched as input url with argument 'tmp_enlarged_image_folder/vcd3-%08d.png'.
Reading option '-vcodec' ... matched as option 'vcodec' (force video codec ('copy' to copy stream)) with argument 'libx264'.
Reading option 'test.mp4' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument trace.
Successfully parsed a group of options.
Parsing a group of options: input url tmp_enlarged_image_folder/vcd3-%08d.png.
Applying option f (force format) with argument image2.
Applying option r (set frame rate (Hz value, fraction or abbreviation)) with argument 25.
Successfully parsed a group of options.
Opening an input file: tmp_enlarged_image_folder/vcd3-%08d.png.
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000001.png' for reading
[file @ 0x560f96d8b9a0] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96d898e0] Statistics: 60162 bytes read, 0 seeks
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000002.png' for reading
[file @ 0x560f96d8be80] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96d8c0a0] Statistics: 58890 bytes read, 0 seeks
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000003.png' for reading
[file @ 0x560f96d8be80] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96d92420] Statistics: 59492 bytes read, 0 seeks
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000004.png' for reading
[file @ 0x560f96d92860] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96d92900] Statistics: 59467 bytes read, 0 seeks
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000005.png' for reading
[file @ 0x560f96d92860] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96d92d00] Statistics: 98769 bytes read, 0 seeks
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000006.png' for reading
[file @ 0x560f96d92fa0] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96d93280] Statistics: 100294 bytes read, 0 seeks
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000007.png' for reading
[file @ 0x560f96d93140] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96d934a0] Statistics: 99530 bytes read, 0 seeks
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000008.png' for reading
[file @ 0x560f96d930a0] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96d936c0] Statistics: 141874 bytes read, 0 seeks
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000009.png' for reading
[file @ 0x560f96d8c420] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96d93840] Statistics: 146849 bytes read, 0 seeks
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000010.png' for reading
[file @ 0x560f96d93840] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96d8c640] Statistics: 142622 bytes read, 0 seeks
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000011.png' for reading
[file @ 0x560f96d8c7c0] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96d8c860] Statistics: 161083 bytes read, 0 seeks
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000012.png' for reading
[file @ 0x560f96d8c7c0] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96d8c9a0] Statistics: 168437 bytes read, 0 seeks
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000013.png' for reading
[file @ 0x560f96d8c7c0] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96d8ca20] Statistics: 160565 bytes read, 0 seeks
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000014.png' for reading
[file @ 0x560f96d8ca20] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96d8cd40] Statistics: 99356 bytes read, 0 seeks
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000015.png' for reading
[file @ 0x560f96d8cc20] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96d8cd40] Statistics: 101508 bytes read, 0 seeks
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000016.png' for reading
[file @ 0x560f96d8cc20] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96d8cd40] Statistics: 99081 bytes read, 0 seeks
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000017.png' for reading
[file @ 0x560f96d8cf20] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96d8d040] Statistics: 150550 bytes read, 0 seeks
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000018.png' for reading
[file @ 0x560f96d8d040] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96d8d4c0] Statistics: 156717 bytes read, 0 seeks
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000019.png' for reading
[file @ 0x560f96d8d700] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96d8d7a0] Statistics: 151933 bytes read, 0 seeks
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000020.png' for reading
[file @ 0x560f96d8d7c0] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96d8da80] Statistics: 167036 bytes read, 0 seeks
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000021.png' for reading
[file @ 0x560f96d8d860] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96d8da00] Statistics: 177571 bytes read, 0 seeks
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000022.png' for reading
[file @ 0x560f96da25a0] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96da2640] Statistics: 169959 bytes read, 0 seeks
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000023.png' for reading
[file @ 0x560f96da25a0] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96da28a0] Statistics: 176603 bytes read, 0 seeks
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000024.png' for reading
[file @ 0x560f96da2580] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96da2620] Statistics: 190698 bytes read, 0 seeks
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000025.png' for reading
[file @ 0x560f96da29a0] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96da2620] Statistics: 175826 bytes read, 0 seeks
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000026.png' for reading
[file @ 0x560f96da2dc0] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96da2620] Statistics: 148180 bytes read, 0 seeks
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000027.png' for reading
[file @ 0x560f96da2620] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96da3060] Statistics: 149163 bytes read, 0 seeks
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000028.png' for reading
[file @ 0x560f96da2620] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96da3080] Statistics: 145310 bytes read, 0 seeks
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000029.png' for reading
[file @ 0x560f96da3080] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96da2f20] Statistics: 169361 bytes read, 0 seeks
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000030.png' for reading
[file @ 0x560f96da34a0] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96da3540] Statistics: 177868 bytes read, 0 seeks
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000031.png' for reading
[file @ 0x560f96da34a0] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96da3680] Statistics: 170215 bytes read, 0 seeks
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000032.png' for reading
[file @ 0x560f96da3680] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96da3540] Statistics: 179543 bytes read, 0 seeks
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000033.png' for reading
[file @ 0x560f96da38a0] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96da3a80] Statistics: 191447 bytes read, 0 seeks
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000034.png' for reading
[file @ 0x560f96da3cc0] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96da3e60] Statistics: 178243 bytes read, 0 seeks
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000035.png' for reading
[file @ 0x560f96da3e60] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96da3f00] Statistics: 181307 bytes read, 0 seeks
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000036.png' for reading
[file @ 0x560f96da3e60] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96da4160] Statistics: 199093 bytes read, 0 seeks
[image2 @ 0x560f96d859e0] Probe buffer size limit of 5000000 bytes reached
[image2 @ 0x560f96d859e0] stream 0: start_time: 0.000 duration: 27.520
[image2 @ 0x560f96d859e0] format: start_time: 0.000 duration: 27.520 bitrate=0 kb/s
Input #0, image2, from 'tmp_enlarged_image_folder/vcd3-%08d.png':
  Duration: 00:00:27.52, start: 0.000000, bitrate: N/A
    Stream #0:0, 36, 1/25: Video: png, 1 reference frame, rgb24(pc), 704x576, 0/1, 25 fps, 25 tbr, 25 tbn, 25 tbc
Successfully opened the file.
Parsing a group of options: output url test.mp4.
Applying option vcodec (force video codec ('copy' to copy stream)) with argument libx264.
Successfully parsed a group of options.
Opening an output file: test.mp4.
File 'test.mp4' already exists. Overwrite ? [y/N] y
[file @ 0x560f96d8b800] Setting default whitelist 'file,crypto'
Successfully opened the file.
detected 4 logical cores
Stream mapping:
  Stream #0:0 -> #0:0 (png (native) -> h264 (libx264))
Press [q] to stop, [?] for help
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
    Last message repeated 4 times
[graph 0 input from stream 0:0 @ 0x560f96dbb5e0] Setting 'video_size' to value '704x576'
[graph 0 input from stream 0:0 @ 0x560f96dbb5e0] Setting 'pix_fmt' to value '2'
[graph 0 input from stream 0:0 @ 0x560f96dbb5e0] Setting 'time_base' to value '1/25'
[graph 0 input from stream 0:0 @ 0x560f96dbb5e0] Setting 'pixel_aspect' to value '0/1'
[graph 0 input from stream 0:0 @ 0x560f96dbb5e0] Setting 'sws_param' to value 'flags=2'
[graph 0 input from stream 0:0 @ 0x560f96dbb5e0] Setting 'frame_rate' to value '25/1'
[graph 0 input from stream 0:0 @ 0x560f96dbb5e0] w:704 h:576 pixfmt:rgb24 tb:1/25 fr:25/1 sar:0/1 sws_param:flags=2
[format @ 0x560f96db9cc0] compat: called with args=[yuv420p|yuvj420p|yuv422p|yuvj422p|yuv444p|yuvj444p|nv12|nv16|nv21]
[format @ 0x560f96db9cc0] Setting 'pix_fmts' to value 'yuv420p|yuvj420p|yuv422p|yuvj422p|yuv444p|yuvj444p|nv12|nv16|nv21'
[auto_scaler_0 @ 0x560f96dbdd00] Setting 'flags' to value 'bicubic'
[auto_scaler_0 @ 0x560f96dbdd00] w:iw h:ih flags:'bicubic' interl:0
[format @ 0x560f96db9cc0] auto-inserting filter 'auto_scaler_0' between the filter 'Parsed_null_0' and the filter 'format'
[AVFilterGraph @ 0x560f96d8bc60] query_formats: 4 queried, 2 merged, 1 already done, 0 delayed
[auto_scaler_0 @ 0x560f96dbdd00] picking yuv444p out of 8 ref:rgb24 alpha:0
[auto_scaler_0 @ 0x560f96dbdd00] w:704 h:576 fmt:rgb24 sar:0/1 -> w:704 h:576 fmt:yuv444p sar:0/1 flags:0x4
[libx264 @ 0x560f96d8e8c0] using mv_range_thread = 40
[libx264 @ 0x560f96d8e8c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0x560f96d8e8c0] profile High 4:4:4 Predictive, level 3.0, 4:4:4 8-bit
[libx264 @ 0x560f96d8e8c0] 264 - core 152 r2854 e9a5903 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=4 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'test.mp4':
  Metadata:
    encoder         : Lavf57.83.100
    Stream #0:0, 0, 1/12800: Video: h264 (libx264), 1 reference frame (avc1 / 0x31637661), yuv444p, 704x576, 0/1, q=-1--1, 25 fps, 12800 tbn, 25 tbc
    Metadata:
      encoder         : Lavc57.107.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
Clipping frame in rate conversion by 0.000008
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
    Last message repeated 31 times
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000037.png' for reading
[file @ 0x560f96da3e40] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96da34a0] Statistics: 181873 bytes read, 0 seeks
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000038.png' for reading
[file @ 0x560f96da3e40] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96da34a0] Statistics: 134566 bytes read, 0 seeks
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000039.png' for reading
[file @ 0x560f96d92860] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96d8dae0] Statistics: 137871 bytes read, 0 seeks
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000040.png' for reading
[file @ 0x560f96d8dae0] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96d92860] Statistics: 136224 bytes read, 0 seeks
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000041.png' for reading
[file @ 0x560f96d8db00] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96da3020] Statistics: 168070 bytes read, 0 seeks
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000042.png' for reading
[file @ 0x560f96da3d40] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96da3020] Statistics: 176575 bytes read, 0 seeks
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000043.png' for reading
[file @ 0x560f96da3d40] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96da3040] Statistics: 168955 bytes read, 0 seeks
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000044.png' for reading
[file @ 0x560f96da2dc0] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96da2e60] Statistics: 176179 bytes read, 0 seeks
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000045.png' for reading
[file @ 0x560f96da3020] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96da30c0] Statistics: 189823 bytes read, 0 seeks
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000046.png' for reading
[file @ 0x560f96da39c0] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96da3680] Statistics: 174410 bytes read, 0 seeks
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000047.png' for reading
[file @ 0x560f96d93920] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f98047100] Statistics: 184740 bytes read, 0 seeks
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000048.png' for reading
[file @ 0x560f96d8db60] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f98047100] Statistics: 198932 bytes read, 0 seeks
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000049.png' for reading
[file @ 0x560f9807d700] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f98047100] Statistics: 184479 bytes read, 0 seeks
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000050.png' for reading
[file @ 0x560f9807d700] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f9811c3c0] Statistics: 141160 bytes read, 0 seeks
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000051.png' for reading
[file @ 0x560f96d928e0] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96da3660] Statistics: 145336 bytes read, 0 seeks
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000052.png' for reading
[file @ 0x560f9807d700] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96d937a0] Statistics: 143174 bytes read, 0 seeks
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000053.png' for reading
[file @ 0x560f96da3cc0] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96d937c0] Statistics: 163488 bytes read, 0 seeks
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000054.png' for reading
[file @ 0x560f96da37e0] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f980eb240] Statistics: 171633 bytes read, 0 seeks
cur_dts is invalid (this is harmless if it occurs once at the start per stream) 0x    
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000055.png' for reading
[file @ 0x560f96da3cc0] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96d92860] Statistics: 164825 bytes read, 0 seeks
[libx264 @ 0x560f96d8e8c0] frame=   0 QP=13.88 NAL=3 Slice:I Poc:0   I:1584 P:0    SKIP:0    size=1578 bytes
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000056.png' for reading
[file @ 0x560f96da3ce0] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96d937c0] Statistics: 175255 bytes read, 0 seeks
[libx264 @ 0x560f96d8e8c0] frame=   1 QP=16.06 NAL=2 Slice:P Poc:8   I:183  P:97   SKIP:1304 size=659 bytes
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000057.png' for reading
[file @ 0x560f96da37e0] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96da3660] Statistics: 185462 bytes read, 0 seeks
[libx264 @ 0x560f96d8e8c0] frame=   2 QP=14.21 NAL=2 Slice:B Poc:4   I:0    P:207  SKIP:1377 size=220 bytes
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000058.png' for reading
[file @ 0x560f96d937a0] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96d92f20] Statistics: 175635 bytes read, 0 seeks
[libx264 @ 0x560f96d8e8c0] frame=   3 QP=19.00 NAL=0 Slice:B Poc:2   I:2    P:38   SKIP:1544 size=65 bytes
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000059.png' for reading
[file @ 0x560f96d937a0] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96da3660] Statistics: 183556 bytes read, 0 seeks
[libx264 @ 0x560f96d8e8c0] frame=   4 QP=19.00 NAL=0 Slice:B Poc:6   I:1    P:140  SKIP:1443 size=109 bytes
[image2 @ 0x560f96d859e0] Opening 'tmp_enlarged_image_folder/vcd3-00000060.png' for reading
[file @ 0x560f96da28e0] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x560f96d93020] Statistics: 200369 bytes read, 0 seeks
[libx264 @ 0x560f96d8e8c0] scene cut at 13 Icost:32063 Pcost:31308 ratio:0.0235 bias:0.0520 gop:13 (imb:1301 pmb:127)

....

[libx264 @ 0x560f96d8e8c0] frame= 381 QP=23.59 NAL=0 Slice:B Poc:368 I:1    P:261  SKIP:1322 size=237 bytes
[libx264 @ 0x560f96d8e8c0] frame= 382 QP=20.58 NAL=2 Slice:P Poc:378 I:374  P:512  SKIP:698  size=1966 bytes
[libx264 @ 0x560f96d8e8c0] frame= 383 QP=20.62 NAL=2 Slice:B Poc:374 I:28   P:555  SKIP:1001 size=1061 bytes
[libx264 @ 0x560f96d8e8c0] frame= 384 QP=19.35 NAL=0 Slice:B Poc:372 I:4    P:349  SKIP:1231 size=325 bytes
[libx264 @ 0x560f96d8e8c0] frame= 385 QP=22.98 NAL=0 Slice:B Poc:376 I:3    P:348  SKIP:1233 size=337 bytes
[libx264 @ 0x560f96d8e8c0] frame= 386 QP=22.53 NAL=2 Slice:P Poc:386 I:139  P:398  SKIP:1047 size=899 bytes
[libx264 @ 0x560f96d8e8c0] frame= 387 QP=20.57 NAL=2 Slice:B Poc:382 I:5    P:373  SKIP:1206 size=522 bytes
[libx264 @ 0x560f96d8e8c0] frame= 388 QP=21.35 NAL=0 Slice:B Poc:380 I:2    P:188  SKIP:1394 size=175 bytes
[libx264 @ 0x560f96d8e8c0] frame= 389 QP=24.00 NAL=0 Slice:B Poc:384 I:4    P:335  SKIP:1245 size=309 bytes
frame=  390 fps= 88 q=-1.0 Lsize=    1179kB time=00:00:15.48 bitrate= 623.8kbits/s speed=3.48x    
video:1173kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.458639%
Input file #0 (tmp_enlarged_image_folder/vcd3-%08d.png):
  Input stream #0:0 (video): 390 packets read (133376897 bytes); 390 frames decoded; 
  Total: 390 packets (133376897 bytes) demuxed
Output file #0 (test.mp4):
  Output stream #0:0 (video): 390 frames encoded; 390 packets muxed (1201598 bytes); 
  Total: 390 packets (1201598 bytes) muxed
390 frames successfully decoded, 0 decoding errors
[AVIOContext @ 0x560f96d91840] Statistics: 2 seeks, 8 writeouts
[libx264 @ 0x560f96d8e8c0] frame I:16    Avg QP:15.26  size:  5467
[libx264 @ 0x560f96d8e8c0] frame P:105   Avg QP:20.74  size:  6272
[libx264 @ 0x560f96d8e8c0] frame B:269   Avg QP:24.76  size:  1691
[libx264 @ 0x560f96d8e8c0] consecutive B-frames:  5.1%  8.2%  1.5% 85.1%
[libx264 @ 0x560f96d8e8c0] mb I  I16..4: 80.4%  0.0% 19.6%
[libx264 @ 0x560f96d8e8c0] mb P  I16..4: 12.5%  0.0%  4.7%  P16..4: 28.6%  8.5%  4.2%  0.0%  0.0%    skip:41.4%
[libx264 @ 0x560f96d8e8c0] mb B  I16..4:  0.6%  0.0%  0.4%  B16..8: 32.3%  2.1%  0.3%  direct: 2.3%  skip:61.8%  L0:44.0% L1:51.7% BI: 4.3%
[libx264 @ 0x560f96d8e8c0] coded y,u,v intra: 22.2% 7.4% 6.0% inter: 8.1% 1.6% 1.0%
[libx264 @ 0x560f96d8e8c0] i16 v,h,dc,p: 47% 24% 10% 19%
[libx264 @ 0x560f96d8e8c0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 30% 18% 26%  5%  5%  6%  4%  4%  3%
[libx264 @ 0x560f96d8e8c0] Weighted P-Frames: Y:7.6% UV:6.7%
[libx264 @ 0x560f96d8e8c0] ref P L0: 52.1% 11.4% 25.3% 11.1%  0.2%
[libx264 @ 0x560f96d8e8c0] ref B L0: 80.7% 15.2%  4.1%
[libx264 @ 0x560f96d8e8c0] ref B L1: 91.6%  8.4%
[libx264 @ 0x560f96d8e8c0] kb/s:615.85



    


  • ffmpeg converting .vob to .mp4 --- colors are washed out

    28 mai 2021, par Blattla

    I am very new to ffmpeg. Currently I am trying to convert old family movies from vob to mp4.
After getting some help I used this command :

    


    ffmpeg -i 1998.vob -codec:v libx264 -crf 17 -pix_fmt yuv420p -codec:a aac -movflags +faststart 1998.mp4


    


    Two things that still bug me. The output is almost 20% larger than the input and the colors are washed out. Although the movies are old and of low quality (grainy, rather flat colors, ...) the colors in the output movie are less intense than in the original one. Larger file size would be ok for me but do you have any idea which part of my command might cause the color issue ?

    


    ffmpeg version 4.4 Copyright (c) 2000-2021 the FFmpeg developers
  built with Apple clang version 12.0.0 (clang-1200.0.32.29)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/4.4_1 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox
  libavutil      56. 70.100 / 56. 70.100
  libavcodec     58.134.100 / 58.134.100
  libavformat    58. 76.100 / 58. 76.100
  libavdevice    58. 13.100 / 58. 13.100
  libavfilter     7.110.100 /  7.110.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  9.100 /  5.  9.100
  libswresample   3.  9.100 /  3.  9.100
  libpostproc    55.  9.100 / 55.  9.100
Input #0, mpeg, from '1995.vob':
  Duration: 00:00:14.64, start: 0.232178, bitrate: 1676252 kb/s
  Stream #0:0[0x1bf]: Data: dvd_nav_packet
  Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, bt470bg, top first), 704x576 [SAR 12:11 DAR 4:3], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Side data:
      cpb: bitrate max/min/avg: 9548800/0/0 buffer size: 1835008 vbv_delay: N/A
  Stream #0:2[0x80]: Audio: ac3, 48000 Hz, stereo, fltp, 256 kb/s
File '999.mp4' already exists. Overwrite? [y/N] y
Stream mapping:
  Stream #0:1 -> #0:0 (mpeg2video (native) -> h264 (libx264))
  Stream #0:2 -> #0:1 (ac3 (native) -> aac (native))
Press [q] to stop, [?] for help
[libx264 @ 0x7ff666814400] using SAR=12/11
[libx264 @ 0x7ff666814400] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0x7ff666814400] profile High, level 3.0, 4:2:0, 8-bit
[libx264 @ 0x7ff666814400] 264 - core 161 r3049 55d517b - H.264/MPEG-4 AVC codec - Copyleft 2003-2021 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=17.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to '999.mp4':
  Metadata:
    encoder         : Lavf58.76.100
  Stream #0:0: Video: h264 (avc1 / 0x31637661), yuv420p(tv, bt470bg, top coded first (swapped)), 704x576 [SAR 12:11 DAR 4:3], q=2-31, 25 fps, 12800 tbn
    Metadata:
      encoder         : Lavc58.134.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
  Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s
    Metadata:
      encoder         : Lavc58.134.100 aac
frame=    1 fps=0.0 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   frame=   59 fps=0.0 q=22.0 size=     256kB time=00:00:02.04 bitrate=1024.2kbits/frame=   75 fps= 72 q=22.0 size=    1024kB time=00:00:02.68 bitrate=3120.9kbits/frame=   95 fps= 61 q=22.0 size=    2048kB time=00:00:03.45 bitrate=4854.6kbits/frame=  112 fps= 54 q=22.0 size=    2816kB time=00:00:04.18 bitrate=5517.2kbits/frame=  131 fps= 51 q=22.0 size=    4096kB time=00:00:04.92 bitrate=6809.0kbits/frame=  149 fps= 48 q=22.0 size=    4864kB time=00:00:05.65 bitrate=7048.3kbits/frame=  169 fps= 47 q=22.0 size=    6144kB time=00:00:06.42 bitrate=7838.3kbits/frame=  183 fps= 44 q=22.0 size=    6912kB time=00:00:07.04 bitrate=8043.1kbits/frame=  203 fps= 43 q=22.0 size=    7936kB time=00:00:07.80 bitrate=8326.3kbits/frame=  221 fps= 42 q=22.0 size=    8960kB time=00:00:08.51 bitrate=8623.2kbits/frame=  240 fps= 42 q=22.0 size=    9984kB time=00:00:09.28 bitrate=8813.5kbits/frame=  261 fps= 41 q=22.0 size=   11264kB time=00:00:10.06 bitrate=9164.0kbits/frame=  278 fps= 40 q=22.0 size=   12288kB time=00:00:10.81 bitrate=9306.9kbits/frame=  294 fps= 40 q=22.0 size=   13568kB time=00:00:11.45 bitrate=9702.3kbits/frame=  311 fps= 39 q=22.0 size=   14592kB time=00:00:12.09 bitrate=9882.4kbits/frame=  329 fps= 39 q=22.0 size=   15616kB time=00:00:12.86 bitrate=9944.5kbits/frame=  347 fps= 39 q=22.0 size=   16640kB time=00:00:13.56 bitrate=10046.8kbitsframe=  366 fps= 38 q=22.0 size=   17920kB time=00:00:14.33 bitrate=10240.0kbitsframe=  385 fps= 38 q=22.0 size=   19200kB time=00:00:15.12 bitrate=10398.9kbitsframe=  400 fps= 38 q=22.0 size=   20224kB time=00:00:15.63 bitrate=10594.9kbitsframe=  418 fps= 38 q=22.0 size=   21504kB time=00:00:16.34 bitrate=10780.1kbitsframe=  431 fps= 37 q=22.0 size=   22528kB time=00:00:16.89 bitrate=10922.7kbitsframe=  447 fps= 37 q=22.0 size=   23808kB time=00:00:17.53 bitrate=11122.0kbitsframe=  466 fps= 37 q=22.0 size=   25088kB time=00:00:18.26 bitrate=11254.5kbitsframe=  479 fps= 36 q=22.0 size=   25856kB time=00:00:18.81 bitrate=11257.1kbitsframe=  497 fps= 36 q=22.0 size=   27136kB time=00:00:19.54 bitrate=11375.8kbitsframe=  513 fps= 36 q=22.0 size=   28416kB time=00:00:20.16 bitrate=11546.8kbitsframe=  530 fps= 36 q=22.0 size=   29440kB time=00:00:20.92 bitrate=11523.9kbitsframe=  546 fps= 36 q=22.0 size=   30464kB time=00:00:21.56 bitrate=11570.9kbitsframe=  564 fps= 36 q=22.0 size=   31744kB time=00:00:22.10 bitrate=11766.1kbitsframe=  580 fps= 36 q=19.0 size=   32512kB time=00:00:22.80 bitrate=11678.8kbitsframe=  598 fps= 36 q=22.0 size=   33792kB time=00:00:23.57 bitrate=11743.1kbitsframe=  614 fps= 35 q=22.0 size=   34560kB time=00:00:24.25 bitrate=11672.0kbitsframe=  630 fps= 35 q=22.0 size=   35328kB time=00:00:24.85 bitrate=11644.6kbitsframe=  646 fps= 35 q=22.0 size=   36096kB time=00:00:25.42 bitrate=11628.3kbitsframe=  662 fps= 35 q=22.0 size=   37376kB time=00:00:26.17 bitrate=11697.1kbitsframe=  682 fps= 35 q=22.0 size=   38400kB time=00:00:26.90 bitrate=11693.6kbitsframe=  699 fps= 35 q=22.0 size=   39424kB time=00:00:27.66 bitrate=11672.2kbitsframe=  719 fps= 35 q=22.0 size=   40704kB time=00:00:28.41 bitrate=11734.5kbitsframe=  736 fps= 35 q=22.0 size=   41728kB time=00:00:29.14 bitrate=11730.3kbitsframe=  753 fps= 35 q=22.0 size=   42752kB time=00:00:29.71 bitrate=11785.2kbitsframe=  764 fps= 35 q=22.0 size=   43520kB time=00:00:30.20 bitrate=11802.0kbitsframe=  776 fps= 35 q=22.0 size=   44544kB time=00:00:30.72 bitrate=11878.4kbitsframe=  786 fps= 34 q=22.0 size=   45312kB time=00:00:31.06 bitrate=11950.4kbitsframe=  799 fps= 34 q=22.0 size=   46080kB time=00:00:31.57 bitrate=11955.9kbitsframe=  815 fps= 34 q=22.0 size=   47104kB time=00:00:32.14 bitrate=12002.6kbitsframe=  830 fps= 34 q=22.0 size=   48128kB time=00:00:32.78 bitrate=12024.2kbitsframe=  839 fps= 33 q=22.0 size=   48640kB time=00:00:33.15 bitrate=12019.2kbitsframe=  847 fps= 33 q=22.0 size=   49152kB time=00:00:33.49 bitrate=12021.9kbitsframe=  858 fps= 33 q=22.0 size=   49920kB time=00:00:33.98 bitrate=12033.5kbitsframe=  867 fps= 32 q=22.0 size=   50688kB time=00:00:34.30 bitrate=12104.6kbitsframe=  880 fps= 32 q=22.0 size=   51456kB time=00:00:34.88 bitrate=12085.1kbitsframe=  898 fps= 32 q=22.0 size=   52480kB time=00:00:35.54 bitrate=12096.2kbitsframe=  913 fps= 32 q=22.0 size=   53504kB time=00:00:36.18 bitrate=12114.1kbitsframe=  923 fps= 32 q=22.0 size=   54016kB time=00:00:36.54 bitrate=12108.7kbitsframe=  940 fps= 32 q=22.0 size=   55040kB time=00:00:37.20 bitrate=12118.9kbitsframe=  958 fps= 32 q=22.0 size=   55808kB time=00:00:37.90 bitrate=12059.8kbitsframe=  975 fps= 32 q=22.0 size=   56832kB time=00:00:38.61 bitrate=12057.2kbitsframe=  994 fps= 32 q=22.0 size=   58112kB time=00:00:39.38 bitrate=12088.3kbitsframe= 1012 fps= 32 q=22.0 size=   59136kB time=00:00:40.02 bitrate=12104.6kbitsframe= 1026 fps= 32 q=22.0 size=   59904kB time=00:00:40.64 bitrate=12075.1kbitsframe= 1038 fps= 31 q=22.0 size=   60928kB time=00:00:41.21 bitrate=12109.9kbitsframe= 1046 fps= 31 q=22.0 size=   61440kB time=00:00:41.53 bitrate=12117.6kbitsframe= 1057 fps= 31 q=22.0 size=   61952kB time=00:00:41.87 bitrate=12119.0kbitsframe= 1071 fps= 31 q=22.0 size=   62976kB time=00:00:42.45 bitrate=12152.2kbitsframe= 1083 fps= 31 q=22.0 size=   63488kB time=00:00:42.90 bitrate=12123.0kbitsframe= 1096 fps= 31 q=22.0 size=   64256kB time=00:00:43.41 bitrate=12125.0kbitsframe= 1110 fps= 31 q=22.0 size=   65280kB time=00:00:44.09 bitrate=12127.5kbitsframe= 1126 fps= 31 q=22.0 size=   66048kB time=00:00:44.62 bitrate=12123.5kbitsframe= 1131 fps= 30 q=19.0 size=   66560kB time=00:00:44.86 bitrate=12153.6kbitsframe= 1147 fps= 30 q=22.0 size=   67584kB time=00:00:45.46 bitrate=12178.4kbitsframe= 1155 fps= 30 q=22.0 size=   68096kB time=00:00:45.88 bitrate=12156.6kbitsframe= 1167 fps= 30 q=22.0 size=   68864kB time=00:00:46.33 bitrate=12174.9kbitsframe= 1175 fps= 30 q=22.0 size=   69376kB time=00:00:46.59 bitrate=12198.0kbitsframe= 1184 fps= 30 q=22.0 size=   70144kB time=00:00:46.93 bitrate=12243.3kbitsframe= 1196 fps= 30 q=22.0 size=   70912kB time=00:00:47.44 bitrate=12243.8kbitsframe= 1211 fps= 30 q=22.0 size=   71936kB time=00:00:48.06 bitrate=12260.7kbitsframe= 1226 fps= 30 q=22.0 size=   73216kB time=00:00:48.66 bitrate=12325.7kbitsframe= 1240 fps= 29 q=22.0 size=   73984kB time=00:00:49.17 bitrate=12325.3kbitsframe= 1256 fps= 29 q=22.0 size=   75264kB time=00:00:49.85 bitrate=12366.9kbitsframe= 1271 fps= 29 q=22.0 size=   76032kB time=00:00:50.43 bitrate=12350.4kbitsframe= 1280 fps= 29 q=22.0 size=   76800kB time=00:00:50.81 bitrate=12380.9kbitsframe= 1288 fps= 29 q=22.0 size=   77312kB time=00:00:51.13 bitrate=12385.4kbitsframe= 1295 fps= 29 q=22.0 size=   77824kB time=00:00:51.39 bitrate=12405.3kbitsframe= 1303 fps= 29 q=22.0 size=   78080kB time=00:00:51.73 bitrate=12364.0kbitsframe= 1316 fps= 29 q=22.0 size=   78848kB time=00:00:52.28 bitrate=12353.2kbitsframe= 1331 fps= 29 q=22.0 size=   79872kB time=00:00:52.86 bitrate=12377.3kbitsframe= 1349 fps= 29 q=22.0 size=   80896kB time=00:00:53.56 bitrate=12371.2kbitsframe= 1364 fps= 29 q=22.0 size=   81920kB time=00:00:54.14 bitrate=12394.5kbitsframe= 1379 fps= 29 q=22.0 size=   82944kB time=00:00:54.74 bitrate=12412.5kbitsframe= 1396 fps= 29 q=22.0 size=   83968kB time=00:00:55.38 bitrate=12420.5kbitsframe= 1417 fps= 29 q=22.0 size=   84992kB time=00:00:56.27 bitrate=12371.9kbitsframe= 1438 fps= 29 q=22.0 size=   86016kB time=00:00:57.10 bitrate=12338.5kbitsframe= 1458 fps= 29 q=22.0 size=   87040kB time=00:00:57.92 bitrate=12310.6kbitsframe= 1478 fps= 29 q=22.0 size=   88064kB time=00:00:58.64 bitrate=12301.4kbitsframe= 1498 fps= 29 q=22.0 size=   89088kB time=00:00:59.47 bitrate=12270.4kbits[mp4 @ 0x7ff666813200] Starting second pass: moving the moov atom to the beginning of the file
frame= 1500 fps= 28 q=-1.0 Lsize=   91853kB time=00:00:59.98 bitrate=12543.2kbits/s speed=1.13x    
video:90866kB audio:941kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.049858%
[libx264 @ 0x7ff666814400] frame I:12    Avg QP:18.57  size:116766
[libx264 @ 0x7ff666814400] frame P:426   Avg QP:20.52  size: 87768
[libx264 @ 0x7ff666814400] frame B:1062  Avg QP:23.56  size: 51088
[libx264 @ 0x7ff666814400] consecutive B-frames:  2.5%  6.4%  9.0% 82.1%
[libx264 @ 0x7ff666814400] mb I  I16..4:  1.0% 87.7% 11.3%
[libx264 @ 0x7ff666814400] mb P  I16..4:  0.5% 23.0%  4.2%  P16..4: 25.2% 30.8% 16.1%  0.0%  0.0%    skip: 0.1%
[libx264 @ 0x7ff666814400] mb B  I16..4:  0.1%  1.3%  0.6%  B16..8: 37.5% 21.2%  9.4%  direct:28.6%  skip: 1.4%  L0:31.5% L1:22.8% BI:45.8%
[libx264 @ 0x7ff666814400] 8x8 transform intra:80.8% inter:75.0%
[libx264 @ 0x7ff666814400] coded y,uvDC,uvAC intra: 97.5% 95.0% 63.3% inter: 90.0% 62.4% 12.3%
[libx264 @ 0x7ff666814400] i16 v,h,dc,p: 36% 46%  6% 12%
[libx264 @ 0x7ff666814400] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 16% 25%  5%  6%  7%  7%  8% 12%
[libx264 @ 0x7ff666814400] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 10% 29% 12%  6%  7%  6% 10%  7% 13%
[libx264 @ 0x7ff666814400] i8c dc,h,v,p: 36% 30% 20% 14%
[libx264 @ 0x7ff666814400] Weighted P-Frames: Y:29.3% UV:14.1%
[libx264 @ 0x7ff666814400] ref P L0: 39.8% 15.4% 21.2% 19.9%  3.8%
[libx264 @ 0x7ff666814400] ref B L0: 76.4% 19.1%  4.5%
[libx264 @ 0x7ff666814400] ref B L1: 90.7%  9.3%
[libx264 @ 0x7ff666814400] kb/s:12406.19
[aac @ 0x7ff666815c00] Qavg: 181.322