Recherche avancée

Médias (91)

Autres articles (22)

  • Les formats acceptés

    28 janvier 2010, par

    Les 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 (...)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (4153)

  • ffmpeg muxing overhead converting avi to mp4

    8 avril 2017, par Slightz

    I have been trying to convert Avi to mp4 and Mkv to mp4. About half way the conversion stops and I get this error message.

    frame=39363 fps=133 q=-1.0 Lsize=   89951kB time=00:21:52.06 bitrate= 561.6kbits/s dup=7907 drop=0 speed=4.44x    
    video:67736kB audio:20837kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.556231%
    [libx264 @ 0x4607020] frame I:392   Avg QP:20.71  size: 34889
    [libx264 @ 0x4607020] frame P:12191 Avg QP:20.84  size:  3857
    [libx264 @ 0x4607020] frame B:26780 Avg QP:22.63  size:   324
    [libx264 @ 0x4607020] consecutive B-frames:  2.7% 15.5% 12.8% 69.0%
    [libx264 @ 0x4607020] mb I  I16..4: 23.7% 36.4% 39.9%
    [libx264 @ 0x4607020] mb P  I16..4:  1.5%  2.2%  0.9%  P16..4: 30.4%  4.7%  4.7%  0.0%  0.0%    skip:55.5%
    [libx264 @ 0x4607020] mb B  I16..4:  0.0%  0.1%  0.1%  B16..8: 11.9%  0.6%  0.2%  direct: 0.6%  skip:86.6%  L0:31.1% L1:67.6% BI: 1.2%
    [libx264 @ 0x4607020] 8x8 transform intra:43.0% inter:46.1%
    [libx264 @ 0x4607020] direct mvs  spatial:99.9% temporal:0.1%
    [libx264 @ 0x4607020] coded y,uvDC,uvAC intra: 37.6% 66.1% 49.3% inter: 3.0% 8.5% 2.6%
    [libx264 @ 0x4607020] i16 v,h,dc,p: 69% 17% 12%  2%
    [libx264 @ 0x4607020] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15% 12% 44%  5%  5%  4%  5%  4%  6%
    [libx264 @ 0x4607020] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 16% 14%  7%  8%  7%  8%  7%  8%
    [libx264 @ 0x4607020] i8c dc,h,v,p: 43% 28% 23%  6%
    [libx264 @ 0x4607020] Weighted P-Frames: Y:0.2% UV:0.2%
    [libx264 @ 0x4607020] ref P L0: 73.2%  3.9% 13.1%  4.9%  4.7%  0.1%  0.0%
    [libx264 @ 0x4607020] ref B L0: 84.5%  9.6%  4.6%  1.3%
    [libx264 @ 0x4607020] ref B L1: 96.6%  3.4%
    [libx264 @ 0x4607020] kb/s:422.90
    [aac @ 0x460ab80] Qavg: 1245.471

    I have tried different commands I’ve found on google but no luck.

    ffmpeg -i american.dad.s01e01.dvdrip.xvid.repack-omicron.avi -r 30 -vcodec libx264 -vf scale=-1:480 -b:v 500k -bufsize 500K -bt 1600k -threads 0 -profile high -preset slow -acodec aac -ac 2 -ar 44100 -ab 128k converting/out2.mp4

    ffmpeg -i american.dad.s01e01.dvdrip.xvid.repack-omicron.avi -acodec aac -b:a 128k -vcodec libx264 -vf scale=-1:480 -threads 0 -profile high -preset slow -b:v 500k -bufsize 1000k -maxrate 500k -f mp4 converting/out1.mp4

    ffmpeg -re -i american.dad.s01e01.dvdrip.xvid.repack-omicron.avi -r 30 -isync -ac 2 -acodec aac -strict -2 -b:a 80k -ar 22050 -vcodec libx264 -vf scale=-1:480 -crf 18 -profile high -preset slow -b:v 500K -bufsize 500K -maxrate 500K -f mp4 converting/out3.mp4
  • ffmpeg droping session when there is no input , need to wait for an input

    25 mars 2019, par Hovo

    I am trying to live stream to facebook from an application, which is writing frames into image sequence of XXX_Frame.jpg inside a folder.

    I am using a ffmpeg with these commands

    ffmpeg -y -r 15 -f image2 -start_number 0 -i "%0d_Frame.jpg" -i "test.mp3" -muxdelay 1 -preset slow -flush_packets 1 -ar 44100 -b:a 128k -profile:v baseline -acodec aac -vf scale=1280x720 -vcodec libx264 -crf 15 -r 50 -pix_fmt yuvj420p -minrate 50k -maxrate 150k -bufsize 8192k -g 1 -b:v 1200 -f flv "rtmp ://live-api-s.facebook.com:80/rtmp/xxxxxx"

    It is starting to stream faster than 15 frames per second and whenever it finishes up streaming of the available frames it is killing the process and returning error.
    It would be perfect if it was possible to slow down the mux’s read from the input to frame rate speed.

    [flv @ 000001f34347cf00] Failed to update header with correct duration.
    [flv @ 000001f34347cf00] Failed to update header with correct filesize.
    Error writing trailer of rtmp ://live-api-s.facebook.com:80/rtmp/xxxxxx : Error number -10053 occurred

    Any help would be appreciated.

    Expected result is to stream continuously without losing the connection , even sending the last available image continuously.

  • Get rtsp udp streaming with ffmpeg utility failed

    16 février 2021, par Lidor Abo

    Hey there,
I have a problem with get streaming from wowza stream engine as described below :
I try to get streaming in private network from wowza stream engine in UDP with ffmpeg as following :
ffmpeg -loglevel debug -rtsp_transport udp -i "rtsp ://192.168.8.117:1935/live/ecad838c-b431-4c8b-b2e8-d43f78a8d2f2.stream" -acodec copy -vcodec copy test.mp4
and i get the following error :
rtsp ://192.168.8.117:1935/live/ecad838c-b431-4c8b-b2e8-d43f78a8d2f2.stream : Connection timed out
Few remarks about that :

    


      

    1. When i try to get streaming using public ip with ffmpeg utility i success in UDP and TCP
    2. 


    3. I success to get streaming with private IP with TCP connection through ffmpeg utility as following :
ffmpeg -loglevel debug -rtsp_transport tcp -i "rtsp ://192.168.8.117:1935/live/ecad838c-b431-4c8b-b2e8-d43f78a8d2f2.stream" -acodec copy -vcodec copy test.mp4
    4. 


    5. I open 1935 UDP and TCP ports in security group of wowza stream engine for machines that will need to get streaming from wowza stream engine. Also, i opened UDP in 6970-9999 range for any ip address.
    6. 


    7. I added relevant IP address in Whitelist property in Server.xml conf in wowza stream engine.
    8. 


    9. I using vpn service (perimeter) to access the machine that from it i get streaming from wowza streaming engine.
    10. 


    11. iptables in machine that i try to get stream allow any rule and not enabled any firewall.
Note : i adding link to zip file with logs and config files because is not me your upload limitations :
    12.