
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 (39)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette 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. -
Ajouter notes et légendes aux images
7 février 2011, parPour 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 (...) -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...)
Sur d’autres sites (4753)
-
Download a part of youtube video using a powershell script
26 octobre 2024, par Nguyễn Đức MinhI'm writing this Powershell script :


$URL = "https://www.youtube.com/watch?v=KbuwueqEJL0"
$from = 00:06:15
$to = 00:09:17

$cmdOutput = (youtube-dl --get-url $URL) 

ffmpeg -ss $from -to $to -i -ss $from -to $to -i output.mkv



This script's purpose is to download a part of a Youtube video. I've set the variable $URL to specify the Youtube URL, while
$from
and$to
is the start and end time of the part I want to download.

$cmdOutput
is used to output the stream URL. The output would have two lines : the first one is the URL for the video stream, while the second one is the audio stream URL.

Currently, I don't know how to use the output as a variable and specify the line number of $cmdOutput to put it into the correct stream. I guess
and
would be replaced by something like
$cmdOutput[line 1]
, and$cmdOutput[line 2]
, though I know that those are incorrect.

I've consulted this answer, and it is handy for me to write this script. I've also read Boris Lipschitz's answer on how to do the same thing with Python, but his answer does not work.


In that script, the
-ss
flag inputs the seeking point, and the-t <duration></duration>
flag tells FFmpeg to stop encoding after the specified duration. For example, if the start time is 00:02:00 and the duration is 00:03:00, FFmpeg would download from 00:02:00 to 00:05:00, which is not the expected outcome. For some reason, his Python script skips the first 5 seconds of output, even if I replace the-t
flag with-to
. I've tried to edit his script, but it does not work unless you explicitly specify the time for both video and audio stream, as well as their respective stream URL.

-
FFmpeg restream RTSP with 3 sub-channels
6 mars 2024, par KyO Hoai BacI want to reproduce the RTSP stream by a video file, the stream will have 3 sub-channels like this via Ffmpeg, not need exactly the encoding and resolution :


- Stream #0:0: Video: h264 (Main)
- Stream #0:1: Audio: pcm_mulaw
- Stream #0:2: Data: none



I asked chat GPT and here is it suggestion :


ffmpeg -i input_video.mp4 -i input_audio.wav -f lavfi -t 1 -i anullsrc=r=44100:cl=stereo -filter_complex "[0:v][1:a][2:a]concat=n=3:v=1:a=1[v][a]" -map "[v]" -map "[a]" -rtsp_transport tcp -threads 0 -muxdelay 0.1 rtsp://localhost:8554/stream


I tried but it fail :


Stream specifier ':a' in filtergraph description [0:v][1:a][2:a]concat=n=3:v=1:a=1[v][a] matches no streams.


-
Can you stream multiple video clips to youtube or twitch with a separate audio track with a different length than the video clips with FFMPEG ?
8 juin 2020, par Fight Fire With FireWhat I'd like to do is stream a set of video clips to youtube or twitch using FFMPEG. Right now i loop thru the videos file names in a list called DIRECTORY. video[0] is the file name and send to stream_url with the audio for the video attached.



What i would love to figure out, is there a way I could mux in a single audio track streaming to youtube/twitch but switch the video clips out live. Here is the code I am working with right now :




 for video in directory:
 command = [
 "ffmpeg" , "-re" , "-i" , video[0] ,
 "-vcodec" , "libx264", "-pix_fmt", "yuv420p",
 "-preset" , "medium" , "-r" , "30" , "-g" , "48" , "-b:v" , "2500k" ,
 "-acodec" , "libmp3lame" , "-ar" , "44100", "-threads" , "6" ,
 "-q:a" , "3" , "-b:a" , "712000" ,"-bufsize", "512k" , "-f" ,
 "flv" , STREAM_URL,
 ]
 subprocess.run(command)