Recherche avancée

Médias (10)

Mot : - Tags -/wav

Autres articles (75)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

Sur d’autres sites (3530)

  • Converting Real Media with ffmpeg

    22 avril 2018, par Eric Arenson

    I have a number of old crusty Real Media files I need to convert and was hoping to write a script to batch process them. I’m able to do a Real Media -> AVI conversion with FFMpegX, but when I try to replicate the conversion with ffmpeg, it always errors out with something like :

    [avi @ 0x10084fa00] Too large number of skipped frames 117425 > 60000

    It may have something to do with the funky format of these Real Media files :

    Duration: 01:28:23.42, start: 0.000000, bitrate: 448 kb/s
       Stream #0:0: Data: none, 32 kb/s
       Stream #0:1: Data: none, 192 kb/s
       Stream #0:2: Audio: sipr (sipr / 0x72706973), 8000 Hz, mono, flt, 6 kb/s
       Stream #0:3: Video: rv20 (RV20 / 0x30325652), yuv420p, 320x240, 13 kb/s, 15 fps, 15 tbr, 1k tbn, 1k tbc
       Stream #0:4: Video: rv20 (RV20 / 0x30325652), yuv420p, 320x240, 8 kb/s, 15 fps, 15 tbr, 1k tbn, 1k tbc
       Stream #0:5: Video: rv20 (RV20 / 0x30325652), yuv420p, 320x240, 5 kb/s, 15 fps, 15 tbr, 1k tbn, 1k tbc
       Stream #0:6: Video: rv20 (RV20 / 0x30325652), yuv420p, 320x240, 27 kb/s, 15 fps, 15 tbr, 1k tbn, 1k tbc
       Stream #0:7: Audio: cook (cook / 0x6B6F6F63), 22050 Hz, mono, fltp, 32 kb/s
       Stream #0:8: Video: rv20 (RV20 / 0x30325652), yuv420p, 320x240, 192 kb/s, 30 fps, 30 tbr, 1k tbn, 1k tbc
       Stream #0:9: Video: rv20 (RV20 / 0x30325652), yuv420p, 320x240, 136 kb/s, 30 fps, 30 tbr, 1k tbn, 1k tbc
       Stream #0:10: Audio: sipr (sipr / 0x72706973), 8000 Hz, mono, flt, 6 kb/s
       Stream #0:11: Audio: sipr (sipr / 0x72706973), 8000 Hz, mono, flt, 6 kb/s
       Stream #0:12: Video: rv20 (RV20 / 0x30325652), yuv420p, 320x240, 13 kb/s, 15 fps, 15 tbr, 1k tbn, 1k tbc
       Stream #0:13: Video: rv20 (RV20 / 0x30325652), yuv420p, 320x240, 13 kb/s, 15 fps, 15 tbr, 1k tbn, 1k tbc
       Stream #0:14: Video: rv20 (RV20 / 0x30325652), yuv420p, 320x240, 13 kb/s, 15 fps, 15 tbr, 1k tbn, 1k tbc
       Stream #0:15: Video: rv20 (RV20 / 0x30325652), yuv420p, 320x240, 5 kb/s, 15 fps, 15 tbr, 1k tbn, 1k tbc

    Does anyone have any tips on either how to find out what FFMpegX is doing to make the conversion work, or a better way to go about using ffmpeg to do this ?

    EDIT

    Including the ffmpeg command (thank you to @Mondain for teaching me about the stream mapping !) and output :

    Command :

    ffmpeg -i cc121307pm.rm -map 0:8 -map 0:7 -c:v libx264 -c:a libfaac -b:a 32k test.avi

    Output :

    ffmpeg version 1.2.1 Copyright (c) 2000-2013 the FFmpeg developers
     built on Aug  7 2013 12:29:30 with gcc 4.2.1 (GCC) (Apple Inc. build 5664)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/1.2.1 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=/usr/bin/gcc-4.2 --host-cflags='-Os -w -pipe -march=core2 -msse4.1 -mmacosx-version-min=10.6' --host-ldflags=-L/usr/local/lib --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid
     libavutil      52. 18.100 / 52. 18.100
     libavcodec     54. 92.100 / 54. 92.100
     libavformat    54. 63.104 / 54. 63.104
     libavdevice    54.  3.103 / 54.  3.103
     libavfilter     3. 42.103 /  3. 42.103
     libswscale      2.  2.100 /  2.  2.100
     libswresample   0. 17.102 /  0. 17.102
     libpostproc    52.  2.100 / 52.  2.100
    [rm @ 0x10180f200] Unsupported stream type 00000265
    [rm @ 0x10180f200] Unsupported stream type 00000652
    [rm @ 0x10180f200] max_analyze_duration 5000000 reached at 5004000 microseconds
    Input #0, rm, from 'input.rm':
     Metadata:
       File ID         : 41deac0f-94fb-3595-325c-c717943bc532
       Content Rating  : (PICS-1.1 "http://www.classify.org/safesurf" labels comment "RealProducer Plus 8.5.0.200 Windows" ratings (SS~~000 1))
       Modification Date: 12/13/2007 16:26:16
       Generated By    : RealProducer Plus 8.5.0.200 Windows
       Keywords        :
       Abstract        :
       Target Audiences: 28K Modem (20 Kbps);56K Modem (34 Kbps);256K DSL/Cable Modem (225 Kbps);
       Video Quality   : Normal Motion Video
       Audio Format    : Voice Only
       Creation Date   : 12/13/2007 14:57:49
       ASMRuleBook     : #($Bandwidth < 15000),Stream2Bandwidth = 6500, Stream3Bandwidth = 5499;#($Bandwidth >= 15000) && ($Bandwidth < 20000),Stream2Ba
       title           :
       author          :
       copyright       : ?2007
       comment         :
     Duration: 01:28:23.42, start: 0.000000, bitrate: 448 kb/s
       Stream #0:0: Data: none, 32 kb/s
       Stream #0:1: Data: none, 192 kb/s
       Stream #0:2: Audio: sipr (sipr / 0x72706973), 8000 Hz, mono, flt, 6 kb/s
       Stream #0:3: Video: rv20 (RV20 / 0x30325652), yuv420p, 320x240, 13 kb/s, 15 fps, 15 tbr, 1k tbn, 1k tbc
       Stream #0:4: Video: rv20 (RV20 / 0x30325652), yuv420p, 320x240, 8 kb/s, 15 fps, 15 tbr, 1k tbn, 1k tbc
       Stream #0:5: Video: rv20 (RV20 / 0x30325652), yuv420p, 320x240, 5 kb/s, 15 fps, 15 tbr, 1k tbn, 1k tbc
       Stream #0:6: Video: rv20 (RV20 / 0x30325652), yuv420p, 320x240, 27 kb/s, 15 fps, 15 tbr, 1k tbn, 1k tbc
       Stream #0:7: Audio: cook (cook / 0x6B6F6F63), 22050 Hz, mono, fltp, 32 kb/s
       Stream #0:8: Video: rv20 (RV20 / 0x30325652), yuv420p, 320x240, 192 kb/s, 30 fps, 30 tbr, 1k tbn, 1k tbc
       Stream #0:9: Video: rv20 (RV20 / 0x30325652), yuv420p, 320x240, 136 kb/s, 30 fps, 30 tbr, 1k tbn, 1k tbc
       Stream #0:10: Audio: sipr (sipr / 0x72706973), 8000 Hz, mono, flt, 6 kb/s
       Stream #0:11: Audio: sipr (sipr / 0x72706973), 8000 Hz, mono, flt, 6 kb/s
       Stream #0:12: Video: rv20 (RV20 / 0x30325652), yuv420p, 320x240, 13 kb/s, 15 fps, 15 tbr, 1k tbn, 1k tbc
       Stream #0:13: Video: rv20 (RV20 / 0x30325652), yuv420p, 320x240, 13 kb/s, 15 fps, 15 tbr, 1k tbn, 1k tbc
       Stream #0:14: Video: rv20 (RV20 / 0x30325652), yuv420p, 320x240, 13 kb/s, 15 fps, 15 tbr, 1k tbn, 1k tbc
       Stream #0:15: Video: rv20 (RV20 / 0x30325652), yuv420p, 320x240, 5 kb/s, 15 fps, 15 tbr, 1k tbn, 1k tbc
    [libx264 @ 0x101889c00] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
    [libx264 @ 0x101889c00] profile High, level 1.3
    Output #0, avi, to 'test.avi':
     Metadata:
       File ID         : 41deac0f-94fb-3595-325c-c717943bc532
       Content Rating  : (PICS-1.1 "http://www.classify.org/safesurf" labels comment "RealProducer Plus 8.5.0.200 Windows" ratings (SS~~000 1))
       Modification Date: 12/13/2007 16:26:16
       Generated By    : RealProducer Plus 8.5.0.200 Windows
       Keywords        :
       Abstract        :
       Target Audiences: 28K Modem (20 Kbps);56K Modem (34 Kbps);256K DSL/Cable Modem (225 Kbps);
       Video Quality   : Normal Motion Video
       Audio Format    : Voice Only
       Creation Date   : 12/13/2007 14:57:49
       ASMRuleBook     : #($Bandwidth < 15000),Stream2Bandwidth = 6500, Stream3Bandwidth = 5499;#($Bandwidth >= 15000) && ($Bandwidth < 20000),Stream2Ba
       INAM            :
       author          :
       ICOP            : ?2007
       ICMT            :
       ISFT            : Lavf54.63.104
       Stream #0:0: Video: h264 (H264 / 0x34363248), yuv420p, 320x240, q=-1--1, 30 tbn, 30 tbc
       Stream #0:1: Audio: aac ([255][0][0][0] / 0x00FF), 22050 Hz, mono, s16, 32 kb/s
    Stream mapping:
     Stream #0:8 -> #0:0 (rv20 -> libx264)
     Stream #0:7 -> #0:1 (cook -> libfaac)
    Press [q] to stop, [?] for help
    [rm @ 0x10180f200] DATA tag in middle of chunk, file may be broken.
    Truncating packet of size 775215378 to 283607526
    [rm @ 0x10180f200] Impossibly sized packet
    Truncating packet of size 686581284 to 279055389
    [rm @ 0x10180f200] Impossibly sized packet
    Truncating packet of size 845942319 to 279042877
    [rm @ 0x10180f200] Impossibly sized packet
    Truncating packet of size 519635011 to 279040757
    [rm @ 0x10180f200] Impossibly sized packet
    Truncating packet of size 302013449 to 260425302
    [rm @ 0x10180f200] Impossibly sized packet
    Truncating packet of size 671112232 to 260422550
    [rm @ 0x10180f200] Impossibly sized packet
    Truncating packet of size 670137329 to 260371048
    [rm @ 0x10180f200] Impossibly sized packet
    Truncating packet of size 674387680 to 260336787
    [rm @ 0x10180f200] Impossibly sized packet
    Truncating packet of size 698852899 to 260336757
    [rm @ 0x10180f200] Impossibly sized packet
    Truncating packet of size 881600768 to 260281240
    [rm @ 0x10180f200] Impossibly sized packet
    Truncating packet of size 623325768 to 241694111
    [rm @ 0x10180f200] Impossibly sized packet
    Truncating packet of size 273397034 to 241679920
    [rm @ 0x10180f200] Impossibly sized packet
    Truncating packet of size 245534365 to 241615319
    [rm @ 0x10180f200] Impossibly sized packet
    Truncating packet of size 264614026 to 220525004
    [rm @ 0x10180f200] Impossibly sized packet
    [rm @ 0x10180f200] DATA tag in middle of chunk, file may be broken.
    Truncating packet of size 637535515 to 219973842
    [rm @ 0x10180f200] Impossibly sized packet
    Truncating packet of size 432193588 to 219973831
    [rm @ 0x10180f200] Impossibly sized packet
    Truncating packet of size 286760544 to 219962162
    [rm @ 0x10180f200] Impossibly sized packet
    Truncating packet of size 1070610764 to 219737624
    [rm @ 0x10180f200] Impossibly sized packet
    Truncating packet of size 259875548 to 219371853
    [rm @ 0x10180f200] Impossibly sized packet
    Truncating packet of size 362059391 to 219371844
    [rm @ 0x10180f200] Impossibly sized packet
    Truncating packet of size 885179606 to 219371833
    [rm @ 0x10180f200] Impossibly sized packet
    Truncating packet of size 587434829 to 206214002
    [rm @ 0x10180f200] Impossibly sized packet
    Truncating packet of size 816942211 to 165623435
    [rm @ 0x10180f200] Impossibly sized packet
    Truncating packet of size 471624979 to 113266905
    [rm @ 0x10180f200] Impossibly sized packet
    Truncating packet of size 674059889 to 113266894
    [rm @ 0x10180f200] Impossibly sized packet
    Truncating packet of size 459361272 to 113253548
    [rm @ 0x10180f200] Impossibly sized packet
    Truncating packet of size 637535515 to 91792709
    [rm @ 0x10180f200] Impossibly sized packet
    Truncating packet of size 432193588 to 91792698
    [rm @ 0x10180f200] Impossibly sized packet
    Truncating packet of size 286760544 to 91781029
    [rm @ 0x10180f200] Impossibly sized packet
    Truncating packet of size 157876310 to 91505934
    [rm @ 0x10180f200] Impossibly sized packet
    Truncating packet of size 469953408 to 91505925
    [rm @ 0x10180f200] Impossibly sized packet
    Truncating packet of size 260215377 to 91486921
    [rm @ 0x10180f200] Impossibly sized packet
    Truncating packet of size 877425642 to 91335612
    [rm @ 0x10180f200] Impossibly sized packet
    Truncating packet of size 259887697 to 91322050
    [rm @ 0x10180f200] Impossibly sized packet
    Truncating packet of size 885071836 to 91245341
    [rm @ 0x10180f200] Impossibly sized packet
    Truncating packet of size 264614182 to 90930431
    [rm @ 0x10180f200] Impossibly sized packet
    Truncating packet of size 811350015 to 90930422
    [rm @ 0x10180f200] Impossibly sized packet
    Truncating packet of size 128974975 to 90713958
    [rm @ 0x10180f200] Impossibly sized packet
    Truncating packet of size 801151589 to 89195724
    [rm @ 0x10180f200] Impossibly sized packet
    Truncating packet of size 654645420 to 85989435
    [rm @ 0x10180f200] Impossibly sized packet
    Truncating packet of size 184860915 to 85989426
    [rm @ 0x10180f200] Impossibly sized packet
    Truncating packet of size 1072093904 to 85980304
    [rm @ 0x10180f200] Impossibly sized packet
    Truncating packet of size 907644163 to 85521587
    [rm @ 0x10180f200] Impossibly sized packet
    Truncating packet of size 187973624 to 52762203
    [rm @ 0x10180f200] Impossibly sized packet
    Truncating packet of size 315276941 to 52762157
    [rm @ 0x10180f200] Impossibly sized packet
    Truncating packet of size 947559309 to 23894660
    [rm @ 0x10180f200] Impossibly sized packet
    Truncating packet of size 183681448 to 2582872
    [rm @ 0x10180f200] Impossibly sized packet
    input.rm: Input/output error
    frame=    0 fps=0.0 q=0.0 Lsize=      10kB time=00:00:00.00 bitrate=N/A    
    video:0kB audio:0kB subtitle:0 global headers:0kB muxing overhead inf%
    Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)
  • ffmpeg conversion .dav to any video files

    2 février 2021, par Marcello Galvão

    I am trying for days to convert .dav file (file generated by dvrs [image recorders]). I have tried several variations with ffmpeg and can not succeed.

    



    Command and console output :

    



    $ ffmpeg -i input.dav -codec:v libx264 -crf 23 -preset medium -codec:a libfdk_aac -vbr 4 -movflags faststart -vf scale=-1:720,format=yuv420p output.mp4
