
Recherche avancée
Autres articles (62)
-
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
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.
Sur d’autres sites (10624)
-
FFmpeg youtube streaming crash
27 septembre 2020, par UkaszYTPolakI'm using vps with Ubuntu 18.04.1 LTS


And i want to create stream 24/7 on youtube.


Script :


#! /bin/bash
 
VBR="1500k"
FPS="29"
QUAL="ultrafast"
YOUTUBE_URL="rtmp://a.rtmp.youtube.com/live2"
YOUTUBE_KEY="xxxx-xxxx-xxxx-xxxx-xxxx"
VIDEO_SOURCE="undefajnd.mp4"
AUDIO_SOURCE="marynaura.mp3"
AUDIO_ENCODER="aac"
 
ffmpeg \
 -stream_loop -1 \
 -re \
 -r $FPS \
 -i "$VIDEO_SOURCE" \
 -thread_queue_size 512 \
 -i "$AUDIO_SOURCE" \
 -c:v libx264 -tune stillimage -pix_fmt yuv420p -preset $QUAL -r $FPS -g $(($FPS *2)) -b:v $VBR \
 -c:a $AUDIO_ENCODER -threads 6 -ar 44100 -b:a 128k -bufsize 512k -pix_fmt yuv420p \
 -f flv \
 -flvflags no_duration_filesize $YOUTUBE_URL/$YOUTUBE_KEY



Stream is in loop,but "Crash" on video end
Video - from terminal


sorry for my English D :


-
Streaming ffmpeg output directly to dispatcher
4 novembre 2020, par PP_HyperionI'm trying to play music with my discord bot and I want to use ffmpeg to specify the start of the music, which works perfectly fine, but I can only download the music with ffmpeg and then play it. I want ffmpeg to process it and then also stream it to play the music.



Here is the code I use to download and then play the music :



message.member.voiceChannel.join().then((con, err) => {
 ytPlay.search_video(op, (id) => {
 let stream = ytdl("https://www.youtube.com/watch?v=" + id, {
 filter: "audioonly"
 });
 let audio = fs.createWriteStream('opStream.divx');

 proc = new ffmpeg({
 source: stream
 })
 proc.withAudioCodec('libmp3lame')
 .toFormat('mp3')
 .seekInput(35)
 .output(audio)
 .run();
 proc.on('end', function() {
 let input = fs.createReadStream('opStream.divx');
 console.log('finished');
 guild.queue.push(id);
 guild.isPlaying = true;
 guild.dispatcher = con.playStream(input);
 });
 });
})




Is it possible to do what I want and if yes how ?


-
Streaming video over named PIPE with limited "channel" bandwidth
13 mars 2019, par fmagnoI have a video container
vid.mp4
that I want to play withffplay
through a named PIPE and be able to tweak the maximum bandwidth allowed by the "channel". Follows what I did :1.
Create a named PIPE :mkfifo pipe_in
2.
Send the container to the pipe with a limited bandwidth (150kB/s) with the help of pipe viewerpv
:cat vid.mp4 | pv -L 150k > pipe_in
3.
Play the video withffplay
:ffplay cache:./pipe_in
My expectation : To watch the video come through immediately but slowly given the bandwidth constraint.
What really happens : The video begins to show at normal speed only when command
2.
finishes running.Thank you in advance !