
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 (93)
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
Other interesting software
13 avril 2011, parWe don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
We don’t know them, we didn’t try them, but you can take a peek.
Videopress
Website : http://videopress.com/
License : GNU/GPL v2
Source code : (...) -
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
Sur d’autres sites (7282)
-
FFMPEG : webm to mp4 quality loss
11 février, par turboLoopWhen trying to convert a .webm video (two colored animation) to a .mp4 video using ffmpeg (3.4.2 on mac) the result is somewhat blurry. I did research this topic and tried different approaches to solve this. Here is the most promising command :



ffmpeg -i vidoe.webm -qscale 1 video.mp4




However, the quality change is still tremendous, see the difference below.



webm






mp4






The resolution of the two videos is the same, however the size dropped from 24,3MB (.webm) to 1,5MB (.mp4) after conversion.



Update



Here is the log of the conversion.



ffmpeg version 3.4.2 Copyright (c) 2000-2018 the FFmpeg developers
 built with Apple LLVM version 9.0.0 (clang-900.0.39.2)
 configuration: --prefix=/usr/local/Cellar/ffmpeg/3.4.2 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --disable-jack --enable-gpl --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-opencl --enable-videotoolbox --disable-lzma
 libavutil 55. 78.100 / 55. 78.100
 libavcodec 57.107.100 / 57.107.100
 libavformat 57. 83.100 / 57. 83.100
 libavdevice 57. 10.100 / 57. 10.100
 libavfilter 6.107.100 / 6.107.100
 libavresample 3. 7. 0 / 3. 7. 0
 libswscale 4. 8.100 / 4. 8.100
 libswresample 2. 9.100 / 2. 9.100
 libpostproc 54. 7.100 / 54. 7.100
Input #0, matroska,webm, from 'video.webm':
 Metadata:
 encoder : whammy
 Duration: 00:00:05.02, start: 0.000000, bitrate: 38755 kb/s
 Stream #0:0: Video: vp8, yuv420p(progressive), 1920x1080, SAR 1:1 DAR 16:9, 60 fps, 60 tbr, 1k tbn, 1k tbc (default)
Please use -q:a or -q:v, -qscale is ambiguous
Stream mapping:
 Stream #0:0 -> #0:0 (vp8 (native) -> h264 (libx264))
Press [q] to stop, [?] for help
[libx264 @ 0x7f8625800c00] -qscale is ignored, -crf is recommended.
[libx264 @ 0x7f8625800c00] using SAR=1/1
[libx264 @ 0x7f8625800c00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0x7f8625800c00] profile High, level 4.2
[libx264 @ 0x7f8625800c00] 264 - core 152 r2854 e9a5903 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - 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=6 lookahead_threads=1 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 'video.mp4':
 Metadata:
 encoder : Lavf57.83.100
 Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 60 fps, 15360 tbn, 60 tbc (default)
 Metadata:
 encoder : Lavc57.107.100 libx264
 Side data:
 cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
