
Recherche avancée
Médias (91)
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#1 The Wires
11 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
ED-ME-5 1-DVD
11 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (23)
-
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
Problèmes fréquents
10 mars 2010, parPHP et safe_mode activé
Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site -
Liste des distributions compatibles
26 avril 2011, parLe tableau ci-dessous correspond à la liste des distributions Linux compatible avec le script d’installation automatique de MediaSPIP. Nom de la distributionNom de la versionNuméro de version Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
Si vous souhaitez nous aider à améliorer cette liste, vous pouvez nous fournir un accès à une machine dont la distribution n’est pas citée ci-dessus ou nous envoyer le (...)
Sur d’autres sites (3096)
-
FFMPEG gets stuck on higher resolution or frame rate [H265]
29 octobre 2015, par AnakooterI am running the following command which works perfectly on my system running Elementary OS on Intel Corei5 :
ffmpeg -f v4l2 -i /dev/video0 -c:v libx265 -x265-params crf=14:vbv-maxrate=128:vbv-bufsize=32:keyint=10:qcomp=0.5:rd=5:ctu=64:min-cu-size=8:cu-lossless=false:fast-intra=false:strong-intra-smoothing=false -tune zerolatency -s 640x480 -preset ultrafast -r 5 -pix_fmt yuv420p -an -strict experimental -f mpegts udp://239.0.0.1:5002
but if I change the output size to 800x600 and or increase the frame rate from 5 to 10. After a few seconds the video gets stuck.
I have monitored the CPU usage for both the commands and it is almost identical that is between 300 to 400 percent ( since 4 cores ).
Any possible answers to mitigate the issue.
ffmpeg version 2.7.2-static http://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.9.3 (Debian 4.9.3-1)
configuration: --enable-gpl --enable-version3 --disable-shared --disable-debug --enable-runtime-cpudetect --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libwebp --enable-libspeex --enable-libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-gray --enable-libopenjpeg --enable-libopus --enable-libass --enable-gnutls --enable-libvidstab --enable-libsoxr --cc=gcc-4.9
libavutil 54. 27.100 / 54. 27.100
libavcodec 56. 41.100 / 56. 41.100
libavformat 56. 36.100 / 56. 36.100
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 16.101 / 5. 16.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.100 / 1. 2.100
libpostproc 53. 3.100 / 53. 3.100
Routing option strict to both codec and muxer layer
[video4linux2,v4l2 @ 0x4775460] fd:4 capabilities:84000001
Input #0, video4linux2,v4l2, from '/dev/video0':
Duration: N/A, start: 1223.904801, bitrate: 36864 kb/s
Stream #0:0: Video: rawvideo, 1 reference frame (YUY2 / 0x32595559), yuyv422, 320x240, 36864 kb/s, 30 fps, 30 tbr, 1000k tbn, 1000k tbc
[graph 0 input from stream 0:0 @ 0x476aae0] w:320 h:240 pixfmt:yuyv422 tb:1/1000000 fr:30/1 sar:0/1 sws_param:flags=2
[scaler for output stream 0:0 @ 0x476a920] w:800 h:600 flags:'0x4' interl:0
[scaler for output stream 0:0 @ 0x476a920] w:320 h:240 fmt:yuyv422 sar:0/1 -> w:800 h:600 fmt:yuv420p sar:0/1 flags:0x4
x265 [info]: HEVC encoder version 1.7+354-b2ba7df1fc69
x265 [info]: build info [Linux][GCC 4.9.3][64 bit] 8bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x265 [info]: Main profile, Level-3 (Main tier)
x265 [info]: Thread pool created using 4 threads
x265 [info]: frame threads / pool features : 2 / wpp(10 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge : dia / 57 / 0 / 2
x265 [info]: Keyframe min / max / scenecut : 1 / 10 / 0
x265 [info]: Lookahead / bframes / badapt : 0 / 0 / 0
x265 [info]: b-pyramid / weightp / weightb : 0 / 0 / 0
x265 [info]: References / ref-limit cu / depth : 1 / 0 / 0
x265 [info]: Rate Control / qCompress : CRF-14.0 / 0.50
x265 [info]: VBV/HRD buffer / max-rate / init : 32 / 64 / 0.900
x265 [info]: tools: rd=5 psy-rd=0.30 early-skip tmvp deblock
[mpegts @ 0x4776b00] muxrate VBR, pcr every 1 pkts, sdt every 200, pat/pmt every 40 pkts
Output #0, mpegts, to 'udp://239.0.0.1:5002':
Metadata:
encoder : Lavf56.36.100
Stream #0:0: Video: hevc (libx265), 1 reference frame, yuv420p, 800x600, q=2-31, 10 fps, 90k tbn, 10 tbc
Metadata:
encoder : Lavc56.41.100 libx265
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> hevc (libx265))
Press [q] to stop, [?] for help
*** dropping frame 2 from stream 0 at ts 0
*** dropping frame 3 from stream 0 at ts 1
Last message repeated 2 times
*** dropping frame 4 from stream 0 at ts 2
Last message repeated 1 times
*** dropping frame 5 from stream 0 at ts 3
Last message repeated 1 times
*** dropping frame 5 from stream 0 at ts 4
*** dropping frame 6 from stream 0 at ts 4time=00:00:00.40 bitrate= 131.6kbits/s dup=0 drop=9
Last message repeated 1 times
*** dropping frame 7 from stream 0 at ts 5
Last message repeated 1 times
*** dropping frame 8 from stream 0 at ts 6
Last message repeated 2 times
*** dropping frame 12 from stream 0 at ts 11me=00:00:00.90 bitrate= 112.0kbits/s dup=0 drop=16
*** dropping frame 13 from stream 0 at ts 11
Last message repeated 1 times
*** dropping frame 14 from stream 0 at ts 12
Last message repeated 1 times
*** dropping frame 15 from stream 0 at ts 13
Last message repeated 2 times
*** dropping frame 16 from stream 0 at ts 14me=00:00:01.40 bitrate= 103.1kbits/s dup=0 drop=24
Last message repeated 1 times
*** dropping frame 17 from stream 0 at ts 15
Last message repeated 1 times
*** dropping frame 17 from stream 0 at ts 16
*** dropping frame 18 from stream 0 at ts 16
Last message repeated 1 times
*** dropping frame 19 from stream 0 at ts 17
Last message repeated 1 times
*** dropping frame 20 from stream 0 at ts 18
Last message repeated 1 times
*** dropping frame 20 from stream 0 at ts 19
*** dropping frame 21 from stream 0 at ts 19me=00:00:01.90 bitrate= 95.0kbits/s dup=0 drop=36
Last message repeated 1 times
*** dropping frame 22 from stream 0 at ts 20
Last message repeated 1 times
*** dropping frame 23 from stream 0 at ts 21
Last message repeated 2 times
*** dropping frame 24 from stream 0 at ts 22
Last message repeated 1 times
*** dropping frame 25 from stream 0 at ts 23
Last message repeated 1 times
*** dropping frame 25 from stream 0 at ts 24
*** dropping frame 26 from stream 0 at ts 24
Last message repeated 1 times
*** dropping frame 27 from stream 0 at ts 25
Last message repeated 1 times
*** dropping frame 28 from stream 0 at ts 26me=00:00:02.60 bitrate= 92.0kbits/s dup=0 drop=52
Last message repeated 2 times
*** dropping frame 29 from stream 0 at ts 27
Last message repeated 1 times
*** dropping frame 30 from stream 0 at ts 28
Last message repeated 1 times
*** dropping frame 30 from stream 0 at ts 29
*** dropping frame 31 from stream 0 at ts 29
Last message repeated 1 times
*** 1 dup!
*** dropping frame 35 from stream 0 at ts 33me=00:00:03.30 bitrate= 96.2kbits/s dup=1 drop=62
Last message repeated 1 times
*** dropping frame 36 from stream 0 at ts 34
Last message repeated 1 times
*** dropping frame 37 from stream 0 at ts 35
Last message repeated 1 times
*** dropping frame 37 from stream 0 at ts 36
*** dropping frame 38 from stream 0 at ts 36
Last message repeated 1 times
*** dropping frame 39 from stream 0 at ts 37
Last message repeated 1 times
*** dropping frame 40 from stream 0 at ts 38
Last message repeated 1 times
*** dropping frame 40 from stream 0 at ts 39
*** dropping frame 41 from stream 0 at ts 39
Last message repeated 1 times
*** dropping frame 42 from stream 0 at ts 40me=00:00:04.00 bitrate= 89.1kbits/s dup=1 drop=78
Last message repeated 1 times
*** dropping frame 43 from stream 0 at ts 41
Last message repeated 2 times
*** dropping frame 44 from stream 0 at ts 42
Last message repeated 1 times
*** dropping frame 45 from stream 0 at ts 43
Last message repeated 1 times
*** dropping frame 45 from stream 0 at ts 44
*** dropping frame 46 from stream 0 at ts 44me=00:00:04.40 bitrate= 93.3kbits/s dup=1 drop=88
Last message repeated 1 times
*** dropping frame 47 from stream 0 at ts 45
Last message repeated 1 times
*** dropping frame 48 from stream 0 at ts 46
Last message repeated 2 times
*** dropping frame 49 from stream 0 at ts 47
Last message repeated 1 times
*** dropping frame 50 from stream 0 at ts 48me=00:00:04.80 bitrate= 91.8kbits/s dup=1 drop=97
Last message repeated 1 times
*** dropping frame 50 from stream 0 at ts 49
*** dropping frame 51 from stream 0 at ts 49
Last message repeated 1 times
*** dropping frame 55 from stream 0 at ts 53me=00:00:05.30 bitrate= 91.7kbits/s dup=1 drop=102
*** dropping frame 56 from stream 0 at ts 54
Last message repeated 1 times
*** dropping frame 57 from stream 0 at ts 55
Last message repeated 1 times
*** dropping frame 57 from stream 0 at ts 56
*** dropping frame 58 from stream 0 at ts 56me=00:00:05.60 bitrate= 91.9kbits/s dup=1 drop=108
Last message repeated 1 times
*** dropping frame 59 from stream 0 at ts 57
Last message repeated 1 times
*** 18 dup!
*** 2 dup!
*** 555 dup!fps= 10 q=0.0 size= 86kB time=00:00:08.00 bitrate= 88.4kbits/s dup=21 drop=112
x265 [warning]: poc:131, VBV underflow (-6152 bits)
x265 [warning]: poc:151, VBV underflow (-17080 bits)
x265 [warning]: poc:211, VBV underflow (-10272 bits)
x265 [warning]: poc:301, VBV underflow (-9024 bits)
x265 [warning]: poc:391, VBV underflow (-11368 bits)
x265 [warning]: poc:501, VBV underflow (-6152 bits)
x265 [warning]: poc:559, VBV underflow (-320 bits)
x265 [warning]: poc:581, VBV underflow (-16552 bits)
*** dropping frame 639 from stream 0 at ts 344=00:01:03.70 bitrate= 81.3kbits/s dup=576 drop=112
Last message repeated 2 times
*** dropping frame 639 from stream 0 at ts 345
Last message repeated 3 times
*** dropping frame 639 from stream 0 at ts 346
Last message repeated 1 times
*** 70055 dup! -
ffmpeg downloading parts of Youtube videos but for some of them they have a black screen for a few seconds
29 septembre 2021, par user14702793So im using ffmpeg to download some youtube videos with specific start and stop times. My code looks like
os.system("ffmpeg -i $(youtube-dl --no-check-certificate -f 18 --get-url %s) -ss %s -to %s -c:v copy -c:a copy %s"% (l, y, z, w))
where the variables would all be the name of the file, the url, and the start and stop times. Some of the vidoes come out just fine, others have a black screen and only a portion of the video, and a very few amount have just audio files. My time is formated as x.y where x would be the seconds and y would be the milliseconds. Is this the issue so I need to transform it to 00:00:00.0 format ? Any help is appreciated

