
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (22)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
Le plugin : Podcasts.
14 juillet 2010, parLe problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
Types de fichiers supportés dans les flux
Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)
Sur d’autres sites (5941)
-
ffpmeg drops last frame when compressing from MP4 to MP4 (libx264)
28 octobre 2018, par UsoboiSo, I’m using this code to compress my *mp4 file. I need to get lower quality and decrease bitrate :
ffmpeg -i input.mp4 -c:v libx264 output.mp4
The problem is : the last frame of footage is dropped after ffmpeg compression.
Screenshot is here : screenshot_ffmpeg_drop frameI tried to use full preferences I need, but the problem is the same.
ffmpeg -i input.mp4 -c:v libx264 -vf scale=1280:720 -preset fast -crf 29 -r 25 -c:a copy output.mp4
logfile during ffmpeg encoding :
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ’\input.mp4’ :
Metadata :
major_brand : mp42
minor_version : 0
compatible_brands : mp42mp41
creation_time : 2018-10-28T11:06:03.000000Z
Duration : 00:00:12.76, start : 0.000000, bitrate : 5374 kb/s
Stream #0:0(eng) : Video : h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 5368 kb/s, 25 fps, 25 tbr, 50k tbn, 50 tbc (default)
Metadata :
creation_time : 2018-10-28T11:06:03.000000Z
handler_name : Alias Data Handler
encoder : AVC CodingStream mapping : Stream #0:0 -> #0:0 (h264 (native) -> h264
(libx264)) Press [q] to stop, [?] for help [libx264 @
000002fae8b50780] using SAR=1/1 [libx264 @ 000002fae8b50780] using cpu
capabilities : MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 [libx264 @
000002fae8b50780] profile High, level 3.1 [libx264 @ 000002fae8b50780]
264 - core 155 r2901 7d0ff22 - H.264/MPEG-4 AVC codec - Copyleft
2003-2018 - http://www.videolan.org/x264.html - options : cabac=1 ref=2
deblock=1:0:0 analyse=0x3:0x113 me=hex subme=6 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=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=1 keyint=250
keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=30 rc=crf
mbtree=1 crf=29.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40
aq=1:1.00 Output #0, mp4, to ’\output.mp4’ : Metadata :
major_brand : mp42
minor_version : 0
compatible_brands : mp42mp41
encoder : Lavf58.17.100
Stream #0:0(eng) : Video : h264 (libx264) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1—1, 25 fps, 12800 tbn, 25
tbc (default)
Metadata :
creation_time : 2018-10-28T11:06:03.000000Z
handler_name : Alias Data Handler
encoder : Lavc58.19.104 libx264
Side data :
cpb : bitrate max/min/avg : 0/0/0 buffer size : 0 vbv_delay : -1frame= 318 fps=127 q=-1.0 Lsize= 855kB time=00:00:12.60 bitrate=
556.0kbits/s speed=5.05x video:851kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead : 0.534683% [libx264 @
0000015d5cef0500] frame I:2 Avg QP:26.18 size : 67800 [libx264 @
0000015d5cef0500] frame P:80 Avg QP:27.93 size : 5439 [libx264 @
0000015d5cef0500] frame B:236 Avg QP:32.44 size : 1269 [libx264 @
0000015d5cef0500] consecutive B-frames : 0.9% 0.0% 0.9% 98.1%
[libx264 @ 0000015d5cef0500] mb I I16..4 : 10.6% 62.5% 26.8% [libx264
@ 0000015d5cef0500] mb P I16..4 : 0.5% 1.0% 0.2% P16..4 : 36.1%
5.1% 3.6% 0.0% 0.0% skip:53.6% [libx264 @ 0000015d5cef0500] mb B I16..4 : 0.6% 0.5% 0.0% B16..8 : 22.2% 0.6% 0.0% direct : 2.0%
skip:74.2% L0:44.9% L1:54.5% BI : 0.6% [libx264 @ 0000015d5cef0500]
8x8 transform intra:55.0% inter:86.2% [libx264 @ 0000015d5cef0500]
coded y,uvDC,uvAC intra : 48.1% 54.9% 27.0% inter : 3.2% 5.2% 0.2%
[libx264 @ 0000015d5cef0500] i16 v,h,dc,p : 19% 56% 10% 15% [libx264 @
0000015d5cef0500] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu : 19% 25% 18% 5% 6%
5% 8% 5% 8% [libx264 @ 0000015d5cef0500] i4
v,h,dc,ddl,ddr,vr,hd,vl,hu : 27% 24% 9% 5% 8% 7% 9% 5% 7%
[libx264 @ 0000015d5cef0500] i8c dc,h,v,p : 60% 20% 15% 4% [libx264 @
0000015d5cef0500] Weighted P-Frames : Y:0.0% UV:0.0% [libx264 @
0000015d5cef0500] ref P L0 : 67.7% 32.3% [libx264 @ 0000015d5cef0500]
ref B L0 : 80.4% 19.6% [libx264 @ 0000015d5cef0500] ref B L1 : 92.1%
7.9% [libx264 @ 0000015d5cef0500] kb/s:547.35 -
ffpmeg drops last frame when compressing from MP4 to MP4 (libx264)
28 octobre 2018, par UsoboiSo, I’m using this code to compress my *mp4 file. I need to get lower quality and decrease bitrate :
ffmpeg -i input.mp4 -c:v libx264 output.mp4
The problem is : the last frame of footage is dropped after ffmpeg compression.
Screenshot is here : screenshot_ffmpeg_drop frameI tried to use full preferences I need, but the problem is the same.
ffmpeg -i input.mp4 -c:v libx264 -vf scale=1280:720 -preset fast -crf 29 -r 25 -c:a copy output.mp4
logfile during ffmpeg encoding :
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ’\input.mp4’ :
Metadata :
major_brand : mp42
minor_version : 0
compatible_brands : mp42mp41
creation_time : 2018-10-28T11:06:03.000000Z
Duration : 00:00:12.76, start : 0.000000, bitrate : 5374 kb/s
Stream #0:0(eng) : Video : h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 5368 kb/s, 25 fps, 25 tbr, 50k tbn, 50 tbc (default)
Metadata :
creation_time : 2018-10-28T11:06:03.000000Z
handler_name : Alias Data Handler
encoder : AVC CodingStream mapping : Stream #0:0 -> #0:0 (h264 (native) -> h264
(libx264)) Press [q] to stop, [?] for help [libx264 @
000002fae8b50780] using SAR=1/1 [libx264 @ 000002fae8b50780] using cpu
capabilities : MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 [libx264 @
000002fae8b50780] profile High, level 3.1 [libx264 @ 000002fae8b50780]
264 - core 155 r2901 7d0ff22 - H.264/MPEG-4 AVC codec - Copyleft
2003-2018 - http://www.videolan.org/x264.html - options : cabac=1 ref=2
deblock=1:0:0 analyse=0x3:0x113 me=hex subme=6 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=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=1 keyint=250
keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=30 rc=crf
mbtree=1 crf=29.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40
aq=1:1.00 Output #0, mp4, to ’\output.mp4’ : Metadata :
major_brand : mp42
minor_version : 0
compatible_brands : mp42mp41
encoder : Lavf58.17.100
Stream #0:0(eng) : Video : h264 (libx264) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1—1, 25 fps, 12800 tbn, 25
tbc (default)
Metadata :
creation_time : 2018-10-28T11:06:03.000000Z
handler_name : Alias Data Handler
encoder : Lavc58.19.104 libx264
Side data :
cpb : bitrate max/min/avg : 0/0/0 buffer size : 0 vbv_delay : -1frame= 318 fps=127 q=-1.0 Lsize= 855kB time=00:00:12.60 bitrate=
556.0kbits/s speed=5.05x video:851kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead : 0.534683% [libx264 @
0000015d5cef0500] frame I:2 Avg QP:26.18 size : 67800 [libx264 @
0000015d5cef0500] frame P:80 Avg QP:27.93 size : 5439 [libx264 @
0000015d5cef0500] frame B:236 Avg QP:32.44 size : 1269 [libx264 @
0000015d5cef0500] consecutive B-frames : 0.9% 0.0% 0.9% 98.1%
[libx264 @ 0000015d5cef0500] mb I I16..4 : 10.6% 62.5% 26.8% [libx264
@ 0000015d5cef0500] mb P I16..4 : 0.5% 1.0% 0.2% P16..4 : 36.1%
5.1% 3.6% 0.0% 0.0% skip:53.6% [libx264 @ 0000015d5cef0500] mb B I16..4 : 0.6% 0.5% 0.0% B16..8 : 22.2% 0.6% 0.0% direct : 2.0%
skip:74.2% L0:44.9% L1:54.5% BI : 0.6% [libx264 @ 0000015d5cef0500]
8x8 transform intra:55.0% inter:86.2% [libx264 @ 0000015d5cef0500]
coded y,uvDC,uvAC intra : 48.1% 54.9% 27.0% inter : 3.2% 5.2% 0.2%
[libx264 @ 0000015d5cef0500] i16 v,h,dc,p : 19% 56% 10% 15% [libx264 @
0000015d5cef0500] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu : 19% 25% 18% 5% 6%
5% 8% 5% 8% [libx264 @ 0000015d5cef0500] i4
v,h,dc,ddl,ddr,vr,hd,vl,hu : 27% 24% 9% 5% 8% 7% 9% 5% 7%
[libx264 @ 0000015d5cef0500] i8c dc,h,v,p : 60% 20% 15% 4% [libx264 @
0000015d5cef0500] Weighted P-Frames : Y:0.0% UV:0.0% [libx264 @
0000015d5cef0500] ref P L0 : 67.7% 32.3% [libx264 @ 0000015d5cef0500]
ref B L0 : 80.4% 19.6% [libx264 @ 0000015d5cef0500] ref B L1 : 92.1%
7.9% [libx264 @ 0000015d5cef0500] kb/s:547.35 -
ffmpeg/ffplay stream error using Windows 10
23 juin 2018, par AlanI’m using Android’s screenrecord to stream the device screen via adb and pipe the
output to ffplay 3.4. It works great using OS X via the command :adb shell screenecord --bit-rate=16m --output-format=h264 --size 800x600 - | c:\bin\ffplay.exe -framerate 30 -framedrop -bufsize 60M -
Windows 10 is a different story. I get a blurred out screen and the following stream of errors :
ffplay version 3.4 Copyright (c) 2003-2017 the FFmpeg developers
built with gcc 7.2.0 (GCC)
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth --enable-libmfx
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
libswscale 4. 8.100 / 4. 8.100
libswresample 2. 9.100 / 2. 9.100
libpostproc 54. 7.100 / 54. 7.100
[h264 @ 000002a5f08320c0] negative number of zero coeffs at 9 6/0
[h264 @ 000002a5f08320c0] error while decoding MB 9 6
[h264 @ 000002a5f08320c0] concealing 1640 DC, 1640 AC, 1640 MV errors in I frame
[h264 @ 000002a5f08320c0] negative number of zero coeffs at 44 7
[h264 @ 000002a5f08320c0] error while decoding MB 44 7
[h264 @ 000002a5f08320c0] concealing 1555 DC, 1555 AC, 1555 MV errors in P frame
[h264 @ 000002a5f08320c0] out of range intra chroma pred mode
[h264 @ 000002a5f08320c0] error while decoding MB 12 7
[h264 @ 000002a5f08320c0] concealing 1587 DC, 1587 AC, 1587 MV errors in P frame
[h264 @ 000002a5f08320c0] out of range intra chroma pred mode
[h264 @ 000002a5f08320c0] error while decoding MB 49 6
[h264 @ 000002a5f08320c0] concealing 1600 DC, 1600 AC, 1600 MV errors in P frame
[h264 @ 000002a5f08320c0] mb_type 260 in P slice too large at 11 11
[h264 @ 000002a5f08320c0] error while decoding MB 11 11
[h264 @ 000002a5f08320c0] concealing 1388 DC, 1388 AC, 1388 MV errors in P frame
[h264 @ 000002a5f08320c0] out of range intra chroma pred mode
[h264 @ 000002a5f08320c0] error while decoding MB 24 16
[h264 @ 000002a5f08320c0] concealing 1125 DC, 1125 AC, 1125 MV errors in P frame
Input #0, h264, from 'pipe:':q= 0KB vq= 0KB sq= 0B f=0/0
Duration: N/A, bitrate: N/A nan : 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
Stream #0:0: Video: h264 (Baseline), yuv420p(tv, bt470bg/bt470bg/smpte170m, progressive), 800x600, 30 fps, 30 tbr, 1200k tbn, 60 tbc
[h264 @ 000002a5f144e4c0] negative number of zero coeffs at 9 6
[h264 @ 000002a5f144e4c0] error while decoding MB 9 6
[h264 @ 000002a5f144e4c0] concealing 1640 DC, 1640 AC, 1640 MV errors in I frame
[h264 @ 000002a5f10500a0] negative number of zero coeffs at 44 7
[h264 @ 000002a5f10500a0] error while decoding MB 44 7
[h264 @ 000002a5f10500a0] concealing 1555 DC, 1555 AC, 1555 MV errors in P frame
[h264 @ 000002a5f1050840] out of range intra chroma pred mode
[h264 @ 000002a5f1050840] error while decoding MB 12 7
[h264 @ 000002a5f1050840] concealing 1587 DC, 1587 AC, 1587 MV errors in P frame
[h264 @ 000002a5f0e500a0] out of range intra chroma pred mode
[h264 @ 000001f5df14e5e0] cbp too large (51) at 43 7= 0B f=0/0
[h264 @ 000001f5df14e5e0] error while decoding MB 43 7
[h264 @ 000001f5df14e5e0] concealing 1556 DC, 1556 AC, 1556 MV errors in P frame
[h264 @ 000001f5de6c9980] cbp too large (51) at 43 7= 0B f=0/0
[h264 @ 000001f5de6c9980] error while decoding MB 43 7
[h264 @ 000001f5de6c9980] concealing 1556 DC, 1556 AC, 1556 MV errors in P frame
[ h264 @ 000001f5df338b20] cbp too large (51) at 18 7= 0B f=0/0
[h264 @ 000001f5df338b20] error while decoding MB 18 7
[h264 @ 000001f5df338b20] concealing 1581 DC, 1581 AC, 1581 MV errors in P frame
[h264 @ 000001f5de618f20] cbp too large (60) at 30 8= 0B f=0/0
[h264 @ 000001f5de618f20] error while decoding MB 30 8
[h264 @ 000001f5de618f20] concealing 1519 DC, 1519 AC, 1519 MV errors in P frame
[h264 @ 000001f5de5f9120] cbp too large (151) at 15 11 0B f=0/0
[h264 @ 000001f5de5f9120] error while decoding MB 15 11
[h264 @ 000001f5de5f9120] concealing 1384 DC, 1384 AC, 1384 MV errors in P frame
[h264 @ 000001f5df14e5e0] cbp too large (51) at 17 8= 0B f=0/0
[h264 @ 000001f5df14e5e0] error while decoding MB 17 8
[h264 @ 000001f5df14e5e0] concealing 1532 DC, 1532 AC, 1532 MV errors in P frameHow can I fix this ?