
Recherche avancée
Autres articles (79)
-
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 (6374)
-
FFMPEG Concat Demuxer adds more time to video than expected
5 septembre 2023, par ShreyasI am using ffmpeg concat demuxer to join multiple(189) videos together.
The videos are originally split from a single video using the following command :


ffmpeg -ss time[2] -vsync 1 -copyts -i inputfile.mp4 -ss time[0] -to time[1] -c:a copy -c:v libx264 -b:v 800k output.mp4



Thereafter I am using the following concat command :


ffmpeg -f concat -safe 0 -i list.txt -c copy output.mp4



The problem is that the sum of the lengths of the input videos is 24:03:520
The output.mp4 video comes out to be 24:05:550.
Which is two seconds longer than the constituent video length.


I need the output video to be time accurate. How can I achieve this without reencoding the video ?


-
Php and Mysql current video time duration using FFMPEG
10 novembre 2014, par innovationI have one question about video time calculator.
I am using this FFMPEG
shell_exec("ffmpeg -i ../videos/$video_name.flv -f flv -s 320x240 ../videos/$video_name.mp4");
shell_exec("ffmpeg -i ../video_images/$video_name.mp4 -vcodec png -ss 00:00:05 -s 360x288 -vframes 1 -an -f rawvideo ../video_images/$video_name.png");I want to add here to post total duration of the video.
For example : I upload a video this video time 4:10 (4 minutes 10 seconds). I want to post it this time from table row.
How can i do this anyone can tell me ? -
Adding current time as timestamp in H.264 raw stream with few frames
2 avril 2020, par MichaëlI have a program that spits out an H.264 raw stream (namely,
screenrecord
on Android). I'm using FFmpeg to add a PTS (presentation time stamp) on the frames as follows :


$ my-program | ffmpeg -i - -filter:v setpts='(RTCTIME - RTCSTART) / (TB * 1000000)' out.mp4




This filter computes the current time, and puts it as the PTS.



The trouble is that
my-program
does not produce any output if there isn't any change in the video. Since FFmpeg seems to wait for a bunch of frames before putting them through thesetpts
filter, the computed PTS won't be correct. In particular, the last frame of a sequence will be timestamped when the next sequence starts.


Is there a way (with FFmpeg or otherwise) to add the current time as PTS to H.264 raw frames, where "current time" is when receiving the frame, rather than outputting it ?



Note : The problem is not from buffering from the pipe.