
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (75)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
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
Sur d’autres sites (10338)
-
FFmpeg start after reboot
11 avril 2018, par Paciorek RadekA got a question.
I want to start a process like ffmpeg after reboot.
How to do this ?I trying to use ’nohup ffmpeg .... -y’ in root crontab.
from crontab :
@reboot /usr/bin/nohup /usr/local/bin/ffmpeg -i 'rtsp://login:p
ass@192.168.1.10:554/mode=real&idc=1&ids=2' -vf fps=1 -update 1 /var/www/html/img.jpg -yThis dosent work so i try this.
I make .sh script like this :
#!/bin/bash
/usr/bin/nohup /usr/local/bin/ffmpeg -i 'rtsp://login:pass@192.168.1.10:554/mode=real&idc=1&ids=2' -vf fps=1 -update 1 /var/www/html/img.jpg -yand add this to crontab
@reboot /home/.../script.shAlso script is executable.
It working fine when i try to run as root or with sudo.Nothing seems to working after reboot automatycally.
How to make this working ?
Thank you in advanced. -
Getting the frame pkt_pts from ffmpeg
2 février 2018, par kamaI record a stream similar to this (but I pipe the image to stdout and process the frames in real time) :
ffmpeg -debug_ts -y -i http://my_stream.com -strict -2 out.mp4
Now I need to map my frames to the pkt_pts. This pkt_pts I can get by running :
ffprobe -i http://my_stream.com -show_frames -select_streams v:0
Although starting ffprobe is not an option since I need to excactly know which pkt_pts belongs to what frame.
Therefore I’m using the -debug_ts in my ffmpeg call, which gives me a lot of output to stderr, which I then parse out. The only output line which matches the number of frames is the one which starts with :muxer <- type:video
This line does contain a pkt_pts, but it always starts with 0 (not the global pkt_pts).Is there a way to map a frame, to the global pkt_pts in real time with ffmpeg ?
-
OpenCV video writing to named pipe
21 janvier 2012, par user28667I'm trying to send videos created with OpenCV in real-time to user though Apache (user downloads video from a website). I don't need streaming video. I'm just trying to transfer whole video file. My OpenCV program writes video to a named pipe (created with mkfifo) and PHP scrpt reads from it and outputs to user.
The problem is that pipe-transfered videos doesn't open in Windows. They're shorter exactly at 7072 bytes (checked with different videos). They are not just truncated. The first difference between videos appeared in 5-th byte. And there is no mistake in PHP script. I've checked it using :
cat fifo.avi > output.avi
The result was the same. How to make OpenCV write videos to pipes just as to normal files ? Why this happens ? Or is there another way to send videos in real-time to user ?
P. S. Thanks and sorry for bad English
P. P. S. I'm creating CvVideoWriter with this code if it matters :cvCreateVideoWriter("fifo.avi",CV_FOURCC('M','J','P','G'),25,cvSize(blah blah blah),1)