frame= 301 fps= 45 q=-1.0 Lsize= 1417kB time=00:00:04.96 bitrate=2336.4kbits/s speed=0.735x 
video:1412kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.309675%
[libx264 @ 0x7f8625800c00] frame I:2 Avg QP:13.08 size: 8842
[libx264 @ 0x7f8625800c00] frame P:75 Avg QP:24.29 size: 6785
[libx264 @ 0x7f8625800c00] frame B:224 Avg QP:26.38 size: 4102
[libx264 @ 0x7f8625800c00] consecutive B-frames: 0.7% 0.0% 1.0% 98.3%
[libx264 @ 0x7f8625800c00] mb I I16..4: 68.1% 28.7% 3.2%
[libx264 @ 0x7f8625800c00] mb P I16..4: 0.1% 2.2% 0.4% P16..4: 6.5% 4.0% 1.4% 0.0% 0.0% skip:85.4%
[libx264 @ 0x7f8625800c00] mb B I16..4: 0.0% 0.2% 0.0% B16..8: 8.8% 3.0% 0.3% direct: 0.3% skip:87.3% L0:52.1% L1:47.5% BI: 0.4%
[libx264 @ 0x7f8625800c00] 8x8 transform intra:57.7% inter:67.8%
[libx264 @ 0x7f8625800c00] coded y,uvDC,uvAC intra: 25.7% 8.7% 0.9% inter: 3.9% 0.4% 0.0%
[libx264 @ 0x7f8625800c00] i16 v,h,dc,p: 95% 2% 3% 0%
[libx264 @ 0x7f8625800c00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 5% 48% 5% 7% 6% 5% 4% 3%
[libx264 @ 0x7f8625800c00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 14% 31% 6% 7% 7% 6% 5% 4%
[libx264 @ 0x7f8625800c00] i8c dc,h,v,p: 88% 6% 6% 0%
[libx264 @ 0x7f8625800c00] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x7f8625800c00] ref P L0: 55.3% 5.5% 24.8% 14.5%
[libx264 @ 0x7f8625800c00] ref B L0: 75.6% 16.7% 7.7%
[libx264 @ 0x7f8625800c00] ref B L1: 93.9% 6.1%
[libx264 @ 0x7f8625800c00] kb/s:2304.86




Any idea on how to overcome this quality loss ?


-
Converting mp4 file downloaded via youtube-dl from periscope by using ffmpeg gives error
20 mars 2018, par MonsterMMORPGThis is command i have used to download from periscope by using latest youtube-dl
youtube-dl -v periscopeurl
Then i am running this command to convert it to a proper MP4
ffmpeg -i gg.mp4 -c:v libx264 -preset veryslow -crf 18 -c:a aac -b:a 192k -pix_fmt yuv420p gg2.mp4
I am using latest youtube-dl and ffmpeg
The error i am getting is shown below
So how can i fix this error ? The file can not be played properly on k lite mega codec player but it can be played on vlc player however can not go to any specific time etc. so it really needs to be properly re-encoded
C:\temp>ffmpeg -i gg.mp4 -c:v libx264 -preset veryslow -crf 18 -c:a aac -b:a 192k -pix_fmt yuv420p gg2.mp4
ffmpeg version N-90378-ge4eaaf7bf6 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 7.3.0 (GCC)
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3l
ame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-li
bvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-l
ibvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enabl
e-avisynth
libavutil 56. 11.100 / 56. 11.100
libavcodec 58. 14.100 / 58. 14.100
libavformat 58. 10.100 / 58. 10.100
libavdevice 58. 2.100 / 58. 2.100
libavfilter 7. 13.100 / 7. 13.100
libswscale 5. 0.102 / 5. 0.102
libswresample 3. 0.101 / 3. 0.101
libpostproc 55. 0.100 / 55. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'gg.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.10.100
Duration: 00:56:45.15, start: 0.000000, bitrate: 174 kb/s
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 320x568, 130 kb/s, 23.97 fps, 24 tbr, 90k tbn, 180k tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 35 kb/s (default)
Metadata:
handler_name : SoundHandler
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (aac (native) -> aac (native))
Press [q] to stop, [?] for help
[libx264 @ 00000009eda7ce00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 00000009eda7ce00] profile High, level 3.1
[libx264 @ 00000009eda7ce00] 264 - core 155 r2901 7d0ff22 - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - http://www.videolan.org/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=12 lookahead_threads=2 sliced_threads=0 nr=0 d
ecimate=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=24 scenecut=40 intra_refresh=0 rc_look
ahead=60 rc=crf mbtree=1 crf=18.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Too many packets buffered for output stream 0:0.577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
[libx264 @ 00000009eda7ce00] frame I:1 Avg QP:19.87 size: 30456
[libx264 @ 00000009eda7ce00] frame P:36 Avg QP:19.68 size: 8765
[libx264 @ 00000009eda7ce00] frame B:92 Avg QP:25.27 size: 1149
[libx264 @ 00000009eda7ce00] consecutive B-frames: 0.8% 10.7% 0.0% 88.5% 0.0% 0.0% 0.0% 0.0% 0.0%
[libx264 @ 00000009eda7ce00] mb I I16..4: 8.3% 10.7% 81.0%
[libx264 @ 00000009eda7ce00] mb P I16..4: 0.9% 1.5% 1.0% P16..4: 38.8% 16.4% 11.7% 3.1% 1.3% skip:25.3%
[libx264 @ 00000009eda7ce00] mb B I16..4: 0.1% 0.1% 0.1% B16..8: 21.5% 4.6% 2.1% direct: 2.7% skip:68.9% L0:41.2% L1:45.6% BI:13.2%
[libx264 @ 00000009eda7ce00] 8x8 transform intra:28.6% inter:10.9%
[libx264 @ 00000009eda7ce00] direct mvs spatial:93.5% temporal:6.5%
[libx264 @ 00000009eda7ce00] coded y,uvDC,uvAC intra: 74.0% 65.1% 38.7% inter: 15.2% 8.0% 2.9%
[libx264 @ 00000009eda7ce00] i16 v,h,dc,p: 49% 20% 23% 7%
[libx264 @ 00000009eda7ce00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 12% 33% 3% 5% 5% 5% 5% 7%
[libx264 @ 00000009eda7ce00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 14% 10% 7% 9% 9% 11% 8% 11%
[libx264 @ 00000009eda7ce00] i8c dc,h,v,p: 37% 24% 29% 10%
[libx264 @ 00000009eda7ce00] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 00000009eda7ce00] ref P L0: 73.3% 6.3% 11.1% 1.8% 1.7% 1.2% 1.0% 0.5% 0.5% 0.4% 0.4% 0.4% 0.4% 0.4% 0.4% 0.3%
[libx264 @ 00000009eda7ce00] ref B L0: 94.0% 3.8% 0.9% 0.3% 0.2% 0.2% 0.2% 0.1% 0.1% 0.1% 0.0% 0.0% 0.0% 0.0% 0.0%
[libx264 @ 00000009eda7ce00] ref B L1: 97.7% 2.3%
[libx264 @ 00000009eda7ce00] kb/s:672.35
Conversion failed!
C:\temp> -
ffmpeg Error converting multi channel WAV (13 channels) to AAC ?
21 mars 2018, par AndySPI’m trying to convert a bunch of multi channel wavs that I have into multi channel AAC M4A’s to save space.
FFMPEG is giving me an error which I don’t understand. Does any one have any ideas ?
Here is the FFMPEG terminal dump including the command I’m trying to use, the source file is a 13 channel WAV that I exported using Cockos Reaper on the Mac.
ffmpeg -i ACDC\ -\ Let\ There\ Be\ Rock.wav -c:a libfdk_aac -b:a 640k ACDC.m4a
ffmpeg version 3.4.2 Copyright (c) 2000-2018 the FFmpeg developers
built with Apple LLVM version 9.0.0 (clang-900.0.39.2)
configuration: --prefix=/usr/local/Cellar/ffmpeg/3.4.2 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --disable-jack --enable-gpl --enable-chromaprint --enable-ffplay --enable-libass --enable-libfdk-aac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-librsvg --enable-librtmp --enable-librubberband --enable-libsnappy --enable-libsoxr --enable-libssh --enable-libtesseract --enable-libvidstab --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzimg --enable-libzmq --enable-opencl --enable-videotoolbox --enable-openssl --enable-lzma --enable-libopenjpeg --disable-decoder=jpeg2000 --extra-cflags=-I/usr/local/Cellar/openjpeg/2.3.0/include/openjpeg-2.3 --enable-nonfree
libavutil 55. 78.100 / 55. 78.100
libavcodec 57.107.100 / 57.107.100
libavformat 57. 83.100 / 57. 83.100
libavdevice 57. 10.100 / 57. 10.100
libavfilter 6.107.100 / 6.107.100
libavresample 3. 7. 0 / 3. 7. 0
libswscale 4. 8.100 / 4. 8.100
libswresample 2. 9.100 / 2. 9.100
libpostproc 54. 7.100 / 54. 7.100
Input #0, wav, from 'ACDC - Let There Be Rock.wav':
Metadata:
encoded_by : REAPER
date : 2018-03-21
creation_time : 12-24-20
time_reference : 0
Duration: 00:06:10.42, bitrate: 13759 kb/s
Stream #0:0: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 44100 Hz, 13 channels, s32 (24 bit), 13759 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (pcm_s24le (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
[auto_resampler_0 @ 0x7fad4d490b60] [SWR @ 0x7fad4e84a200] Rematrix is needed between 13 channels and 7.1(wide) but there is not enough information to do it
[auto_resampler_0 @ 0x7fad4d490b60] Failed to configure output pad on auto_resampler_0
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:0
Conversion failed!Any help greatly appreciated, cheers