
Recherche avancée
Médias (1)
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
Autres articles (52)
-
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 -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
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 (10039)
-
FFmpeg Live streaming, capture card avisynth/graphedit
19 décembre 2013, par diegonaranjoI´m stuck in a problem with a test doing multicast streaming from a Viewcast Osprey 700e HD using ffmpeg.
The thing is that I´ve to use avisynth(with graphedit) for ffmpeg recognize the card. The streaming has no ending time,
is a live channel for IPTV.
The script is working well, but the problem is the avisynth config, because I have to specify the countframe option,
i think this is for the duration of the clip, but I need an infinity streaming.The is script is :
ffmpeg -i espnhd.avs -rtbufsize 100000k -r 30 -c:v mpeg2video -b:v 5120k -s 1280x720 -g 100 -q:v 2 -c:a ac3 -b:a 256k -f mpegts udp ://239.192.42.61:1234
The espnhd.avs file is :
v=directshowsource("espnhdv.GRF", pixel_type="YUV", framecount=1000000, fps=30, audio=False, convertfps=false)
A=directshowsource("espnhda.GRF", fps=30, framecount=1000000, video=False, convertfps=false)
AudioDub(V, A)
loop()When i run the application, work fine but the streaming ends when 1000000 frames it´s encoded...
If i dont specify framecount, ffmpeg doesn´t start with the following error, can´t determine the duration of the clip.Is there any way to specify an inifinity duration on avisynth ?
The streaming stops at 1:57hs. I took the end fo the logs :
frame=212014 fps= 30 q=4.0 size= 6957018kB time=01:57:54.13 bitrate=8056.4kbits/s dup=0 drop=211
frame=212029 fps= 30 q=4.0 size= 6958383kB time=01:57:54.64 bitrate=8057.4kbits/s dup=0 drop=211
frame=212044 fps= 30 q=4.0 size= 6959504kB time=01:57:55.13 bitrate=8058.1kbits/s dup=0 drop=211
frame=212060 fps= 30 q=4.0 size= 6960692kB time=01:57:55.66 bitrate=8058.9kbits/s dup=0 drop=211
espnhd.avs: Not enough space
[output stream 0:0 @ 02f02220] EOF on sink link output stream 0:0:default.
[output stream 0:1 @ 02f10c20] EOF on sink link output stream 0:1:default.
No more output streams to write to, finishing.
frame=212069 fps= 30 q=4.0 Lsize= 6961519kB time=01:57:56.00 bitrate=8059.5kbits/s dup=0 drop=211
video:6196482kB audio:221125kB subtitle:0 global headers:0kB muxing overhead 8.475312%
424560 frames successfully decoded, 0 decoding errors
[AVIOContext @ 02f8c3e0] Statistics: 0 seeks, 4977161 writeouts
[AVIOContext @ 02f032a0] Statistics: 229 bytes read, 0 seeksI really appreciate some help.
Thanks. -
Tips for encoding a live stream to IIS Media Services (or Azure Live Media Services) with FFMPEG ?
6 mars 2014, par user3104748We're trying to encode assets, either live or static, in a live stream to IIS Media Services using ffmpeg. Can anyone provide pointers for exactly what kinds of parameters we should be using and setting ?
As part of our test, just to see if we can get things to work, we have a standard plain-old MP4 video static asset that we're trying to stream to the server. It seems to work on the client side, but when we try to view the video on the receiving end, we get nothing.
Here's an example of the command we're using, where gg.mp4 is the static MP4 video (obviously (hostname) is the name of our host and not the actual word in parenthesis :)...
ffmpeg -y -re -i gg.mp4 -movflags isml+frag_keyframe -f ismv -threads 0 -c:a libvo_aacenc -ac 2 -b:a 64k -c:v libx264 -preset fast -profile:v baseline -g 48 -keyint_min 48 -map 0:v -b:v:0 477k -s:v:0 368x152 -map 0:v -b:v:1 331k -s:v:1 288x120 -map 0:v -b:v:2 230k -s:v:2 224x92 -map 0:a:0 http://(hostname)/ingest.isml/Streams(video)
-
PCM getting shorter duration after resample [on hold]
12 juin 2014, par lvqierI have PCM file can be played with ffplay :
ffplay -f s16le -ar 44100 -ac 1 pcm
The file size is 88200 and duration is 1 second. I resampled it using ffmpeg :
ffmpeg -f s16le -ac 1 -ar 44100 -i pcm -f s16le -ac 1 -ar 8000 pcm_8k
But the size of result file pcm_8k is 15982 and duration is not exactly 1 second.
What can I do to make the result file size to 16000 ?