
Recherche avancée
Autres articles (79)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
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 (9742)
-
FFMPEG -f segment and FFPROBE keyframes are different
18 juillet 2019, par user2190197I have a online video editor. And i want fast strip and concat mp4 files. For this i use code like this :
For get keyframes :
exe_ffprobe("-select_streams v -skip_frame nokey -show_frames -show_entries frame=pkt_pts_time,pict_type $input_file");
Sample Result :
array (
0 => '0.083417',
1 => '2.085419',
2 => '4.170838',
...
12 => '24.149149',
13 => '26.234568',
14 => '27.569236', < Why ffmpeg missed this keyframe?
15 => '29.654655',
...
230 => '466.966967',
231 => '469.052386',
232 => '471.137804',
233 => '473.223223',
234 => '475.308642',
235 => '477.394061',
236 => '479.479479',
)
...For split video :
exe_ffmpeg("-y -i $input_file -c copy -map 0 -segment_list segments.csv -f segment -reset_timestamps 1 path/to/%d.mp4");
Sample result :
0.mp4,0.000000
1.mp4,2.085419
2.mp4,4.170838
...
12.mp4,24.149149
13.mp4,26.234568
14.mp4,29.654655
15.mp4,31.740073
...
230.mp4,475.308642
231.mp4,477.394061
232.mp4,479.479479
endBut count of keyframes from ffprobe, and count splitted videos are different.
So how i can segment or get keyframes correctly, to match the count
Also, keyframes and segments.csv are differently too, but more of keyframes has correct timestamps
-
ffmpeg how to extract X frames every Y interval from url efficiently
13 décembre 2018, par Luay GharzeddineI’m trying to gather data for a datascience project, and am downloading frames from online videos using ffmpeg. I want to download a subset of the frames in the video, without needing to be precise about which, the only requirement is that they are reasonably spaced apart from each other.
I have tried
ffmpeg -i "http://www.somevideo.com" -r 1 -f image2 "image%06d.jpg"
and
ffmpeg -i "http://www.somevideo.com" -vf fps=1 "image%06d.jpg"
and eventually found the following method
ffmpeg -ss offset1 -i "http://www.somevideo.com" -ss offset2 -i "http://www.somevideo.com" -map 0:v -frames:v 10 -start_number 0 "image%06d.jpg" -map 1:v -frames:v 10 -start_number 10 "image%06d.jpg"
and all work, but are slow. I have found a hack where I run the following command multiple times, at different offsets, and it seems to be the fastest (where each ffmpeg command is run in parallel multithreaded)
ffmpeg -ss offset -i "http://www.somevideo.com" -vframes frames_per_fragment -an -start_number start_index "image%06d.jpg"
this about 25% faster than the previous method
Is there a faster way to do this ? The issue is that downloading over a network is a bottleneck, so I want to download only the frames I need. I’m looking to download videos/frames in bulk, so any speed improvement would be helpful.
-
How to identify users in video file when streaming video ? [on hold]
24 octobre 2017, par blackjak231I’m trying to find a solution to "secure" online video courses on a video streaming platform. The goals are the following :
- Prevent easy download of video - OK
- Be able to identify which connected user downloaded the video if it happens - NOK
The server will be a Debian machine running PHP 7 and the "encryption" of the video will be done "on the stream" for each user.
My question is for the second point. I’m unable to find a good solution for it. Here is what i thought of so far and the downsides :
- Add a watermark with the user’s name/email with "ffmpeg" on the whole video (in a corner)
- Can be blurred and therefore useless
- Add an invisible digital watermark (inside the video file) with a tool (which i have not found yet)
- Screen can be recorded and the invisible digital watermark lost.
- Add a watermark with the user’s name/email on 2 or 3 specific frames of the video while streaming using "ffmpeg"
- Best solution from my point of view but no technical solution found so far.
Do you have any recommendations on how to do this or a completely different approach to the problem ?
I’m open to any third party video tool such as Vimeo or any other available.
Thank you in advance for your help ! :)