
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (55)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
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 -
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 (8635)
-
FFMPEG compiling on heroku
17 juillet 2013, par JanI have a Rails app running in heroku.
I wanna watermark an original AUDIO-file with another AUDIO-file through a merging/mixing (amerge or amix) filter. Also fades and looping should work.
FFMPEG must be compiled for this feature to run on heroku.
My steps I got from this GIST which uses Vuclanhttps://gist.github.com/liufengyun/5055354
Locally I use the following term to convert with Carrierwave which is an uploader :
"-i Original.aiff -i public/watermark/#{ENV['WATERMARK_FILENAME']}.aiff -loop 1 -filter_complex '[1]afade=t=in:ss=0:d=1[4];[4]afade=t=out:st=#{self.evaluate_length-2}:d=2[5];[5][0]amix=duration=shortest[out]' -map [out]"
This works with the ffmpeg built in on my mac.
My compiled version for heroku does contain amerge, amix and the libavformat library.
This is the log which I got from heroku when I go to my upload form and uplaod a file :
(all this works, but only locally).Started POST "/sounds" for 84.113.97.32 at 2013-07-15 21:14:33 +0000
2013-07-15T21:14:33.175631+00:00 app[web.1]: Running transcoding...
2013-07-15T21:14:33.175631+00:00 app[web.1]: ffmpeg -y -i /tmp/sounds/1373922873-2-5714/watermark_loop-95.aiff -i public/watermark/1khz.aiff -loop 1 -filter_complex '[1]afade=t=in:ss=0:d=1[4];[4]afade=t=out:st=-2.0:d=2[5];[5][0]amix=duration=shortest[out]' -map [out] /tmp/sounds/1373922873-2-5714/watermark_loop-95.aiff
2013-07-15T21:14:33.175631+00:00 app[web.1]:
2013-07-15T21:14:33.241221+00:00 app[web.1]: Failed encoding...
2013-07-15T21:14:33.241221+00:00 app[web.1]: ffmpeg -y -i /tmp/sounds/1373922873-2-5714/watermark_loop-95.aiff -i public/watermark/1khz.aiff -loop 1 -filter_complex '[1]afade=t=in:ss=0:d=1[4];[4]afade=t=out:st=-2.0:d=2[5];[5][0]amix=duration=shortest[out]' -map [out] /tmp/sounds/1373922873-2-5714/watermark_loop-95.aiff
2013-07-15T21:14:33.241221+00:00 app[web.1]:
2013-07-15T21:14:33.241221+00:00 app[web.1]: ffmpeg: error while loading shared libraries: libavformat.so.54: cannot open shared object file: No such file or directory
2013-07-15T21:14:33.241221+00:00 app[web.1]:
2013-07-15T21:14:33.241221+00:00 app[web.1]: Errors: encoded file is invalid.
2013-07-15T21:14:33.241221+00:00 app[web.1]:
2013-07-15T21:14:33.277487+00:00 app[web.1]:
2013-07-15T21:14:33.277487+00:00 app[web.1]: FFMPEG::Error (Failed encoding.Errors: encoded file is invalid. Full output: ffmpeg: error while loading shared libraries: libavformat.so.54: cannot open shared object file: No such file or directory
2013-07-15T21:14:33.277487+00:00 app[web.1]: ):
2013-07-15T21:14:33.277487+00:00 app[web.1]: app/uploaders/sound_uploader.rb:39:in `watermarking'
2013-07-15T21:14:33.277487+00:00 app[web.1]:It's my 6th attempt to compile, get ffmpeg running correctly and watermarking my sounds on heroku.
Please help me out of this neverending story.
-
How to convert H.264 format videos to H.263 using avconv or ffmpeg tool
15 juillet 2013, par Bagesh SharmaI run below given command but getting error -
avconv -y -i song_family.mp4 -c:v h263 -s 352x288 1.mp4
The log generated is -
avconv version 0.8.6-6:0.8.6-1ubuntu2, Copyright (c) 2000-2013 the Libav developers built on Mar 30 2013 22:23:21 with gcc 4.7.2 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'song_family.mp4' : Metadata : major_brand : M4V minor_version : 1 compatible_brands : M4V mp42isom creation_time : 2013-02-19 22:12:33 Duration : 00:01:17.90, start : 0.000000, bitrate : 493 kb/s Stream #0.0(eng) : Video : h264 (Baseline), yuv420p, 1024x768 [PAR 1:1 DAR 4:3], 397 kb/s, 15 fps, 15 tbr, 15k tbn, 30 tbc Metadata : creation_time : 2013-02-19 22:12:33 Stream #0.1(eng) : Audio : aac, 44100 Hz, stereo, s16, 93 kb/s Metadata : creation_time : 2013-02-19 22:12:33 [buffer @ 0x98b9d00] w:1024 h:768 pixfmt:yuv420p [scale @ 0x98b9f60] w:1024 h:768 fmt:yuv420p -> w:352 h:288 fmt:yuv420p flags:0x4 [mp4 @ 0x98b8e60] track 0 : could not find tag, codec not currently supported in container Output #0, mp4, to '1.mp4' : Metadata : major_brand : M4V minor_version : 1 compatible_brands : M4V mp42isom creation_time : 2013-02-19 22:12:33 encoder : Lavf53.21.1 Stream #0.0(eng) : Video : h263, yuv420p, 352x288 [PAR 12:11 DAR 4:3], q=2-31, 200 kb/s, 90k tbn, 15 tbc Metadata : creation_time : 2013-02-19 22:12:33 Stream #0.1(eng) : Audio : libvo_aacenc, 44100 Hz, stereo, s16, 200 kb/s Metadata : creation_time : 2013-02-19 22:12:33 Stream mapping : Stream #0:0 -> #0:0 (h264 -> h263) Stream #0:1 -> #0:1 (aac -> libvo_aacenc) Could not write header for output file #0 (incorrect codec parameters ?)
-
How to convert .mov files to .mp4 (H264) using ffmpeg using windows .bat file ?
13 juillet 2013, par kheyaI have a number of different video files (mov, avi, flv, mp4, 3gp, wmv) in a folder.
I need to use a batch file that will convert all mov, avi, wmv, 3gp files in the folder
Also I need to skip any flv, mp4 filesI have this command, but it gives error and generates 0 size files :
for %%F in (*.mov) do ffmpeg.exe -i "%%~fF" -vcodec copy -acodec copy "%%~dpF\%%~nF.mp4"
The above line just tries to process mov files. I get same result for avi files.
I want to keep the file name same. I get the file names correctly but it gives error :
ffmpeg version N-54691-g7f4a1fd Copyright (c) 2000-2013 the FFmpeg developers
built on Jul 12 2013 16:31:48 with gcc 4.7.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-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-
amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --
enable-libxvid --enable-zlib
libavutil 52. 39.100 / 52. 39.100
libavcodec 55. 18.102 / 55. 18.102
libavformat 55. 12.102 / 55. 12.102
libavdevice 55. 3.100 / 55. 3.100
libavfilter 3. 80.101 / 3. 80.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
Guessed Channel Layout for Input Stream #0.1 : mono
Input #0, avi, from 'C:\musa\Challenge\FFMPEG\Test\file5.AVI':
Metadata:
encoder : OPTURA20
Duration: 00:00:10.01, start: 0.000000, bitrate: 1518 kb/s
Stream #0:0: Video: mjpeg (MJPG / 0x47504A4D), yuvj422p, 320x240, 14.99 fps,
14.99 tbr, 14.99 tbn, 14.99 tbc
Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 16000 Hz, mono, s16,
256 kb/s
[mp4 @ 00000000024bc980] Tag [1][0][0][0]/0x00000001 incompatible with output co
dec id '65536' ([0][0][0][0])
Output #0, mp4, to 'C:\musa\Challenge\FFMPEG\Test\\file5.mp4':
Metadata:
encoder : OPTURA20
Stream #0:0: Video: mjpeg (l[0][0][0] / 0x006C), yuvj422p, 320x240, q=2-31,
14.99 fps, 90k tbn, 14.99 tbc
Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 16000 Hz, mono, 256 k
b/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Could not write header for output file #0 (incorrect codec parameters ?): Invali
d data found when processing input