
Recherche avancée
Autres articles (72)
-
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 -
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 (11130)
-
ffmpeg stream on docker
5 juin 2017, par Alexander S.I am new to the docker and ffmpeg.
I am trying to do following POC, using "jrottenberg/ffmpeg" container : stream video from my video camera to docker container, and got it back from docker container. First, I checked, that all working locally. Stream from video camera (I don’t know exactly, what are all those parameters, but I found it working) :ffmpeg -rtbufsize 1500M -re -f dshow -video_size 1280x720 -framerate 30 -r 30 -i video="Lenovo EasyCamera" -pix_fmt yuv420p -vcodec libx264 -vprofile baseline -an -strict experimental -f mpegts udp://localhost:1234
Now playing the stream :
ffplay.exe udp://localhost:1234
See video, all fine. Now I am changing localhost to docker-machine ip
udp://192.168.99.101:1234
Running docker container, with port forwarding :
docker run -p 1234:1234/udp -p 5555:5555/udp jrottenberg/ffmpeg -i udp://0.0.0.0:1234 -f mpegts udp://0.0.0.0:5555
It seems to work. Here the docker output :
logs
PS C:\> docker logs d96094fc41e0
Input #0, mpegts, from 'udp://0.0.0.0:1234':
Duration: N/A, start: 21.466667, bitrate: N/A
Program 1
Metadata:
service_name : Service01
service_provider: FFmpeg
Stream #0:0[0x100]: Video: h264 ([27][0][0][0] / 0x001B), yuv420p(progressive), 1280x720, 30 fps, 30 tbr, 90k tbn, 60 tbc
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> mpeg2video (native))
Press [q] to stop, [?] for help
Output #0, mpegts, to 'udp://0.0.0.0:5555':ime=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
Metadata:
encoder : Lavf57.71.100
Stream #0:0: Video: mpeg2video, yuv420p, 1280x720, q=2-31, 200 kb/s, 30 fps, 90k tbn, 30 tbc
Metadata:
encoder : Lavc57.89.100 mpeg2video
Side data:
cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
frame= 214 fps= 70 q=31.0 size= 990kB time=00:00:11.96 bitrate= 678.1kbits/s speed=3.89xps
PS C:\> docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
d96094fc41e0 jrottenberg/ffmpeg "ffmpeg -i udp://0..." 5 minutes ago Up 5 minutes 0.0.0.0:1234->1234/udp, 0.0.0.0:5555->5555/udp hungry_poitrasBut, when i try to connect via ffplay :
ffplay.exe udp://192.168.99.101:5555
I see nothing...
I am using docker toolbox for Windows, and VirtualBox VM.
Any ideas ? -
Streaming to localhost using FFmpeg doesn't work
16 février 2023, par jostaniseI'm trying to stream my screen using FFmpeg, but I can't access it using VLC player - it keeps loading the stream and doesn't show anything.


The command I use :


ffmpeg -f gdigrab -s 1920x1080 -i desktop -preset ultrafast -vcodec libx264 -tune zerolatency -b 900k -f rtp rtp://localhost:1234



The network URL I put in VLC :


udp://localhost:1234



What am I doing wrong ?


-
ffmpeg VBR -> CBR conversion and streaming of MPEG-2 TS video files
26 juillet 2017, par Georgе StoyanovI am trying to convert a source VBR SPTS MPEG-2 TS file into CBR using ffmpeg. The code I am using is the following :
#!/bin/bash
pkill ffmpeg
ffmpeg \
-re -i source.ts -c copy \
-muxrate 18000K \
-f mpegts \
udp://destination_ip:1234?pkt_size=1316The source VPID bitrate is 10Mbps and the APID is 296Kbps. So according to my understanding this code should deliver 18Mbps CBR where the difference between the muxrate and the bitrate of all the PIDs is filled with null packets.
The problem is that the output is far from perfect. The overall bitrate is semi-CBR at best. It ranges between 12Mbps and 15Mbps and I see a lot of PCR accuracy and PCR repetition errors along with CC errors both on the VPID and APID.