
Recherche avancée
Médias (91)
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Core Media Video
4 avril 2013, par
Mis à jour : Juin 2013
Langue : français
Type : Video
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
Autres articles (101)
-
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
-
Installation en mode standalone
4 février 2011, parL’installation de la distribution MediaSPIP se fait en plusieurs étapes : la récupération des fichiers nécessaires. À ce moment là deux méthodes sont possibles : en installant l’archive ZIP contenant l’ensemble de la distribution ; via SVN en récupérant les sources de chaque modules séparément ; la préconfiguration ; l’installation définitive ;
[mediaspip_zip]Installation de l’archive ZIP de MediaSPIP
Ce mode d’installation est la méthode la plus simple afin d’installer l’ensemble de la distribution (...)
Sur d’autres sites (12675)
-
pipe youtube-dl to ffmpeg within a script
28 février 2016, par user556068This is an expansion to an earlier question I asked which you can find here. I have been piping youtube-dl into a script via
youtube-dl -iga /path/to/myFile.txt | myscript.sh
which reads a text file of urls and extracts another set of urls to the actual video content being downloaded. Everything works great but there is much room for improvement.Instead of piping youtube-dl into the script I would like to include the youtube-dl command within the script itself. Here is the full script I have up to this point.
#!/bin/bash
inArgs='-i'
outArgs='-c copy -y'
dir="$HOME/Movies/fftest/"
outFile="fftest_${count}"
ext='.mp4'
#### not sure about following 2 lines
youtube-dl -iga /path/to/myFile.txt > /path/to/myFile2.txt
exec 0to/myFile2.txt
count=0
if [ ! -d "${dir}" ];
then
mkdir -p "${dir}"
fi
cd || "${HOME}"
while read lineIn
do
{
(( count ++ ))
echo ffmpeg $inArgs $lineIn $outArgs "$dir$outFile$count$ext" &
sleep 1
}
doneAfter playing around with it a little I added the following lines. Code has been edited to reflect these changes.
youtube-dl -iga /path/to/myFile.txt > /path/to/myFile2.txt
exec 0to/myFile2.txtThis does work but it’s also throwing up some new error from ffmpeg that I haven’t yet encountered until now. I test by placing echo before the ffmpeg command. Everything looks fine doing that so I’m not really sure what the issue is at this point.
So there are a couple things i would like to accomplish that I haven’t been able to figure out.
-
Have I properly redirected the input and do I need to do anything later in the script to put things back as they were before the script was called or will that occur naturally on its own when exiting the script ?
-
As it currently is, the script will overwrite any files previously created every time it is called. This is fine for testing purposes but not ideal beyond that. What I am looking for is a way to start writing the next file in the number sequence based on the last file in the directory. So if one time it creates 8 files named fftest_1.mpr - fftest_8.mp4 the second time when it is called to create 14 new files, it will know to start writing a file labeled fftest_9.mp4 - fftest_22.mp4. This is however beyond my abilities at the moment. Is there a way to do this ?
-
Another issue I’ve had is when trying kill the script as it runs in the background. Ctrl C doesn’t have any effect as far as I can tell. Is there an alternative kill command or key press I can use to ensure an immediate exit if necessary. Or a way to assign such within the script itself ?
-
Also any critiques, suggestions, alternatives or additions to any part of this script are very much welcomed and appreciated. This is all very new for me and I’m trying to learn more everyday. If any part of what I said didn’t make sense I will be happy to clarify.
-
-
re-stream rtsp stream to youtube [closed]
2 novembre 2024, par Darteri would like to re-stream an rtsp stream of a wifi camera to youtube
the stream is allready a H.264 codec.


The camera does not have any audio, but youtube needs audio to accept the stream, thats why i faked and audio stream.
I tried this


ffmpeg -re -rtsp_transport tcp -i rtsp://192.168.1.140/live -f lavfi -i anullsrc -f rawvideo rtmp://a.rtmp.youtube.com/live2/<stream key="key">
</stream>


but it fails


av_interleaved_write_frame(): Broken pipeB time=00:00:00.20 bitrate=884736.0kbits/s speed=0.0156x 
Error writing trailer of rtmp://a.rtmp.youtube.com/live2/dgyh-qzba-t13k-6qtf-6rgq: Broken pipe



i would like to not change the codec to not put any stress on the machine


-
How do I auto-start streamlink to capture YouTube live stream once the capture stopes in 6 hours with session expiration ? [closed]
13 janvier 2020, par AnomaI’m using Streamlink to capture a YouTube live stream. But as everyone knows, the capture ends in 6hrs with YouTube session expiration. As I’m new in scripting, could anyone please help me to overcome this issue ?
I’m looking for a script that can automatically start a new session with the same YouTube live stream after a given time or once the scrip detects the error : "Error when reading from stream : Read timeout, exiting" in 6 hours.
Thank you in advance.