
Recherche avancée
Médias (91)
-
DJ Z-trip - Victory Lap : The Obama Mix Pt. 2
15 septembre 2011
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Matmos - Action at a Distance
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
DJ Dolores - Oslodum 2004 (includes (cc) sample of “Oslodum” by Gilberto Gil)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Danger Mouse & Jemini - What U Sittin’ On ? (starring Cee Lo and Tha Alkaholiks)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Cornelius - Wataridori 2
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Rapture - Sister Saviour (Blackstrobe Remix)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (28)
-
Changer son thème graphique
22 février 2011, parLe thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
Modifier le thème graphique utilisé
Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
Il suffit ensuite de se rendre dans l’espace de configuration du (...) -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)
Sur d’autres sites (3877)
-
ffmpeg Error while filtering : Cannot allocate memory
7 juillet 2017, par Andres MEREMy workstation seems to have plenty of memory (and everything). When I am trying to run ffmpeg as follows :
/usr/local/bin/ffmpeg \
-loglevel debug \
-i "A066C002_170619NU_CANON.mov" \
-filter_complex "[0:0] [0:2] amerge, aformat=sample_fmts=s16:channel_layouts=stereo [a]" \
-map "[a]" \
-map 0:5 \
-c:a libfdk_aac \
-vbr 3 \
-vcodec libx264 \
-profile:v baseline \
-level 3.0 \
-vf scale=1280:720 \
-pix_fmt yuv420p \
-crf 20 \
-metadata title="Test movie" \
-movflags +faststart \
-y \
"A066C002_170619NU_CANON.mp4"It fails with "Error while filtering : Cannot allocate memory".
ffmpeg version N-86721-gf605b56-am Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-4)
configuration: --extra-version=am --enable-gpl --enable-libfdk-aac --enable-libsoxr --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree --enable-shared
libavutil 55. 67.100 / 55. 67.100
libavcodec 57.100.103 / 57.100.103
libavformat 57. 75.100 / 57. 75.100
libavdevice 57. 7.100 / 57. 7.100
libavfilter 6. 94.100 / 6. 94.100
libswscale 4. 7.101 / 4. 7.101
libswresample 2. 8.100 / 2. 8.100
libpostproc 54. 6.100 / 54. 6.100
Splitting the commandline.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Reading option '-i' ... matched as input url with argument 'A066C002_170619NU_CANON.mov'.
Reading option '-filter_complex' ... matched as option 'filter_complex' (create a complex filtergraph) with argument '[0:0] [0:2] amerge, aformat=sample_fmts=s16:channel_layouts=stereo [a]'.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '[a]'.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '0:5'.
Reading option '-c:a' ... matched as option 'c' (codec name) with argument 'libfdk_aac'.
Reading option '-vbr' ... matched as AVOption 'vbr' with argument '3'.
Reading option '-vcodec' ... matched as option 'vcodec' (force video codec ('copy' to copy stream)) with argument 'libx264'.
Reading option '-profile:v' ... matched as option 'profile' (set profile) with argument 'baseline'.
Reading option '-level' ... matched as AVOption 'level' with argument '3.0'.
Reading option '-vf' ... matched as option 'vf' (set video filters) with argument 'scale=1280:720'.
Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) with argument 'yuv420p'.
Reading option '-crf' ... matched as AVOption 'crf' with argument '20'.
Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'title=Test movie'.
Reading option '-movflags' ... matched as AVOption 'movflags' with argument '+faststart'.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option 'A066C002_170619NU_CANON.mp4' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Applying option filter_complex (create a complex filtergraph) with argument [0:0] [0:2] amerge, aformat=sample_fmts=s16:channel_layouts=stereo [a].
Applying option y (overwrite output files) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input url A066C002_170619NU_CANON.mov.
Successfully parsed a group of options.
Opening an input file: A066C002_170619NU_CANON.mov.
[NULL @ 0x1c4f920] Opening 'A066C002_170619NU_CANON.mov' for reading
[file @ 0x1c4ffc0] Setting default whitelist 'file,crypto'
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1c4f920] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1c4f920] Unknown dref type 0x73696c61 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1c4f920] Processing st: 0, edit list 0 - media time: 0, duration: 129254400
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1c4f920] Unknown dref type 0x73696c61 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1c4f920] Processing st: 1, edit list 0 - media time: 0, duration: 129254400
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1c4f920] Unknown dref type 0x73696c61 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1c4f920] Processing st: 2, edit list 0 - media time: 0, duration: 129254400
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1c4f920] Unknown dref type 0x73696c61 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1c4f920] Processing st: 3, edit list 0 - media time: 0, duration: 129254400
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1c4f920] Unknown dref type 0x73696c61 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1c4f920] Processing st: 4, edit list 0 - media time: 0, duration: 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1c4f920] Unknown dref type 0x73696c61 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1c4f920] Processing st: 5, edit list 0 - media time: 0, duration: 67320
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1c4f920] Before avformat_find_stream_info() pos: 59339926200 bytes read:760258 seeks:3 nb_streams:6
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1c4f920] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1c4f920] After avformat_find_stream_info() pos: 1180516 bytes read:1945622 seeks:4 frames:144
Guessed Channel Layout for Input Stream #0.0 : mono
Guessed Channel Layout for Input Stream #0.1 : mono
Guessed Channel Layout for Input Stream #0.2 : mono
Guessed Channel Layout for Input Stream #0.3 : mono
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'A066C002_170619NU_CANON.mov':
Metadata:
creation_time : 2017-06-19T10:12:13.000000Z
com.apple.quicktime.creationdate: 2017-06-19T13:12:13+0300
com.apple.proapps.manufacturer: CANON
com.apple.quicktime.make: CANON
com.apple.proapps.mio.cameraName: EOS C300 Mark II
com.apple.proapps.cameraname: EOS C300 Mark II
com.apple.quicktime.model: EOS C300 Mark II
com.apple.quicktime.camera.identifier: 060e2b34-0401-010d-0e15-0056454f0200
com.divergentmedia.editready.timecodeStart: 05:45:28:08
com.divergentmedia.editready.sonyXDCamTC: 05:45:28:08
com.divergentmedia.editReady.version: EditReady 1.4.9, 798
com.apple.proapps.studio.metadataFieldDominanceOverride: 1
date : 2017-06-19T13:12:13+0300
date-eng : 2017-06-19T13:12:13+0300
make : CANON
make-eng : CANON
model : EOS C300 Mark II
model-eng : EOS C300 Mark II
timecode : 05:45:28:08
Duration: 00:44:52.80, start: 0.000000, bitrate: 176292 kb/s
Stream #0:0(eng), 47, 1/48000: Audio: pcm_s16le (lpcm / 0x6D63706C), 48000 Hz, mono, s16, 768 kb/s (default)
Metadata:
creation_time : 2017-06-19T10:12:13.000000Z
handler_name : Apple Alias Data Handler
Stream #0:1(eng), 47, 1/48000: Audio: pcm_s16le (lpcm / 0x6D63706C), 48000 Hz, mono, s16, 768 kb/s (default)
Metadata:
creation_time : 2017-06-19T10:12:13.000000Z
handler_name : Apple Alias Data Handler
Stream #0:2(eng), 47, 1/48000: Audio: pcm_s16le (lpcm / 0x6D63706C), 48000 Hz, mono, s16, 768 kb/s (default)
Metadata:
creation_time : 2017-06-19T10:12:13.000000Z
handler_name : Apple Alias Data Handler
Stream #0:3(eng), 1, 1/48000: Audio: pcm_s16le (lpcm / 0x6D63706C), 48000 Hz, mono, s16, 768 kb/s (default)
Metadata:
creation_time : 2017-06-19T10:12:13.000000Z
handler_name : Apple Alias Data Handler
Stream #0:4(eng), 1, 1/25: Data: none (tmcd / 0x64636D74), 0/1, 0 kb/s (default)
Metadata:
creation_time : 2017-06-19T10:12:13.000000Z
handler_name : Apple Alias Data Handler
timecode : 05:45:28:08
Stream #0:5(eng), 1, 1/25: Video: prores, 1 reference frame (apch / 0x68637061), yuv422p10le(bt709, progressive), 1920x1080, 0/1, 173217 kb/s, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 25 tbn, 25 tbc (default)
Metadata:
creation_time : 2017-06-21T11:52:58.000000Z
handler_name : Apple Alias Data Handler
encoder : Apple ProRes 422 (HQ)
Successfully opened the file.
detected 16 logical cores
[Parsed_aformat_1 @ 0x1c71a60] Setting 'sample_fmts' to value 's16'
[Parsed_aformat_1 @ 0x1c71a60] Setting 'channel_layouts' to value 'stereo'
Parsing a group of options: output url A066C002_170619NU_CANON.mp4.
Applying option map (set input stream mapping) with argument [a].
Applying option map (set input stream mapping) with argument 0:5.
Applying option c:a (codec name) with argument libfdk_aac.
Applying option vcodec (force video codec ('copy' to copy stream)) with argument libx264.
Applying option profile:v (set profile) with argument baseline.
Applying option vf (set video filters) with argument scale=1280:720.
Applying option pix_fmt (set pixel format) with argument yuv420p.
Applying option metadata (add metadata) with argument title=Test movie.
Successfully parsed a group of options.
Opening an output file: A066C002_170619NU_CANON.mp4.
[file @ 0x1d4fe40] Setting default whitelist 'file,crypto'
Successfully opened the file.
Stream mapping:
Stream #0:0 (pcm_s16le) -> amerge:in0 (graph 0)
Stream #0:2 (pcm_s16le) -> amerge:in1 (graph 0)
aformat (graph 0) -> Stream #0:0 (libfdk_aac)
Stream #0:5 -> #0:1 (prores (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 1 times
[Parsed_scale_0 @ 0x2397e60] Setting 'w' to value '1280'
[Parsed_scale_0 @ 0x2397e60] Setting 'h' to value '720'
[Parsed_scale_0 @ 0x2397e60] Setting 'flags' to value 'bicubic'
[Parsed_scale_0 @ 0x2397e60] w:1280 h:720 flags:'bicubic' interl:0
[graph 1 input from stream 0:5 @ 0x23984c0] Setting 'video_size' to value '1920x1080'
[graph 1 input from stream 0:5 @ 0x23984c0] Setting 'pix_fmt' to value '74'
[graph 1 input from stream 0:5 @ 0x23984c0] Setting 'time_base' to value '1/25'
[graph 1 input from stream 0:5 @ 0x23984c0] Setting 'pixel_aspect' to value '1/1'
[graph 1 input from stream 0:5 @ 0x23984c0] Setting 'sws_param' to value 'flags=2'
[graph 1 input from stream 0:5 @ 0x23984c0] Setting 'frame_rate' to value '25/1'
[graph 1 input from stream 0:5 @ 0x23984c0] w:1920 h:1080 pixfmt:yuv422p10le tb:1/25 fr:25/1 sar:1/1 sws_param:flags=2
[format @ 0x2399240] compat: called with args=[yuv420p]
[format @ 0x2399240] Setting 'pix_fmts' to value 'yuv420p'
[AVFilterGraph @ 0x1d517e0] query_formats: 4 queried, 3 merged, 0 already done, 0 delayed
[Parsed_scale_0 @ 0x2397e60] w:1920 h:1080 fmt:yuv422p10le sar:1/1 -> w:1280 h:720 fmt:yuv420p sar:1/1 flags:0x4
[libx264 @ 0x1d4f1a0] using mv_range_thread = 24
[libx264 @ 0x1d4f1a0] using SAR=1/1
[libx264 @ 0x1d4f1a0] frame MB size (80x45) > level limit (1620)
[libx264 @ 0x1d4f1a0] MB rate (90000) > level limit (40500)
[libx264 @ 0x1d4f1a0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x1d4f1a0] profile Constrained Baseline, level 3.0
[libx264 @ 0x1d4f1a0] 264 - core 152 r2851 ba24899 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=0 ref=2 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=-2 threads=22 lookahead_threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=20.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
Last message repeated 94 times
[Parsed_aformat_1 @ 0x2559500] Setting 'sample_fmts' to value 's16'
[Parsed_aformat_1 @ 0x2559500] Setting 'channel_layouts' to value 'stereo'
[graph_0_in_0_0 @ 0x257c7c0] Setting 'time_base' to value '1/48000'
[graph_0_in_0_0 @ 0x257c7c0] Setting 'sample_rate' to value '48000'
[graph_0_in_0_0 @ 0x257c7c0] Setting 'sample_fmt' to value 's16'
[graph_0_in_0_0 @ 0x257c7c0] Setting 'channel_layout' to value '0x4'
[graph_0_in_0_0 @ 0x257c7c0] tb:1/48000 samplefmt:s16 samplerate:48000 chlayout:0x4
[graph_0_in_0_2 @ 0x25820a0] Setting 'time_base' to value '1/48000'
[graph_0_in_0_2 @ 0x25820a0] Setting 'sample_rate' to value '48000'
[graph_0_in_0_2 @ 0x25820a0] Setting 'sample_fmt' to value 's16'
[graph_0_in_0_2 @ 0x25820a0] Setting 'channel_layout' to value '0x4'
[graph_0_in_0_2 @ 0x25820a0] tb:1/48000 samplefmt:s16 samplerate:48000 chlayout:0x4
[format_out_0_0 @ 0x2580ce0] Setting 'sample_fmts' to value 's16'
[format_out_0_0 @ 0x2580ce0] Setting 'sample_rates' to value '96000|88200|64000|48000|44100|32000|24000|22050|16000|12000|11025|8000'
[format_out_0_0 @ 0x2580ce0] Setting 'channel_layouts' to value '0x4|0x3|0x7|0x107|0x37|0x3f|0xff|0x63f'
[Parsed_amerge_0 @ 0x1c6edc0] No channel layout for input 1
[AVFilterGraph @ 0x1c8abc0] query_formats: 5 queried, 6 merged, 0 already done, 9 delayed
[AVFilterGraph @ 0x1c8abc0] query_formats not finished
[Parsed_amerge_0 @ 0x1c6edc0] Input channel layouts overlap: output layout will be determined by the number of distinct input channels
[AVFilterGraph @ 0x1c8abc0] query_formats: 1 queried, 9 merged, 6 already done, 0 delayed
[Parsed_amerge_0 @ 0x1c6edc0] in0:mono + in1:mono -> out:stereo
[libfdk_aac @ 0x1d4e300] Note, the VBR setting is unsupported and only works with some parameter combinations
Output #0, mp4, to 'A066C002_170619NU_CANON.mp4':
Metadata:
timecode : 05:45:28:08
com.apple.quicktime.creationdate: 2017-06-19T13:12:13+0300
com.apple.proapps.manufacturer: CANON
com.apple.quicktime.make: CANON
com.apple.proapps.mio.cameraName: EOS C300 Mark II
com.apple.proapps.cameraname: EOS C300 Mark II
com.apple.quicktime.model: EOS C300 Mark II
com.apple.quicktime.camera.identifier: 060e2b34-0401-010d-0e15-0056454f0200
com.divergentmedia.editready.timecodeStart: 05:45:28:08
com.divergentmedia.editready.sonyXDCamTC: 05:45:28:08
com.divergentmedia.editReady.version: EditReady 1.4.9, 798
com.apple.proapps.studio.metadataFieldDominanceOverride: 1
date : 2017-06-19T13:12:13+0300
date-eng : 2017-06-19T13:12:13+0300
make : CANON
make-eng : CANON
model : EOS C300 Mark II
model-eng : EOS C300 Mark II
title : Test movie
encoder : Lavf57.75.100
Stream #0:0, 0, 1/48000: Audio: aac (libfdk_aac) (mp4a / 0x6134706D), 48000 Hz, stereo, s16, delay 2048 (default)
Metadata:
encoder : Lavc57.100.103 libfdk_aac
Stream #0:1(eng), 0, 1/12800: Video: h264 (libx264), 1 reference frame (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 0/1, q=-1--1, 25 fps, 12800 tbn, 25 tbc (default)
Metadata:
creation_time : 2017-06-21T11:52:58.000000Z
handler_name : Apple Alias Data Handler
encoder : Lavc57.100.103 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
Last message repeated 2 times
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 201 times
cur_dts is invalid (this is harmless if it occurs once at the start per stream) 0x
Last message repeated 157 times
cur_dts is invalid (this is harmless if it occurs once at the start per stream) 0x
[libx264 @ 0x1d4f1a0] frame= 0 QP=19.02 NAL=3 Slice:I Poc:0 I:3600 P:0 SKIP:0 size=49899 bytes
Error while filtering: Cannot allocate memory
[libx264 @ 0x1d4f1a0] frame= 1 QP=19.20 NAL=2 Slice:P Poc:2 I:14 P:2118 SKIP:1468 size=6808 bytes
[libx264 @ 0x1d4f1a0] frame= 2 QP=18.86 NAL=2 Slice:P Poc:4 I:15 P:2339 SKIP:1246 size=7088 bytes
[libx264 @ 0x1d4f1a0] frame= 3 QP=19.08 NAL=2 Slice:P Poc:6 I:9 P:2449 SKIP:1142 size=7341 bytes
[libx264 @ 0x1d4f1a0] frame= 4 QP=18.92 NAL=2 Slice:P Poc:8 I:5 P:2482 SKIP:1113 size=7725 bytes
[libx264 @ 0x1d4f1a0] frame= 5 QP=18.73 NAL=2 Slice:P Poc:10 I:6 P:2100 SKIP:1494 size=6831 bytes
[libx264 @ 0x1d4f1a0] frame= 6 QP=18.73 NAL=2 Slice:P Poc:12 I:4 P:2492 SKIP:1104 size=8298 bytes
[libx264 @ 0x1d4f1a0] frame= 7 QP=18.52 NAL=2 Slice:P Poc:14 I:1 P:2397 SKIP:1202 size=7250 bytes
[libx264 @ 0x1d4f1a0] frame= 8 QP=18.51 NAL=2 Slice:P Poc:16 I:7 P:1523 SKIP:2070 size=5344 bytes
[libx264 @ 0x1d4f1a0] frame= 9 QP=18.51 NAL=2 Slice:P Poc:18 I:6 P:2398 SKIP:1196 size=7865 bytes
[libx264 @ 0x1d4f1a0] frame= 10 QP=18.58 NAL=2 Slice:P Poc:20 I:1 P:1840 SKIP:1759 size=6451 bytes
[libx264 @ 0x1d4f1a0] frame= 11 QP=18.58 NAL=2 Slice:P Poc:22 I:5 P:1764 SKIP:1831 size=6159 bytes
[libx264 @ 0x1d4f1a0] frame= 12 QP=18.52 NAL=2 Slice:P Poc:24 I:3 P:2421 SKIP:1176 size=8151 bytes
[libx264 @ 0x1d4f1a0] frame= 13 QP=18.51 NAL=2 Slice:P Poc:26 I:1 P:1892 SKIP:1707 size=6476 bytes
[libx264 @ 0x1d4f1a0] frame= 14 QP=18.41 NAL=2 Slice:P Poc:28 I:3 P:1919 SKIP:1678 size=6431 bytes
[libx264 @ 0x1d4f1a0] frame= 15 QP=18.48 NAL=2 Slice:P Poc:30 I:1 P:1255 SKIP:2344 size=4060 bytes
[libx264 @ 0x1d4f1a0] frame= 16 QP=18.79 NAL=2 Slice:P Poc:32 I:2 P:1373 SKIP:2225 size=4398 bytes
[libx264 @ 0x1d4f1a0] frame= 17 QP=18.77 NAL=2 Slice:P Poc:34 I:2 P:1459 SKIP:2139 size=4480 bytes
[libx264 @ 0x1d4f1a0] frame= 18 QP=19.01 NAL=2 Slice:P Poc:36 I:7 P:1658 SKIP:1935 size=5003 bytes
[libx264 @ 0x1d4f1a0] scene cut at 48 Icost:227110 Pcost:199261 ratio:0.1226 bias:0.1307 gop:48 (imb:3134 pmb:220)
[libx264 @ 0x1d4f1a0] frame= 19 QP=18.95 NAL=2 Slice:P Poc:38 I:0 P:2461 SKIP:1139 size=7169 bytes
[libx264 @ 0x1d4f1a0] frame= 20 QP=19.01 NAL=2 Slice:P Poc:40 I:1 P:2118 SKIP:1481 size=6048 bytes
[libx264 @ 0x1d4f1a0] frame= 21 QP=19.04 NAL=2 Slice:P Poc:42 I:0 P:2114 SKIP:1486 size=5838 bytes
[libx264 @ 0x1d4f1a0] frame= 22 QP=18.97 NAL=2 Slice:P Poc:44 I:3 P:2277 SKIP:1320 size=5952 bytes
[libx264 @ 0x1d4f1a0] frame= 23 QP=19.12 NAL=2 Slice:P Poc:46 I:0 P:1658 SKIP:1942 size=4813 bytes
[libx264 @ 0x1d4f1a0] frame= 24 QP=19.33 NAL=2 Slice:P Poc:48 I:0 P:1926 SKIP:1674 size=5503 bytes
[libx264 @ 0x1d4f1a0] frame= 25 QP=19.25 NAL=2 Slice:P Poc:50 I:0 P:2470 SKIP:1130 size=6478 bytes
[libx264 @ 0x1d4f1a0] frame= 26 QP=19.21 NAL=2 Slice:P Poc:52 I:0 P:2589 SKIP:1011 size=6985 bytes
[libx264 @ 0x1d4f1a0] frame= 27 QP=19.12 NAL=2 Slice:P Poc:54 I:0 P:2312 SKIP:1288 size=6381 bytes
[libx264 @ 0x1d4f1a0] frame= 28 QP=19.20 NAL=2 Slice:P Poc:56 I:2 P:2532 SKIP:1066 size=7296 bytes
[libx264 @ 0x1d4f1a0] frame= 29 QP=19.01 NAL=2 Slice:P Poc:58 I:0 P:2611 SKIP:989 size=8186 bytes
[libx264 @ 0x1d4f1a0] frame= 30 QP=18.95 NAL=2 Slice:P Poc:60 I:0 P:2582 SKIP:1018 size=7610 bytes
[libx264 @ 0x1d4f1a0] frame= 31 QP=19.02 NAL=2 Slice:P Poc:62 I:2 P:2620 SKIP:978 size=8077 bytes
[libx264 @ 0x1d4f1a0] frame= 32 QP=19.09 NAL=2 Slice:P Poc:64 I:1 P:1989 SKIP:1610 size=6214 bytes
[libx264 @ 0x1d4f1a0] frame= 33 QP=19.09 NAL=2 Slice:P Poc:66 I:0 P:2483 SKIP:1117 size=7027 bytes
[libx264 @ 0x1d4f1a0] frame= 34 QP=19.17 NAL=2 Slice:P Poc:68 I:0 P:2477 SKIP:1123 size=6833 bytes
[libx264 @ 0x1d4f1a0] frame= 35 QP=19.07 NAL=2 Slice:P Poc:70 I:1 P:2373 SKIP:1226 size=6915 bytes
[libx264 @ 0x1d4f1a0] frame= 36 QP=19.28 NAL=2 Slice:P Poc:72 I:3 P:2400 SKIP:1197 size=6975 bytes
[libx264 @ 0x1d4f1a0] frame= 37 QP=19.21 NAL=2 Slice:P Poc:74 I:1 P:2643 SKIP:956 size=7505 bytes
[libx264 @ 0x1d4f1a0] frame= 38 QP=19.40 NAL=2 Slice:P Poc:76 I:0 P:2289 SKIP:1311 size=6682 bytes
[libx264 @ 0x1d4f1a0] frame= 39 QP=19.52 NAL=2 Slice:P Poc:78 I:1 P:2074 SKIP:1525 size=5823 bytes
[libx264 @ 0x1d4f1a0] frame= 40 QP=19.72 NAL=2 Slice:P Poc:80 I:2 P:2420 SKIP:1178 size=6552 bytes
[libx264 @ 0x1d4f1a0] frame= 41 QP=19.99 NAL=2 Slice:P Poc:82 I:274 P:2019 SKIP:1307 size=7398 bytes
[libx264 @ 0x1d4f1a0] frame= 42 QP=19.77 NAL=2 Slice:P Poc:84 I:545 P:1946 SKIP:1109 size=7933 bytes
[libx264 @ 0x1d4f1a0] frame= 43 QP=19.52 NAL=2 Slice:P Poc:86 I:523 P:1969 SKIP:1108 size=7596 bytes
[libx264 @ 0x1d4f1a0] frame= 44 QP=19.25 NAL=2 Slice:P Poc:88 I:649 P:1303 SKIP:1648 size=6070 bytes
[libx264 @ 0x1d4f1a0] frame= 45 QP=18.80 NAL=2 Slice:P Poc:90 I:949 P:1115 SKIP:1536 size=6608 bytes
[libx264 @ 0x1d4f1a0] frame= 46 QP=18.51 NAL=2 Slice:P Poc:92 I:915 P:1141 SKIP:1544 size=6499 bytes
[libx264 @ 0x1d4f1a0] frame= 47 QP=18.38 NAL=2 Slice:P Poc:94 I:882 P:1071 SKIP:1647 size=6326 bytes
[libx264 @ 0x1d4f1a0] frame= 48 QP=15.38 NAL=3 Slice:I Poc:0 I:3600 P:0 SKIP:0 size=15254 bytes
[libx264 @ 0x1d4f1a0] frame= 49 QP=18.47 NAL=2 Slice:P Poc:2 I:870 P:1178 SKIP:1552 size=9327 bytes
[libx264 @ 0x1d4f1a0] frame= 50 QP=18.35 NAL=2 Slice:P Poc:4 I:691 P:1606 SKIP:1303 size=9056 bytes
[libx264 @ 0x1d4f1a0] frame= 51 QP=18.56 NAL=2 Slice:P Poc:6 I:567 P:1697 SKIP:1336 size=9923 bytes
[libx264 @ 0x1d4f1a0] frame= 52 QP=18.72 NAL=2 Slice:P Poc:8 I:500 P:1725 SKIP:1375 size=10632 bytes
[libx264 @ 0x1d4f1a0] frame= 53 QP=18.46 NAL=2 Slice:P Poc:10 I:537 P:1789 SKIP:1274 size=9973 bytes
[libx264 @ 0x1d4f1a0] frame= 54 QP=18.55 NAL=2 Slice:P Poc:12 I:478 P:1916 SKIP:1206 size=10196 bytes
[libx264 @ 0x1d4f1a0] frame= 55 QP=18.68 NAL=2 Slice:P Poc:14 I:446 P:2027 SKIP:1127 size=10172 bytes
[libx264 @ 0x1d4f1a0] frame= 56 QP=19.00 NAL=2 Slice:P Poc:16 I:284 P:2138 SKIP:1178 size=9705 bytes
[libx264 @ 0x1d4f1a0] frame= 57 QP=19.10 NAL=2 Slice:P Poc:18 I:244 P:2116 SKIP:1240 size=9518 bytes
[libx264 @ 0x1d4f1a0] frame= 58 QP=19.39 NAL=2 Slice:P Poc:20 I:239 P:2231 SKIP:1130 size=8953 bytes
[libx264 @ 0x1d4f1a0] frame= 59 QP=19.16 NAL=2 Slice:P Poc:22 I:178 P:2379 SKIP:1043 size=9059 bytes
[libx264 @ 0x1d4f1a0] frame= 60 QP=19.28 NAL=2 Slice:P Poc:24 I:58 P:2329 SKIP:1213 size=8257 bytes
[libx264 @ 0x1d4f1a0] frame= 61 QP=19.21 NAL=2 Slice:P Poc:26 I:34 P:2231 SKIP:1335 size=6689 bytes
[libx264 @ 0x1d4f1a0] frame= 62 QP=19.55 NAL=2 Slice:P Poc:28 I:14 P:2219 SKIP:1367 size=6164 bytes
[libx264 @ 0x1d4f1a0] frame= 63 QP=20.04 NAL=2 Slice:P Poc:30 I:8 P:1836 SKIP:1756 size=4318 bytes
[mp4 @ 0x1d4c880] Starting second pass: moving the moov atom to the beginning of the file
[mp4 @ 0x1d4c880] Opening 'A066C002_170619NU_CANON.mp4' for reading
[file @ 0xa01a460] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x6b95260] Statistics: 509968 bytes read, 0 seeks
frame= 64 fps= 48 q=-1.0 Lsize= 500kB time=00:00:02.52 bitrate=1625.5kbits/s speed=1.88x
video:497kB audio:1kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.417128%
Input file #0 (A066C002_170619NU_CANON.mov):
Input stream #0:0 (audio): 141 packets read (288000 bytes); 141 frames decoded (144000 samples);
Input stream #0:1 (audio): 47 packets read (96000 bytes);
Input stream #0:2 (audio): 141 packets read (288000 bytes); 141 frames decoded (144000 samples);
Input stream #0:3 (audio): 1 packets read (2048 bytes);
Input stream #0:4 (data): 1 packets read (4 bytes);
Input stream #0:5 (video): 64 packets read (59520416 bytes); 64 frames decoded;
Total: 395 packets (60194468 bytes) demuxed
Output file #0 (A066C002_170619NU_CANON.mp4):
Output stream #0:0 (audio): 1 frames encoded (1024 samples); 3 packets muxed (740 bytes);
Output stream #0:1 (video): 64 frames encoded; 64 packets muxed (509175 bytes);
Total: 67 packets (509915 bytes) muxed
346 frames successfully decoded, 0 decoding errors
[AVIOContext @ 0x1c71880] Statistics: 4 seeks, 7 writeouts
[libx264 @ 0x1d4f1a0] frame I:2 Avg QP:17.20 size: 32576
[libx264 @ 0x1d4f1a0] frame P:62 Avg QP:18.99 size: 7152
[libx264 @ 0x1d4f1a0] mb I I16..4: 49.2% 0.0% 50.8%
[libx264 @ 0x1d4f1a0] mb P I16..4: 3.5% 0.0% 1.0% P16..4: 45.1% 8.4% 3.5% 0.0% 0.0% skip:38.5%
[libx264 @ 0x1d4f1a0] coded y,uvDC,uvAC intra: 30.7% 30.5% 4.8% inter: 7.0% 19.1% 0.3%
[libx264 @ 0x1d4f1a0] i16 v,h,dc,p: 47% 21% 9% 23%
[libx264 @ 0x1d4f1a0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 37% 18% 18% 5% 6% 4% 5% 4% 3%
[libx264 @ 0x1d4f1a0] i8c dc,h,v,p: 72% 11% 15% 2%
[libx264 @ 0x1d4f1a0] ref P L0: 63.8% 36.2%
[libx264 @ 0x1d4f1a0] kb/s:1589.21
[AVIOContext @ 0x1c583a0] Statistics: 61656934 bytes read, 59 seeksI happen to be absolute beginner (at least in ffmpeg). What went wrong ?
Thanks ! Andres Mere
-
FFMPEG failed to transcode mp4 Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
7 juillet 2017, par and93hilHi I tried using ffmpeg to convert a video with Drupal, however it fails on second pass. I get the following error : Any ideas ?
I installed the default ffmppeg and libavcodec-extra-53 packages on Ubuntu.FFmpeg failed to transcode video.mp4.
Reported errors
PHPVideoToolkit error: Execute error. It was not possible to encode "/var/www/html/lms2/sites/default/files/videos/original/video.mp4"
as FFmpeg returned an error. Note, however the error was encountered
on the second pass of the encoding process and the first pass appear to
go fine. The error is with the video codec of the input file. FFmpeg
reports the error to be "Error while opening encoder for output
stream #0:0 - maybe incorrect parameters such as bit_rate, rate,
width or height".
Executed commands and output
/usr/bin/ffmpeg -i '/var/www/html/lms2/sites/default/files/videos/original/video.mp4' -vf 'scale=640:360' -strict experimental -vcodec 'h264' -qscale '12' -acodec 'aac' -ac '2' -pass '1' -passlogfile '/tmp/1499411044-595f326449e44-multipass' -y /tmp/1499411044-595f326449d86.mp4
ffmpeg version 2.8.11-0ubuntu0.16.04.1 Copyright (c) 2000-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
WARNING: library configuration mismatch
avcodec 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 --enable-version3 --disable-doc --disable-programs --disable-avdevice --disable-avfilter --disable-avformat --disable-avresample --disable-postproc --disable-swscale --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libvo_aacenc --enable-libvo_amrwbenc
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 '/var/www/html/lms2/sites/default/files/videos/original/video.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2017-04-28 15:24:27
Duration: 00:08:21.18, start: 0.000000, bitrate: 443 kb/s
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 314 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc (default)
Metadata:
creation_time : 2017-04-28 15:24:27
handler_name : ISO Media file produced by Google Inc.
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 125 kb/s (default)
Metadata:
creation_time : 2017-04-28 15:24:27
handler_name : ISO Media file produced by Google Inc.
Please use -q:a or -q:v, -qscale is ambiguous
[libx264 @ 0x1c89940] -qscale is ignored, -crf is recommended.
[libx264 @ 0x1c89940] using SAR=1/1
[libx264 @ 0x1c89940] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
[libx264 @ 0x1c89940] profile Main, level 3.0
[libx264 @ 0x1c89940] 264 - core 148 r2643 5c65704 - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x1:0 me=dia subme=2 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=1 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 '/tmp/1499411044-595f326449d86.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
encoder : Lavf56.40.101
Stream #0:0(und): Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 640x360 [SAR 1:1 DAR 16:9], q=-1--1, pass 1, 25 fps, 12800 tbn, 25 tbc (default)
Metadata:
creation_time : 2017-04-28 15:24:27
handler_name : ISO Media file produced by Google Inc.
encoder : Lavc56.60.100 libx264
Stream #0:1(und): Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz, stereo, fltp, 128 kb/s (default)
Metadata:
creation_time : 2017-04-28 15:24:27
handler_name : ISO Media file produced by Google Inc.
encoder : Lavc56.60.100 aac
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (aac (native) -> aac (native))
Press [q] to stop, [?] for help
frame= 79 fps=0.0 q=28.0 size= 64kB time=00:00:02.87 bitrate= 181.6kbits/s
frame= 155 fps=154 q=28.0 size= 156kB time=00:00:05.75 bitrate= 222.2kbits/s
frame= 237 fps=158 q=28.0 size= 239kB time=00:00:09.00 bitrate= 217.6kbits/s
frame= 315 fps=157 q=28.0 size= 339kB time=00:00:12.23 bitrate= 226.9kbits/s
frame= 399 fps=159 q=28.0 size= 409kB time=00:00:15.48 bitrate= 216.4kbits/s
frame= 467 fps=155 q=28.0 size= 516kB time=00:00:18.27 bitrate= 231.2kbits/s
frame= 530 fps=151 q=28.0 size= 689kB time=00:00:21.06 bitrate= 268.1kbits/s
frame= 606 fps=151 q=28.0 size= 786kB time=00:00:23.84 bitrate= 270.2kbits/s
frame= 686 fps=152 q=28.0 size= 853kB time=00:00:27.09 bitrate= 257.8kbits/s
frame= 765 fps=152 q=28.0 size= 942kB time=00:00:30.34 bitrate= 254.4kbits/s
frame= 847 fps=153 q=28.0 size= 1041kB time=00:00:33.59 bitrate= 253.8kbits/s
frame= 925 fps=153 q=28.0 size= 1103kB time=00:00:36.85 bitrate= 245.2kbits/s
frame= 1003 fps=153 q=28.0 size= 1202kB time=00:00:39.63 bitrate= 248.3kbits/s
frame= 1076 fps=153 q=28.0 size= 1267kB time=00:00:42.88 bitrate= 242.0kbits/s
frame= 1153 fps=153 q=28.0 size= 1334kB time=00:00:45.67 bitrate=
frame= 6790 fps=155 q=28.0 size= 6278kB time=00:04:31.37 bitrate= 189.5kbits/s
frame= 6850 fps=155 q=28.0 size= 6284kB time=00:04:33.69 bitrate= 188.1kbits/s
frame= 6909 fps=154 q=28.0 size= 6299kB time=00:04:36.01 bitrate= 186.9kbits/s
frame= 6964 fps=154 q=28.0 size= 6324kB time=00:04:38.33 bitrate= 186.1kbits/s
frame= 7023 fps=154 q=28.0 size= 6340kB time=00:04:40.65 bitrate= 185.1kbits/s
frame= 7078 fps=153 q=28.0 size= 6345kB time=00:04:42.98 bitrate= 183.7kbits/s
frame= 7132 fps=153 q=28.0 size= 6350kB time=00:04:44.83 bitrate= 182.6kbits/s
frame= 7182 fps=152 q=28.0 size= 6383kB time=00:04:47.16 bitrate= 182.1kbits/s
frame= 7239 fps=152 q=28.0 size= 6444kB time=00:04:49.15 bitrate= 182.6kbits/s
frame= 7295 fps=151 q=28.0 size= 6469kB time=00:04:51.52 bitrate= 181.8kbits/s
frame= 7355 fps=151 q=28.0 size= 6481kB time=00:04:53.66 bitrate= 180.8kbits/s
frame= 7408 fps=150 q=28.0 size= 6489kB time=00:04:55.98 bitrate= 179.6kbits/s
frame= 7459 fps=150 q=28.0 size= 6526kB time=00:04:58.21 bitrate= 179.3kbits/s
frame= 7517 fps=150 q=28.0 size= 6533kB time=00:05:00.51 bitrate= 178.1kbits/s
frame= 7574 fps=149 q=28.0 size= 6540kB time=00:05:02.88 bitrate= 176.9kbits/s
frame= 7634 fps=149 q=28.0 size= 6546kB time=00:05:05.06 bitrate= 175.8kbits/s
frame= 7679 fps=148 q=28.0 size= 6550kB time=00:05:06.92 bitrate= 174.8kbits/s
frame= 8364 fps=145 q=28.0 size= 6754kB time=00:05:34.43 bitrate= 165.4kbits/s
frame= 8425 fps=145 q=28.0 size= 6757kB time=00:05:36.85 bitrate= 164.3kbits/s
frame= 9020 fps=142 q=28.0 size= 6856kB time=00:06:00.53 bitrate= 155.8kbits/s
frame= 9085 fps=142 q=28.0 size= 6858kB time=00:06:02.85 bitrate= 154.8kbits/s
frame= 9142 fps=142 q=28.0 size= 6860kB time=00:06:05.38 bitrate= 153.8kbits/s
frame= 9200 fps=142 q=28.0 size= 6886kB time=00:06:07.80 bitrate= 153.4kbits/s
frame= 9259 fps=142 q=28.0 size= 6888kB time=00:06:10.24 bitrate= 152.4kbits/s
frame= 9318 fps=142 q=28.0 size= 6894kB time=00:06:12.61 bitrate= 151.6kbits/s
frame= 9375 fps=141 q=28.0 size= 6916kB time=00:06:14.93 bitrate= 151.1kbits/s
frame= 9438 fps=141 q=25.0 size= 6944kB time=00:06:17.25 bitrate= 150.8kbits/s
frame= 9499 fps=141 q=28.0 size= 6947kB time=00:06:19.57 bitrate= 149.9kbits/s
frame= 9561 fps=141 q=28.0 size= 6950kB time=00:06:22.01 bitrate= 149.0kbits/s
frame= 9618 fps=141 q=28.0 size= 6955kB time=00:06:24.63 bitrate= 143.6kbits/s
frame=10145 fps=139 q=28.0 size= 7080kB time=00:06:45.58 bitrate= 143.0kbits/s
frame=10202 fps=139 q=28.0 size= 7105kB time=00:06:47.90 bitrate= 142.7kbits/s
frame=10257 fps=139 q=28.0 size= 7124kB time=00:06:50.20 bitrate= 142.3kbits/s
frame=10315 fps=139 q=28.0 size= 7143kB time=00:06:52.52 bitrate= 141.8kbits/s
frame=10373 fps=139 q=28.0 size= 7145kB time=00:06:54.87 bitrate= 141.1kbits/s
frame=10432 fps=138 q=28.0 size= 7174kB time=00:06:57.03 bitrate= 140.9kbits/s
frame=10489 fps=138 q=28.0 size= 7180kB time=00:06:59.35 bitrate= 140.3kbits/s
frame=10547 fps=138 q=28.0 size= 7199kB time=00:07:01.55 bitrate= 139.9kbits/s
frame=10605 fps=138 q=28.0 size= 7215kB time=00:07:03.85 bitrate= 139.5kbits/s
frame=10661 fps=138 q=28.0 size= 7223kB time=00:07:06.01 bitrate= 138.9kbits/s
frame=10713 fps=138 q=28.0 size= 7277kB time=00:07:08.33 bitrate= 139.2kbits/s
frame=10769 fps=137 q=28.0 size= 7303kB time=00:07:10.66 bitrate= 138.9kbits/s
frame=10829 fps=137 q=28.0 size= 7309kB time=00:07:12.98 bitrate= 138.3kbits/s
frame=10884 fps=137 q=28.0 size= 7329kB time=00:07:15.14 bitrate= 138.0kbits/s
frame=10941 fps=137 q=28.0 size= 7355kB time=00:07:17.39 bitrate= 137.7kbits/s
frame=11000 fps=137 q=28.0 size= 7360kB time=00:07:19.48 bitrate= 137.2kbits/s
frame=11047 fps=137 q=28.0 size= 7407kB time=00:07:21.80 bitrate= 137.3kbits/s
frame=11105 fps=136 q=28.0 size= 7423kB time=00:07:23.66 bitrate= 137.1kbits/s
frame=11150 fps=136 q=28.0 size= 7472kB time=00:07:25.91 bitrate= 137.3kbits/s
frame=11208 fps=136 q=28.0 size= 7541kB time=00:07:27.84 bitrate= 137.9kbits/s
frame=11264 fps=136 q=28.0 size= 7553kB time=00:07:30.16 bitrate= 137.4kbits/s
frame=11314 fps=136 q=28.0 size= 7589kB time=00:07:32.02 bitrate= 137.5kbits/s
frame=11359 fps=135 q=28.0 size= 7635kB time=00:07:34.34 bitrate= 137.7kbits/s
frame=11415 fps=135 q=28.0 size= 7698kB time=00:07:36.20 bitrate= 138.2kbits/s
frame=11469 fps=135 q=28.0 size= 7740kB time=00:07:38.52 bitrate= 138.3kbits/s
frame=11526 fps=135 q=28.0 size= 7752kB time=00:07:40.84 bitrate= 137.8kbits/s
frame=11585 fps=135 q=28.0 size= 7755kB time=00:07:43.16 bitrate= 137.2kbits/s
frame=11638 fps=135 q=28.0 size= 7791kB time=00:07:45.28 bitrate= 137.2kbits/s
frame=12371 fps=133 q=28.0 size= 8045kB time=00:08:14.60 bitrate= 133.2kbits/s
frame=12426 fps=133 q=28.0 size= 8068kB time=00:08:16.60 bitrate= 133.1kbits/s
frame=12475 fps=133 q=25.0 size= 8113kB time=00:08:18.88 bitrate= 133.2kbits/s
frame=12528 fps=133 q=28.0 size= 8135kB time=00:08:21.01 bitrate= 133.0kbits/s
frame=12529 fps=133 q=28.0 Lsize= 8549kB time=00:08:21.17 bitrate= 139.7kbits/s
video:3859kB audio:4279kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 5.047608%
[libx264 @ 0x1c89940] frame I:52 Avg QP:14.60 size: 25036
[libx264 @ 0x1c89940] frame P:3390 Avg QP:16.73 size: 657
[libx264 @ 0x1c89940] frame B:9087 Avg QP:16.09 size: 47
[libx264 @ 0x1c89940] consecutive B-frames: 3.0% 0.7% 0.8% 95.5%
[libx264 @ 0x1c89940] mb I I16..4: 53.8% 0.0% 46.2%
[libx264 @ 0x1c89940] mb P I16..4: 2.6% 0.0% 0.0% P16..4: 2.9% 0.0% 0.0% 0.0% 0.0% skip:94.5%
[libx264 @ 0x1c89940] mb B I16..4: 0.0% 0.0% 0.0% B16..8: 0.5% 0.0% 0.0% direct: 0.1% skip:99.3% L0:44.8% L1:51.9% BI: 3.3%
[libx264 @ 0x1c89940] coded y,uvDC,uvAC intra: 40.1% 21.9% 16.0% inter: 0.4% 0.4% 0.1%
[libx264 @ 0x1c89940] i16 v,h,dc,p: 42% 53% 3% 1%
[libx264 @ 0x1c89940] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 45% 11% 5% 3% 2% 4% 2% 5%
[libx264 @ 0x1c89940] i8c dc,h,v,p: 68% 25% 6% 1%
[libx264 @ 0x1c89940] Weighted P-Frames: Y:0.4% UV:0.3%
[libx264 @ 0x1c89940] kb/s:63.07
/usr/bin/ffmpeg -i '/var/www/html/lms2/sites/default/files/videos/original/video.mp4' -vf 'scale=640:360' -strict experimental -vcodec 'h264' -qscale '12' -acodec 'aac' -ac '2' -pass '2' -passlogfile '/tmp/1499411044-595f326449e44-multipass' -y /tmp/1499411044-595f326449d86.mp4
ffmpeg version 2.8.11-0ubuntu0.16.04.1 Copyright (c) 2000-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
WARNING: library configuration mismatch
avcodec 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 --enable-version3 --disable-doc --disable-programs --disable-avdevice --disable-avfilter --disable-avformat --disable-avresample --disable-postproc --disable-swscale --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libvo_aacenc --enable-libvo_amrwbenc
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 '/var/www/html/lms2/sites/default/files/videos/original/video.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2017-04-28 15:24:27
Duration: 00:08:21.18, start: 0.000000, bitrate: 443 kb/s
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 314 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc (default)
Metadata:
creation_time : 2017-04-28 15:24:27
handler_name : ISO Media file produced by Google Inc.
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 125 kb/s (default)
Metadata:
creation_time : 2017-04-28 15:24:27
handler_name : ISO Media file produced by Google Inc.
Please use -q:a or -q:v, -qscale is ambiguous
[libx264 @ 0x1c2b940] -qscale is ignored, -crf is recommended.
[libx264 @ 0x1c2b940] using SAR=1/1
[libx264 @ 0x1c2b940] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
[libx264 @ 0x1c2b940] constant rate-factor is incompatible with 2pass.
Output #0, mp4, to '/tmp/1499411044-595f326449d86.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
Stream #0:0(und): Video: h264, none, q=2-31, 128 kb/s, SAR 1:1 DAR 0:0, 25 fps (default)
Metadata:
creation_time : 2017-04-28 15:24:27
handler_name : ISO Media file produced by Google Inc.
encoder : Lavc56.60.100 libx264
Stream #0:1(und): Audio: aac, 0 channels, 128 kb/s (default)
Metadata:
creation_time : 2017-04-28 15:24:27
handler_name : ISO Media file produced by Google Inc.
encoder : Lavc56.60.100 aac
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (aac (native) -> aac (native))
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height -
ffmpeg - How to determine if -movflags faststart is enabled ? PHP
6 juillet 2017, par IIIOXIIIWhile I am able to encode an mp4 file which I can play on my local windows machine, I am having trouble encoding files to mp4 which are readable when streaming by safari, etc.
After a bit of reading, I believe my issue is that I must move the metadata from the end of the file to the beginning in order for the converted mp4 files to be streamable.
To that end, I am trying to find out if the build of ffmpeg that I am currently using is able to use the -movflags faststart option through php - as my current outputted mp4 files are not working when streamed online.
This is the way I am now echoing the -help, -formats, -codecs, but I am not seeing anything about -movflags faststart in any of the lists :
exec($ffmpegPath." -help", $codecArr);
for($ii=0;$iibr>';
}Is there a similar method of determining if -movflags fastart is available to my ffmpeg build ? Any other way ? Should it be listed with any of the previously suggested commands ? -help/-formats ?
Can someone that knows it is enabled in their version of ffmpeg check to see if it is listed under -help or -formats, etc.?
TIA.
EDIT : COMPLETE CONSOLE OUTPUT FOR BOTH THE CONVERSION COMMAND AND -MOVFLAGS COMMAND BELOW :
COMMAND :
ffmpeg -i C:\vidtests\Wildlife.wmv -s 640x480 C:\vidtests\Wildlife.mp4
OUTPUT :
ffmpeg version N-54207-ge59fb3f Copyright (c) 2000-2013 the FFmpeg developers
built on Jun 25 2013 21:55:00 with gcc 4.7.3 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-
amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --
enable-libxvid --enable-zlib
libavutil 52. 37.101 / 52. 37.101
libavcodec 55. 17.100 / 55. 17.100
libavformat 55. 10.100 / 55. 10.100
libavdevice 55. 2.100 / 55. 2.100
libavfilter 3. 77.101 / 3. 77.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
[asf @ 00000000002ed760] Stream #0: not enough frames to estimate rate; consider
increasing probesize
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, asf, from 'C:\vidtests\Wildlife.wmv'
:
Metadata:
SfOriginalFPS : 299700
WMFSDKVersion : 11.0.6001.7000
WMFSDKNeeded : 0.0.0.0000
comment : Footage: Small World Productions, Inc; Tourism New Zealand
| Producer: Gary F. Spradling | Music: Steve Ball
title : Wildlife in HD
copyright : © 2008 Microsoft Corporation
IsVBR : 0
DeviceConformanceTemplate: AP@L3
Duration: 00:00:30.09, start: 0.000000, bitrate: 6977 kb/s
Stream #0:0(eng): Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, stereo, fltp
, 192 kb/s
Stream #0:1(eng): Video: vc1 (Advanced) (WVC1 / 0x31435657), yuv420p, 1280x7
20, 5942 kb/s, 29.97 tbr, 1k tbn, 1k tbc
[libx264 @ 00000000002e6980] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
[libx264 @ 00000000002e6980] profile High, level 3.0
[libx264 @ 00000000002e6980] 264 - core 133 r2334 a3ac64b - H.264/MPEG-4 AVC cod
ec - Copyleft 2003-2013 - http://www.videolan.org/x264.html - options: cabac=1 r
ef=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_pski
p=1 chroma_qp_offset=-2 threads=3 lookahead_threads=1 sliced_threads=0 nr=0 deci
mate=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=2
5 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.6
0 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'C:\vidtests\Wildlife.mp4':
Metadata:
SfOriginalFPS : 299700
WMFSDKVersion : 11.0.6001.7000
WMFSDKNeeded : 0.0.0.0000
comment : Footage: Small World Productions, Inc; Tourism New Zealand
| Producer: Gary F. Spradling | Music: Steve Ball
title : Wildlife in HD
copyright : © 2008 Microsoft Corporation
IsVBR : 0
DeviceConformanceTemplate: AP@L3
encoder : Lavf55.10.100
Stream #0:0(eng): Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 6
40x480, q=-1--1, 30k tbn, 29.97 tbc
Stream #0:1(eng): Audio: aac (libvo_aacenc) ([64][0][0][0] / 0x0040), 44100
Hz, stereo, s16, 128 kb/s
Stream mapping:
Stream #0:1 -> #0:0 (vc1 -> libx264)
Stream #0:0 -> #0:1 (wmav2 -> libvo_aacenc)
Press [q] to stop, [?] for help
frame= 53 fps= 49 q=29.0 size= 0kB time=00:00:00.13 bitrate= 2.9kbits/
frame= 63 fps= 40 q=29.0 size= 0kB time=00:00:00.46 bitrate= 0.8kbits/
frame= 74 fps= 35 q=29.0 size= 0kB time=00:00:00.83 bitrate= 0.5kbits/
frame= 85 fps= 32 q=29.0 size= 0kB time=00:00:01.20 bitrate= 0.3kbits/
frame= 95 fps= 30 q=29.0 size= 0kB time=00:00:01.53 bitrate= 0.3kbits/
frame= 107 fps= 28 q=29.0 size= 0kB time=00:00:01.93 bitrate= 0.2kbits/
Queue input is backward in time
[mp4 @ 00000000003ef800] Non-monotonous DTS in output stream 0:1; previous: 7616
, current: 7063; changing to 7617. This may result in incorrect timestamps in th
e output file.
frame= 118 fps= 28 q=29.0 size= 113kB time=00:00:02.30 bitrate= 402.6kbits/
frame= 129 fps= 26 q=29.0 size= 219kB time=00:00:02.66 bitrate= 670.7kbits/
frame= 141 fps= 26 q=29.0 size= 264kB time=00:00:03.06 bitrate= 704.2kbits/
frame= 152 fps= 25 q=29.0 size= 328kB time=00:00:03.43 bitrate= 782.2kbits/
frame= 163 fps= 25 q=29.0 size= 431kB time=00:00:03.80 bitrate= 928.1kbits/
frame= 174 fps= 24 q=29.0 size= 568kB time=00:00:04.17 bitrate=1116.3kbits/
frame= 190 fps= 25 q=29.0 size= 781kB time=00:00:04.70 bitrate=1359.9kbits/
frame= 204 fps= 25 q=29.0 size= 1006kB time=00:00:05.17 bitrate=1593.1kbits/
frame= 218 fps= 25 q=29.0 size= 1058kB time=00:00:05.63 bitrate=1536.8kbits/
frame= 229 fps= 25 q=29.0 size= 1093kB time=00:00:06.00 bitrate=1490.9kbits/
frame= 239 fps= 24 q=29.0 size= 1118kB time=00:00:06.33 bitrate=1444.4kbits/
frame= 251 fps= 24 q=29.0 size= 1150kB time=00:00:06.74 bitrate=1397.9kbits/
frame= 265 fps= 24 q=29.0 size= 1234kB time=00:00:07.20 bitrate=1402.3kbits/
frame= 278 fps= 25 q=29.0 size= 1332kB time=00:00:07.64 bitrate=1428.3kbits/
frame= 294 fps= 25 q=29.0 size= 1403kB time=00:00:08.17 bitrate=1405.7kbits/
frame= 308 fps= 25 q=29.0 size= 1547kB time=00:00:08.64 bitrate=1466.4kbits/
frame= 323 fps= 25 q=29.0 size= 1595kB time=00:00:09.14 bitrate=1429.5kbits/
frame= 337 fps= 25 q=29.0 size= 1702kB time=00:00:09.60 bitrate=1450.7kbits/
frame= 351 fps= 25 q=29.0 size= 1755kB time=00:00:10.07 bitrate=1427.1kbits/
frame= 365 fps= 25 q=29.0 size= 1820kB time=00:00:10.54 bitrate=1414.1kbits/
frame= 381 fps= 25 q=29.0 size= 1852kB time=00:00:11.07 bitrate=1369.6kbits/
frame= 396 fps= 26 q=29.0 size= 1893kB time=00:00:11.57 bitrate=1339.5kbits/
frame= 409 fps= 26 q=29.0 size= 1923kB time=00:00:12.01 bitrate=1311.8kbits/
frame= 421 fps= 25 q=29.0 size= 1967kB time=00:00:12.41 bitrate=1298.3kbits/
frame= 434 fps= 25 q=29.0 size= 1998kB time=00:00:12.84 bitrate=1274.0kbits/
frame= 445 fps= 25 q=29.0 size= 2018kB time=00:00:13.21 bitrate=1251.3kbits/
frame= 458 fps= 25 q=29.0 size= 2048kB time=00:00:13.64 bitrate=1229.5kbits/
frame= 471 fps= 25 q=29.0 size= 2067kB time=00:00:14.08 bitrate=1202.3kbits/
frame= 484 fps= 25 q=29.0 size= 2189kB time=00:00:14.51 bitrate=1235.5kbits/
frame= 497 fps= 25 q=29.0 size= 2260kB time=00:00:14.94 bitrate=1238.3kbits/
frame= 509 fps= 25 q=29.0 size= 2311kB time=00:00:15.34 bitrate=1233.3kbits/
frame= 523 fps= 25 q=29.0 size= 2429kB time=00:00:15.81 bitrate=1258.1kbits/
frame= 535 fps= 25 q=29.0 size= 2541kB time=00:00:16.21 bitrate=1283.5kbits/
frame= 548 fps= 25 q=29.0 size= 2718kB time=00:00:16.64 bitrate=1337.5kbits/
frame= 560 fps= 25 q=29.0 size= 2845kB time=00:00:17.05 bitrate=1367.1kbits/
frame= 571 fps= 25 q=29.0 size= 2965kB time=00:00:17.41 bitrate=1394.6kbits/
frame= 580 fps= 25 q=29.0 size= 3025kB time=00:00:17.71 bitrate=1398.7kbits/
frame= 588 fps= 25 q=29.0 size= 3098kB time=00:00:17.98 bitrate=1411.1kbits/
frame= 597 fps= 25 q=29.0 size= 3183kB time=00:00:18.28 bitrate=1426.1kbits/
frame= 606 fps= 24 q=29.0 size= 3279kB time=00:00:18.58 bitrate=1445.2kbits/
frame= 616 fps= 24 q=29.0 size= 3441kB time=00:00:18.91 bitrate=1489.9kbits/
frame= 626 fps= 24 q=29.0 size= 3650kB time=00:00:19.25 bitrate=1553.0kbits/
frame= 638 fps= 24 q=29.0 size= 3826kB time=00:00:19.65 bitrate=1594.7kbits/
frame= 649 fps= 24 q=29.0 size= 3950kB time=00:00:20.02 bitrate=1616.3kbits/
frame= 660 fps= 24 q=29.0 size= 4067kB time=00:00:20.38 bitrate=1634.1kbits/
frame= 669 fps= 24 q=29.0 size= 4121kB time=00:00:20.68 bitrate=1631.8kbits/
frame= 682 fps= 24 q=29.0 size= 4274kB time=00:00:21.12 bitrate=1657.9kbits/
frame= 696 fps= 24 q=29.0 size= 4446kB time=00:00:21.58 bitrate=1687.1kbits/
frame= 709 fps= 24 q=29.0 size= 4590kB time=00:00:22.02 bitrate=1707.3kbits/
frame= 719 fps= 24 q=29.0 size= 4772kB time=00:00:22.35 bitrate=1748.5kbits/
frame= 732 fps= 24 q=29.0 size= 4852kB time=00:00:22.78 bitrate=1744.3kbits/
frame= 744 fps= 24 q=29.0 size= 4973kB time=00:00:23.18 bitrate=1756.9kbits/
frame= 756 fps= 24 q=29.0 size= 5099kB time=00:00:23.59 bitrate=1770.8kbits/
frame= 768 fps= 24 q=29.0 size= 5149kB time=00:00:23.99 bitrate=1758.4kbits/
frame= 780 fps= 24 q=29.0 size= 5227kB time=00:00:24.39 bitrate=1755.7kbits/
frame= 797 fps= 24 q=29.0 size= 5377kB time=00:00:24.95 bitrate=1765.0kbits/
frame= 813 fps= 24 q=29.0 size= 5507kB time=00:00:25.49 bitrate=1769.5kbits/
frame= 828 fps= 24 q=29.0 size= 5634kB time=00:00:25.99 bitrate=1775.5kbits/
frame= 843 fps= 24 q=29.0 size= 5701kB time=00:00:26.49 bitrate=1762.9kbits/
frame= 859 fps= 24 q=29.0 size= 5830kB time=00:00:27.02 bitrate=1767.0kbits/
frame= 872 fps= 24 q=29.0 size= 5926kB time=00:00:27.46 bitrate=1767.7kbits/
frame= 888 fps= 24 q=29.0 size= 6014kB time=00:00:27.99 bitrate=1759.7kbits/
frame= 900 fps= 24 q=29.0 size= 6332kB time=00:00:28.39 bitrate=1826.9kbits/
frame= 901 fps= 24 q=-1.0 Lsize= 6717kB time=00:00:30.10 bitrate=1828.0kbits
/s
video:6211kB audio:472kB subtitle:0 global headers:0kB muxing overhead 0.513217%
[libx264 @ 00000000002e6980] frame I:8 Avg QP:21.77 size: 39744
[libx264 @ 00000000002e6980] frame P:433 Avg QP:25.69 size: 11490
[libx264 @ 00000000002e6980] frame B:460 Avg QP:29.25 size: 2319
[libx264 @ 00000000002e6980] consecutive B-frames: 5.4% 78.6% 2.7% 13.3%
[libx264 @ 00000000002e6980] mb I I16..4: 21.8% 48.8% 29.5%
[libx264 @ 00000000002e6980] mb P I16..4: 0.7% 4.0% 1.3% P16..4: 37.1% 22.2
% 15.5% 0.0% 0.0% skip:19.2%
[libx264 @ 00000000002e6980] mb B I16..4: 0.1% 0.5% 0.2% B16..8: 43.5% 7.0
% 2.1% direct: 2.2% skip:44.5% L0:36.4% L1:52.7% BI:10.9%
[libx264 @ 00000000002e6980] 8x8 transform intra:62.8% inter:56.2%
[libx264 @ 00000000002e6980] coded y,uvDC,uvAC intra: 74.2% 78.8% 44.0% inter: 2
3.6% 14.5% 1.0%
[libx264 @ 00000000002e6980] i16 v,h,dc,p: 48% 24% 9% 20%
[libx264 @ 00000000002e6980] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 17% 15% 7% 8%
11% 8% 10% 8%
[libx264 @ 00000000002e6980] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 17% 15% 7% 10%
11% 8% 7% 7%
[libx264 @ 00000000002e6980] i8c dc,h,v,p: 53% 21% 18% 7%
[libx264 @ 00000000002e6980] Weighted P-Frames: Y:0.7% UV:0.0%
[libx264 @ 00000000002e6980] ref P L0: 62.4% 19.0% 12.0% 6.6% 0.0%
[libx264 @ 00000000002e6980] ref B L0: 90.5% 8.9% 0.7%
[libx264 @ 00000000002e6980] ref B L1: 97.9% 2.1%
[libx264 @ 00000000002e6980] kb/s:1692.37AND THE –MOVFLAGS COMMAND :
ffmpeg -i C:\vidtests\Wildlife.mp4 -movflags faststart C:\vidtests\Wildlife_fs.mp4
AND THE –MOVFLAGS OUTPUT
ffmpeg version N-54207-ge59fb3f Copyright (c) 2000-2013 the FFmpeg developers
built on Jun 25 2013 21:55:00 with gcc 4.7.3 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-
amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --
enable-libxvid --enable-zlib
libavutil 52. 37.101 / 52. 37.101
libavcodec 55. 17.100 / 55. 17.100
libavformat 55. 10.100 / 55. 10.100
libavdevice 55. 2.100 / 55. 2.100
libavfilter 3. 77.101 / 3. 77.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\vidtests\Wildlife.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
title : Wildlife in HD
encoder : Lavf55.10.100
comment : Footage: Small World Productions, Inc; Tourism New Zealand
| Producer: Gary F. Spradling | Music: Steve Ball
copyright : © 2008 Microsoft Corporation
Duration: 00:00:30.13, start: 0.036281, bitrate: 1826 kb/s
Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x480,
1692 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc
Metadata:
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 12
8 kb/s
Metadata:
handler_name : SoundHandler
[libx264 @ 0000000004360620] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
[libx264 @ 0000000004360620] profile High, level 3.0
[libx264 @ 0000000004360620] 264 - core 133 r2334 a3ac64b - H.264/MPEG-4 AVC cod
ec - Copyleft 2003-2013 - http://www.videolan.org/x264.html - options: cabac=1 r
ef=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_pski
p=1 chroma_qp_offset=-2 threads=3 lookahead_threads=1 sliced_threads=0 nr=0 deci
mate=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=2
5 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.6
0 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'C:\vidtests\Wildlife_fs.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
title : Wildlife in HD
copyright : © 2008 Microsoft Corporation
comment : Footage: Small World Productions, Inc; Tourism New Zealand
| Producer: Gary F. Spradling | Music: Steve Ball
encoder : Lavf55.10.100
Stream #0:0(eng): Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 6
40x480, q=-1--1, 30k tbn, 29.97 tbc
Metadata:
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac (libvo_aacenc) ([64][0][0][0] / 0x0040), 44100
Hz, stereo, s16, 128 kb/s
Metadata:
handler_name : SoundHandler
Stream mapping:
Stream #0:0 -> #0:0 (h264 -> libx264)
Stream #0:1 -> #0:1 (aac -> libvo_aacenc)
Press [q] to stop, [?] for help
frame= 52 fps=0.0 q=29.0 size= 29kB time=00:00:01.76 bitrate= 133.9kbits/
frame= 63 fps= 60 q=29.0 size= 104kB time=00:00:02.14 bitrate= 397.2kbits/
frame= 74 fps= 47 q=29.0 size= 176kB time=00:00:02.51 bitrate= 573.2kbits/
frame= 87 fps= 41 q=29.0 size= 265kB time=00:00:02.93 bitrate= 741.2kbits/
frame= 101 fps= 37 q=29.0 size= 358kB time=00:00:03.39 bitrate= 862.8kbits/
frame= 113 fps= 34 q=29.0 size= 437kB time=00:00:03.79 bitrate= 943.7kbits/
frame= 125 fps= 33 q=29.0 size= 520kB time=00:00:04.20 bitrate=1012.2kbits/
frame= 138 fps= 32 q=29.0 size= 606kB time=00:00:04.64 bitrate=1069.8kbits/
frame= 151 fps= 31 q=29.0 size= 696kB time=00:00:05.06 bitrate=1124.3kbits/
frame= 163 fps= 30 q=29.0 size= 780kB time=00:00:05.47 bitrate=1166.4kbits/
frame= 176 fps= 30 q=29.0 size= 919kB time=00:00:05.90 bitrate=1273.9kbits/
frame= 196 fps= 31 q=29.0 size= 994kB time=00:00:06.57 bitrate=1237.4kbits/
frame= 213 fps= 31 q=29.0 size= 1097kB time=00:00:07.13 bitrate=1258.8kbits/
frame= 225 fps= 30 q=29.0 size= 1204kB time=00:00:07.53 bitrate=1309.8kbits/
frame= 236 fps= 30 q=29.0 size= 1323kB time=00:00:07.91 bitrate=1369.4kbits/
frame= 249 fps= 29 q=29.0 size= 1451kB time=00:00:08.34 bitrate=1424.6kbits/
frame= 263 fps= 29 q=29.0 size= 1574kB time=00:00:08.82 bitrate=1461.3kbits/
frame= 278 fps= 29 q=29.0 size= 1610kB time=00:00:09.30 bitrate=1416.9kbits/
frame= 296 fps= 30 q=29.0 size= 1655kB time=00:00:09.91 bitrate=1368.0kbits/
frame= 313 fps= 30 q=29.0 size= 1697kB time=00:00:10.48 bitrate=1326.4kbits/
frame= 330 fps= 30 q=29.0 size= 1737kB time=00:00:11.05 bitrate=1286.5kbits/
frame= 345 fps= 30 q=29.0 size= 1776kB time=00:00:11.54 bitrate=1260.4kbits/
frame= 361 fps= 30 q=29.0 size= 1813kB time=00:00:12.07 bitrate=1230.3kbits/
frame= 377 fps= 30 q=29.0 size= 1847kB time=00:00:12.59 bitrate=1201.4kbits/
frame= 395 fps= 30 q=29.0 size= 1880kB time=00:00:13.22 bitrate=1165.0kbits/
frame= 410 fps= 30 q=29.0 size= 1993kB time=00:00:13.72 bitrate=1190.2kbits/
frame= 424 fps= 30 q=29.0 size= 2080kB time=00:00:14.18 bitrate=1201.4kbits/
frame= 439 fps= 30 q=29.0 size= 2166kB time=00:00:14.67 bitrate=1209.4kbits/
frame= 455 fps= 30 q=29.0 size= 2262kB time=00:00:15.21 bitrate=1217.5kbits/
frame= 469 fps= 30 q=29.0 size= 2341kB time=00:00:15.68 bitrate=1223.0kbits/
frame= 484 fps= 30 q=29.0 size= 2430kB time=00:00:16.19 bitrate=1229.1kbits/
frame= 500 fps= 30 q=29.0 size= 2523kB time=00:00:16.71 bitrate=1236.3kbits/
frame= 515 fps= 30 q=29.0 size= 2607kB time=00:00:17.21 bitrate=1240.4kbits/
frame= 531 fps= 30 q=29.0 size= 2681kB time=00:00:17.73 bitrate=1238.2kbits/
frame= 546 fps= 30 q=29.0 size= 2758kB time=00:00:18.24 bitrate=1238.2kbits/
frame= 561 fps= 30 q=29.0 size= 2824kB time=00:00:18.75 bitrate=1233.4kbits/
frame= 576 fps= 30 q=29.0 size= 2955kB time=00:00:19.25 bitrate=1256.8kbits/
frame= 586 fps= 29 q=29.0 size= 3061kB time=00:00:19.59 bitrate=1279.6kbits/
frame= 598 fps= 29 q=29.0 size= 3217kB time=00:00:19.99 bitrate=1318.4kbits/
frame= 610 fps= 29 q=29.0 size= 3354kB time=00:00:20.39 bitrate=1347.2kbits/
frame= 622 fps= 29 q=29.0 size= 3483kB time=00:00:20.78 bitrate=1372.6kbits/
frame= 634 fps= 29 q=29.0 size= 3593kB time=00:00:21.19 bitrate=1388.6kbits/
frame= 648 fps= 29 q=29.0 size= 3708kB time=00:00:21.66 bitrate=1402.3kbits/
frame= 661 fps= 29 q=29.0 size= 3811kB time=00:00:22.08 bitrate=1413.5kbits/
frame= 674 fps= 29 q=29.0 size= 3978kB time=00:00:22.53 bitrate=1446.3kbits/
frame= 690 fps= 29 q=29.0 size= 4133kB time=00:00:23.05 bitrate=1468.4kbits/
frame= 706 fps= 29 q=29.0 size= 4263kB time=00:00:23.58 bitrate=1480.4kbits/
frame= 721 fps= 29 q=29.0 size= 4391kB time=00:00:24.08 bitrate=1493.8kbits/
frame= 735 fps= 29 q=29.0 size= 4524kB time=00:00:24.55 bitrate=1509.4kbits/
frame= 748 fps= 29 q=29.0 size= 4661kB time=00:00:24.98 bitrate=1528.2kbits/
frame= 763 fps= 29 q=29.0 size= 4835kB time=00:00:25.50 bitrate=1553.1kbits/
frame= 778 fps= 29 q=29.0 size= 4993kB time=00:00:25.99 bitrate=1573.6kbits/
frame= 795 fps= 29 q=29.0 size= 5149kB time=00:00:26.56 bitrate=1588.1kbits/
frame= 814 fps= 29 q=29.0 size= 5258kB time=00:00:27.18 bitrate=1584.4kbits/
frame= 833 fps= 29 q=29.0 size= 5368kB time=00:00:27.82 bitrate=1580.2kbits/
frame= 851 fps= 29 q=29.0 size= 5469kB time=00:00:28.43 bitrate=1575.9kbits/
frame= 870 fps= 29 q=29.0 size= 5567kB time=00:00:29.05 bitrate=1569.5kbits/
frame= 889 fps= 29 q=29.0 size= 5688kB time=00:00:29.70 bitrate=1568.4kbits/
Starting second pass: moving header on top of the file
frame= 902 fps= 28 q=-1.0 Lsize= 6109kB time=00:00:30.14 bitrate=1659.8kbits
/s dup=1 drop=0
video:5602kB audio:472kB subtitle:0 global headers:0kB muxing overhead 0.566600%
[libx264 @ 0000000004360620] frame I:8 Avg QP:20.52 size: 39667
[libx264 @ 0000000004360620] frame P:419 Avg QP:25.06 size: 10524
[libx264 @ 0000000004360620] frame B:475 Avg QP:29.03 size: 2123
[libx264 @ 0000000004360620] consecutive B-frames: 3.2% 79.6% 0.3% 16.9%
[libx264 @ 0000000004360620] mb I I16..4: 20.7% 52.3% 26.9%
[libx264 @ 0000000004360620] mb P I16..4: 0.7% 4.2% 1.1% P16..4: 39.4% 21.4
% 13.8% 0.0% 0.0% skip:19.3%
[libx264 @ 0000000004360620] mb B I16..4: 0.1% 0.9% 0.3% B16..8: 41.8% 6.4
% 1.7% direct: 1.7% skip:47.1% L0:36.4% L1:53.3% BI:10.3%
[libx264 @ 0000000004360620] 8x8 transform intra:65.7% inter:58.8%
[libx264 @ 0000000004360620] coded y,uvDC,uvAC intra: 71.2% 76.6% 35.7% inter: 2
0.7% 13.0% 0.5%
[libx264 @ 0000000004360620] i16 v,h,dc,p: 48% 24% 8% 20%
[libx264 @ 0000000004360620] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 18% 15% 6% 8%
11% 8% 10% 8%
[libx264 @ 0000000004360620] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 16% 15% 7% 10%
11% 8% 8% 7%
[libx264 @ 0000000004360620] i8c dc,h,v,p: 51% 22% 19% 9%
[libx264 @ 0000000004360620] Weighted P-Frames: Y:0.7% UV:0.0%
[libx264 @ 0000000004360620] ref P L0: 63.4% 19.7% 11.0% 5.9% 0.0%
[libx264 @ 0000000004360620] ref B L0: 90.7% 8.7% 0.7%
[libx264 @ 0000000004360620] ref B L1: 98.4% 1.6%
[libx264 @ 0000000004360620] kb/s:1524.54