
Advanced search
Medias (91)
-
Géodiversité
9 September 2011, by ,
Updated: August 2018
Language: français
Type: Text
-
USGS Real-time Earthquakes
8 September 2011, by
Updated: September 2011
Language: français
Type: Text
-
SWFUpload Process
6 September 2011, by
Updated: September 2011
Language: français
Type: Text
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 May 2011
Updated: July 2013
Language: français
Type: Text
-
Podcasting Legal guide
16 May 2011, by
Updated: May 2011
Language: English
Type: Text
-
Creativecommons informational flyer
16 May 2011, by
Updated: July 2013
Language: English
Type: Text
Other articles (76)
-
MediaSPIP version 0.1 Beta
16 April 2011, byMediaSPIP 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 September 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 June 2013, byExplications 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 profit de (...)
On other websites (8120)
-
Stream to youtube from xvfb using ffmpeg and x11grab
13 December 2017, by 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 April 2012, by 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? :)
-
How to stream 24/7 on youtube (audio + video) with FFMPEG
29 September 2023, by Carter510I plan to create a 24/7 stream with a video and a musical background which is located in a
/Playlist
folder.
I would like the music playlist to be played randomly and if a piece of music is corrupted or cannot be played, the program moves on to the next one.

The problem is that with my command every time the music changes the stream stops.
Any suggestions ?


#!/bin/bash

VBR="4500k"
FPS="30"
QUAL="superfast"

YOUTUBE_URL="rtmp://a.rtmp.youtube.com/live2"
KEY="XXXX-XXXX-XXXX-XXXX"

VIDEO_SOURCE="fireplace.mkv"
AUDIO_FOLDER="/home/administrateur/Documents/Youtube/Playlist"

while true; do
 # Joue la vidéo en boucle
 ffmpeg -re -stream_loop -1 -i "$VIDEO_SOURCE" \
 -thread_queue_size 512 -i "$(find "$AUDIO_FOLDER" -type f -name "*.mp3" | shuf -n 1)" \
 -map 0:v:0 -map 1:a:0 \
 -map_metadata:g 1:g \
 -vcodec libx264 -pix_fmt yuv420p -preset $QUAL -r $FPS -g $(($FPS * 2)) -b:v $VBR \
 -acodec libmp3lame -ar 44100 -threads 6 -qscale:v 3 -b:a 320000 -bufsize 512k \
 -f flv "$YOUTUBE_URL/$KEY"
done



I would like the
fireplace.mkv
video to play without interruption, for the music to be chosen randomly without ever stopping. And if one of the songs cannot be played, it is skipped.