
Recherche avancée
Autres articles (28)
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...)
Sur d’autres sites (4424)
-
How to broadcast a livestream from YouTube to Telegram using vlc from the command-line ?
22 février 2024, par shackraI want to re-transmit a live stream from YouTube (with
streamlink
) and broadcast it on a Telegram channel using VLC on the command-line. I think VLC is my best option for getting data from the source and sending it to the new destination.

The thing is, I don't know how to configure the output correctly for the Telegram channel, nor how to put the transmission key.


I was reading this answer https://stackoverflow.com/a/40461349/2020214 and using it as a guide unsuccessfully (Telegram does not detect any livestream)


-
Stream to youtube from xvfb using ffmpeg and x11grab
13 décembre 2017, par Ivan SergeevI want to make stream from virtual display to youtube via ffmpeg.
I’m using this code :#! /bin/bash
BITRATE="2500k"
FPS="30"
YOUTUBE_URL="rtmp://a.rtmp.youtube.com/live2"
YOUTUBE_KEY="..."
SOURCE="./test.mp4"
export DISPLAY=44
sudo xvfb-run -a -n 44 -l -s "-screen 0, 1280x720x24" google-chrome -start-maximized https://upload.wikimedia.org/wikipedia/commons/2/2c/Rotating_earth_%28large%29.gif --no-sandbox >/dev/null &
ffmpeg -threads 0 -y -v verbose -re \
-f x11grab -video_size 1280x720 -i :44 \
-vcodec libx264 -pix_fmt yuv420p -preset ultrafast -r $FPS -g $(($FPS * 2)) -b:v $BITRATE -bufsize 512k \
-acodec libmp3lame -ar 44100 -threads 0 -crf 25 -b:a 712000 -bufsize 512k \
-f flv "$YOUTUBE_URL/$YOUTUBE_KEY"And I don’t receive any errors, but youtube cannot start stream(
In my log :
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
Press [q] to stop, [?] for help
frame= 4 fps=0.0 q=17.0 size= 72kB time=00:00:00.50 bitrate=1186.9kbits/s
frame= 6 fps=5.9 q=17.0 size= 106kB time=00:00:00.93 bitrate= 931.2kbits
frame= 8 fps=5.3 q=17.0 size= 141kB time=00:00:01.36 bitrate= 846.4kbits/s
frame= 11 fps=5.4 q=16.0 size= 188kB time=00:00:02.00 bitrate= 771.9kbits/s
frame= 13 fps=5.2 q=15.0 size= 217kB time=00:00:02.43 bitrate= 730.5kbits/s
frame= 15 fps=5.0 q=14.0 size= 241kB time=00:00:02.86 bitrate= 687.2kbits/s
frame= 18 fps=5.1 q=14.0 size= 270kB time=00:00:03.53 bitrate= 625.2kbits/s
frame= 20 fps=4.9 q=15.0 size= 294kB time=00:00:03.96 bitrate= 608.3kbits/setc.
However, if I do stream from file, but not x11grab stream is starting normal.
What I’m doing wrong ?
Any ideas, guys, please) -
ffmpeg and Youtube upload - can't merge existing audio track with external one
9 avril 2012, par Aleksy GoroszkoI am realizing campaign, where idea is that users are creating TV ad. The process looks as following :
- User watches ad (youtube video)
- User selects video (mp4 file played in Flash Player)
- User records his own voice using webcam/mic for the selected video
- User's voice is uploaded to server
- User's voice is merged with selected video (video+music) and saved as mp4 file
- User's video is uploaded to youtube
When realizing audio-video merging I found some suprises :
When I was using command
ffmpeg -i sourceVideoFile.mp4 -i sourceAudioFile.mp3 -acodec copy -vcodec copy outputFile.mp4 - video's music was replaced by user's voice.
So I used option -newaudio :
ffmpeg -i sourceVideoFile.mp4 -i sourceAudioFile.mp3 -acodec copy -vcodec copy outputFile.mp4 -newaudio - I can hear that output video has both music and user's voice. So - that's what I wanted to reach. But...
The surprize is that if I upload this video to Youtube, after it's processing I can watch it and hear only music. User's voice disappears !
So, how to keep both voice and music ?
Any idea, gurus ? :)