
Recherche avancée
Autres articles (36)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
Other interesting software
13 avril 2011, parWe don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
We don’t know them, we didn’t try them, but you can take a peek.
Videopress
Website : http://videopress.com/
License : GNU/GPL v2
Source code : (...)
Sur d’autres sites (8368)
-
c# pipe using youtube-dl to ffmpeg
1er janvier 2017, par lilscarecrowI am trying to pipe the audio stream from youtube-dl into ffmpeg for a program using discord.NET. I am not sure exactly how to achieve this in c#, though. Currently, I can play ffmpeg with a url or path from this code on the docs for discord.NET :
var process = Process.Start(new ProcessStartInfo
{
FileName = "ffmpeg",
Arguments = $"-i {outLine.Data}" +
" -f s16le -ar 48000 -ac 2 pipe:1",
UseShellExecute = false,
RedirectStandardOutput = true
});
Thread.Sleep(2000);
int blockSize = 3840;
byte[] buffer = new byte[blockSize];
int byteCount;
while (!playing)
{
byteCount = process.StandardOutput.BaseStream
.Read(buffer, 0, blockSize);
if (byteCount == 0)
break;
_vClient.Send(buffer, 0, byteCount);
}
_vClient.Wait();So, I am trying to pipe the youtube-dl audio to this I assume. I just have no idea how to achieve piping in this format and for the file while it is downloading. Also, the program works on async if that helps.
-
Use ffmpeg to encode AUDIO+IMAGE into a VIDEO for YouTube
2 février 2016, par pabloszI need to generate a video containing a single image throughout the duration of the audio comming from an audio file. This video should be compatible with the parameters supported by YouTube.
I’m using ffmpeg.
I was trying various configurations explained right here and in other forums but not all have worked well.
I’m currently using these settings :
ffmpeg -i a.mp3 -loop 1 -i a.jpg -vcodec libx264 -preset slow -crf 20 -threads 0 -acodec copy -shortest a.mkv
Where a.mp3 containing audio, a.jpg contains the image and a.mkv is the name of the resulting video.
Using these parameters a.mkv works well on YouTube and can be played with Media Player Classic ; but KMPlayer only recognizes the audio, showing a blank image as background.
My questions are two :
1 - There is something wrong that causes KMPlayer to fail ?
2 - Is there any configuration that can deliver the video faster, of course losing some compression ?Muchas gracias !
-
YouTube Live not working with FFMPEG
29 septembre 2020, par Benedikt NeumayrEDIT : It already works. My new router seems to block rtmp traffic. I edited the firewall config and now it works !

I'm trying to stream to YouTube with ffmpeg with the following command :


ffmpeg -f alsa -ac 2 -i hw:0,0 -f v4l2 -s 1280x720 -r 10 -i /dev/video0 -vcodec libx264 -pix_fmt yuv420p -preset ultrafast -strict experimental -r 25 -g 20 -b:v 2500k -codec:a libmp3lame -ar 44100 -b:a 11025 -bufsize 512k -f flv rtmp://a.rtmp.youtube.com/live2/45ee-qka9-0djm-796z 




My ffmpeg version 2.8.11 on Linux Mint 18.2 then says :



Input #0, alsa, from 'hw:0,0':
 Duration: N/A, start: 1511081240.166016, bitrate: 1536 kb/s
 Stream #0:0: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s 
[video4linux2,v4l2 @ 0xacba60] The driver changed the time per frame from 1/10 to 2/15
Input #1, video4linux2,v4l2, from '/dev/video0':
 Duration: N/A, start: 5907.755626, bitrate: 110592 kb/s
 Stream #1:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 1280x720, 110592 kb/s, 7.50 fps, 7.50 tbr, 1000k tbn, 1000k tbc




After that it does nothing for about 3 minutes,then it finally returns the following error :



RTMP_Connect0, failed to connect socket. 110 (Connection timed out)
rtmp://a.rtmp.youtube.com/live2: Unknown error occurred




I used these instructions :