
Recherche avancée
Autres articles (18)
-
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 (...)
-
Taille des images et des logos définissables
9 février 2011, parDans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)
Sur d’autres sites (4553)
-
convert exr filesequence with ffmpeg and x264 [closed]
29 novembre 2012, par user1863947When i convert a exr sequence into quicktime mov file using ffmpeg and x264 codec it codes the video but in quicktime player and windows media player its just black ! but when i open it up with vlc i can see the image and it looks fine. When i try the same thing with a jpg sequence instead of exr it works perfect ! does anyone have an idea what that could be ?
here is my ffmpeg code :
ffmpeg -y -i C:/seq_v001.%04d.exr -c:v libx264 -preset slow -crf 17 C:/out.mov
Here is the console output :
ffmpeg version N-47062-g26c531c Copyright (c) 2000-2012 the FFmpeg developers
built on Nov 25 2012 12:25:21 with gcc 4.7.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-pthreads --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
libavutil 52. 9.100 / 52. 9.100
libavcodec 54. 77.100 / 54. 77.100
libavformat 54. 37.100 / 54. 37.100
libavdevice 54. 3.100 / 54. 3.100
libavfilter 3. 23.102 / 3. 23.102
libswscale 2. 1.102 / 2. 1.102
libswresample 0. 17.101 / 0. 17.101
libpostproc 52. 2.100 / 52. 2.100
[image2 @ 000000000025e4c0] Stream #0: not enough frames to estimate rate; consider increasing probesize
Input #0, image2, from 'C:/seq_v001.%04d.exr':
Duration: 00:00:04.00, start: 0.000000, bitrate: N/A
Stream #0:0: Video: exr, rgb48le, 1920x1080 [SAR 1:1 DAR 16:9], 25 tbr, 25 tbn, 25 tbc
[libx264 @ 0000000001fd0ea0] using SAR=1/1
[libx264 @ 0000000001fd0ea0] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
[libx264 @ 0000000001fd0ea0] profile High 4:4:4 Predictive, level 5.0, 4:4:4 8-bit
[libx264 @ 0000000001fd0ea0] 264 - core 128 r2216 198a7ea - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=5 deblock=1:0:0 analyse=0x3:0x113 me=umh subme=8 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=18 lookahead_threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=2 b_bias=0 direct=3 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=50 rc=crf mbtree=1 crf=17.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mov, to 'C:/out.mov':
Metadata:
encoder : Lavf54.37.100
Stream #0:0: Video: h264 (avc1 / 0x31637661), yuv444p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 12800 tbn, 25 tbc
Stream mapping:
Stream #0:0 -> #0:0 (exr -> libx264)
Press [q] to stop, [?] for help
[exr @ 0000000001fddea0] Found more than one compression attribute
[exr @ 0000000001fdda40] Found more than one compression attribute
[exr @ 0000000001fde2e0] Found more than one compression attribute
[exr @ 0000000001fde740] Found more than one compression attribute
[exr @ 0000000001fdeb80] Found more than one compression attribute
[exr @ 0000000001fdefe0] Found more than one compression attribute
frame= 7 fps=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate= 0.0kbits/s
Found more than one compression attribute
[exr @ 0000000001fdf880] Found more than one compression attribute
[exr @ 0000000001fdfcc0] Found more than one compression attribute
[exr @ 0000000001fe0120] Found more than one compression attribute
[exr @ 0000000001fe0560] Found more than one compression attribute
[exr @ 0000000001fe09c0] Found more than one compression attribute
[exr @ 0000000001fe0e00] Found more than one compression attribute
[exr @ 0000000001fddea0] Found more than one compression attribute
[exr @ 0000000001fdda40] Found more than one compression attribute
[exr @ 0000000001fde2e0] Found more than one compression attribute
frame= 17 fps= 16 q=0.0 size= 0kB time=00:00:00.00 bitrate= 0.0kbits/s
Found more than one compression attribute
[exr @ 0000000001fdeb80] Found more than one compression attribute
[exr @ 0000000001fdefe0] Found more than one compression attribute
[exr @ 0000000001fdf420] Found more than one compression attribute
[exr @ 0000000001fdf880] Found more than one compression attribute
[exr @ 0000000001fdfcc0] Found more than one compression attribute
[exr @ 0000000001fe0120] Found more than one compression attribute
[exr @ 0000000001fe0560] Found more than one compression attribute
[exr @ 0000000001fe09c0] Found more than one compression attribute
[exr @ 0000000001fe0e00] Found more than one compression attribute
[exr @ 0000000001fddea0] Found more than one compression attribute
frame= 28 fps= 18 q=0.0 size= 0kB time=00:00:00.00 bitrate= 0.0kbits/s
Found more than one compression attribute
[exr @ 0000000001fde2e0] Found more than one compression attribute
[exr @ 0000000001fde740] Found more than one compression attribute
[exr @ 0000000001fdeb80] Found more than one compression attribute
[exr @ 0000000001fdefe0] Found more than one compression attribute
[exr @ 0000000001fdf420] Found more than one compression attribute
[exr @ 0000000001fdf880] Found more than one compression attribute
[exr @ 0000000001fdfcc0] Found more than one compression attribute
[exr @ 0000000001fe0120] Found more than one compression attribute
[exr @ 0000000001fe0560] Found more than one compression attribute
[exr @ 0000000001fe09c0] Found more than one compression attribute
frame= 39 fps= 19 q=0.0 size= 0kB time=00:00:00.00 bitrate= 0.0kbits/s
Found more than one compression attribute
[exr @ 0000000001fddea0] Found more than one compression attribute
[exr @ 0000000001fdda40] Found more than one compression attribute
[exr @ 0000000001fde2e0] Found more than one compression attribute
[exr @ 0000000001fde740] Found more than one compression attribute
[exr @ 0000000001fdeb80] Found more than one compression attribute
[exr @ 0000000001fdefe0] Found more than one compression attribute
[exr @ 0000000001fdf420] Found more than one compression attribute
[exr @ 0000000001fdf880] Found more than one compression attribute
[exr @ 0000000001fdfcc0] Found more than one compression attribute
[exr @ 0000000001fe0120] Found more than one compression attribute
frame= 50 fps= 19 q=0.0 size= 0kB time=00:00:00.00 bitrate= 0.0kbits/s
Found more than one compression attribute
[exr @ 0000000001fe09c0] Found more than one compression attribute
[exr @ 0000000001fe0e00] Found more than one compression attribute
[exr @ 0000000001fddea0] Found more than one compression attribute
[exr @ 0000000001fdda40] Found more than one compression attribute
[exr @ 0000000001fde2e0] Found more than one compression attribute
[exr @ 0000000001fde740] Found more than one compression attribute
frame= 57 fps= 16 q=0.0 size= 0kB time=00:00:00.00 bitrate= 0.0kbits/s
Found more than one compression attribute
[exr @ 0000000001fdefe0] Found more than one compression attribute
[exr @ 0000000001fdf420] Found more than one compression attribute
[exr @ 0000000001fdf880] Found more than one compression attribute
[exr @ 0000000001fdfcc0] Found more than one compression attribute
[exr @ 0000000001fe0120] Found more than one compression attribute
[exr @ 0000000001fe0560] Found more than one compression attribute
[exr @ 0000000001fe09c0] Found more than one compression attribute
[exr @ 0000000001fe0e00] Found more than one compression attribute
frame= 66 fps= 17 q=0.0 size= 0kB time=00:00:00.00 bitrate= 0.0kbits/s
Found more than one compression attribute
[exr @ 0000000001fdda40] Found more than one compression attribute
[exr @ 0000000001fde2e0] Found more than one compression attribute
[exr @ 0000000001fde740] Found more than one compression attribute
[exr @ 0000000001fdeb80] Found more than one compression attribute
[exr @ 0000000001fdefe0] Found more than one compression attribute
[exr @ 0000000001fdf420] Found more than one compression attribute
[exr @ 0000000001fdf880] Found more than one compression attribute
frame= 74 fps= 16 q=22.0 size= 255kB time=00:00:00.00 bitrate= 0.0kbits/s
Found more than one compression attribute
[exr @ 0000000001fe0120] Found more than one compression attribute
[exr @ 0000000001fe0560] Found more than one compression attribute
[exr @ 0000000001fe09c0] Found more than one compression attribute
[exr @ 0000000001fe0e00] Found more than one compression attribute
frame= 79 fps= 16 q=22.0 size= 467kB time=00:00:00.20 bitrate=19134.5kbits/s
Found more than one compression attribute
[exr @ 0000000001fdda40] Found more than one compression attribute
[exr @ 0000000001fde2e0] Found more than one compression attribute
[exr @ 0000000001fde740] Found more than one compression attribute
frame= 83 fps= 15 q=22.0 size= 652kB time=00:00:00.36 bitrate=14829.5kbits/s
Found more than one compression attribute
[exr @ 0000000001fdefe0] Found more than one compression attribute
[exr @ 0000000001fdf420] Found more than one compression attribute
[exr @ 0000000001fdf880] Found more than one compression attribute
[exr @ 0000000001fdfcc0] Found more than one compression attribute
frame= 100 fps= 15 q=22.0 size= 1505kB time=-577014:-32:-22.-77 bitrate= -0.0kbits/s
frame= 100 fps=9.6 q=-1.0 Lsize= 3831kB time=00:00:03.92 bitrate=8006.7kbits/s
video:3829kB audio:0kB subtitle:0 global headers:0kB muxing overhead 0.050698%
[libx264 @ 0000000001fd0ea0] frame I:1 Avg QP:18.35 size:168478
[libx264 @ 0000000001fd0ea0] frame P:31 Avg QP:16.10 size: 83540
[libx264 @ 0000000001fd0ea0] frame B:68 Avg QP:20.34 size: 17093
[libx264 @ 0000000001fd0ea0] consecutive B-frames: 7.0% 4.0% 9.0% 80.0%
[libx264 @ 0000000001fd0ea0] mb I I16..4: 22.6% 67.9% 9.4%
[libx264 @ 0000000001fd0ea0] mb P I16..4: 1.3% 7.3% 0.6% P16..4: 20.3% 10.1% 5.7% 0.0% 0.0% skip:54.6%
[libx264 @ 0000000001fd0ea0] mb B I16..4: 0.2% 0.8% 0.1% B16..8: 30.8% 4.8% 1.2% direct: 1.5% skip:60.6% L0:46.0% L1:48.6% BI: 5.4%
[libx264 @ 0000000001fd0ea0] 8x8 transform intra:76.0% inter:78.8%
[libx264 @ 0000000001fd0ea0] direct mvs spatial:85.3% temporal:14.7%
[libx264 @ 0000000001fd0ea0] coded y,u,v intra: 87.8% 56.3% 53.3% inter: 13.0% 6.1% 5.0%
[libx264 @ 0000000001fd0ea0] i16 v,h,dc,p: 12% 9% 24% 55%
[libx264 @ 0000000001fd0ea0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 10% 8% 32% 7% 11% 8% 9% 7% 9%
[libx264 @ 0000000001fd0ea0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% 8% 5% 8% 23% 14% 11% 9% 11%
[libx264 @ 0000000001fd0ea0] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0000000001fd0ea0] ref P L0: 40.6% 9.5% 25.3% 13.3% 9.3% 2.1%
[libx264 @ 0000000001fd0ea0] ref B L0: 64.9% 24.5% 8.7% 1.9%
[libx264 @ 0000000001fd0ea0] ref B L1: 89.8% 10.2%
[libx264 @ 0000000001fd0ea0] kb/s:7841.10 -
convert exr filesequence with ffmpeg and x264 [closed]
29 novembre 2012, par user1863947When i convert a exr sequence into quicktime mov file using ffmpeg and x264 codec it codes the video but in quicktime player and windows media player its just black ! but when i open it up with vlc i can see the image and it looks fine. When i try the same thing with a jpg sequence instead of exr it works perfect ! does anyone have an idea what that could be ?
here is my ffmpeg code :
ffmpeg -y -i C:/seq_v001.%04d.exr -c:v libx264 -preset slow -crf 17 C:/out.mov
Here is the console output :
ffmpeg version N-47062-g26c531c Copyright (c) 2000-2012 the FFmpeg developers
built on Nov 25 2012 12:25:21 with gcc 4.7.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-pthreads --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
libavutil 52. 9.100 / 52. 9.100
libavcodec 54. 77.100 / 54. 77.100
libavformat 54. 37.100 / 54. 37.100
libavdevice 54. 3.100 / 54. 3.100
libavfilter 3. 23.102 / 3. 23.102
libswscale 2. 1.102 / 2. 1.102
libswresample 0. 17.101 / 0. 17.101
libpostproc 52. 2.100 / 52. 2.100
[image2 @ 000000000025e4c0] Stream #0: not enough frames to estimate rate; consider increasing probesize
Input #0, image2, from 'C:/seq_v001.%04d.exr':
Duration: 00:00:04.00, start: 0.000000, bitrate: N/A
Stream #0:0: Video: exr, rgb48le, 1920x1080 [SAR 1:1 DAR 16:9], 25 tbr, 25 tbn, 25 tbc
[libx264 @ 0000000001fd0ea0] using SAR=1/1
[libx264 @ 0000000001fd0ea0] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
[libx264 @ 0000000001fd0ea0] profile High 4:4:4 Predictive, level 5.0, 4:4:4 8-bit
[libx264 @ 0000000001fd0ea0] 264 - core 128 r2216 198a7ea - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=5 deblock=1:0:0 analyse=0x3:0x113 me=umh subme=8 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=18 lookahead_threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=2 b_bias=0 direct=3 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=50 rc=crf mbtree=1 crf=17.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mov, to 'C:/out.mov':
Metadata:
encoder : Lavf54.37.100
Stream #0:0: Video: h264 (avc1 / 0x31637661), yuv444p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 12800 tbn, 25 tbc
Stream mapping:
Stream #0:0 -> #0:0 (exr -> libx264)
Press [q] to stop, [?] for help
[exr @ 0000000001fddea0] Found more than one compression attribute
[exr @ 0000000001fdda40] Found more than one compression attribute
[exr @ 0000000001fde2e0] Found more than one compression attribute
[exr @ 0000000001fde740] Found more than one compression attribute
[exr @ 0000000001fdeb80] Found more than one compression attribute
[exr @ 0000000001fdefe0] Found more than one compression attribute
frame= 7 fps=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate= 0.0kbits/s
Found more than one compression attribute
[exr @ 0000000001fdf880] Found more than one compression attribute
[exr @ 0000000001fdfcc0] Found more than one compression attribute
[exr @ 0000000001fe0120] Found more than one compression attribute
[exr @ 0000000001fe0560] Found more than one compression attribute
[exr @ 0000000001fe09c0] Found more than one compression attribute
[exr @ 0000000001fe0e00] Found more than one compression attribute
[exr @ 0000000001fddea0] Found more than one compression attribute
[exr @ 0000000001fdda40] Found more than one compression attribute
[exr @ 0000000001fde2e0] Found more than one compression attribute
frame= 17 fps= 16 q=0.0 size= 0kB time=00:00:00.00 bitrate= 0.0kbits/s
Found more than one compression attribute
[exr @ 0000000001fdeb80] Found more than one compression attribute
[exr @ 0000000001fdefe0] Found more than one compression attribute
[exr @ 0000000001fdf420] Found more than one compression attribute
[exr @ 0000000001fdf880] Found more than one compression attribute
[exr @ 0000000001fdfcc0] Found more than one compression attribute
[exr @ 0000000001fe0120] Found more than one compression attribute
[exr @ 0000000001fe0560] Found more than one compression attribute
[exr @ 0000000001fe09c0] Found more than one compression attribute
[exr @ 0000000001fe0e00] Found more than one compression attribute
[exr @ 0000000001fddea0] Found more than one compression attribute
frame= 28 fps= 18 q=0.0 size= 0kB time=00:00:00.00 bitrate= 0.0kbits/s
Found more than one compression attribute
[exr @ 0000000001fde2e0] Found more than one compression attribute
[exr @ 0000000001fde740] Found more than one compression attribute
[exr @ 0000000001fdeb80] Found more than one compression attribute
[exr @ 0000000001fdefe0] Found more than one compression attribute
[exr @ 0000000001fdf420] Found more than one compression attribute
[exr @ 0000000001fdf880] Found more than one compression attribute
[exr @ 0000000001fdfcc0] Found more than one compression attribute
[exr @ 0000000001fe0120] Found more than one compression attribute
[exr @ 0000000001fe0560] Found more than one compression attribute
[exr @ 0000000001fe09c0] Found more than one compression attribute
frame= 39 fps= 19 q=0.0 size= 0kB time=00:00:00.00 bitrate= 0.0kbits/s
Found more than one compression attribute
[exr @ 0000000001fddea0] Found more than one compression attribute
[exr @ 0000000001fdda40] Found more than one compression attribute
[exr @ 0000000001fde2e0] Found more than one compression attribute
[exr @ 0000000001fde740] Found more than one compression attribute
[exr @ 0000000001fdeb80] Found more than one compression attribute
[exr @ 0000000001fdefe0] Found more than one compression attribute
[exr @ 0000000001fdf420] Found more than one compression attribute
[exr @ 0000000001fdf880] Found more than one compression attribute
[exr @ 0000000001fdfcc0] Found more than one compression attribute
[exr @ 0000000001fe0120] Found more than one compression attribute
frame= 50 fps= 19 q=0.0 size= 0kB time=00:00:00.00 bitrate= 0.0kbits/s
Found more than one compression attribute
[exr @ 0000000001fe09c0] Found more than one compression attribute
[exr @ 0000000001fe0e00] Found more than one compression attribute
[exr @ 0000000001fddea0] Found more than one compression attribute
[exr @ 0000000001fdda40] Found more than one compression attribute
[exr @ 0000000001fde2e0] Found more than one compression attribute
[exr @ 0000000001fde740] Found more than one compression attribute
frame= 57 fps= 16 q=0.0 size= 0kB time=00:00:00.00 bitrate= 0.0kbits/s
Found more than one compression attribute
[exr @ 0000000001fdefe0] Found more than one compression attribute
[exr @ 0000000001fdf420] Found more than one compression attribute
[exr @ 0000000001fdf880] Found more than one compression attribute
[exr @ 0000000001fdfcc0] Found more than one compression attribute
[exr @ 0000000001fe0120] Found more than one compression attribute
[exr @ 0000000001fe0560] Found more than one compression attribute
[exr @ 0000000001fe09c0] Found more than one compression attribute
[exr @ 0000000001fe0e00] Found more than one compression attribute
frame= 66 fps= 17 q=0.0 size= 0kB time=00:00:00.00 bitrate= 0.0kbits/s
Found more than one compression attribute
[exr @ 0000000001fdda40] Found more than one compression attribute
[exr @ 0000000001fde2e0] Found more than one compression attribute
[exr @ 0000000001fde740] Found more than one compression attribute
[exr @ 0000000001fdeb80] Found more than one compression attribute
[exr @ 0000000001fdefe0] Found more than one compression attribute
[exr @ 0000000001fdf420] Found more than one compression attribute
[exr @ 0000000001fdf880] Found more than one compression attribute
frame= 74 fps= 16 q=22.0 size= 255kB time=00:00:00.00 bitrate= 0.0kbits/s
Found more than one compression attribute
[exr @ 0000000001fe0120] Found more than one compression attribute
[exr @ 0000000001fe0560] Found more than one compression attribute
[exr @ 0000000001fe09c0] Found more than one compression attribute
[exr @ 0000000001fe0e00] Found more than one compression attribute
frame= 79 fps= 16 q=22.0 size= 467kB time=00:00:00.20 bitrate=19134.5kbits/s
Found more than one compression attribute
[exr @ 0000000001fdda40] Found more than one compression attribute
[exr @ 0000000001fde2e0] Found more than one compression attribute
[exr @ 0000000001fde740] Found more than one compression attribute
frame= 83 fps= 15 q=22.0 size= 652kB time=00:00:00.36 bitrate=14829.5kbits/s
Found more than one compression attribute
[exr @ 0000000001fdefe0] Found more than one compression attribute
[exr @ 0000000001fdf420] Found more than one compression attribute
[exr @ 0000000001fdf880] Found more than one compression attribute
[exr @ 0000000001fdfcc0] Found more than one compression attribute
frame= 100 fps= 15 q=22.0 size= 1505kB time=-577014:-32:-22.-77 bitrate= -0.0kbits/s
frame= 100 fps=9.6 q=-1.0 Lsize= 3831kB time=00:00:03.92 bitrate=8006.7kbits/s
video:3829kB audio:0kB subtitle:0 global headers:0kB muxing overhead 0.050698%
[libx264 @ 0000000001fd0ea0] frame I:1 Avg QP:18.35 size:168478
[libx264 @ 0000000001fd0ea0] frame P:31 Avg QP:16.10 size: 83540
[libx264 @ 0000000001fd0ea0] frame B:68 Avg QP:20.34 size: 17093
[libx264 @ 0000000001fd0ea0] consecutive B-frames: 7.0% 4.0% 9.0% 80.0%
[libx264 @ 0000000001fd0ea0] mb I I16..4: 22.6% 67.9% 9.4%
[libx264 @ 0000000001fd0ea0] mb P I16..4: 1.3% 7.3% 0.6% P16..4: 20.3% 10.1% 5.7% 0.0% 0.0% skip:54.6%
[libx264 @ 0000000001fd0ea0] mb B I16..4: 0.2% 0.8% 0.1% B16..8: 30.8% 4.8% 1.2% direct: 1.5% skip:60.6% L0:46.0% L1:48.6% BI: 5.4%
[libx264 @ 0000000001fd0ea0] 8x8 transform intra:76.0% inter:78.8%
[libx264 @ 0000000001fd0ea0] direct mvs spatial:85.3% temporal:14.7%
[libx264 @ 0000000001fd0ea0] coded y,u,v intra: 87.8% 56.3% 53.3% inter: 13.0% 6.1% 5.0%
[libx264 @ 0000000001fd0ea0] i16 v,h,dc,p: 12% 9% 24% 55%
[libx264 @ 0000000001fd0ea0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 10% 8% 32% 7% 11% 8% 9% 7% 9%
[libx264 @ 0000000001fd0ea0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% 8% 5% 8% 23% 14% 11% 9% 11%
[libx264 @ 0000000001fd0ea0] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0000000001fd0ea0] ref P L0: 40.6% 9.5% 25.3% 13.3% 9.3% 2.1%
[libx264 @ 0000000001fd0ea0] ref B L0: 64.9% 24.5% 8.7% 1.9%
[libx264 @ 0000000001fd0ea0] ref B L1: 89.8% 10.2%
[libx264 @ 0000000001fd0ea0] kb/s:7841.10 -
Converting from FLV to MP4 using ffmpeg
14 juillet 2016, par BradI have a library of several thousand flv files which I need to convert to mp4. I’m trying to use ffmpeg to do so but I’m running into some issues.
Primarily :
1) I can’t switch from FLV to MP4 without re-encoding. If I do I get a message from ffmpeg saying "Could not find tag for codec flv1 in stream #0, codec not currently supported in container"
2) If I re-encode the videos, the resultant videos are lower quality (I see artifacting in VLC) AND larger. For example one video went from 2.5MB to 4.3MB (almost double in size)
Given number two you may be asking yourself - why convert then ?
The answer is I need to stream these to mobile devices (phones/tablets etc) and flv isn’t supported. So I need to convert the files but I can’t tolerate more than a minimum change in quality, and preferably zero to no increase in size.
Here’s the ffmpeg command I’m running :
ffmpeg -i $_.FullName -movflags faststart -profile:v baseline -level 3.0 "$($_.BaseName).mp4"
(Note that I’m running ffmpeg from powershell so :
$_.FullName = the original file name
"$($_.BaseName).mp4" = the original file name with mp4 extension)Can any FFMPEG guru’s help me to understand what I’m doing wrong ? Is there some set of parameters I can use to make this conversion result in less loss of quality and similar size ?
Note I’ve also tried "-c:v libx264 -preset veryslow -crf 23 -c:a copy". Using present "veryslow" doesn’t result in any appreciable difference.
UPDATE
I’m using the following options :ffmpeg -i $_.FullName -c:v libx264 -preset veryslow -crf 19 -c:a copy "$($_.BaseName).mp4"
Here’s the full output :
ffmpeg version 2.8.4 Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 5.2.0 (GCC)
configuration : —enable-gpl —enable-version3 —disable-w32threads —enable-avisynth —enable-bzlib —enable-fontconfi
g —enable-frei0r —enable-gnutls —enable-iconv —enable-libass —enable-libbluray —enable-libbs2b —enable-libcaca —
enable-libdcadec —enable-libfreetype —enable-libgme —enable-libgsm —enable-libilbc —enable-libmodplug —enable-libm
p3lame —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libopenjpeg —enable-libopus —enable-librtmp —en
able-libschroedinger —enable-libsoxr —enable-libspeex —enable-libtheora —enable-libtwolame —enable-libvidstab —ena
ble-libvo-aacenc —enable-libvo-amrwbenc —enable-libvorbis —enable-libvpx —enable-libwavpack —enable-libwebp —enabl
e-libx264 —enable-libx265 —enable-libxavs —enable-libxvid —enable-lzma —enable-decklink —enable-zlib
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
Input #0, flv, from ’C :\Users\brad\Desktop\ffmpeg\Originals\1019800-1278575542468.flv’ :
Metadata :
canSeekToEnd : false
createdby : FMS 3.5
creationdate : Thu Jul 08 03:52:25 2010
Duration : 00:00:56.94, start : 0.000000, bitrate : 360 kb/s
Stream #0:0 : Video : flv1, yuv420p, 320x240, 1k tbr, 1k tbn, 1k tbc
[libx264 @ 02cf7300] using cpu capabilities : MMX2 SSE2Fast SSSE3 SSE4.2
[libx264 @ 02cf7300] profile High, level 4.2
[libx264 @ 02cf7300] 264 - core 148 r2638 7599210 - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - http://www.videolan.or
g/x264.html - options : cabac=1 ref=16 deblock=1:0:0 analyse=0x3:0x133 me=umh subme=10 psy=1 psy_rd=1.00:0.00 mixed_ref=1
me_range=24 chroma_me=1 trellis=2 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=7 lookahead_th
reads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=8 b_pyramid=2 b_adapt=
2 b_bias=0 direct=3 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=60
rc=crf mbtree=1 crf=19.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to ’1019800-1278575542468.mp4’ :
Metadata :
canSeekToEnd : false
createdby : FMS 3.5
creationdate : Thu Jul 08 03:52:25 2010
encoder : Lavf56.40.101
Stream #0:0 : Video : h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 320x240, q=-1—1, 1k fps, 16k tbn, 1k tbc
Metadata :
encoder : Lavc56.60.100 libx264
Stream mapping :
Stream #0:0 -> #0:0 (flv1 (flv) -> h264 (libx264))
Press [q] to stop, [?] for help
frame=57117 fps=199 q=-1.0 Lsize= 5611kB time=00:00:57.11 bitrate= 804.8kbits/s dup=56685 drop=0
video:5184kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead : 8.229259%
[libx264 @ 02cf7300] frame I:230 Avg QP:15.92 size : 8828
[libx264 @ 02cf7300] frame P:6399 Avg QP:17.19 size : 385
[libx264 @ 02cf7300] frame B:50488 Avg QP:27.13 size : 16
[libx264 @ 02cf7300] consecutive B-frames : 0.4% 0.0% 0.0% 0.0% 0.0% 2.3% 0.0% 0.0% 97.2%
[libx264 @ 02cf7300] mb I I16..4 : 2.9% 92.6% 4.5%
[libx264 @ 02cf7300] mb P I16..4 : 0.1% 2.0% 0.2% P16..4 : 2.4% 1.2% 1.1% 0.1% 0.0% skip:92.9%
[libx264 @ 02cf7300] mb B I16..4 : 0.0% 0.0% 0.0% B16..8 : 2.6% 0.0% 0.0% direct : 0.0% skip:97.3% L0:45.0% L1:5
4.9% BI : 0.0%
[libx264 @ 02cf7300] 8x8 transform intra:90.7% inter:76.5%
[libx264 @ 02cf7300] direct mvs spatial:75.2% temporal:24.8%
[libx264 @ 02cf7300] coded y,uvDC,uvAC intra : 94.4% 96.8% 64.8% inter : 0.3% 0.4% 0.1%
[libx264 @ 02cf7300] i16 v,h,dc,p : 16% 25% 18% 41%
[libx264 @ 02cf7300] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu : 19% 28% 30% 4% 3% 3% 4% 4% 5%
[libx264 @ 02cf7300] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu : 18% 22% 9% 11% 8% 7% 10% 8% 7%
[libx264 @ 02cf7300] i8c dc,h,v,p : 30% 34% 23% 13%
[libx264 @ 02cf7300] Weighted P-Frames : Y:0.1% UV:0.1%
[libx264 @ 02cf7300] ref P L0 : 74.1% 19.7% 4.5% 0.6% 0.1% 0.2% 0.0% 0.1% 0.0% 0.1% 0.0% 0.2% 0.0% 0.2% 0.0%
0.1%
[libx264 @ 02cf7300] ref B L0 : 95.5% 1.6% 0.7% 0.5% 0.4% 0.3% 0.3% 0.2% 0.1% 0.1% 0.1% 0.1% 0.1% 0.0% 0.0%[libx264 @ 02cf7300] ref B L1 : 84.5% 15.5%
[libx264 @ 02cf7300] kb/s:743.46Original Video Size: 2.44 MB
New Video Size: 5.6 MB