
Recherche avancée
Médias (1)
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (56)
-
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 -
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 (...) -
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 (...)
Sur d’autres sites (9766)
-
Getting this error in ffmpeg pipeline : Non-monotonous DTS in output stream 0:0 ; previous : 4951970, current : 4951659 ; changing to 4951971
6 décembre 2022, par RoshaanAliError : Non-monotonous DTS in output stream 0:0 ; previous : 4951970, current : 4951659 ; changing to 4951971. This may result in incorrect timestamps in the output file.


I am using AWS Chime streaming then passing there data stream to FFMPEG and then going live with that data stream using AWS IVS(Interactive video service).
I am using ffmpeg for changing aspects of video on live streaming and brightness and contrast.
But when we turn off camera and after some time reopen it we facing the above mention error.
I have read about concat but we don't have input file actually we are passing data stream is ffmpeg that's why its not working.


Here is my ffmpeg command


ffmpeg=ffmpeg.spawn('ffmpeg', [
 '-i', '-' ,
 // '-f', 'concat',
 // '-segment_time_metadata','1',
 // '-use_wallclock_as_timestamps', '1',
 '-c:v', 'libx264',
 '-b:v', '2567k',
 '-maxrate', '6000K',
 '-preset', 'ultrafast',
 '-profile:v', 'baseline',
 '-level', '3.0',
 // '-aspect', '9:16',
 '-force_key_frames', 'expr:gte(t,n_forced*2)',
 '-movflags', 'faststart',
 '-fflags', 'nobuffer',
 '-tune', 'zerolatency',
 '-acodec', 'aac',
 '-ab', '160k',
 '-ar', '44100',
 '-f', 'flv',
 'rtmps-url/secret-key-replaced'
 ])



I have tried this command
-use_wallclock_as_timestamps', '1'
but it does nothing to error.

-
Convert FFmpeg command to GStreamer pipeline parse image from rtsp stream
24 septembre 2024, par azharmalik3I would like to convert the working FFmpeg command to a GStreamer pipeline to extract image from the RTSP stream.


ffmpeg -hide_banner -v error -rtsp_transport tcp -stimeout 10000000 -i 'rtsp://{domain}/Streaming/tracks/101?starttime=20220831T103000Z&endtime=20220831T103010Z' -vframes 1 -y image.jpg



Here is the GStreamer pipeline I tried to convert :


gst-launch-1.0 rtspsrc location="rtsp://{domain}/Streaming/tracks/101?starttime=20220831T103000Z&endtime=20220831T103010Z" max-rtcp-rtp-time-diff=0 latency=0 is_live=true drop-on-latency=true ! decodebin3 ! videoconvert ! jpegenc snapshot=true ! filesink location="/mnt/c/images/frame3.jpg"



I couldn't manage to get it working. It gives the wrong timestamp image and the Gstreamer pipeline never stopped after extracting the image just working like an infinite loop.


But the FFmpeg command works perfect and extracts the correct image and quits from the command after successfully extracting the image.


-
The fdsink element in GStreamer cannot be used to output the correct byte-stream to the pipeline
21 avril 2022, par yuniversiBecause I need to output the RTSP stream pulled from the GStreamer command line to my Python program, I use the
fdsink
element to output the byte-stream from the pipeline.
The video can be displayed correctly by using thexvimagesink
element. The command line is as follows.

gst-launch-1.0 rtspsrc location=rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mp4 ! queue2 ! rtph264depay ! capsfilter caps="video/x-h264, width=240, height=160" ! avdec_h264 ! videoconvert ! xvimagesink





Then I use
fdsink
instead of thexvimagesink
element to output the byte stream from the pipeline and play it with ffplay. It can't display correct video. The command line is as follows.

gst-launch-1.0 rtspsrc location=rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mp4 ! queue2 ! rtph264depay ! capsfilter caps="video/x-h264, width=240, height=160" ! avdec_h264 ! videoconvert ! fdsink | ffplay -f rawvideo -pixel_format rgb24 -video_size 240*160 -i -





So is
fdsink
element wrong or other elements wrong ? Thank you for taking the time to help me solve the problem