ffmpeg version 2.8 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
  configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libdcadec --enable-libfreetype --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvo-aacenc --enable-libvidstab
  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, h264, from 'input.Dav':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: h264 (Baseline), yuv420p, 704x480, 25 fps, 25 tbr, 1200k tbn, 50 tbc
Codec AVOption vbr (VBR mode (1-5)) specified for output file #0 (output.mp4) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
[libx264 @ 0x2d99e00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
[libx264 @ 0x2d99e00] profile High, level 3.1
[libx264 @ 0x2d99e00] 264 - core 142 r2491 24e4fed - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - 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=3 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 'output.mp4':
  Metadata:
    encoder         : Lavf56.40.101
    Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 1056x720, q=-1--1, 25 fps, 12800 tbn, 25 tbc
    Metadata:
      encoder         : Lavc56.60.100 libx264
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Press [q] to stop, [?] for help
frame=   58 fps=0.0 q=28.0 size=      93kB time=00:00:00.36 bitrate=2124.9kbits/s    
frame=   76 fps= 71 q=28.0 size=     178kB time=00:00:01.08 bitrate=1347.6kbits/s    
frame=   94 fps= 58 q=28.0 size=     275kB time=00:00:01.80 bitrate=1251.3kbits/s    
frame=  106 fps= 50 q=28.0 size=     393kB time=00:00:02.28 bitrate=1412.9kbits/s    
frame=  122 fps= 46 q=28.0 size=     504kB time=00:00:02.92 bitrate=1413.9kbits/s    
frame=  138 fps= 43 q=28.0 size=     586kB time=00:00:03.56 bitrate=1348.4kbits/s    
frame=  153 fps= 41 q=28.0 size=     676kB time=00:00:04.16 bitrate=1330.4kbits/s    
[h264 @ 0x3348440] Frame num change from 35 to 162
[h264 @ 0x3348440] decode_slice_header error
frame=  166 fps= 39 q=28.0 size=     785kB time=00:00:04.68 bitrate=1374.8kbits/s    
frame=  179 fps= 38 q=28.0 size=     894kB time=00:00:05.20 bitrate=1407.9kbits/s    
frame=  191 fps= 36 q=28.0 size=    1010kB time=00:00:05.68 bitrate=1457.0kbits/s    
frame=  206 fps= 36 q=28.0 size=    1137kB time=00:00:06.28 bitrate=1482.7kbits/s    
frame=  222 fps= 35 q=28.0 size=    1229kB time=00:00:06.92 bitrate=1455.2kbits/s    
frame=  239 fps= 35 q=28.0 size=    1327kB time=00:00:07.60 bitrate=1430.8kbits/s    
frame=  258 fps= 35 q=28.0 size=    1409kB time=00:00:08.36 bitrate=1380.4kbits/s    
frame=  273 fps= 35 q=28.0 size=    1496kB time=00:00:08.96 bitrate=1367.5kbits/s    
frame=  288 fps= 34 q=28.0 size=    1599kB time=00:00:09.56 bitrate=1370.3kbits/s    
frame=  301 fps= 34 q=28.0 size=    1730kB time=00:00:10.08 bitrate=1405.7kbits/s    
frame=  318 fps= 34 q=28.0 size=    1807kB time=00:00:10.76 bitrate=1376.0kbits/s    
frame=  336 fps= 34 q=28.0 size=    1873kB time=00:00:11.48 bitrate=1336.3kbits/s    
frame=  358 fps= 34 q=28.0 size=    1938kB time=00:00:12.36 bitrate=1284.4kbits/s    
frame=  378 fps= 34 q=28.0 size=    1995kB time=00:00:13.16 bitrate=1242.1kbits/s    
frame=  398 fps= 35 q=28.0 size=    2053kB time=00:00:13.96 bitrate=1204.5kbits/s    
frame=  415 fps= 35 q=28.0 size=    2115kB time=00:00:14.64 bitrate=1183.4kbits/s    
frame=  434 fps= 35 q=28.0 size=    2165kB time=00:00:15.40 bitrate=1151.4kbits/s    
frame=  454 fps= 35 q=28.0 size=    2220kB time=00:00:16.20 bitrate=1122.8kbits/s    
frame=  470 fps= 35 q=28.0 size=    2279kB time=00:00:16.84 bitrate=1108.5kbits/s    
frame=  489 fps= 35 q=28.0 size=    2350kB time=00:00:17.60 bitrate=1093.9kbits/s    
frame=  505 fps= 35 q=28.0 size=    2410kB time=00:00:18.24 bitrate=1082.5kbits/s    
frame=  515 fps= 34 q=28.0 size=    2534kB time=00:00:18.64 bitrate=1113.5kbits/s    
frame=  531 fps= 34 q=28.0 size=    2668kB time=00:00:19.28 bitrate=1133.8kbits/s    
frame=  547 fps= 34 q=28.0 size=    2782kB time=00:00:19.92 bitrate=1144.2kbits/s    
frame=  565 fps= 34 q=28.0 size=    2925kB time=00:00:20.64 bitrate=1160.9kbits/s    
frame=  581 fps= 34 q=28.0 size=    3043kB time=00:00:21.28 bitrate=1171.3kbits/s    
frame=  595 fps= 34 q=28.0 size=    3136kB time=00:00:21.84 bitrate=1176.1kbits/s    
frame=  611 fps= 34 q=28.0 size=    3240kB time=00:00:22.48 bitrate=1180.5kbits/s    
frame=  630 fps= 34 q=28.0 size=    3351kB time=00:00:23.24 bitrate=1181.2kbits/s    
frame=  651 fps= 34 q=28.0 size=    3451kB time=00:00:24.08 bitrate=1174.1kbits/s    
frame=  675 fps= 34 q=28.0 size=    3528kB time=00:00:25.04 bitrate=1154.2kbits/s    
frame=  700 fps= 35 q=28.0 size=    3612kB time=00:00:26.04 bitrate=1136.2kbits/s    
frame=  724 fps= 35 q=28.0 size=    3701kB time=00:00:27.00 bitrate=1122.9kbits/s    
frame=  747 fps= 35 q=28.0 size=    3808kB time=00:00:27.92 bitrate=1117.4kbits/s    
frame=  768 fps= 35 q=28.0 size=    3884kB time=00:00:28.76 bitrate=1106.4kbits/s    
frame=  799 fps= 36 q=28.0 size=    3983kB time=00:00:30.00 bitrate=1087.6kbits/s    
frame=  834 fps= 36 q=28.0 size=    4052kB time=00:00:31.40 bitrate=1057.1kbits/s    
frame=  868 fps= 37 q=28.0 size=    4097kB time=00:00:32.76 bitrate=1024.5kbits/s    
frame=  894 fps= 37 q=28.0 size=    4141kB time=00:00:33.80 bitrate=1003.6kbits/s    
frame=  914 fps= 37 q=28.0 size=    4234kB time=00:00:34.60 bitrate=1002.5kbits/s    
frame=  933 fps= 37 q=28.0 size=    4363kB time=00:00:35.36 bitrate=1010.8kbits/s    
frame=  954 fps= 37 q=28.0 size=    4442kB time=00:00:36.20 bitrate=1005.3kbits/s    
frame=  976 fps= 37 q=28.0 size=    4510kB time=00:00:37.08 bitrate= 996.3kbits/s    
frame=  994 fps= 37 q=28.0 size=    4579kB time=00:00:37.80 bitrate= 992.3kbits/s    
frame= 1010 fps= 37 q=28.0 size=    4663kB time=00:00:38.44 bitrate= 993.7kbits/s    
frame= 1030 fps= 37 q=28.0 size=    4734kB time=00:00:39.24 bitrate= 988.3kbits/s    
frame= 1043 fps= 37 q=28.0 size=    4843kB time=00:00:39.76 bitrate= 997.9kbits/s    
frame= 1065 fps= 37 q=28.0 size=    5021kB time=00:00:40.64 bitrate=1012.1kbits/s    
frame= 1092 fps= 38 q=28.0 size=    5052kB time=00:00:41.72 bitrate= 991.9kbits/s    
frame= 1118 fps= 38 q=28.0 size=    5129kB time=00:00:42.76 bitrate= 982.6kbits/s    
frame= 1145 fps= 38 q=28.0 size=    5185kB time=00:00:43.84 bitrate= 968.8kbits/s    
frame= 1174 fps= 38 q=28.0 size=    5214kB time=00:00:45.00 bitrate= 949.1kbits/s    
frame= 1202 fps= 39 q=28.0 size=    5256kB time=00:00:46.12 bitrate= 933.7kbits/s    
frame= 1220 fps= 39 q=28.0 size=    5341kB time=00:00:46.84 bitrate= 934.1kbits/s    
frame= 1236 fps= 38 q=28.0 size=    5432kB time=00:00:47.48 bitrate= 937.2kbits/s    
[h264 @ 0x2d68ca0] A non-intra slice in an IDR NAL unit.
[h264 @ 0x2d68ca0] decode_slice_header error
frame= 1252 fps= 38 q=28.0 size=    5552kB time=00:00:48.12 bitrate= 945.2kbits/s    
frame= 1269 fps= 38 q=28.0 size=    5666kB time=00:00:48.80 bitrate= 951.2kbits/s    
frame= 1286 fps= 38 q=28.0 size=    5773kB time=00:00:49.48 bitrate= 955.7kbits/s    
frame= 1302 fps= 38 q=28.0 size=    5908kB time=00:00:50.12 bitrate= 965.7kbits/s    
frame= 1324 fps= 38 q=28.0 size=    6011kB time=00:00:51.00 bitrate= 965.6kbits/s    
frame= 1349 fps= 38 q=28.0 size=    6103kB time=00:00:52.00 bitrate= 961.4kbits/s    
frame= 1373 fps= 38 q=28.0 size=    6200kB time=00:00:52.96 bitrate= 959.1kbits/s    
frame= 1399 fps= 39 q=28.0 size=    6284kB time=00:00:54.00 bitrate= 953.3kbits/s    
frame= 1424 fps= 39 q=28.0 size=    6388kB time=00:00:55.00 bitrate= 951.5kbits/s    
frame= 1447 fps= 39 q=28.0 size=    6492kB time=00:00:55.92 bitrate= 951.1kbits/s    
frame= 1476 fps= 39 q=28.0 size=    6530kB time=00:00:57.08 bitrate= 937.2kbits/s    
frame= 1503 fps= 39 q=28.0 size=    6580kB time=00:00:58.16 bitrate= 926.8kbits/s    
frame= 1518 fps= 39 q=28.0 size=    6709kB time=00:00:58.76 bitrate= 935.4kbits/s    
frame= 1542 fps= 39 q=28.0 size=    6835kB time=00:00:59.72 bitrate= 937.6kbits/s    
[h264 @ 0x3348440] data partitioning is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[h264 @ 0x3348440] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
frame= 1568 fps= 39 q=28.0 size=    6958kB time=00:01:00.76 bitrate= 938.1kbits/s    
frame= 1596 fps= 39 q=28.0 size=    7006kB time=00:01:01.88 bitrate= 927.5kbits/s    
frame= 1619 fps= 39 q=28.0 size=    7096kB time=00:01:02.80 bitrate= 925.6kbits/s    
frame= 1646 fps= 40 q=28.0 size=    7152kB time=00:01:03.88 bitrate= 917.2kbits/s    
frame= 1671 fps= 40 q=28.0 size=    7205kB time=00:01:04.88 bitrate= 909.8kbits/s    
frame= 1698 fps= 40 q=28.0 size=    7268kB time=00:01:05.96 bitrate= 902.7kbits/s    
frame= 1725 fps= 40 q=28.0 size=    7328kB time=00:01:07.04 bitrate= 895.5kbits/s    
frame= 1752 fps= 40 q=28.0 size=    7382kB time=00:01:08.12 bitrate= 887.7kbits/s    
frame= 1779 fps= 40 q=28.0 size=    7433kB time=00:01:09.20 bitrate= 879.9kbits/s    
frame= 1803 fps= 40 q=28.0 size=    7580kB time=00:01:10.16 bitrate= 885.1kbits/s    
frame= 1827 fps= 41 q=28.0 size=    7643kB time=00:01:11.12 bitrate= 880.4kbits/s    
frame= 1852 fps= 41 q=28.0 size=    7703kB time=00:01:12.12 bitrate= 875.0kbits/s    
frame= 1879 fps= 41 q=28.0 size=    7751kB time=00:01:13.20 bitrate= 867.4kbits/s    
frame= 1899 fps= 41 q=28.0 size=    7840kB time=00:01:14.00 bitrate= 867.9kbits/s    
frame= 1918 fps= 41 q=28.0 size=    7946kB time=00:01:14.76 bitrate= 870.7kbits/s    
frame= 1938 fps= 41 q=28.0 size=    8046kB time=00:01:15.56 bitrate= 872.3kbits/s    
frame= 1959 fps= 41 q=28.0 size=    8134kB time=00:01:16.40 bitrate= 872.1kbits/s    
frame= 1978 fps= 41 q=28.0 size=    8227kB time=00:01:17.16 bitrate= 873.5kbits/s    
frame= 1997 fps= 41 q=28.0 size=    8322kB time=00:01:17.92 bitrate= 874.9kbits/s    
frame= 2022 fps= 41 q=28.0 size=    8390kB time=00:01:18.92 bitrate= 870.9kbits/s    
[h264 @ 0x2d64180] concealing 1320 DC, 1320 AC, 1320 MV errors in I frame
[mp4 @ 0x2cdb900] Starting second pass: moving the moov atom to the beginning of the file
frame= 2041 fps= 40 q=-1.0 Lsize=    8657kB time=00:01:21.56 bitrate= 869.5kbits/s    
video:8633kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.275387%
[libx264 @ 0x2d99e00] frame I:9     Avg QP:18.32  size: 48212
[libx264 @ 0x2d99e00] frame P:698   Avg QP:22.05  size:  9056
[libx264 @ 0x2d99e00] frame B:1334  Avg QP:27.18  size:  1562
[libx264 @ 0x2d99e00] consecutive B-frames: 10.6%  5.0%  5.4% 79.0%
[libx264 @ 0x2d99e00] mb I  I16..4: 18.4% 57.3% 24.2%
[libx264 @ 0x2d99e00] mb P  I16..4:  5.3%  8.2%  1.0%  P16..4: 26.3%  9.1%  4.0%  0.0%  0.0%    skip:46.0%
[libx264 @ 0x2d99e00] mb B  I16..4:  0.2%  0.1%  0.0%  B16..8: 20.6%  1.8%  0.3%  direct: 0.8%  skip:76.2%  L0:38.8% L1:57.6% BI: 3.6%
[libx264 @ 0x2d99e00] 8x8 transform intra:56.1% inter:75.9%
[libx264 @ 0x2d99e00] coded y,uvDC,uvAC intra: 35.0% 44.9% 12.4% inter: 6.5% 8.1% 0.2%
[libx264 @ 0x2d99e00] i16 v,h,dc,p: 34% 40%  3% 22%
[libx264 @ 0x2d99e00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 36% 26% 16%  3%  4%  4%  5%  4%  4%
[libx264 @ 0x2d99e00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 41% 10%  2%  4%  4%  5%  3%  3%
[libx264 @ 0x2d99e00] i8c dc,h,v,p: 47% 24% 24%  5%
[libx264 @ 0x2d99e00] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x2d99e00] ref P L0: 72.8% 10.0% 13.7%  3.5%
[libx264 @ 0x2d99e00] ref B L0: 90.8%  7.9%  1.2%
[libx264 @ 0x2d99e00] ref B L1: 96.5%  3.5%
[libx264 @ 0x2d99e00] kb/s:866.17


    


  • How to reduce the bitrate loss from video processing via FFMPEG ?

    17 juin 2017, par Neo Herakles

    so I use this code to add an intro, outro and watermark to a video but the final result has a loss in bitrate from 2108 bps to 705 bps, how can I keep the bitrate in the 2000 bps range ?

    for %%I in ("C:\Users\Administrator\Desktop\work\*.mp4") do ffmpeg.exe
    -y -i "%%I" -i white.png -i out1.ts -filter_complex "[1:v][0:v]scale2ref=iw/6:ih/18[logo][0v];[0v][logo]overlay=W-w-3:H-h-1,scale=hd720,setsar=1[vl];[2:v][2:a][vl][0:a][2:v][2:a]concat=n=3:v=1:a=1[v][a]"
    -map "[v]" -map "[a]" -r 20 -c:v libx264 -ar 48000 "C:\Users\Administrator\Desktop\Complete-videos\%%~nI.mp4"

    pause

    Thank you for your help.