Recherche avancée

Médias (0)

Mot : - Tags -/médias

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (108)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

Sur d’autres sites (4329)

  • FFMPEG output (Images > Video) is unplayable

    23 décembre 2014, par jgads

    I’m using FFMPEG to make a video slideshow from a group of images on Android. The process completes successfully and the output file is the correct/expected size (or the same as what is reported in FFMPEG’s ’progress’), but the video does not play on any Android video player (MXplayer, VLC, stock). The video players show a perpetual loading circle and never actually launch. MXplayer can see the file and generate a thumbnail but not actually play it. Here is the command :

    ffmpeg -f image2 -re -r 1 -i
    /storage/emulated/0/Pictures/phototest/%d.jpg -vcodec libx264 -f mp4
    -r 24 -preset : ultrafast -an -threads 4 -b 4000k -mbd rd -flags +mv4+aic -trellis 2 -cmp 2 -subcmp 2 -g 300 -y -pix_fmt yuv420p /storage/emulated/0/Pictures/phototest/result1.mp4

    Here’s the output via Android Logcat :

    12-23 12:59:49.890  12665-12665/com.company.example I/FFmpeg﹕ Loading FFmpeg for armv7-neon CPU
    12-23 12:59:50.210  12665-12665/com.company.example E/FFMPEG﹕ Success loading ffmpeg
    12-23 12:59:54.420  12665-12665/com.company.example E/FFMPEG﹕ Started.
    12-23 12:59:54.445  12665-12799/com.company.example D/FFmpeg﹕ Running publishing updates method
    12-23 12:59:54.465  12665-12665/com.company.example E/FFMPEG﹕ Progress: ffmpeg version n2.4.2 Copyright (c) 2000-2014 the FFmpeg developers
    12-23 12:59:54.465  12665-12665/com.company.example E/FFMPEG﹕ Progress:   built on Oct  7 2014 15:08:46 with gcc 4.8 (GCC)
    12-23 12:59:54.465  12665-12665/com.company.example E/FFMPEG﹕ Progress:   configuration: --target-os=linux --cross-prefix=/home/sb/Source-Code/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/sb/Source-Code/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/sb/Source-Code/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/sb/Source-Code/ffmpeg-android/build/armeabi-v7a-neon --extra-cflags='-I/home/sb/Source-Code/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all -mfpu=neon' --extra-ldflags='-L/home/sb/Source-Code/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
    12-23 12:59:54.465  12665-12665/com.company.example E/FFMPEG﹕ Progress:   libavutil      54.  7.100 / 54.  7.100
    12-23 12:59:54.465  12665-12665/com.company.example E/FFMPEG﹕ Progress:   libavcodec     56.  1.100 / 56.  1.100
    12-23 12:59:54.470  12665-12665/com.company.example E/FFMPEG﹕ Progress:   libavformat    56.  4.101 / 56.  4.101
    12-23 12:59:54.470  12665-12665/com.company.example E/FFMPEG﹕ Progress:   libavdevice    56.  0.100 / 56.  0.100
    12-23 12:59:54.470  12665-12665/com.company.example E/FFMPEG﹕ Progress:   libavfilter     5.  1.100 /  5.  1.100
    12-23 12:59:54.470  12665-12665/com.company.example E/FFMPEG﹕ Progress:   libswscale      3.  0.100 /  3.  0.100
    12-23 12:59:54.470  12665-12665/com.company.example E/FFMPEG﹕ Progress:   libswresample   1.  1.100 /  1.  1.100
    12-23 12:59:54.470  12665-12665/com.company.example E/FFMPEG﹕ Progress:   libpostproc    53.  0.100 / 53.  0.100
    12-23 12:59:54.655  12665-12665/com.company.example E/FFMPEG﹕ Progress: Input #0, image2, from '/storage/emulated/0/Pictures/phototest/%d.jpg':
    12-23 12:59:54.655  12665-12665/com.company.example E/FFMPEG﹕ Progress:   Duration: 00:00:28.00, start: 0.000000, bitrate: N/A
    12-23 12:59:54.655  12665-12665/com.company.example E/FFMPEG﹕ Progress:     Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg), 2528x1856 [SAR 1:1 DAR 79:58], 1 fps, 1 tbr, 1 tbn, 1 tbc
    12-23 12:59:54.655  12665-12665/com.company.example E/FFMPEG﹕ Progress: Please use -b:a or -b:v, -b is ambiguous
    12-23 12:59:54.665  12665-12665/com.company.example E/FFMPEG﹕ Progress: [swscaler @ 0x2b3f7990] deprecated pixel format used, make sure you did set range correctly
    12-23 12:59:54.670  12665-12665/com.company.example E/FFMPEG﹕ Progress: [libx264 @ 0x2b4012e0] using SAR=1/1
    12-23 12:59:54.685  12665-12665/com.company.example E/FFMPEG﹕ Progress: [libx264 @ 0x2b4012e0] using cpu capabilities: none!
    12-23 12:59:54.755  12665-12665/com.company.example E/FFMPEG﹕ Progress: [libx264 @ 0x2b4012e0] profile Constrained Baseline, level 5.0
    12-23 12:59:54.760  12665-12665/com.company.example E/FFMPEG﹕ Progress: [libx264 @ 0x2b4012e0] 264 - core 142 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=0 trellis=2 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=4 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=300 keyint_min=24 scenecut=0 intra_refresh=0 rc=abr mbtree=0 bitrate=4000 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=0
    12-23 12:59:54.760  12665-12665/com.company.example E/FFMPEG﹕ Progress: Output #0, mp4, to '/storage/emulated/0/Pictures/phototest/result1.mp4':
    12-23 12:59:54.760  12665-12665/com.company.example E/FFMPEG﹕ Progress:   Metadata:
    12-23 12:59:54.760  12665-12665/com.company.example E/FFMPEG﹕ Progress:     encoder         : Lavf56.4.101
    12-23 12:59:54.760  12665-12665/com.company.example E/FFMPEG﹕ Progress:     Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 2528x1856 [SAR 1:1 DAR 79:58], q=-1--1, 4000 kb/s, 24 fps, 12288 tbn, 24 tbc
    12-23 12:59:54.760  12665-12665/com.company.example E/FFMPEG﹕ Progress:     Metadata:
    12-23 12:59:54.760  12665-12665/com.company.example E/FFMPEG﹕ Progress:       encoder         : Lavc56.1.100 libx264
    12-23 12:59:54.760  12665-12665/com.company.example E/FFMPEG﹕ Progress: Stream mapping:
    12-23 12:59:54.760  12665-12665/com.company.example E/FFMPEG﹕ Progress:   Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264))
    12-23 12:59:54.760  12665-12665/com.company.example E/FFMPEG﹕ Progress: Press [q] to stop, [?] for help
    12-23 13:00:03.905  12665-12665/com.company.example E/FFMPEG﹕ Progress: frame=   49 fps= 11 q=17.0 size=     840kB time=00:00:01.83 bitrate=3752.6kbits/s dup=46 drop=0
    12-23 13:00:11.185  12665-12665/com.company.example E/FFMPEG﹕ Progress: frame=   73 fps=8.0 q=17.0 size=    1397kB time=00:00:02.83 bitrate=4039.0kbits/s dup=69 drop=0
    12-23 13:00:17.615  12665-12665/com.company.example E/FFMPEG﹕ Progress: frame=   97 fps=5.9 q=17.0 size=    1931kB time=00:00:03.83 bitrate=4126.8kbits/s dup=92 drop=0
    12-23 13:00:22.545  12665-12665/com.company.example E/FFMPEG﹕ Progress: frame=  121 fps=5.3 q=17.0 size=    2496kB time=00:00:04.83 bitrate=4229.6kbits/s dup=115 drop=0
    12-23 13:00:27.630  12665-12665/com.company.example E/FFMPEG﹕ Progress: frame=  145 fps=5.2 q=17.0 size=    3089kB time=00:00:05.83 bitrate=4338.5kbits/s dup=138 drop=0
    12-23 13:00:33.005  12665-12665/com.company.example E/FFMPEG﹕ Progress: frame=  169 fps=5.1 q=17.0 size=    3702kB time=00:00:06.83 bitrate=4437.9kbits/s dup=161 drop=0
    12-23 13:00:37.840  12665-12665/com.company.example E/FFMPEG﹕ Progress: frame=  193 fps=5.0 q=18.0 size=    4316kB time=00:00:07.83 bitrate=4514.1kbits/s dup=184 drop=0
    12-23 13:00:43.345  12665-12665/com.company.example E/FFMPEG﹕ Progress: frame=  217 fps=5.0 q=18.0 size=    4848kB time=00:00:08.83 bitrate=4495.6kbits/s dup=207 drop=0
    12-23 13:00:48.155  12665-12665/com.company.example E/FFMPEG﹕ Progress: frame=  241 fps=5.0 q=18.0 size=    5304kB time=00:00:09.83 bitrate=4418.5kbits/s dup=230 drop=0
    12-23 13:00:52.930  12665-12665/com.company.example E/FFMPEG﹕ Progress: frame=  265 fps=5.0 q=19.0 size=    5874kB time=00:00:10.83 bitrate=4441.8kbits/s dup=253 drop=0
    12-23 13:00:57.210  12665-12665/com.company.example E/FFMPEG﹕ Progress: frame=  289 fps=5.0 q=18.0 size=    6205kB time=00:00:11.83 bitrate=4295.9kbits/s dup=276 drop=0
    12-23 13:01:01.415  12665-12665/com.company.example E/FFMPEG﹕ Progress: frame=  313 fps=5.0 q=18.0 size=    6747kB time=00:00:12.83 bitrate=4307.0kbits/s dup=299 drop=0
    12-23 13:01:05.315  12665-12665/com.company.example E/FFMPEG﹕ Progress: frame=  337 fps=5.1 q=18.0 size=    7126kB time=00:00:13.83 bitrate=4220.0kbits/s dup=322 drop=0
    12-23 13:01:09.935  12665-12665/com.company.example E/FFMPEG﹕ Progress: frame=  361 fps=5.1 q=17.0 size=    7522kB time=00:00:14.83 bitrate=4153.9kbits/s dup=345 drop=0
    12-23 13:01:14.755  12665-12665/com.company.example E/FFMPEG﹕ Progress: frame=  385 fps=5.1 q=18.0 size=    8072kB time=00:00:15.83 bitrate=4176.2kbits/s dup=368 drop=0
    12-23 13:01:19.505  12665-12665/com.company.example E/FFMPEG﹕ Progress: frame=  409 fps=5.1 q=18.0 size=    8618kB time=00:00:16.83 bitrate=4193.9kbits/s dup=391 drop=0
    12-23 13:01:23.630  12665-12665/com.company.example E/FFMPEG﹕ Progress: frame=  433 fps=5.1 q=17.0 size=    9074kB time=00:00:17.83 bitrate=4168.4kbits/s dup=414 drop=0
    12-23 13:01:27.580  12665-12665/com.company.example E/FFMPEG﹕ Progress: frame=  457 fps=5.1 q=17.0 size=    9423kB time=00:00:18.83 bitrate=4098.7kbits/s dup=437 drop=0
    12-23 13:01:32.210  12665-12665/com.company.example E/FFMPEG﹕ Progress: frame=  481 fps=5.2 q=17.0 size=    9908kB time=00:00:19.83 bitrate=4092.4kbits/s dup=460 drop=0
    12-23 13:01:36.140  12665-12665/com.company.example E/FFMPEG﹕ Progress: frame=  505 fps=5.2 q=16.0 size=   10238kB time=00:00:20.83 bitrate=4025.6kbits/s dup=483 drop=0
    12-23 13:01:41.165  12665-12665/com.company.example E/FFMPEG﹕ Progress: frame=  529 fps=5.2 q=16.0 size=   10758kB time=00:00:21.83 bitrate=4036.4kbits/s dup=506 drop=0
    12-23 13:01:46.065  12665-12665/com.company.example E/FFMPEG﹕ Progress: frame=  553 fps=5.2 q=16.0 size=   11214kB time=00:00:22.83 bitrate=4023.2kbits/s dup=529 drop=0
    12-23 13:01:51.290  12665-12665/com.company.example E/FFMPEG﹕ Progress: frame=  577 fps=5.2 q=16.0 size=   11836kB time=00:00:23.83 bitrate=4068.4kbits/s dup=552 drop=0
    12-23 13:01:57.560  12665-12665/com.company.example E/FFMPEG﹕ Progress: frame=  601 fps=5.2 q=17.0 size=   12537kB time=00:00:24.83 bitrate=4135.6kbits/s dup=575 drop=0
    12-23 13:02:02.735  12665-12665/com.company.example E/FFMPEG﹕ Progress: frame=  625 fps=5.1 q=18.0 size=   13864kB time=00:00:25.83 bitrate=4396.6kbits/s dup=598 drop=0
    12-23 13:02:06.810  12665-12665/com.company.example E/FFMPEG﹕ Progress: frame=  649 fps=5.1 q=18.0 size=   14322kB time=00:00:26.83 bitrate=4372.3kbits/s dup=621 drop=0
    12-23 13:02:06.815  12665-12665/com.company.example E/FFMPEG﹕ Progress: frame=  649 fps=4.9 q=18.0 size=   14322kB time=00:00:26.83 bitrate=4372.3kbits/s dup=621 drop=0
    12-23 13:02:07.355  12665-12665/com.company.example E/FFMPEG﹕ Progress: frame=  649 fps=4.9 q=-1.0 Lsize=   14349kB time=00:00:27.04 bitrate=4346.9kbits/s dup=621 drop=0
    12-23 13:02:07.355  12665-12665/com.company.example E/FFMPEG﹕ Progress: video:14345kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.024813%
    12-23 13:02:07.360  12665-12665/com.company.example E/FFMPEG﹕ Progress: [libx264 @ 0x2b4012e0] frame I:3     Avg QP:21.67  size:383361
    12-23 13:02:07.360  12665-12665/com.company.example E/FFMPEG﹕ Progress: [libx264 @ 0x2b4012e0] frame P:646   Avg QP:18.87  size: 20958
    12-23 13:02:07.360  12665-12665/com.company.example E/FFMPEG﹕ Progress: [libx264 @ 0x2b4012e0] mb I  I16..4: 100.0%  0.0%  0.0%
    12-23 13:02:07.360  12665-12665/com.company.example E/FFMPEG﹕ Progress: [libx264 @ 0x2b4012e0] mb P  I16..4:  4.4%  0.0%  0.0%  P16..4: 19.5%  0.0%  0.0%  0.0%  0.0%    skip:76.0%
    12-23 13:02:07.360  12665-12665/com.company.example E/FFMPEG﹕ Progress: [libx264 @ 0x2b4012e0] final ratefactor: 26.82
    12-23 13:02:07.370  12665-12665/com.company.example E/FFMPEG﹕ Progress: [libx264 @ 0x2b4012e0] coded y,uvDC,uvAC intra: 42.8% 45.6% 9.2% inter: 3.4% 16.7% 0.1%
    12-23 13:02:07.370  12665-12665/com.company.example E/FFMPEG﹕ Progress: [libx264 @ 0x2b4012e0] i16 v,h,dc,p: 36% 24% 22% 19%
    12-23 13:02:07.370  12665-12665/com.company.example E/FFMPEG﹕ Progress: [libx264 @ 0x2b4012e0] i8c dc,h,v,p: 51% 22% 19%  7%
    12-23 13:02:07.370  12665-12665/com.company.example E/FFMPEG﹕ Progress: [libx264 @ 0x2b4012e0] kb/s:4345.62
    12-23 13:02:07.400  12665-12665/com.company.example E/FFMPEG﹕ Success: ffmpeg version n2.4.2 Copyright (c) 2000-2014 the FFmpeg developers
    built on Oct  7 2014 15:08:46 with gcc 4.8 (GCC)
    configuration: --target-os=linux --cross-prefix=/home/sb/Source-Code/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/sb/Source-Code/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/sb/Source-Code/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/sb/Source-Code/ffmpeg-android/build/armeabi-v7a-neon --extra-cflags='-I/home/sb/Source-Code/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all -mfpu=neon' --extra-ldflags='-L/home/sb/Source-Code/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
    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
    libswscale      3.  0.100 /  3.  0.100
    libswresample   1.  1.100 /  1.  1.100
    libpostproc    53.  0.100 / 53.  0.100
    Input #0, image2, from '/storage/emulated/0/Pictures/phototest/%d.jpg':
    Duration: 00:00:28.00, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg), 2528x1856 [SAR 1:1 DAR 79:58], 1 fps, 1 tbr, 1 tbn, 1 tbc
    Please use -b:a or -b:v, -b is ambiguous
    [swscaler @ 0x2b3f7990] deprecated pixel format used, make sure you did set range correctly
    [libx264 @ 0x2b4012e0] using SAR=1/1
    [libx264 @ 0x2b4012e0] using cpu capabilities: none!
    [libx264 @ 0x2b4012e0] profile Constrained Baseline, level 5.0
    [libx264 @ 0x2b4012e0] 264 - core 142 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=0 trellis=2 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=4 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=300 keyint_min=24 scenecut=0 intra_refresh=0 rc=abr mbtree=0 bitrate=4000 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=0
    Output #0, mp4, to '/storage/emulated/0/Pictures/phototest/result1.mp4':
    Metadata:
    encoder         : Lavf56.4.101
    Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 2528x1856 [SAR 1:1 DAR 79:58], q=-1--1, 4000 kb/s, 24 fps, 12288 tbn, 24 tbc
    Metadata:
    encoder         : Lavc56.1.100 libx264
    Stream mapping:
    Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264))
    Press [q] to stop, [?] for help
    frame=   49 fps= 11 q=17.0 size=     840kB time=00:00:01.83 bitrate=3752.6kbits/s dup=46 drop=0
    frame=   73 fps=8.0 q=17.0 size=    1397kB time=00:00:02.83 bitrate=4039.0kbits/s dup=69 drop=0
    frame=   97 fps=5.9 q=17.0 size=    1931kB time=00:00:03.83 bitrate=4126.8kbits/s dup=92 drop=0
    frame=  121 fps=5.3 q=17.0 size=    2496kB time=00:00:04.83 bitrate=4229.6kbits/s dup=115 drop=0
    frame=  145 fps=5.2 q=17.0 size=    3089kB time=00:00:05.83 bitrate=4338.5kbits/s dup=138 drop=0
    frame=  169 fps=5.1 q=17.0 size=    3702kB time=00:00:06.83 bitrate=4437.9kbits/s dup=161 drop=0
    frame=  193 fps=5.0 q=18.0 size=    4316kB time=00:00:07.83 bitrate=4514.1kbits/s dup=184 drop=0
    frame=  217 fps=5.0 q=18.0 size=    4848kB time=00:00:08.83 bitrate=4495.6kbits/s dup=207 drop=0
    frame=  241 fps=5.0 q=18.0 size=    5304kB time=00:00:09.83 bitrate=4418.5kbits/s dup=230 drop=0
    frame=  265 fps=5.0 q=19.0 size=    5874kB time=00:00:10.83 bitrate=4441.8kbits/s dup=253 drop=0
    frame=  28
    12-23 13:02:07.430  12665-12665/com.company.example E/FFMPEG﹕ Finished.

    EDIT : Note that although it appears to run ffmpeg twice here, the output file is the correct size which seems to mean that the file isn’t getting overwritten with a corrupt version, so we can probably just assume there’s a bug with Logcat (right ?)

    EDIT 2 : Trying the same command on the PC works flawlessly. Playing back this video works fine on Android.

  • ffmpeg Windows : standard transcode produces file that "uses unsupported encoding settings" [duplicate]

    17 août 2022, par David M. Cotter

    using the basic command :

    


    ffmpeg -i infile.mp4 -vcodec libx264 -acodec aac output.mp4


    


    poduces a file that can't be played by the standard Windows Media Player app.
