
Recherche avancée
Médias (1)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
Autres articles (85)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)
Sur d’autres sites (8361)
-
Stream with ffmpeg over LAN ?
5 septembre 2018, par KalpitI’m trying to stream a mpegts file over LAN, with the command
ffmpeg -re -i in.ts -vcodec copy -acodec copy -f mpegts "udp://localhost:5000/live/stream"
And trying to capture 10s chunks of it over LAN(at server) at
ffmpeg -i udp://192.168.xx.xx:5000/live/stream -c copy -f segment -segment_time 10 -strftime 1 "in /%Y-%m-%d_%H-%M-%S.mp4"
This isn’t working. I tested the stream in VLC, and there’s nothing to play.
Now, I suspect this is a port issue, since FFMPEG doesnt seem to write/listen over the 5000 port specified. I used netstat to check, and there are no PID including ffmpeg on the port. However, the command
ffmpeg -i udp://127.0.0.1:5000/live/stream -c copy -f segment -segment_time 10 -strftime 1 "in/%Y-%m-%d_%H-%M-%S.mp4"
generates the desired output on my machine(localhost), as does ffplay. Can anyone help ?
-
using ffmpeg for silence detect with input pipe
24 août 2018, par MoharrerI am trying to detect silence from audio file with ffmpeg in c#.
i want to pipe input from c# memory stream and get silence duration like following commandffmpeg -hide_banner -i pipe:0 -af silencedetect=noise=-50dB:d=0.5 -f null -
but there is a problem, when input stream pump in pipe, ffmpeg waiting in p.WaitForExit() line.
when i change p.WaitForExit() to p.WaitForExit(1000) and set force timeout the following result is displayed.[mp3 @ 00000163818da580] invalid concatenated file detected - using bitrate for durationInput #0, mp3, from ’pipe:0’ : Metadata : encoder : Lavf57.71.100 Duration : N/A, start : 0.023021, bitrate : 86 kb/s Stream #0:0 : Audio : mp3, 48000 Hz, mono, fltp, 86 kb/sStream mapping : Stream #0:0 -> #0:0 (mp3 (mp3float) -> pcm_s16le (native))Output #0, null, to ’pipe :’ : Metadata : encoder : Lavf58.17.101 Stream #0:0 : Audio : pcm_s16le, 48000 Hz, mono, s16, 768 kb/s Metadata : encoder : Lavc58.21.105 pcm_s16le
[silencedetect @ 0000023df1786840] silence_start : 50.1098
[silencedetect @ 0000023df1786840] silence_end : 51.5957 | silence_duration : 1.48588
[silencedetect @ 0000023df1786840] silence_start : 51.5959
[silencedetect @ 0000023df1786840] silence_end : 52.127 | silence_duration : 0.531062
[silencedetect @ 0000023df1786840] silence_start : 52.8622
[silencedetect @ 0000023df1786840] silence_end : 54.0096 | silence_duration : 1.14733
[silencedetect @ 0000023df1786840] silence_start : 54.6804as you can see in result silence detection done but with error at the first.
this mean input file pumped correctly in ffmpg but waiting.
how can i solve problem without set time out for p.WaitForExit()private void Execute(string exePath, string parameters, Stream inputStream) byte[] Data = new byte[5000] ;
var p = new Process() ;
var sti = p.StartInfo ;
sti.CreateNoWindow = true ;
sti.UseShellExecute = false ;
sti.FileName = exePath ;
sti.Arguments = arg ;
sti.LoadUserProfile = false ;
sti.RedirectStandardInput = true ;
sti.RedirectStandardOutput = true ;sti.RedirectStandardError = true ;
p.ErrorDataReceived += P_ErrorDataReceived ;
p.OutputDataReceived += P_OutputDataReceived ;p.Start() ;
p.BeginOutputReadLine() ;
p.BeginErrorReadLine() ;var spInput = new StreamPump(inputStream, p.StandardInput.BaseStream, 4064) ;
spInput.Pump((pump, result) =>
pump.Output.Flush() ;
inputStream.Dispose() ;
) ;//unlimited waiting
//p.WaitForExit() ;p.WaitForExit(1000) ;
-
Artifact while streaming multicast with ffmpeg
17 août 2018, par NicosmikLocally, from my windows machine with ffmpeg 3.3.2 from Zeranoe
ffmpeg version 3.2.2 Copyright (c) 2003-2016 the FFmpeg developers
built with gcc 5.4.0 (GCC)
configuration : —enable-gpl
—enable-version3 —enable-dxva2 —enable-libmfx —enable-nvenc —enable-avisynth —enable-bzlib —enable-fontconfig —enable-frei0r —enable-gnutls —enable-iconv —enable-libass —enable-libbluray —enable-libbs2b —enable-libcaca —enable-libfreetype —enable-libgme —enable-libgsm —enable-libilbc —enable-libmodplug —enable-libmp3lame —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libopenh264 —enable-libopenjpeg —enable-libopus —enable-librtmp —enable-libsnappy —enable-libsoxr —enable-libspeex —enable-libtheora —enable-libtwolame —enable-libvidstab —enable-libvo-amrwbenc —enable-libvorbis —enable-libvpx —enable-libwavpack —enable-libwebp —enable-libx264 —enable-libx265 —enable-libxavs —enable-libxvid —enable-libzimg —enable-lzma —enable-decklink —enable-zlibServer side
Launch udp multicast streaming.
ffmpeg -re -i video.ts -an -f mpegts -c copy udp://224.1.1.1:5000
Client side
Playing with ffplay is correct, no artifacts displayed
ffplay udp://224.1.1.1:5000
Playing after decoding cause artifacts
ffmpeg -i udp://224.1.1.1:5000 -pix_fmt gray -f avi - | ffplay -
or
ffmpeg -f mpegts -i udp://224.1.1.1:5000 -pix_fmt gray -c:v rawvideo -f avi out.avi
Does someone has an explanation ?