
Recherche avancée
Médias (1)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (12)
-
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
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 (...)
-
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...)
Sur d’autres sites (6846)
-
Can't play rtp stream from ffmpeg/avconv, no data received
6 mars 2014, par Foo BarazzI started avserver on my Raspberry Pi, webcam attached I read from /dev/video0 with
pi@raspberrypi $ avconv -f video4linux2 -i /dev/video0 -vcodec mpeg2video -r 25 - pix_fmt yuv420p -me_method epzs -b 2600k -bt 256k -f rtp rtp://192.168.0.124:8090
avconv version 0.8.6-6:0.8.6-1+rpi1, Copyright (c) 2000-2013 the Libav developers
built on Mar 31 2013 13:58:10 with gcc 4.6.3
[video4linux2 @ 0x17c1720] Estimating duration from bitrate, this may be inaccurate
Input #0, video4linux2, from '/dev/video0':
Duration: N/A, start: 615.594215, bitrate: 36864 kb/s
Stream #0.0: Video: rawvideo, yuyv422, 320x240, 36864 kb/s, 30 tbr, 1000k tbn, 30 tbc
[buffer @ 0x17c16e0] w:320 h:240 pixfmt:yuyv422
[avsink @ 0x17c2f00] auto-inserting filter 'auto-inserted scaler 0' between the filter 'src' and the filter 'out'
[scale @ 0x17c34c0] w:320 h:240 fmt:yuyv422 -> w:320 h:240 fmt:yuv420p flags:0x4
Output #0, rtp, to 'rtp://192.168.0.124:8090':
Metadata:
encoder : Lavf53.21.1
Stream #0.0: Video: mpeg2video, yuv420p, 320x240, q=2-31, 2600 kb/s, 90k tbn, 25 tbc
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo -> mpeg2video)
SDP:
v=0
o=- 0 0 IN IP4 127.0.0.1
s=No Name
c=IN IP4 192.168.0.124
t=0 0
a=tool:libavformat 53.21.1
m=video 8090 RTP/AVP 32
b=AS:2600
Press ctrl-c to stop encoding
frame= 576 fps= 25 q=2.0 size= 2133kB time=23.00 bitrate= 759.8kbits/s dup=390 drop=0
frame= 590 fps= 25 q=2.0 size= 2191kB time=23.56 bitrate= 762.0kbits/s dup=400 drop=0
frame= 1320 fps= 25 q=2.0 size= 4932kB time=52.76 bitrate= 765.8kbits/s dup=908 drop=0
...Seems to work fine, it reads data from the webcam.
Now I'm trying to simply play with ffplay from my Mac with
$ ffplay rtp://192.168.0.124:8090
ffplay version 1.2.4 Copyright (c) 2003-2013 the FFmpeg developers
built on Mar 1 2014 15:18:21 with Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
configuration: --prefix=/usr/local/Cellar/ffmpeg/1.2.4 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid --enable-libfreetype --enable-libtheora --enable-libvorbis --enable-libvpx --enable-librtmp --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-aacenc --enable-libass --enable-ffplay --enable-libspeex --enable-libschroedinger --enable-libfdk-aac --enable-libopus --enable-frei0r --enable-libopenjpeg --extra-cflags='-I/usr/local/Cellar/openjpeg/1.5.1/include/openjpeg-1.5 '
libavutil 52. 18.100 / 52. 18.100
libavcodec 54. 92.100 / 54. 92.100
libavformat 54. 63.104 / 54. 63.104
libavdevice 54. 3.103 / 54. 3.103
libavfilter 3. 42.103 / 3. 42.103
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
nan A-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
nan A-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
nan A-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
...The video doesn't open and it seems to not reading any data from the Raspberry Pi.
I use the default configuration for avserver.
The webcam is definitely working as I managed to just write out images with avconv from it.What did I miss ?
-
ffmpeg not work with PHP exec()
14 mars 2014, par user27133I need to convert video and create image using ffmpeg. I downloaded this package from zeranoe for windows 8 64x and put in
c:/ffmpeg
folder.I check for ffmpeg installed in windows using cmd :
ffmpeg -version
ffmpeg version N-60959-g669043d
built on Feb 27 2014 22:07:15 with gcc 4.8.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avis
ynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable
-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype
--enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enabl
e-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-lib
opus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspee
x --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aace
nc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpac
k --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-z
lib
libavutil 52. 66.100 / 52. 66.100
libavcodec 55. 52.102 / 55. 52.102
libavformat 55. 33.100 / 55. 33.100
libavdevice 55. 10.100 / 55. 10.100
libavfilter 4. 2.100 / 4. 2.100
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 18.100 / 0. 18.100
libpostproc 52. 3.100 / 52. 3.100Now I test convert video using php :
$raw_video_path = 'C:\xampp\htdocs\video\ff\examples\5.flv';
$new_flv = DIRNAME(DIRNAME(__FILE__)).'/ff/examples/video/2654.flv';
$new_png = DIRNAME(DIRNAME(__FILE__)).'/ff/examples/video/2647-resampled.jpg';
@exec("ffmpeg -i ".$raw_video_path." -ab 56 -ar 44100 -b 200 -r 15 -s 320x240 -f flv ".$new_flv."");
@exec("ffmpeg -itsoffset -4 -i ".$new_flv." -vcodec mjpeg -vframes 1 -an -f rawvideo -s 320x240 ".$new_png." ");Now, This not work for me !! How do I can fix this ?
For ffmpeg, I need to install/active php ffmpeg extension ?
-
Why does PowerShell closes ff-prompt.bat before executing my commands
9 mars 2014, par sebastianOkay guys looks like I have another question to ask, which is kind of related to my last question, which can be found on here : How to start ffprobe with Windows PowerShell. There I was asking how to start ffprobe with Windows PowerShell and after trying out a few things I got it, well lets say, started for a second before it closes again.
I tried it with following commands in PowerShell :$env:Path = ';C:\Users\Administrator\bin\'
$title = "A_Day_for_Cake_and_Accidents"
Start-Process ff-prompt.bat -ArgumentList "ffprobe -show_streams -select_streams v -print_format xml -count_frames C:\Users\Administrator\Desktop\dcp_bearbeitet\$title\$title.mov > C:\Users\Administrator\Desktop\dcp_bearbeitet\$title\totalframes.xml"The result, and that is the strange thing, is the xml file with only the standard text from the
ff-prompt.bat
, which looks like this :C :\Users\Administrator>ECHO OFF
ffmpeg version N-60959-g669043d
built on Feb 27 2014 22:01:58 with gcc 4.8.2 (GCC)
configuration : —enable-gpl —enable-version3 —disable-w32threads —enable-avisynth —enable-bzlib —enable-fontconfig —enable-frei0r —enable-gnutls —enable-iconv —enable-libass —enable-libbluray —enable-libcaca —enable-libfreetype —enable-libgsm —enable-libilbc —enable-libmodplug —enable-libmp3lame —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libopenjpeg —enable-libopus —enable-librtmp —enable-libschroedinger —enable-libsoxr —enable-libspeex —enable-libtheora —enable-libtwolame —enable-libvidstab —enable-libvo-aacenc —enable-libvo-amrwbenc —enable-libvorbis —enable-libvpx —enable-libwavpack —enable-libx264 —enable-libx265 —enable-libxavs —enable-libxvid —enable-zlib
libavutil 52. 66.100 / 52. 66.100
libavcodec 55. 52.102 / 55. 52.102
libavformat 55. 33.100 / 55. 33.100
libavdevice 55. 10.100 / 55. 10.100
libavfilter 4. 2.100 / 4. 2.100
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 18.100 / 0. 18.100
libpostproc 52. 3.100 / 52. 3.100
For help run : ffmpeg -h
For formats run : ffmpeg -formats | more
For codecs run : ffmpeg -codecs | more
Current directory is now : "C :\Users\Administrator\bin"
The bin directory has been added to PATHMy first thought was, that it did not work at all, but then I was wondering why I get an XML file when it is not working at all. PowerShell executes the
ff-prompt.bat
for maybe a second, before PowerShell shuts down theff-prompt.bat
again without doing half of my commands. Does anybody know why ff-prompt gets closed before executing all of my commands ?EDIT : So what I tried is something that should execute it directly, but in fact I get a shitload of errors :
$title = "A_Day_for_Cake_and_Accidents"
$Cmd = ‘C:\Users\Administrator\ffmpeg\bin\ffprobe.exe’
$Arg1 = ’ffprobe '
$Arg2 = ‘-show_streams ’
$Arg3 = ‘-select_streams v '
$Arg4 = ‘-print_format xml '
$Arg5 = ‘-count_frames '
$Arg6 = "C:\Users\Administrator\Desktop\dcp_bearbeitet\$title\$title.mov >"
$Arg7 = " C:\Users\Administrator\Desktop\dcp_bearbeitet\$title\totalframes.xml"
& $Cmd $Arg1 $Arg2 $Arg3 $Arg4 $Arg5 $Arg6 $Arg7Error message(s) I get :
"ffprobe.exe
Failed to set value '-select_streams v ' for option 'show_streams ' : Option not found"The problem I am facing now is that
-show_streams
does not get a value, so maybe that is the reason why he uses the next parameter as a value, is there anything I can do ?