
Recherche avancée
Autres articles (71)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
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 -
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)
Sur d’autres sites (7141)
-
FFmpeg converting image sequence to video results in blank video [closed]
11 septembre 2016, par Brandon DurhamI’ve got a series of 361 .png files that I’m trying to convert to video, and for whatever reason the resulting video is just black. Here is the FFmpeg code I’m using :
ffmpeg -f image2 -i "FeatureTour_%05d.png" -r 30 -vcodec libx264 -b:v 9600k "FeatureTour.mp4"
The files are formatted correctly (
FeatureTour_00001.png
) and no errors are thrown. It just results in a 160kb mp4 files that’s black.Any idea what I’m doing wrong ?
EDIT
Here is my output after using the above code :
ffmpeg version N-46206-g0e4d34e Copyright (c) 2000-2012 the FFmpeg developers
built on Oct 30 2012 23:07:44 with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libaacplus --enable-libass --enable-libcelt --enable-libfaac --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-openssl --enable-libopus --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --prefix=/usr/local
libavutil 52. 1.100 / 52. 1.100
libavcodec 54. 70.100 / 54. 70.100
libavformat 54. 35.100 / 54. 35.100
libavdevice 54. 3.100 / 54. 3.100
libavfilter 3. 20.113 / 3. 20.113
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 16.100 / 0. 16.100
libpostproc 52. 1.100 / 52. 1.100
[image2 @ 0x7fa68381e200] max_analyze_duration 5000000 reached at 5000000
Input #0, image2, from 'FeatureTour_%05d.png':
Duration: 00:00:14.44, start: 0.000000, bitrate: N/A
Stream #0:0: Video: png, rgb24, 114x151 [SAR 2835:2835 DAR 114:151], 25 fps, 25 tbr, 25 tbn, 25 tbc
[libx264 @ 0x7fa683826c00] using SAR=1/1
[libx264 @ 0x7fa683826c00] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
[libx264 @ 0x7fa683826c00] profile High 4:4:4 Predictive, level 3.0, 4:4:4 8-bit
[libx264 @ 0x7fa683826c00] 264 - core 125 - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=4 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=9600 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'FeatureTour.mp4':
Metadata:
encoder : Lavf54.35.100
Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv444p, 114x151 [SAR 1:1 DAR 114:151], q=-1--1, 9600 kb/s, 15360 tbn, 30 tbc
Stream mapping:
Stream #0:0 -> #0:0 (png -> libx264)
Press [q] to stop, [?] for help
frame= 432 fps=0.0 q=-2.0 Lsize= 152kB time=00:00:14.33 bitrate= 86.9kbits/s dup=71 drop=0
video:146kB audio:0kB subtitle:0 global headers:0kB muxing overhead 3.905020%
[libx264 @ 0x7fa683826c00] frame I:3 Avg QP: 0.06 size: 8557
[libx264 @ 0x7fa683826c00] frame P:135 Avg QP: 0.10 size: 653
[libx264 @ 0x7fa683826c00] frame B:294 Avg QP: 0.43 size: 120
[libx264 @ 0x7fa683826c00] consecutive B-frames: 8.8% 0.9% 1.4% 88.9%
[libx264 @ 0x7fa683826c00] mb I I16..4: 30.0% 0.4% 69.6%
[libx264 @ 0x7fa683826c00] mb P I16..4: 2.1% 0.0% 1.9% P16..4: 7.5% 1.2% 0.8% 0.0% 0.0% skip:86.5%
[libx264 @ 0x7fa683826c00] mb B I16..4: 0.2% 0.0% 0.1% B16..8: 4.4% 0.3% 0.2% direct: 0.9% skip:93.8% L0:46.5% L1:48.9% BI: 4.5%
[libx264 @ 0x7fa683826c00] final ratefactor: -45.15
[libx264 @ 0x7fa683826c00] 8x8 transform intra:0.7% inter:19.3%
[libx264 @ 0x7fa683826c00] coded y,u,v intra: 44.4% 32.1% 31.5% inter: 2.3% 1.6% 1.4%
[libx264 @ 0x7fa683826c00] i16 v,h,dc,p: 25% 75% 0% 0%
[libx264 @ 0x7fa683826c00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 30% 40% 10% 0% 5% 0% 10% 0% 5%
[libx264 @ 0x7fa683826c00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 71% 5% 1% 1% 1% 2% 1% 2%
[libx264 @ 0x7fa683826c00] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x7fa683826c00] ref P L0: 88.0% 3.9% 5.0% 3.1%
[libx264 @ 0x7fa683826c00] ref B L0: 85.4% 12.4% 2.1%
[libx264 @ 0x7fa683826c00] ref B L1: 98.1% 1.9%
[libx264 @ 0x7fa683826c00] kb/s:82.86 -
Running FFMPEG in Android [duplicate]
1er février 2013, par user2028081Possible Duplicate :
ffmpeg for a android (using tutorial : “ffmpeg and Android.mk”)I have tried several things running FFMPEG in android, searched around the whole net,No fruitful or direct solutions available. Refereed this and related was very helpful though.
Moreover currently I am able to build the FFMPEG in Ubuntu 12. Created all the .SO binary everything.
My question is, how do I change the ffmeg.c file which will enable me to pass ffmpeg commands ?
According to this by following steps this is possible.
With the design above, the change for ffmpeg.c is simple.
Change the main(int argc, char **argv) function prototype to a java JNI interface prototype that Android java code can call.
Change the output to stdout to the text files we created.
Comment out a few lines that cause the compilation error.But I'm unable to change the main and how it would be.
Please help me on this. If somebody have already achieved this thing.
-
FFMPEG Error while opening decoder for input stream
6 mars 2016, par ChrisWhile this command his been working for a couple of months, I suddenly began running into the following error when encoding video via my php application. Testing the encoding parameters on the command line yielded the same results, while the verion of ffmpeg on my local machine has no problem reading the input
Command I used :
ffmpeg -i clip_20121022150813.mp4 -acodec libfaac -ab 44100 encoded.mp4
And the output (error on last line) :
ffmpeg version N-45871-g34ccb94 Copyright (c) 2000-2012 the FFmpeg developers
built on Oct 22 2012 22:20:53 with gcc 4.1.2 (GCC) 20080704 (Red Hat 4.1.2-52)
configuration: --enable-gpl --enable-libmp3lame --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libfaac --enable-nonfree
libavutil 51. 77.100 / 51. 77.100
libavcodec 54. 68.100 / 54. 68.100
libavformat 54. 34.100 / 54. 34.100
libavdevice 54. 3.100 / 54. 3.100
libavfilter 3. 20.104 / 3. 20.104
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 16.100 / 0. 16.100
libpostproc 52. 1.100 / 52. 1.100
Guessed Channel Layout for Input Stream #0.1 : mono
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'clip_20121022150813.mp4':
Metadata:
major_brand : qt
minor_version : 0
compatible_brands: qt
creation_time : 2012-10-22 22:08:02
Duration: 00:00:03.80, start: 0.000000, bitrate: 3259 kb/s
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 480x640, 2593 kb/s, 18.73 fps, 29.97 tbr, 600 tbn, 1200 tbc
Metadata:
creation_time : 2012-10-22 22:08:02
handler_name : Core Media Data Handler
Stream #0:1(und): Audio: pcm_s16le (lpcm / 0x6D63706C), 44100 Hz, mono, s16, 705 kb/s
Metadata:
creation_time : 2012-10-22 22:08:02
handler_name : Core Media Data Handler
File 'encoded.mp4' already exists. Overwrite ? [y/N] y
using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
[libx264 @ 0x104fa4e0] profile High, level 3.0
[libx264 @ 0x104fa4e0] 264 - core 128 r2216 198a7ea - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=24 lookahead_threads=4 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'encoded.mp4':
Metadata:
major_brand : qt
minor_version : 0
compatible_brands: qt
Stream #0:0(und): Video: h264, yuv420p, 480x640, q=-1--1, 90k tbn, 29.97 tbc
Metadata:
creation_time : 2012-10-22 22:08:02
handler_name : Core Media Data Handler
Stream #0:1(und): Audio: aac, 44100 Hz, mono, s16, 44 kb/s
Metadata:
creation_time : 2012-10-22 22:08:02
handler_name : Core Media Data Handler
Stream mapping:
Stream #0:0 -> #0:0 (h264 -> libx264)
Stream #0:1 -> #0:1 (pcm_s16le -> libfaac)
Error while opening decoder for input stream #0:0I have uninstalled ffmpeg, recompiled from source, also recompiled x264 and a host of other libraries, but this error persists. Is there anyway I can find out more about what exactly is failing ?