Is there something i'm missing ?

    


    Here is the log data.

    


    C:> \\Mac\depot\kJams\External\ffmpeg\win\bin\ffmpeg.exe -i "\\Mac\Home\Desktop\Christina lying down.AVI" -vcodec libx264 -acodec aac output.mp4
ffmpeg version git-2019-11-01-53c21c2 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 9.2.1 (GCC) 20191010
  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. 35.101 / 56. 35.101
  libavcodec     58. 60.100 / 58. 60.100
  libavformat    58. 33.100 / 58. 33.100
  libavdevice    58.  9.100 / 58.  9.100
  libavfilter     7. 66.100 /  7. 66.100
  libswscale      5.  6.100 /  5.  6.100
  libswresample   3.  6.100 /  3.  6.100
  libpostproc    55.  6.100 / 55.  6.100
Guessed Channel Layout for Input Stream #0.1 : mono
Input #0, avi, from '\\Mac\Home\Desktop\Christina lying down.AVI':
  Metadata:
    creation_time   : 2006-01-26 18:19:22
    encoder         : CanonMVI02
  Duration: 00:00:07.70, start: 0.000000, bitrate: 14928 kb/s
    Stream #0:0: Video: mjpeg (Baseline) (MJPG / 0x47504A4D), yuvj422p(pc, bt470bg/unknown/unknown), 640x480, 14896 kb/s, 30 fps, 30 tbr, 30 tbn, 30 tbc
    Stream #0:1: Audio: pcm_u8 ([1][0][0][0] / 0x0001), 11024 Hz, mono, u8, 88 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (pcm_u8 (native) -> aac (native))
