
Recherche avancée
Médias (17)
-
Matmos - Action at a Distance
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
DJ Dolores - Oslodum 2004 (includes (cc) sample of “Oslodum” by Gilberto Gil)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Danger Mouse & Jemini - What U Sittin’ On ? (starring Cee Lo and Tha Alkaholiks)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Cornelius - Wataridori 2
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Rapture - Sister Saviour (Blackstrobe Remix)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Chuck D with Fine Arts Militia - No Meaning No
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (32)
-
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 (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (3367)
-
ffmpeg segment naming - Moving to superuser (with apologies)
21 juillet 2022, par kenneth558Maybe I am misinterpreting the downvote, but I conclude this question should go on superuser instead. Moving now and will delete this copy soon....


I need to ensure unique segment names : Apparent POE cable defects, etc. around campus cause HikVision camera streams to require their ffmpeg daemons re-started once or twice or more times/day. (I am miles away from this campus for the most part, so I prefer a command line fix until the hardware fixes get applied.) When ffmpeg has to be restarted for a camera (by background bash script), I need the names of the new
.mp4
segments positively not to be the same as any previous names.

Background bash process currently does fine to specify an acceptable ddHHMM style new starting name for the first segment after ffmpeg restart BUT after the first or sometime second or third segment is made, ffmpeg insists on future naming to default to an unacceptable YYYmmdd style and thus start to overwrite previous segments. I use
"$(date +%d%H%M)"
to obtain my acceptable date style.

I've tried a lot of different combinations of date codes and date embedding and both
ssegment
andsegment
muxers ; also I know very little of the very complex realm that ffmpeg is normally used in outside of simple rtsp stream copy to.mp4
files.

ffmpeg command that is launched from inside bash script :

bash -c 'nohup ffmpeg -nostdin -stimeout 10000000 -rtsp_transport udp -i "rtsp://192.168.0.11:6554/Streaming/channels/101" -reconnect 1 -reconnect_at_eof 1 -reconnect_streamed 1 -c:v libx264 -f ssegment -strftime 0 -segment_time 180 -segment_format_options movflags=+faststart -reset_timestamps 0 -increment_tc 1 -avoid_negative_ts 1 -c copy -flags +global_header /var/www/camera_streams/camera_east_driveway/"$(date +%d%H%M)"_%3d.mp4 > /dev/null 2>/dev/null & '


Can the segment naming pattern be carried forward indefinitely like I want ? Honestly, I wonder if ffmpeg does not allow for my specific use case naming need ?


(Yes, I know changing from
udp
totcp
can help, but I don't consider it to be the specific solid naming fix I'm hoping for right now. And I mention HikVision in case there is known frame encoding differences for them than other cameras)

-
ffmpeg segment naming of rtsp surveillance stream HikVisions
20 juillet 2022, par kenneth558I need to ensure unique segment names : Apparent POE cable defects, etc. around campus cause HikVision camera streams to require their ffmpeg daemons re-started once or twice or more times/day. (I am miles away from this campus for the most part, so I prefer a command line fix until the hardware fixes get applied.) When ffmpeg has to be restarted for a camera (by background bash script), I need the names of the new
.mp4
segments positively not to be the same as any previous names.

Background bash process currently does fine to specify an acceptable ddHHMM style new starting name for the first segment after ffmpeg restart BUT after the first or sometime second or third segment is made, ffmpeg insists on future naming to default to an unacceptable YYYmmdd style and thus start to overwrite previous segments. I use
"$(date +%d%H%M)"
to obtain my acceptable date style.

I've tried a lot of different combinations of date codes and date embedding and both
ssegment
andsegment
muxers ; also I know very little of the very complex realm that ffmpeg is normally used in outside of simple rtsp stream copy to.mp4
files.

ffmpeg command that is launched from inside bash script :

bash -c 'nohup ffmpeg -nostdin -stimeout 10000000 -rtsp_transport udp -i "rtsp://192.168.0.11:6554/Streaming/channels/101" -reconnect 1 -reconnect_at_eof 1 -reconnect_streamed 1 -c:v libx264 -f ssegment -strftime 0 -segment_time 180 -segment_format_options movflags=+faststart -reset_timestamps 0 -increment_tc 1 -avoid_negative_ts 1 -c copy -flags +global_header /var/www/camera_streams/camera_east_driveway/"$(date +%d%H%M)"_%3d.mp4 > /dev/null 2>/dev/null & '


Can the segment naming pattern be carried forward indefinitely like I want ? Honestly, I wonder if ffmpeg does not allow for my specific use case naming need ?


(Yes, I know changing from
udp
totcp
can help, but I don't consider it to be the specific solid naming fix I'm hoping for right now. And I mention HikVision in case there is known frame encoding differences for them than other cameras)

-
ffmpeg mjpeg encoding not recognized by VLC on other device
25 juin 2023, par Harsh KumarLet me describe the case scenerio first :


I am using RaspberryPi as a USB-UVC gadget to stream a video to a host device connected via USB cable to the Pi .
For this i have a application(may see if you want) which is succesfully streaming the a USB camera live stream using
./uvc-gadget -d /dev/video0
on the Pi side where /dev/video0 is a real USB camera and the rest is just a syntax of application to take the input as some v4l2 capture device.On the Host side i have to just open the VLC and select capture device as the UVC-Camera made by the apllication and play the stream by selcting the MJPG option under the advanced options and only MJPEG format is supported by the application.

So what i thought that is to make a virtual camera device using
sudo modprobe v4l2loopback
first (/dev/video1 for now ) and then feeding a my Raspberry desktop screen to it using ffmpeg and then feeding this /dev/video1 virtual video capture device to my application as./uvc-gadget -d /dev/video1
.

More graphically,


Desktop screen -> virtual camera -> apllication


But unfortunately i am not getting the desired results given that this service is supported by the appllication (you may refer readme of application) .I get the trival error of 'Your input device can,t be opened ' in VLC when i do the same steps .


Summary ,
I guess i may be doing something wrong for the MJPEG encoding using ffmpeg also ,
Here is the command i am using ,

ffmpeg -probesize 100M -framerate 30 -f x11grab -video_size 1280*720 -i :0.0+0,0 -c:v mjpeg -pix_fmt yuvj422p -f v4l2 /dev/video1
.

Also , i checked on raspberry the output of dev/video1 is fine and also tried removing the pix_fmt yuvj422p thinking that it might causing some conflict with color encoding but got the same error.


Will be very thankful if someone can help me figuring out the erorr.
Thanks for your time and patience .