
Recherche avancée
Médias (91)
-
Géodiversité
9 septembre 2011, par ,
Mis à jour : Août 2018
Langue : français
Type : Texte
-
USGS Real-time Earthquakes
8 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
SWFUpload Process
6 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
-
Podcasting Legal guide
16 mai 2011, par
Mis à jour : Mai 2011
Langue : English
Type : Texte
-
Creativecommons informational flyer
16 mai 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (88)
-
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, 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 (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)
Sur d’autres sites (11196)
-
Youtube stream of looping JPG stops randomly
6 juillet 2021, par timw99Hi I'm fairly new at ffmpeg.


I'm currently trying to get a low FPS Youtube stream working over RTMP using a JPG on loop which content gets changed using a NodeJS script periodically. I'm using the following command to stream (variable 3 is my stream key) :


ffmpeg -re -loop 1 -pix_fmt bgr24 -framerate 5 -i img/now.jpg -re -stream_loop -1 -i output.mp3 -f flv -vcodec libx264 -profile:v main -g 60 -keyint_min 30 -b:v 400k -minrate 400k -maxrate 400k -preset ultrafast -tune zerolatency -bufsize 2000k rtmp://a.rtmp.youtube.com/live2/$3



There's multiple things wrong here. The bitrate doesn't actually stay at 400k/s. It just goes to around 200-1000k and then just starts decreasing until the stream stops (usually at around 200-300k bitrate). It still seems like data is being sent (bitrate and current FPS are still updated (though they're very low) and speed goes parabolic. The frame counter itself just stops and Youtube doesn't continue streaming. See example :


frame= 515 fps=5.0 q=12.0 size= 5803kB time=00:01:42.84 bitrate= 462.3kbits/
frame= 518 fps=5.0 q=11.0 size= 5824kB time=00:01:43.41 bitrate= 461.3kbits/
frame= 519 fps=5.0 q=11.0 size= 5838kB time=00:01:43.92 bitrate= 460.2kbits/
frame= 519 fps=5.0 q=11.0 size= 5838kB time=00:01:44.42 bitrate= 457.9kbits/
frame= 519 fps=4.9 q=11.0 size= 5838kB time=00:01:44.92 bitrate= 455.8kbits/
frame= 519 fps=4.9 q=11.0 size= 5838kB time=00:01:45.43 bitrate= 453.6kbits/
frame= 519 fps=4.9 q=11.0 size= 5838kB time=00:01:45.93 bitrate= 451.4kbits/
frame= 519 fps=4.9 q=11.0 size= 5838kB time=00:01:46.44 bitrate= 449.3kbits/
frame= 519 fps=4.8 q=11.0 size= 5838kB time=00:01:46.94 bitrate= 447.2kbits/
frame= 519 fps=4.8 q=11.0 size= 5838kB time=00:01:47.44 bitrate= 445.1kbits/
frame= 519 fps=4.8 q=11.0 size= 5838kB time=00:01:47.95 bitrate= 443.0kbits/
frame= 519 fps=4.8 q=11.0 size= 5838kB time=00:01:48.45 bitrate= 440.9kbits/
frame= 519 fps=4.8 q=11.0 size= 5838kB time=00:01:48.96 bitrate= 438.9kbits/
frame= 519 fps=4.7 q=11.0 size= 5838kB time=00:01:49.46 bitrate= 436.9kbits/
frame= 519 fps=4.7 q=11.0 size= 5838kB time=00:01:49.96 bitrate= 434.9kbits/
frame= 519 fps=4.7 q=11.0 size= 5838kB time=00:01:50.44 bitrate= 433.0kbits/
frame= 519 fps=4.7 q=11.0 size= 5838kB time=00:01:50.95 bitrate= 431.0kbits/
frame= 519 fps=4.7 q=11.0 size= 5838kB time=00:01:51.45 bitrate= 429.1kbits/
frame= 519 fps=4.6 q=11.0 size= 5838kB time=00:01:51.96 bitrate= 427.1kbits/
frame= 519 fps=4.6 q=11.0 size= 5838kB time=00:01:52.46 bitrate= 425.2kbits/
frame= 519 fps=4.6 q=11.0 size= 5838kB time=00:01:52.99 bitrate= 423.2kbits/



I'm using a Digital Ocean VPS to run it, but the same happens on my own desktop which definitely has the hardware for a simple stream like this. Could it have something to do with me replacing the JPG content while trying to stream it ? I get this error every once in a while, but it seems like it fixes itself judging by the info :


[mjpeg @ 0x562824d1fb40] overread 8
[mjpeg @ 0x562824d1fb40] EOI missing, emulating



I can provide more information if it's needed. Thanks in advance.


-
rtsp to youtube streaming not working in windows
22 juillet 2020, par Martin Haryokoffmpeg run in windows, i use this code for streaming RTSP to youtube streaming :


ffmpeg -f lavfi -t 12:00:00 -rtsp_transport tcp -i rtsp://admin:martin123@103.76.204.2:554/Streaming/Channels/101 -tune zerolatency -g 2 -c:v copy -t 12:00:00 -c:a aac -strict experimental -f flv rtmp://a.rtmp.youtube.com/live2/zgzx-7sff-32xz-bbup-a25c



but i got this error :


C:\inetpub\wwwroot\ffmpeg\ffmpeg\bin>ffmpeg -f lavfi -t 12:00:00 -rtsp_transport tcp -i rtsp://admin:martin123@103.76.204.xxx:554/Streaming/Channels/101 -tune zerolatency -g 2 -c:v copy -t 12:00:00 -c:a aac -strict experimental -f flv rtmp://a.rtmp.youtube.com/live2/zgzx-7sff-32xz-bbup-a25c
ffmpeg version git-2020-07-20-43a08d9 Copyright (c) 2000-2020 the FFmpeg developers
 built with gcc 9.3.1 (GCC) 20200621
 configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libgsm --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
 libavutil 56. 55.100 / 56. 55.100
 libavcodec 58. 96.100 / 58. 96.100
 libavformat 58. 48.100 / 58. 48.100
 libavdevice 58. 11.101 / 58. 11.101
 libavfilter 7. 87.100 / 7. 87.100
 libswscale 5. 8.100 / 5. 8.100
 libswresample 3. 8.100 / 3. 8.100
 libpostproc 55. 8.100 / 55. 8.100
[lavfi @ 000001a7dc40e380] No such filter: 'rtsp://admin:martinxxx'
rtsp://admin:martin123@103.76.204.xxx:554/Streaming/Channels/101: Invalid argument



can u help me ?


-
Set the filename downloaded via youtube-dl to a variable [closed]
22 septembre 2020, par Jim JamilThis is the current script, it's a Windows batch file that prompts for a Youtube url and then downloads the best audio in m4a. It's basically cobbled together and uses aria2 to manage the download.


@echo off
SETLOCAL ENABLEDELAYEDEXPANSION
(set /p var1="Url? " && youtube-dl -f bestaudio[ext=m4a] --external-downloader aria2c --external-downloader-args "-j 16 -s 16 -x 16 -k 5M" --restrict-filenames -o "%%(title)s.%%(ext)s" --add-metadata --embed-thumbnail !Var1!)
ENDLOCAL
pause



After asking for the url, I want to also prompt the user to input the start and end times to trim the audio, which would be done by ffmpeg post download.


Something like :


ffmpeg -i file.m4a -ss 00:00:20 -to 00:00:40 -c copy file-2.m4a



Based on this : https://unix.stackexchange.com/questions/182602/trim-audio-file-using-start-and-stop-times/302469#302469


The beginning and end times would need to be variables set by user input in
00:00:00
format, but not sure how to add the ffmpeg post-processing at the end or how it would all fit together. I want to add this trimming feature to remove some of the preamble on podcasts and get straight to the guest part of the show.

The
--embed-thumbnail
is optional, and won't work anyway unless Atomic Parsley is present. FFmpeg often has trouble with Album Art anyway so I usually just use-vn
on the final output file.