Press [q] to stop, [?] for help
[aac @ 0f06a740] Too many bits 6408.707483 > 6144 per frame requested, clamping to max
[libx264 @ 0f068b40] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
[libx264 @ 0f068b40] profile High 4:2:2, level 3.0, 4:2:2, 8-bit
[libx264 @ 0f068b40] 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=-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=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 'output.mp4':
  Metadata:
    encoder         : Lavf58.33.100
    Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuvj422p(pc), 640x480, q=-1--1, 30 fps, 1000k tbn, 30 tbc
    Metadata:
      encoder         : Lavc58.60.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
    Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 11025 Hz, mono, fltp, 66 kb/s
    Metadata:
      encoder         : Lavc58.60.100 aac
frame=  231 fps=128 q=-1.0 Lsize=    1570kB time=00:00:07.70 bitrate=1668.3kbits/s speed=4.28x
video:1514kB audio:51kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.347234%
[libx264 @ 0f068b40] frame I:2     Avg QP:24.57  size: 27076
[libx264 @ 0f068b40] frame P:60    Avg QP:26.24  size: 12693
[libx264 @ 0f068b40] frame B:169   Avg QP:27.91  size:  4342
[libx264 @ 0f068b40] consecutive B-frames:  1.7%  1.7%  1.3% 95.2%
[libx264 @ 0f068b40] mb I  I16..4:  0.6% 97.6%  1.8%
[libx264 @ 0f068b40] mb P  I16..4:  0.1% 10.6%  0.5%  P16..4: 51.1% 17.9% 10.8%  0.0%  0.0%    skip: 8.9%
[libx264 @ 0f068b40] mb B  I16..4:  0.0%  1.2%  0.0%  B16..8: 51.8%  4.4%  0.7%  direct: 6.4%  skip:35.5%  L0:48.8% L1:46.4% BI: 4.8%
[libx264 @ 0f068b40] 8x8 transform intra:95.6% inter:78.5%
[libx264 @ 0f068b40] coded y,uvDC,uvAC intra: 89.0% 85.1% 53.7% inter: 29.0% 44.7% 6.7%
[libx264 @ 0f068b40] i16 v,h,dc,p: 19% 31%  8% 42%
[libx264 @ 0f068b40] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 11% 15% 33%  6%  7%  5%  9%  5%  8%
[libx264 @ 0f068b40] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 21% 18%  7% 10%  6% 11%  5%  6%
[libx264 @ 0f068b40] i8c dc,h,v,p: 67% 13% 15%  5%
[libx264 @ 0f068b40] Weighted P-Frames: Y:8.3% UV:6.7%
[libx264 @ 0f068b40] ref P L0: 35.8% 10.5% 35.1% 17.4%  1.2%
[libx264 @ 0f068b40] ref B L0: 76.1% 19.2%  4.7%
[libx264 @ 0f068b40] ref B L1: 92.7%  7.3%
[libx264 @ 0f068b40] kb/s:1609.92
[aac @ 0f06a740] Qavg: 34311.295


    


    Ignore this part, Stack Overflow now requires that i type something more so it's not "mostly code"

    


  • How to make a video from images using ffmpeg ? [duplicate]

    11 juillet 2019, par No_0n3

    I’m trying to make a video form list of images named like 1.jpg 2.jpg.. But I’m getting this error : ’deprecated pixed format used, make sure you did set range correctly’. How can i make a video form list of images ?

    ffmpeg -framerate 1 -i images/%d.jpg output.mp4
    ffmpeg version N-94251-gf83b46e218 Copyright (c) 2000-2019 the FFmpeg developers
     built with gcc 9.1.1 (GCC) 20190621
     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-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
     libavutil      56. 30.100 / 56. 30.100
     libavcodec     58. 53.101 / 58. 53.101
     libavformat    58. 28.101 / 58. 28.101
     libavdevice    58.  7.100 / 58.  7.100
     libavfilter     7. 56.101 /  7. 56.101
     libswscale      5.  4.101 /  5.  4.101
     libswresample   3.  4.100 /  3.  4.100
     libpostproc    55.  4.100 / 55.  4.100
    Input #0, image2, from 'images/%d.jpg':
     Duration: 00:00:10.00, start: 0.000000, bitrate: N/A
       Stream #0:0: Video: mjpeg (Progressive), yuvj444p(pc, bt470bg/unknown/unknown), 612x409 [SAR 300:300 DAR 612:409], 1 fps, 1 tbr, 1 tbn, 1 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264))
    Press [q] to stop, [?] for help
    [libx264 @ 000001e44fbac740] using SAR=1/1
    [libx264 @ 000001e44fbac740] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
    [libx264 @ 000001e44fbac740] profile High 4:4:4 Predictive, level 2.2, 4:4:4, 8-bit
    [libx264 @ 000001e44fbac740] 264 - core 157 r2970 5493be8 - 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=1 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 'output.mp4':
     Metadata:
       encoder         : Lavf58.28.101
       Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuvj444p(pc), 612x409 [SAR 300:300 DAR 612:409], q=-1--1, 1 fps, 16384 tbn, 1 tbc
       Metadata:
         encoder         : Lavc58.53.101 libx264
       Side data:
         cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    [swscaler @ 000001e450a5ef00] deprecated pixel format used, make sure you did set range correctly
    [swscaler @ 000001e45061b340] deprecated pixel format used, make sure you did set range correctly
    [swscaler @ 000001e44fbea400] deprecated pixel format used, make sure you did set range correctly
       Last message repeated 4 times
    frame=   10 fps=0.0 q=-1.0 Lsize=     594kB time=00:00:07.00 bitrate= 695.5kbits/s speed=27.9x
    video:593kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.148593%
    [libx264 @ 000001e44fbac740] frame I:1     Avg QP:17.27  size: 51016
    [libx264 @ 000001e44fbac740] frame P:9     Avg QP:17.36  size: 61778
    [libx264 @ 000001e44fbac740] mb I  I16..4:  1.4% 96.0%  2.7%
    [libx264 @ 000001e44fbac740] mb P  I16..4:  4.0% 83.5% 11.1%  P16..4:  0.7%  0.4%  0.2%  0.0%  0.0%    skip: 0.0%
    [libx264 @ 000001e44fbac740] 8x8 transform intra:85.8% inter:98.3%
    [libx264 @ 000001e44fbac740] coded y,u,v intra: 92.4% 60.1% 62.2% inter: 98.5% 93.8% 93.8%
    [libx264 @ 000001e44fbac740] i16 v,h,dc,p:  5% 50% 10% 35%
    [libx264 @ 000001e44fbac740] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 10% 29% 18%  6%  6%  5%  9%  6% 10%
    [libx264 @ 000001e44fbac740] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 24% 12%  6% 10%  9%  9%  6%  7%
    [libx264 @ 000001e44fbac740] Weighted P-Frames: Y:0.0% UV:0.0%
    [libx264 @ 000001e44fbac740] ref P L0: 33.3% 15.4% 30.8% 20.4%
    [libx264 @ 000001e44fbac740] kb/s:485.61

    output.mp4 occurred but it isn’t showing any image.