-
FFmpeg output stopping early when piping through stdin
6 juillet 2022, par Null UserI am receiving audio data encoded using Ogg Vorbis through a stream, and piping that data to FFmpeg's stdin in order to convert it into Opus. Here is the command I'm using :


ffmpeg -hide_banner -i pipe: -acodec libopus -f opus -ar 48000 -ac 2 -b:a 64000 -filter_complex volume=0.2 pipe:1



Unfortunately, the output audio stops a few seconds before the end of the file.


Looking at the FFmpeg logs, I can see this warning appear many times during the conversion :


[libopus @ 0000025190d06a00] Queue input is backward in time
 Last message repeated 9 times
size= 728kB time=00:00:45.05 bitrate= 132.4kbits/s speed=1.26x 
[libopus @ 0000025190d06a00] Queue input is backward in time
 Last message repeated 11 times
size= 793kB time=00:00:49.07 bitrate= 132.4kbits/s speed=1.24x 
[libopus @ 0000025190d06a00] Queue input is backward in time
 Last message repeated 8 times



My guess is that for some reason the inputs I'm receiving are reversed, and on the last chunk of data the "end of stream" vorbis packet comes first, therefore FFmpeg stops processing the rest of the data.


Saving the stream to a file and encoding the file instead of the stream doesn't cause this to happen. This seems to be exclusive to stdin streams.


Is there a way to tell FFmpeg to ignore the "end of stream" signal ?