
Recherche avancée
Médias (91)
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Core Media Video
4 avril 2013, par
Mis à jour : Juin 2013
Langue : français
Type : Video
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
Autres articles (102)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
Dépôt de média et thèmes par FTP
31 mai 2013, parL’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)
Sur d’autres sites (12643)
-
FFMPEG command works on Mac but not on Windows [duplicate]
24 décembre 2019, par ArthurThis question is an exact duplicate of :
Hi I’m working on a project which needs to create animations by playing 2000 charts in 50 fps using FFMPEG, the command is :
ffmpeg -y -framerate 50 -i img-%04d.png -vb 40M -vcodec h264 esez.mp4
charts are located in the same folder with name as img-0001.png img-2000.png
It worked well on my Mac. On Windows, the command can run and generate a mp4 file. But the animation is just black screen on Windows media player. I also tried open with VLC, it has some image, but not proper at all.
log from Windows CMD :
ffmpeg version git-2019-12-11-4110029 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 9.2.1 (GCC) 20191125
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --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-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
libavutil 56. 36.101 / 56. 36.101
libavcodec 58. 64.101 / 58. 64.101
libavformat 58. 35.101 / 58. 35.101
libavdevice 58. 9.101 / 58. 9.101
libavfilter 7. 68.100 / 7. 68.100
libswscale 5. 6.100 / 5. 6.100
libswresample 3. 6.100 / 3. 6.100
libpostproc 55. 6.100 / 55. 6.100
Input #0, image2, from 'img-%04d.png':
Duration: 00:00:40.18, start: 0.000000, bitrate: N/A
Stream #0:0: Video: png, rgba(pc), 1000x800, 50 fps, 50 tbr, 50 tbn, 50 tbc
Stream mapping:
Stream #0:0 -> #0:0 (png (native) -> h264 (libx264))
Press [q] to stop, [?] for help
[libx264 @ 00000242aaacc6c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 00000242aaacc6c0] profile High 4:4:4 Predictive, level 3.2, 4:4:4, 8-bit
[libx264 @ 00000242aaacc6c0] 264 - core 158 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - 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=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=abr mbtree=1 bitrate=40000 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'esez.mp4':
Metadata:
encoder : Lavf58.35.101
Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv444p, 1000x800, q=-1--1, 40000 kb/s, 50 fps, 12800 tbn, 50 tbc
Metadata:
encoder : Lavc58.64.101 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/40000000 buffer size: 0 vbv_delay: N/A
frame= 2009 fps= 90 q=-1.0 Lsize= 7569kB time=00:00:40.12 bitrate=1545.6kbits/s speed= 1.8x
video:7545kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.322921%
[libx264 @ 00000242aaacc6c0] frame I:9 Avg QP: 0.35 size: 60878
[libx264 @ 00000242aaacc6c0] frame P:511 Avg QP: 0.74 size: 5275
[libx264 @ 00000242aaacc6c0] frame B:1489 Avg QP: 4.35 size: 3010
[libx264 @ 00000242aaacc6c0] consecutive B-frames: 0.7% 0.7% 2.2% 96.4%
[libx264 @ 00000242aaacc6c0] mb I I16..4: 85.1% 1.6% 13.3%
[libx264 @ 00000242aaacc6c0] mb P I16..4: 0.7% 0.0% 0.2% P16..4: 1.3% 0.8% 0.4% 0.0% 0.0% skip:96.7%
[libx264 @ 00000242aaacc6c0] mb B I16..4: 0.0% 0.0% 0.0% B16..8: 1.6% 0.7% 0.2% direct: 0.1% skip:97.2% L0:48.2% L1:39.0% BI:12.8%
[libx264 @ 00000242aaacc6c0] final ratefactor: -35.51
[libx264 @ 00000242aaacc6c0] 8x8 transform intra:2.6% inter:5.9%
[libx264 @ 00000242aaacc6c0] coded y,u,v intra: 12.9% 2.5% 2.6% inter: 0.9% 0.5% 0.6%
[libx264 @ 00000242aaacc6c0] i16 v,h,dc,p: 84% 14% 2% 0%
[libx264 @ 00000242aaacc6c0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 2% 77% 0% 1% 1% 0% 0% 0%
[libx264 @ 00000242aaacc6c0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 36% 22% 19% 4% 4% 4% 4% 6% 2%
[libx264 @ 00000242aaacc6c0] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 00000242aaacc6c0] ref P L0: 60.2% 0.7% 21.4% 17.7%
[libx264 @ 00000242aaacc6c0] ref B L0: 72.6% 20.2% 7.3%
[libx264 @ 00000242aaacc6c0] ref B L1: 88.4% 11.6%
[libx264 @ 00000242aaacc6c0] kb/s:1538.15Could anybody please help me with this problem ?
Happy Holiday to all !
-
ffmpeg Conversion issue with 3:2 aspect ratio
5 mai 2015, par nurmaSometimes there is an issue when i try to convert to mp4 using ffmpeg. I’m getting issue "Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height". Maybe, this is because of input video file, that has dimensions 720x480 with aspect ratio 3:2. Please help me, how to correctly convert this type of video.
This is the command :ffmpeg -y -i input.mp4 -i watermark.png -filter_complex 'scale=-2:360,overlay=(main_w-overlay_w)-20:(main_h-overlay_h)-20' -codec:v libx264 -profile:v main -preset slow -b:v 300k -maxrate 300k -bufsize 600k -threads 0 -codec:a aac -strict experimental -b:a 128k -crf 20 output.mp4 1> output.log 2>&1
Here the error log :
ffmpeg version 2.4.3 Copyright (c) 2000-2014 the FFmpeg developers
built on Nov 16 2014 22:36:57 with gcc 4.8.2 (GCC)
configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/man --docdir=/usr/doc/ffmpeg-2.4.3 --enable-gpl --enable-version3 --enable-avfilter --enable-avresample --enable-libass --enable-libdc1394 --enable-libgsm --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libv4l2 --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-postproc --enable-runtime-cpudetect --enable-vaapi --enable-vdpau --enable-memalign-hack --enable-pthreads --enable-x11grab --enable-bzlib --enable-zlib --enable-shared --enable-static --disable-debug --arch=x86_64 --enable-pic --extra-cflags='-I/tmp/build/tmp-ffmpeg/ffmpegdeps/usr/include -DRUNTIME_CPUDETECT' --extra-ldflags='-L/tmp/build/tmp-ffmpeg/ffmpegdeps/usr/lib64 -ldl -lssl -lcrypto -lz -lusb' --pkg-config-flags=--static
libavutil 54. 7.100 / 54. 7.100
libavcodec 56. 1.100 / 56. 1.100
libavformat 56. 4.101 / 56. 4.101
libavdevice 56. 0.100 / 56. 0.100
libavfilter 5. 1.100 / 5. 1.100
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 0.100 / 3. 0.100
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 0.100 / 53. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf56.15.102
Duration: 00:00:06.76, start: 0.000000, bitrate: 1856 kb/s
Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 720x480, 1804 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 16000 Hz, mono, fltp, 54 kb/s (default)
Metadata:
handler_name : SoundHandler
Input #1, png_pipe, from 'watermark.png':
Duration: N/A, bitrate: N/A
Stream #1:0: Video: png, rgba, 120x35, 25 tbr, 25 tbn, 25 tbc
[libx264 @ 0x2179d80] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64 SlowShuffle
[libx264 @ 0x2179d80] profile Main, level 3.0
[libx264 @ 0x2179d80] 264 - core 142 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=1 ref=5 deblock=1:0:0 analyse=0x1:0x111 me=umh subme=8 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=3 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=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=20.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=300 vbv_bufsize=600 crf_max=0.0 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00
[aac @ 0x217ba40] Too many bits per frame requested
Output #0, mp4, to 'output.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf56.15.102
Stream #0:0: Video: h264 (libx264), yuv420p, 540x360, q=-1--1, 300 kb/s, 30 fps, 30 tbn, 30 tbc (default)
Metadata:
encoder : Lavc56.1.100 libx264
Stream #0:1(eng): Audio: aac, 0 channels, 128 kb/s (default)
Metadata:
handler_name : SoundHandler
encoder : Lavc56.1.100 aac
Stream mapping:
Stream #0:0 (h264) -> scale (graph 0)
Stream #1:0 (png) -> overlay:overlay (graph 0)
overlay (graph 0) -> Stream #0:0 (libx264)
Stream #0:1 -> #0:1 (aac (native) -> aac (native))
Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height -
ffmpeg created timelapse won't play on other players than VLC
27 février 2019, par theFeiterI am creating a Timelapse Video with the following ffmpeg command :
ffmpeg -r 24 -start_number 7754 -i IMG_%d.JPG -pix_fmt yuv420p -s 1920x1080 Output.mp4
This works without errors, but when I try to play the .mp4 on my Android Phone it shows an Error : "Unable to play file. Not enough resources"
With the VLC App : "Currently unable to play this video. Stop the other video and try again"
When I put the Video through Handbrake It plays fine on all players.
I tried out changing some ffmpeg options, but nothing helped.
When I compare the output of
ffmpeg -i Output.mp4
from the original with the output from the video out of handbrake it differs only in the video bitrate.Are there any other options I can try to change ?
This is the ffmpeg output :
ffmpeg version 3.4.4-0ubuntu0.18.04.1 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 7 (Ubuntu 7.3.0-16ubuntu3)
configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
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, image2, from 'PIC_%d.jpg':
Duration: 00:00:02.24, start: 0.000000, bitrate: N/A
Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 720x1280 [SAR 1:1 DAR 9:16], 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264))
Press [q] to stop, [?] for help
[swscaler @ 0x56059fe911a0] deprecated pixel format used, make sure you did set range correctly
[libx264 @ 0x56059f9b4180] using SAR=1/1
[libx264 @ 0x56059f9b4180] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0x56059f9b4180] profile High, level 3.1
[libx264 @ 0x56059f9b4180] 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=2 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 'ttyffmpeg.mp4':
Metadata:
encoder : Lavf57.83.100
Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 720x1280 [SAR 1:1 DAR 9:16], q=-1--1, 2 fps, 16384 tbn, 2 tbc
Metadata:
encoder : Lavc57.107.100 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
frame= 56 fps= 11 q=-1.0 Lsize= 5242kB time=00:00:26.50 bitrate=1620.4kbits/s speed=5.38x
video:5241kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.025511%
[libx264 @ 0x56059f9b4180] frame I:9 Avg QP:14.75 size:111662
[libx264 @ 0x56059f9b4180] frame P:35 Avg QP:17.14 size: 90885
[libx264 @ 0x56059f9b4180] frame B:12 Avg QP:17.74 size: 98312
[libx264 @ 0x56059f9b4180] consecutive B-frames: 62.5% 21.4% 16.1% 0.0%
[libx264 @ 0x56059f9b4180] mb I I16..4: 2.6% 96.8% 0.6%
[libx264 @ 0x56059f9b4180] mb P I16..4: 1.0% 93.5% 1.2% P16..4: 1.6% 1.1% 0.4% 0.0% 0.0% skip: 1.1%
[libx264 @ 0x56059f9b4180] mb B I16..4: 0.6% 66.7% 2.1% B16..8: 10.1% 10.6% 3.0% direct: 4.8% skip: 2.0% L0:35.3% L1:34.6% BI:30.0%
[libx264 @ 0x56059f9b4180] 8x8 transform intra:97.3% inter:91.2%
[libx264 @ 0x56059f9b4180] coded y,uvDC,uvAC intra: 94.3% 79.0% 44.3% inter: 77.2% 76.9% 31.3%
[libx264 @ 0x56059f9b4180] i16 v,h,dc,p: 59% 25% 14% 2%
[libx264 @ 0x56059f9b4180] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 18% 42% 3% 2% 2% 4% 4% 6%
[libx264 @ 0x56059f9b4180] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 31% 27% 10% 3% 5% 5% 8% 5% 7%
[libx264 @ 0x56059f9b4180] i8c dc,h,v,p: 40% 24% 29% 7%
[libx264 @ 0x56059f9b4180] Weighted P-Frames: Y:8.6% UV:5.7%
[libx264 @ 0x56059f9b4180] ref P L0: 67.0% 15.7% 14.0% 3.2% 0.1%
[libx264 @ 0x56059f9b4180] ref B L0: 88.0% 11.4% 0.6%
[libx264 @ 0x56059f9b4180] kb/s:1533.05