
Recherche avancée
Autres articles (61)
-
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 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 (9587)
-
Why failes ffmpeg with "Failed to inject frame into filter network : Internal bug, should not have happened" ?
17 octobre 2023, par StackOverRiggeI want to convert a MP4 video file into an animated gif file using ffmpeg. I am trying to do this in two steps :


- 

- Create a palette image
- Convert the MP4 with the help of the palette image to a GIF file






I'm using ffmpeg 6.0 essentials_build.


First, I create a palette image :


ffmpeg -v warning -i video.mp4 -vf "fps=15,scale=1366:768:flags=lanczos,palettegen=stats_mode=diff" -y palette.png



Then, I'm trying to convert the MP4 to GIF :


ffmpeg -i video.mp4 -i palette.png -lavfi "fps=15,scale=1366:768:flags=lanczos,paletteuse=dither=bayer:bayer_scale=5:diff_mode=rectangle" -y video.gif



This command ends in this error message :


Error while filtering: Internal bug, should not have happeneditrate=4279.9kbits/s speed=0.742x
Failed to inject frame into filter network: Internal bug, should not have happened
Error while processing the decoded data for stream #0:0



-
how to build multiple video stream mux / mixer to virtual network camera
9 juillet 2019, par EuanI’m looking for a software solution that can create a new virtual camera stream from a select-able range of cameras. Basically I want to do some calculations decide which camera is to be selected and switch the virtual camera to be transmitting the new stream.
The stream needs to be low latency (at most 2 secs). I’m guessing I would need to transmux the input streams and selectively change source streams somehow. I then want to provide an ONVIF, or basic RTMP stream that a commercial DVR can connect to. I then want to duplicate this with a further number of virtual cameras using the same source feeds but different selected source at various times. I would be aiming to use a UDP message to select the source for each virtual camera.
Cameras are H264, RTMP / RTSP, ONVIF.
I haven’t tried anything yet as not sure what or where to go, or what to search for. I’m guessing ffmpeg would be a basis, or perhaps there is a better tool that can stitch together RTMP streams ?
-
ffmpeg with 2 TCP network streams as inputs (video & Audio)
20 septembre 2017, par Marcus DaviesI’ll get straight to it...
I have a c# application that is the host of 2 TCP Servers.
This application captures video data and RAW PCM data from various sources.These streams make up the video in its entirety.
I need to encode these streams as they become available, so storing the data as 2 files first wont work here.I am trying to use ffmpeg to combine these 2 streams (input of video and input of audio) and forward the resulting stream to its final destination.
The 2 TCP servers are presented and are to be used by ffmpeg (remember i need to do this real time)
I can confirm the data i am receiving and networking to ffmpeg are valid. as encoding them individuality results in the expected output.
BUT....
This is where the problem is. For some reason ffmpeg simple freezes when trying
to feed it 2 inputs that are networked to it. if i feed it 2 files it works.Another wired behavior is that ffmpeg does encode the first inputs first frame but none of the 2nd inputs - and it seems to be waiting for something and will continue waiting until i halt.
if i swop the order of the inputs around - the first audio frame is written but then is waiting on input 2 to do something.
Here is the command line (the video data is motion jpeg) and is detected as such by ffmpeg
ffmpeg -r 30 -i tcp://127.0.0.1:5060 -f u16le -ac 2 -ar 44100 -i tcp://127.0.0.1:5070 -acodec mp3 -r 30 -s 1024x768 -vcodec libx264 output.mp4
Any ideas ?