
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (70)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
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 (...)
Sur d’autres sites (7690)
-
Merge commit ’c9527bf3444c5332fa04931d32997308784fc862’
23 mars 2017, par Clément BœschMerge commit ’c9527bf3444c5332fa04931d32997308784fc862’
* commit ’c9527bf3444c5332fa04931d32997308784fc862’ :
Make the RELEASE file match with the most recent tagThis commit is noop.
Merged-by : Clément Bœsch <u@pkh.me>
-
Finding the time of a thumbnail in a video
10 mai 2013, par LiamI have a large set of pre-generated thumbnails and videos. What is the easiest way to figure out the specific time in the video of the associated thumbnail ?
I'd imagine that I would have to use something to loop through all the frames in a video to find a match. What libraries should I use ? Something like OpenCV maybe ? ffmpeg ?
Python is preferred but not required.
-
Converting files before merging with FFMPEG
25 mars 2022, par user1748217I'm trying to merge a series of files with the same format (taken from a camera) with another of a different format (an outro).


TARGET file ffprobe output :


Duration: 00:00:21.60, start: 0.000000, bitrate: 1847 kb/s

 Stream #0:0[0x1](eng): 
 Video: h264 (Main) (avc1 / 0x31637661), 
 yuv420p(progressive), 
 1280x720, 
 1050 kb/s, 
 30 fps, 
 30 tbr, 
 30k tbn (default)

 Stream #0:1[0x2](eng): 
 Audio: pcm_s16le (sowt / 0x74776F73), 
 32000 Hz, 
 1 channels, 
 s16, 
 512 kb/s (default)



OUTRO file ffprobe output :


Duration: 00:00:13.03, start: 0.000000, bitrate: 21890 kb/s

 Stream #0:0[0x1](eng): 
 Video: h264 (High) (avc1 / 0x31637661), 
 yuv420p(progressive), 
 1920x1080 [SAR 1:1 DAR 16:9], 
 21492 kb/s, 
 24 fps, 
 24 tbr, 
 24k tbn (default)

 Stream #0:1[0x2](eng): 
 Audio: aac (LC) (mp4a / 0x6134706D), 
 48000 Hz, 
 stereo, 
 fltp, 
 316 kb/s (default)



... and I'm trying to convert the outro to match the others using :


ffmpeg -i outro.mp4 \ 
 -c:v h264 \
 -s 1280x720 \
 -pix_fmt yuv420p \
 -framerate 30 \ 
 -r 30 \
 -c:a pcm_s16le \
 -ac 1 \ 
 -b:a 512k \
 -ar 32000 \ 
 outro.mov



After the transcode the outro plays fine.
but then I merge the files with :


ffmpeg -f concat -safe 0 -i videos.txt -c copy merged.mov -y



In the merged output the outro video is messed up, though the audio on it is ok.

It seems like the outro plays way too fast (milliseconds) but I'm not sure as the original/source outro video fades to black at the end and the "corrupted" merged outro "pauses" on the last frame prior to fading.

I noticed the outro has a lower FPS than the other files (24 FPS vs 30 on the others). When I run ffprobe on the outro after the conversion, it reads ...


Stream #0:0[0x1](eng): 
 Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 
 1280x720 [SAR 1:1 DAR 16:9], 
 1031 kb/s, 
 24 fps, 
 24 tbr, 
 12288 tbn (default)



... so the FPS is still 24 ? How come ? Is this my problem ? What am I missing ? How do I get this to convert so I can join it seamlessly ?


Thanks in advance.


UPDATE :


adding -r 30 (Thanks @Kesh) on the conversion got the FPS to match but but unfortunately it didn't fix the merge issue :-(


audio is all good however...


... If I add the "pre-converted" file to the end of the concat list then series of files I'm trying to match play video fine but the "pre-converted" file plays video through in roughly a second.


If I add the "pre-converted" file to the start of the list then it plays fine, but the rest play video far too slow.