
Recherche avancée
Autres articles (37)
-
Contribute to translation
13 avril 2011You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
MediaSPIP is currently available in French and English (...) -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
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 (7083)
-
FFMPEG latest version for Wamp or Xampp
28 septembre 2014, par Ÿüšhä KĥãnI have seen the php ffmpeg project
http://sourceforge.net/projects/ffmpeg-php/files/
the last version was 0.6 in 2008 but I need ffmpeg 1.8 to work on a video sharing script. SO I googled it but came with no results. Anyone know how can I get the php_ffmpeg.dll (for windows i mean) latest version for working with it on my localhost on wamp or xampp ? -
getting errors from FFMpeg when spawned from .NET
18 mars 2014, par BrannonWhen I run FFMpeg from the command line like this
ffmpeg.exe -hwaccel auto -re -i "C:\Users\Public\Videos\Sample Videos\Wildlife.wmv" -an -sn -c:v bmp -pix_fmt bgr24 -f rawvideo - > junk.bin
it works fine. However, when I spawn the exact same thing (minus
> junk.bin
) I get this nasty "bad header" error after a few seconds of playback. What is causing this ? I have trouble believing my process blocks the pipe longer than the filesystem does, but it should be able to block the pipe indefinitely without defeating the decoding. The truncated stderr is below. My code to spawn the thing is here.ffmpeg version N-60761-g916a792 Copyright (c) 2000-2014 the FFmpeg developers
built on Feb 19 2014 21:57:22 with gcc 4.8.2 (GCC)
configuration: --target-os=mingw32 --enable-shared --enable-runtime-cpudetect
libavutil 52. 65.100 / 52. 65.100
libavcodec 55. 52.102 / 55. 52.102
libavformat 55. 33.100 / 55. 33.100
libavdevice 55. 10.100 / 55. 10.100
libavfilter 4. 1.103 / 4. 1.103
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
cygwin warning:
MS-DOS style path detected: C:\Users\Public\Videos\Sample Videos\Wildlife.wmv
Preferred POSIX equivalent is: /cygdrive/c/Users/Public/Videos/Sample Videos/Wildlife.wmv
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
[asf @ 0x600059480] Stream #0: not enough frames to estimate rate; consider increasing probesize
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, asf, from 'C:\Users\Public\Videos\Sample Videos\Wildlife.wmv':
Metadata:
SfOriginalFPS : 299700
WMFSDKVersion : 11.0.6001.7000
WMFSDKNeeded : 0.0.0.0000
comment : Footage: Small World Productions, Inc; Tourism New Zealand | Producer: Gary F. Spradling | Music: Steve Ball
title : Wildlife in HD
copyright : © 2008 Microsoft Corporation
IsVBR : 0
DeviceConformanceTemplate: AP@L3
Duration: 00:00:30.09, start: 0.000000, bitrate: 6977 kb/s
Stream #0:0(eng): Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, stereo, fltp, 192 kb/s
Stream #0:1(eng): Video: vc1 (Advanced) (WVC1 / 0x31435657), yuv420p, 1280x720, 5942 kb/s, 29.97 tbr, 1k tbn, 1k tbc
Output #0, rawvideo, to 'pipe:':
Metadata:
SfOriginalFPS : 299700
WMFSDKVersion : 11.0.6001.7000
WMFSDKNeeded : 0.0.0.0000
comment : Footage: Small World Productions, Inc; Tourism New Zealand | Producer: Gary F. Spradling | Music: Steve Ball
title : Wildlife in HD
copyright : © 2008 Microsoft Corporation
IsVBR : 0
DeviceConformanceTemplate: AP@L3
encoder : Lavf55.33.100
Stream #0:0(eng): Video: bmp, bgr24, 1280x720, q=2-31, 200 kb/s, 90k tbn, 29.97 tbc
Stream mapping:
Stream #0:1 -> #0:0 (vc1 -> bmp)
Press [q] to stop, [?] for help
frame= 3 fps=0.0 q=0.0 size= 8100kB time=00:00:00.10 bitrate=662902.1kbits/s
frame= 29 fps= 26 q=0.0 size= 78302kB time=00:00:00.96 bitrate=662902.3kbits/s
frame= 50 fps= 30 q=0.0 size= 135003kB time=00:00:01.66 bitrate=662902.2kbits/s
frame= 65 fps= 30 q=0.0 size= 175503kB time=00:00:02.16 bitrate=662902.2kbits/s
frame= 80 fps= 30 q=0.0 size= 216004kB time=00:00:02.66 bitrate=662902.1kbits/s
frame= 95 fps= 30 q=0.0 size= 256505kB time=00:00:03.16 bitrate=662902.1kbits/s
[asf @ 0x600059480] ff asf bad header 74 at:5053733
[asf @ 0x600059480] invalid packet_length -1908511255 at:5053740
[asf @ 0x600059480] ff asf bad header d4 at:5053759
[asf @ 0x600059480] ff asf skip 55629 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5181733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5189733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5197733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5205733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5213733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5221733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5229733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5237733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5245733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5357733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5365733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5373733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5381733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5493733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5501733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5509733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5517733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5629733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5637733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5645733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5653733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5701733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5709733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5717733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5725733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5805733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5813733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5821733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5829733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5877733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5885733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5893733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5901733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5949733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5957733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5965733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5973733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] packet_obj_size invalid
Last message repeated 15 times
[asf @ 0x600059480] unexpected packet_replic_size of 2
[asf @ 0x600059480] packet_obj_size invalid
Last message repeated 7 times
[asf @ 0x600059480] ff asf skip 2562 (unknown stream)
[asf @ 0x600059480] packet_obj_size invalid
Last message repeated 3 times
[asf @ 0x600059480] ff asf skip 448 (unknown stream)
[asf @ 0x600059480] packet_obj_size invalid
Last message repeated 9 times
[asf @ 0x600059480] unexpected packet_replic_size of 6
[asf @ 0x600059480] packet_obj_size invalid
Last message repeated 7 times
[asf @ 0x600059480] packet_frag_size is invalid (1749-9)
[asf @ 0x600059480] packet_obj_size invalid
Last message repeated 13 times
[asf @ 0x600059480] packet_frag_size is invalid (1749-9)
[asf @ 0x600059480] packet_obj_size invalid
Last message repeated 24 times
[asf @ 0x600059480] unexpected packet_replic_size of 6
[asf @ 0x600059480] packet_obj_size invalid
Last message repeated 6 times
[asf @ 0x600059480] unexpected packet_replic_size of 5
[asf @ 0x600059480] packet_obj_size invalid
Last message repeated 6 times
[asf @ 0x600059480] packet_frag_size is invalid (1749-9)
[asf @ 0x600059480] packet_obj_size invalid
[asf @ 0x600059480] packet_frag_size is invalid (1749-9)
[asf @ 0x600059480] packet_obj_size invalid
Last message repeated 2 times
[asf @ 0x600059480] unexpected packet_replic_size of 5
[asf @ 0x600059480] packet_obj_size invalid
Last message repeated 8 times
[asf @ 0x600059480] unexpected packet_replic_size of 5
[asf @ 0x600059480] packet_obj_size invalid
Last message repeated 39 times
[asf @ 0x600059480] packet_frag_size is invalid (1749-40) -
FFmpeg - downmixing FLAC 6.1 to AAC 5.1
7 juillet 2014, par MartijnI can’t seem to figure out how to do this. I’ve been staring at these commands :
https://trac.ffmpeg.org/wiki/AudioChannelManipulationBut to no avail. It’s a tad above my level, sadly. Here’s the ffmpeg -i output for the video in question :
ffmpeg version N-64012-g61df081 Copyright (c) 2000-2014 the FFmpeg developers
built on Jun 16 2014 22:01:59 with gcc 4.8.3 (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-libgme --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-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-decklink --enable-zlib
libavutil 52. 89.100 / 52. 89.100
libavcodec 55. 67.100 / 55. 67.100
libavformat 55. 43.100 / 55. 43.100
libavdevice 55. 13.101 / 55. 13.101
libavfilter 4. 8.100 / 4. 8.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100
Input #0, matroska,webm, from '[Coalgirls]_Spirited_Away_(1920x1038_Blu-ray_FLAC)_[92372194].mkv':
Metadata:
title : Spirited Away
encoder : libebml v1.3.0 + libmatroska v1.4.0
creation_time : 2014-07-03 01:32:13
Duration: 02:04:32.29, start: 0.000000, bitrate: 15972 kb/s
Chapter #0.0: start 0.000000, end 99.099000
Metadata:
title : 00:00:00.000
Chapter #0.1: start 99.099000, end 196.238000
Metadata:
title : 00:01:39.099
Chapter #0.2: start 196.238000, end 443.526000
Metadata:
title : 00:03:16.238
Chapter #0.3: start 443.526000, end 645.395000
Metadata:
title : 00:07:23.526
Chapter #0.4: start 645.395000, end 1023.022000
Metadata:
title : 00:10:45.395
Chapter #0.5: start 1023.022000, end 1368.534000
Metadata:
title : 00:17:03.022
Chapter #0.6: start 1368.534000, end 1716.048000
Metadata:
title : 00:22:48.534
Chapter #0.7: start 1716.048000, end 2008.173000
Metadata:
title : 00:28:36.048
Chapter #0.8: start 2008.173000, end 2301.674000
Metadata:
title : 00:33:28.173
Chapter #0.9: start 2301.674000, end 2651.816000
Metadata:
title : 00:38:21.674
Chapter #0.10: start 2651.816000, end 2906.821000
Metadata:
title : 00:44:11.816
Chapter #0.11: start 2906.821000, end 3271.351000
Metadata:
title : 00:48:26.821
Chapter #0.12: start 3271.351000, end 3729.017000
Metadata:
title : 00:54:31.351
Chapter #0.13: start 3729.017000, end 4091.587000
Metadata:
title : 01:02:09.017
Chapter #0.14: start 4091.587000, end 4476.847000
Metadata:
title : 01:08:11.587
Chapter #0.15: start 4476.847000, end 4750.579000
Metadata:
title : 01:14:36.847
Chapter #0.16: start 4750.579000, end 5139.760000
Metadata:
title : 01:19:10.579
Chapter #0.17: start 5139.760000, end 5478.890000
Metadata:
title : 01:25:39.760
Chapter #0.18: start 5478.890000, end 5853.806000
Metadata:
title : 01:31:18.890
Chapter #0.19: start 5853.806000, end 6318.937000
Metadata:
title : 01:37:33.806
Chapter #0.20: start 6318.937000, end 6625.118000
Metadata:
title : 01:45:18.937
Chapter #0.21: start 6625.118000, end 6771.098000
Metadata:
title : 01:50:25.118
Chapter #0.22: start 6771.098000, end 6914.199000
Metadata:
title : 01:52:51.098
Chapter #0.23: start 6914.199000, end 7253.580000
Metadata:
title : 01:55:14.199
Chapter #0.24: start 7253.580000, end 7472.288000
Metadata:
title : 02:00:53.580
Stream #0:0: Video: h264 (High 10), yuv420p10le(tv, bt709), 1920x1038, SAR 1:1 DAR 320:173, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
Metadata:
title : Spirited Away
Stream #0:1(jpn): Audio: flac, 48000 Hz, 6.1, s32 (default)
Metadata:
title : 6.1 FLAC
Stream #0:2(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
Metadata:
title : 5.1 AC3
Stream #0:3(fre): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
Metadata:
title : 5.1 AC3
Stream #0:4(ger): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
Metadata:
title : 5.1 AC3
Stream #0:5(fin): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
Metadata:
title : 2.0 AC3
Stream #0:6(kor): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
Metadata:
title : 5.1 AC3
Stream #0:7(chi): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
Metadata:
title : 5.1 AC3
Stream #0:8(chi): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
Metadata:
title : 5.1 AC3
Stream #0:9(eng): Subtitle: ssa (default)
Metadata:
title : English
Stream #0:10(fre): Subtitle: ssa
Metadata:
title : French
Stream #0:11(ger): Subtitle: ssa
Metadata:
title : German
Stream #0:12(eng): Subtitle: ssa
Metadata:
title : Songs + Signs
Stream #0:13: Attachment: ttf
Metadata:
filename : MyriadPro-Regular.otf
mimetype : application/x-truetype-font
Stream #0:14: Attachment: ttf
Metadata:
filename : MyriadPro-SemiboldIt.otf
mimetype : application/x-truetype-font
Stream #0:15: Attachment: ttf
Metadata:
filename : Vesta-Bold.otf
mimetype : application/x-truetype-font
Stream #0:16: Attachment: ttf
Metadata:
filename : Vesta-Bold_2.otf
mimetype : application/x-truetype-font
Stream #0:17: Attachment: ttf
Metadata:
filename : AR CENA_0.TTF
mimetype : application/x-truetype-font
Stream #0:18: Attachment: ttf
Metadata:
filename : tahomabd.ttf
mimetype : application/x-truetype-font
Stream #0:19: Attachment: ttf
Metadata:
filename : palai.ttf
mimetype : application/x-truetype-font
Stream #0:20: Attachment: ttf
Metadata:
filename : pala.ttf
mimetype : application/x-truetype-fontAs you can see, one of the streams is a FLAC 6.1 stream. I wanted to convert that to AAC, and I know how to do that, basically like this :
ffmpeg -i "input.mkv" -codec:v copy -codec:a aac -strict -2 -b:a 320k -f matroska "output.mkv"
But apparently AAC doesn’t support 6.1 audio :
...
[aac @ 03b26860] Unsupported number of channels: 7
Output #0, matroska, to 'd:\Movies\[Coalgirls]_Spirited_Away_(1920x1038_Blu-ray_FLAC)_[92372194].aac.mkv':
Stream #0:0(jpn): Video: h264, yuv420p10le, 1920x1038 [SAR 1:1 DAR 320:173], q=2-31, 23.98 fps, 90k tbn, 1k tbc (default)
Stream #0:1(jpn): Audio: aac, 0 channels, 128 kb/s (default)
Metadata:
encoder : Lavc55.67.100 aac
Stream #0:2(eng): Subtitle: ssa, 128 kb/s (default)
Metadata:
encoder : Lavc55.67.100 ssa
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (flac (native) -> aac (aac))
Stream #0:9 -> #0:2 (ssa (native) -> ssa (native))
Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or heightThat’s fine, so I wanted to downmix it to 5.1 and encode as AAC. But I can’t seem to work out how to. Any advice ?