
Recherche avancée
Médias (1)
-
Géodiversité
9 septembre 2011, par ,
Mis à jour : Août 2018
Langue : français
Type : Texte
Autres articles (47)
-
Installation en mode ferme
4 février 2011, parLe mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
C’est la méthode que nous utilisons sur cette même plateforme.
L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...) -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;
Sur d’autres sites (5382)
-
ffmpeg reencoding of flv files from MAC
22 septembre 2011, par Nick MitinI've recorded a video from a webcam on mac and now i'm trying to reencode it, but ffmpeg does not recognize audio stream :
FFmpeg version git-120610e, Copyright (c) 2000-2010 the FFmpeg developers built on Sep 21 2010 15:56:57 with gcc 4.4.1 configuration : —enable-gpl —enable-version3 —enable-nonfree —enable-postproc —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libtheora —enable-libvorbis —enable-libmp3lame —enable-libx264 libavutil 50.27. 0 / 50.27. 0 libavcore 0. 9. 0 / 0. 9. 0 libavcodec 52.89. 0 / 52.89. 0 libavformat 52.78. 5 / 52.78. 5 libavdevice 52. 2. 2 / 52. 2. 2 libavfilter 1.39. 0 / 1.39. 0 libswscale 0.11. 0 / 0.11. 0 libpostproc 51. 2. 0 / 51. 2. 0 [flv @ 0x1e79470] Estimating duration from bitrate, this may be inaccurate Input #0, flv, from '10125174c09241f6536ccbe503ebbc00.flv' : Duration : 00:00:22.68, start : 0.000000, bitrate : N/A Stream #0.0 : Video : flv, yuv420p, 640x480, 1k tbr, 1k tbn, 1k tbc Stream #0.1 : Audio : [0][0][0][0] / 0x0000, 0 channels
Is it possible to make ffmpeg to support audio stream form flv recorded on MAC ?
-
Why is the streaming fps is so large (about 600) when I do ffmpeg streaming a video file through udp ?
3 juillet 2014, par user1914692Ubuntu 12.04. ffmpeg version git-2013-03-26-1741fec Copyright (c) 2000-2013 the FFmpeg developers
The command I use is :
ffmpeg -i output_20140630.avi -f mpegts udp://192.168.1.56:1234
The streaming fps is about 600, shown in the same terminal.
If I use the command :
ffmpeg -i output_20140630.avi -f mpegts udp://236.0.0.1:200
Then it is fine. And I can use the command below to play the streamed video :
ffplay udp://236.0.0.1:2000
-
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