
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (72)
-
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. -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (7928)
-
How to get output from ffmpeg process in c#
13 juillet 2018, par Anirudha GuptaIn the code I written in WPF, I run some filter in FFmpeg, If I run the command in terminal (PowerShell or cmd prompt) It will give me information line by line what’s going on.
I am calling the process from C# code and it’s work fine. The problem I have with my code is actually I am not able to get any output from the process I run.
I have tried some answers from StackOverflow for FFmpeg process. I see 2 opportunities in my code. I can either fix it by Timer approach or secondly hook an event to OutputDataReceived.
I tried OutputDataReceived event, My code never got it worked. I tried Timer Approach but still, it’s not hitting my code. Please check the code below
_process = new Process
{
StartInfo = new ProcessStartInfo
{
FileName = ffmpeg,
Arguments = arguments,
UseShellExecute = false,
RedirectStandardOutput = true,
RedirectStandardError = true,
CreateNoWindow = true,
},
EnableRaisingEvents = true
};
_process.OutputDataReceived += Proc_OutputDataReceived;
_process.Exited += (a, b) =>
{
System.Threading.Tasks.Task.Run(() =>
{
System.Threading.Tasks.Task.Delay(5000);
System.IO.File.Delete(newName);
});
//System.IO.File.Delete()
};
_process.Start();
_timer = new Timer();
_timer.Interval = 500;
_timer.Start();
_timer.Tick += Timer_Tick;
}
private void Timer_Tick(object sender, EventArgs e)
{
while (_process.StandardOutput.EndOfStream)
{
string line = _process.StandardOutput.ReadLine();
}
// Check the process.
} -
Force ffmpeg to generate WebVTT for each subtitle track
14 juin 2018, par RogueI use the following ffmpeg command to generate an HLS stream from a video :
ffmpeg -i pipe:0 \
-y -b:a 64k -acodec aac -vcodec copy \
-hls_time 10 -hls_playlist_type vod -start_number 0 -hls_base_url http://127.0.0.1:5000/ -hls_list_size 0 \
-f hls -crf 20 -hls_flags split_by_time -force_key_frames "expr:gte(t,n_forced*3)"\
-threads 4 \
target/stream.m3u8It works perfectly, and to my pleasure and surprise ffmpeg generates a second m3u8 file corresponding to the subtitles that are embeded in the video file, with the appropriate .vtt files.
The problem is that when i input a video file with more than one subtitle tracks, i only get files for the first one.
How can i force ffmpeg to output ALL tracks as m3u8 / .vtt files ?Thanks a lot
-
ffmpeg multiple filters need assistance
16 mars 2018, par Tony HannaI have one movie
.mp4
, one logo.png
and one text (banner) sliding in the bottom, and I need to add subtitles. I’m trying this with complex filters but always with an error. Please help.ffmpeg.exe -re -i wonder.mp4 -i logo72.png -filter_complex "[0:v]drawtext=fontcolor=white:fontsize=32:fontfile='C:\Windows\Fonts\arial.ttf':textfile='d:\banner.txt':reload=1:y=h-line_h:x=w-(mod(n*3\,w+tw)-tw/40),drawbox=y=ih-40:color=black@0.4:width=iw:height=40:t=max[text];[text][1:v]overlay=15:15[filtered];[0:v][1:v]overlay=0:0,subtitles=subtitle.srt[out]" -map "[filtered]" - map "[out]" -map 0:a -codec:v libx264 -codec:a copy -f mpegts udp://10.10.10.4:5000?pkt_size=1316
What am I doing wrong ?