
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (39)
-
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 -
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...) -
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 (...)
Sur d’autres sites (6595)
-
Revision bccc785f63 : Merge "Reuse inter prediction result in real-time speed 6"
25 juin 2014, par Yunqing WangChanged Paths :
Modify /vp9/encoder/vp9_encodeframe.c
Modify /vp9/encoder/vp9_pickmode.c
Modify /vp9/encoder/vp9_speed_features.c
Modify /vp9/encoder/vp9_speed_features.h
Merge "Reuse inter prediction result in real-time speed 6" -
Video Conversion to have Play Speed
24 juin 2014, par TaufiqThere is a open source Media Player Component called Media Kit (https://wpfmediakit.codeplex.com/). It supports Play Speed. But its dependent on video format.
I have generated a video using SharpAvi (http://sharpavi.codeplex.com/) sample project, using Motion Jepg Encoder.
This video does not have Play Speed support for some reason. Details Below from ffmpeg
Video: mjpeg (MJPG / 0x47504A4D), yuvj420p(pc), 1920x1080 [SAR 96:96 DAR 16:9], 9818 kb/s, 10 fps, 10 tbr, 10 tbn, 10 tbc
Next I download an flv video from Youtube and Media Kit’s play speed works fine with this video.
Video: flv1, yuv420p, 426x240, 259 kb/s, 23.98 fps, 23.98 tbr, 1k tbn, 1k tbc
Now I converted them into common MP4 format using ffmepg
ffmpeg -i "1.avi" -ar 22050 -b 2048k "1.mp4"
ffmpeg -i "2.flv" -ar 22050 -b 2048k "2.mp4"Results
1.mp4
Video: h264 (High) (avc1 / 0x31637661), yuv420p, 426x240, 1235 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
2.mp4
Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc), 1920 x1080 [SAR 1:1 DAR 16:9], 158 kb/s, 10 fps, 10 tbr, 10240 tbn, 20 tbc (default)
The thing is the converted video from flv file still supports play speed where else the converted mp4 from the Avi does not. What is that I am missing
More Details Below.
AVI File
ffmpeg -i "1.avi" ffmpeg version N-64167-gca35037 Copyright (c) 2000-2014 the FFmpeg developers built on Jun 22 2014 22:02:17 with gcc 4.8.3 (GCC) configuration:
--enable-gpl --enable-version3 --disable-w32threads --enable-av isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp e --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable- libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libope njpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsox r --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab -
-enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
--enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable- libxavs --enable-libxvid --enable-decklink --enable-zlib libavutil 52. 90.100 / 52. 90.100 libavcodec 55. 68.100 /
55. 68.100 libavformat 55. 44.100 / 55. 44.100 libavdevice 55. 13.101 / 55. 13.101 libavfilter 4. 9.100 / 4. 9.100 libswscale 2. 6.100 / 2. 6.100 libswresample 0. 19.100 /
0. 19.100 libpostproc 52. 3.100 / 52. 3.100 [avi @ 028fe560] non-interleaved AVI Input #0, avi, from '1.avi': Duration: 00:00:37.50, start: 0.000000, bitrate: 9794 kb/s
Stream #0:0: Video: mjpeg (MJPG / 0x47504A4D), yuvj420p(pc), 1920x1080 [SAR 96:96 DAR 16:9], 9818 kb/s, 10 fps, 10 tbr, 10 tbn, 10 tbc
Metadata:
title : Screencast At least one output file must be specifiedfLV File
ffmpeg -i "2.flv" ffmpeg version N-64167-gca35037 Copyright (c) 2000-2014 the FFmpeg developers built on Jun 22 2014 22:02:17 with gcc 4.8.3 (GCC) configuration:
--enable-gpl --enable-version3 --disable-w32threads --enable-av isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp e --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable- libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libope njpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsox r --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab -
-enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
--enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable- libxavs --enable-libxvid --enable-decklink --enable-zlib libavutil 52. 90.100 / 52. 90.100 libavcodec 55. 68.100 /
55. 68.100 libavformat 55. 44.100 / 55. 44.100 libavdevice 55. 13.101 / 55. 13.101 libavfilter 4. 9.100 / 4. 9.100 libswscale 2. 6.100 / 2. 6.100 libswresample 0. 19.100 /
0. 19.100 libpostproc 52. 3.100 / 52. 3.100 [flv @ 02b8e560] Stream discovered after head already parsed Input #0, flv, from '2.flv': Metadata:
starttime : 0
totalduration : 85
totaldatarate : 325
bytelength : 3438869
canseekontime : true
sourcedata : B4A7DA902MM1403531086617082
purl :
pmsg : Duration: 00:01:24.63, start: 0.000000, bitrate: 325 kb/s
Stream #0:0: Video: flv1, yuv420p, 426x240, 259 kb/s, 23.98 fps, 23.98 tbr, 1k tbn, 1k tbc
Stream #0:1: Audio: mp3, 22050 Hz, stereo, s16p, 65 kb/s
Stream #0:2: Data: none At least one output file must be specifiedAVI to MP4
ffmpeg -i "1.mp4" ffmpeg version N-64167-gca35037 Copyright (c) 2000-2014 the FFmpeg developers built on Jun 22 2014 22:02:17 with gcc 4.8.3 (GCC) configuration:
--enable-gpl --enable-version3 --disable-w32threads --enable-av isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp e --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable- libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libope njpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsox r --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab -
-enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
--enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable- libxavs --enable-libxvid --enable-decklink --enable-zlib libavutil 52. 90.100 / 52. 90.100 libavcodec 55. 68.100 /
55. 68.100 libavformat 55. 44.100 / 55. 44.100 libavdevice 55. 13.101 / 55. 13.101 libavfilter 4. 9.100 / 4. 9.100 libswscale 2. 6.100 / 2. 6.100 libswresample 0. 19.100 /
0. 19.100 libpostproc 52. 3.100 / 52. 3.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '1.mp4': Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf55.44.100 Duration: 00:00:37.50, start: 0.000000, bitrate: 159 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc), 1920 x1080 [SAR 1:1 DAR 16:9], 158 kb/s, 10 fps, 10 tbr, 10240 tbn, 20 tbc (default)
Metadata:
handler_name : VideoHandler At least one output file must be specifiedFLV to MP4
ffmpeg -i "2.mp4" ffmpeg version N-64167-gca35037 Copyright (c) 2000-2014 the FFmpeg developers built on Jun 22 2014 22:02:17 with gcc 4.8.3 (GCC) configuration:
--enable-gpl --enable-version3 --disable-w32threads --enable-av isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp e --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable- libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libope njpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsox r --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab -
-enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
--enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable- libxavs --enable-libxvid --enable-decklink --enable-zlib libavutil 52. 90.100 / 52. 90.100 libavcodec 55. 68.100 /
55. 68.100 libavformat 55. 44.100 / 55. 44.100 libavdevice 55. 13.101 / 55. 13.101 libavfilter 4. 9.100 / 4. 9.100 libswscale 2. 6.100 / 2. 6.100 libswresample 0. 19.100 /
0. 19.100 libpostproc 52. 3.100 / 52. 3.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '2.mp4': Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf55.44.100 Duration: 00:01:24.81, start: 0.072562, bitrate: 1365 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 426x240, 1235 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 22050 Hz, stereo, fltp, 12 8 kb/s (default)
Metadata:
handler_name : SoundHandler At least one output file must be specified -
FFMPEG - Reduce speed / framerate of resulting video ?
29 avril 2014, par shikataI’m using this commnand in order to convert a set of JPGs into a video. The code works but the resulting video is too fast
exec('ffmpeg -y -f image2 -i img%d.jpg video.mpg 2>&1 >/dev/null', $output, $exit_status);
I’ve tried to add -r 15 before the output file name but it didn’t work.
Here what I’ve tried but didn’t work :
exec('ffmpeg -y -f image2 -i img%d.jpg -r 15 video.mpg 2>&1 >/dev/null', $output, $exit_status);
Any hints would be highly appreciated