Recherche avancée

Médias (0)

Mot : - Tags -/tags

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

Autres articles (37)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (6332)

  • ffmpeg : trsfer a h264 video to a series of jpg failed

    21 juin 2018, par 徐立派

    me and a partner are trying to transfer a h264 video to a series of images using ffmpeg with the following command line :

    ffmpeg -i input.h264 -qscale:v 2 output_%03d.jpg

    The input.h264 can be played perfectly on vlc, but the images generated by ffmpeg are just all black. The message in the console are below :

    ffmpeg version 3.4.2-2 Copyright (c) 2000-2018 the FFmpeg developers
     built with gcc 7 (Ubuntu 7.3.0-16ubuntu2)
     configuration: --prefix=/usr --extra-version=2 --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
    [h264 @ 0x562ab2afd9e0] error while decoding MB 54 2, bytestream -16
    [h264 @ 0x562ab2afd9e0] top block unavailable for requested intra mode -1
    [h264 @ 0x562ab2afd9e0] error while decoding MB 2 9, bytestream 6907
    [h264 @ 0x562ab2afd9e0] concealing 1275 DC, 1275 AC, 1275 MV errors in P frame
    [h264 @ 0x562ab2afd9e0] top block unavailable for requested intra mode -1
    [h264 @ 0x562ab2afd9e0] error while decoding MB 27 0, bytestream 5564
    [h264 @ 0x562ab2afd9e0] deblocking filter parameters 7 13 out of range
    [h264 @ 0x562ab2afd9e0] decode_slice_header error
    [h264 @ 0x562ab2afd9e0] concealing 1440 DC, 1440 AC, 1440 MV errors in P frame
    [h264 @ 0x562ab2afd9e0] deblocking filter parameters 7 -14 out of range
    [h264 @ 0x562ab2afd9e0] decode_slice_header error
    [h264 @ 0x562ab2afd9e0] concealing 1387 DC, 1387 AC, 1387 MV errors in P frame
    [h264 @ 0x562ab2afd9e0] deblocking filter parameters -7 0 out of range
    [h264 @ 0x562ab2afd9e0] decode_slice_header error
    [h264 @ 0x562ab2afd9e0] concealing 1413 DC, 1413 AC, 1413 MV errors in P frame
    [h264 @ 0x562ab2afd9e0] top block unavailable for requested intra mode -1
    [h264 @ 0x562ab2afd9e0] error while decoding MB 9 0, bytestream 6647
    [h264 @ 0x562ab2afd9e0] concealing 1186 DC, 1186 AC, 1186 MV errors in P frame
    [h264 @ 0x562ab2afd9e0] top block unavailable for requested intra mode
    [h264 @ 0x562ab2afd9e0] error while decoding MB 16 9, bytestream 6182
    [h264 @ 0x562ab2afd9e0] top block unavailable for requested intra mode -1
    [h264 @ 0x562ab2afd9e0] error while decoding MB 6 18, bytestream 7043
    [h264 @ 0x562ab2afd9e0] concealing 1440 DC, 1440 AC, 1440 MV errors in P frame
    [h264 @ 0x562ab2afc8c0] Stream #0: not enough frames to estimate rate; consider increasing probesize
    Input #0, h264, from 'temp_file.h264':
     Duration: N/A, bitrate: N/A
       Stream #0:0: Video: h264 (High), yuvj420p(pc, progressive), 1280x720, 29.97 fps, 29.97 tbr, 1200k tbn, 59.94 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> mjpeg (native))
    Press [q] to stop, [?] for help
    [h264 @ 0x562ab2b2f900] error while decoding MB 54 2, bytestream -16
    [h264 @ 0x562ab2b2f900] top block unavailable for requested intra mode -1
    [h264 @ 0x562ab2b2f900] error while decoding MB 2 9, bytestream 6907
    [h264 @ 0x562ab2b2f900] concealing 1275 DC, 1275 AC, 1275 MV errors in P frame
    [h264 @ 0x562ab2b01080] top block unavailable for requested intra mode -1
    [h264 @ 0x562ab2b01080] error while decoding MB 27 0, bytestream 5564
    [h264 @ 0x562ab2b01080] deblocking filter parameters 7 13 out of range
    [h264 @ 0x562ab2b01080] decode_slice_header error
    [h264 @ 0x562ab2b01080] concealing 1440 DC, 1440 AC, 1440 MV errors in P frame
    [h264 @ 0x562ab2c49240] deblocking filter parameters 7 -14 out of range
    [h264 @ 0x562ab2c49240] decode_slice_header error
    [h264 @ 0x562ab2c49240] concealing 1387 DC, 1387 AC, 1387 MV errors in P frame
    Output #0, image2, to 'output_%03d.jpg':
     Metadata:
       encoder         : Lavf57.83.100
       Stream #0:0: Video: mjpeg, yuvj420p(pc), 1280x720, q=2-31, 200 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc
       Metadata:
         encoder         : Lavc57.107.100 mjpeg
       Side data:
         cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
    [h264 @ 0x562ab2b7fec0] deblocking filter parameters -7 0 out of range
    [h264 @ 0x562ab2b7fec0] decode_slice_header error
    [h264 @ 0x562ab2b7fec0] concealing 1413 DC, 1413 AC, 1413 MV errors in P frame
    [h264 @ 0x562ab2c15240] top block unavailable for requested intra mode -1
    [h264 @ 0x562ab2c15240] error while decoding MB 9 0, bytestream 6647
    [h264 @ 0x562ab2c15240] concealing 1186 DC, 1186 AC, 1186 MV errors in P frame
    [h264 @ 0x562ab2c315a0] top block unavailable for requested intra mode
    [h264 @ 0x562ab2c315a0] error while decoding MB 16 9, bytestream 6182
    [h264 @ 0x562ab2c315a0] top block unavailable for requested intra mode -1
    [h264 @ 0x562ab2c315a0] error while decoding MB 6 18, bytestream 7043
    [h264 @ 0x562ab2c315a0] concealing 1440 DC, 1440 AC, 1440 MV errors in P frame
    [h264 @ 0x562ab2c447a0] top block unavailable for requested intra mode -1
    [h264 @ 0x562ab2c447a0] error while decoding MB 12 9, bytestream 6863
    [h264 @ 0x562ab2c447a0] concealing 1342 DC, 1342 AC, 1342 MV errors in P frame
    [h264 @ 0x562ab2bb9180] top block unavailable for requested intra mode
    [h264 @ 0x562ab2bb9180] error while decoding MB 29 18, bytestream 6611
    [h264 @ 0x562ab2bb9180] concealing 1405 DC, 1405 AC, 1405 MV errors in P frame
    [h264 @ 0x562ab2bd54e0] top block unavailable for requested intra mode
    [h264 @ 0x562ab2bd54e0] error while decoding MB 25 9, bytestream 6051
    [h264 @ 0x562ab2bd54e0] top block unavailable for requested intra mode -1
    [h264 @ 0x562ab2bd54e0] error while decoding MB 70 18, bytestream 5088
    [h264 @ 0x562ab2bd54e0] concealing 1419 DC, 1419 AC, 1419 MV errors in P frame
    [h264 @ 0x562ab2bf1840] top block unavailable for requested intra mode
    [h264 @ 0x562ab2bf1840] error while decoding MB 14 9, bytestream 6071
    [h264 @ 0x562ab2bf1840] deblocking filter parameters -9 0 out of range
    [h264 @ 0x562ab2bf1840] decode_slice_header error
    [h264 @ 0x562ab2bf1840] concealing 1440 DC, 1440 AC, 1440 MV errors in P frame
    [h264 @ 0x562ab318e0a0] top block unavailable for requested intra mode -1
    [h264 @ 0x562ab318e0a0] error while decoding MB 54 9, bytestream 4422
    [h264 @ 0x562ab318e0a0] concealing 1256 DC, 1256 AC, 1256 MV errors in P frame
    [h264 @ 0x562ab31aa020] top block unavailable for requested intra mode -1
    [h264 @ 0x562ab31aa020] error while decoding MB 22 9, bytestream 5862
    [h264 @ 0x562ab31aa020] concealing 1335 DC, 1335 AC, 1335 MV errors in P frame
    [h264 @ 0x562ab2d5a8c0] deblocking filter parameters 7 -4 out of range
    [h264 @ 0x562ab2d5a8c0] decode_slice_header error
    [h264 @ 0x562ab2d5a8c0] concealing 1430 DC, 1430 AC, 1430 MV errors in P frame
    [h264 @ 0x562ab2b2f900] concealing 1319 DC, 1319 AC, 1319 MV errors in P frame
    [h264 @ 0x562ab2b01080] top block unavailable for requested intra mode -1
    [h264 @ 0x562ab2b01080] error while decoding MB 16 9, bytestream 6218
    [h264 @ 0x562ab2b01080] concealing 1416 DC, 1416 AC, 1416 MV errors in P frame
    [h264 @ 0x562ab2c49240] top block unavailable for requested intra mode -1
    [h264 @ 0x562ab2c49240] error while decoding MB 12 0, bytestream 6854
    [h264 @ 0x562ab2c49240] top block unavailable for requested intra mode -1
    [h264 @ 0x562ab2c49240] error while decoding MB 2 9, bytestream 7092
    [h264 @ 0x562ab2c49240] concealing 1440 DC, 1440 AC, 1440 MV errors in P frame
    [h264 @ 0x562ab2b7fec0] top block unavailable for requested intra mode -1
    [h264 @ 0x562ab2b7fec0] error while decoding MB 59 0, bytestream 4955
    [h264 @ 0x562ab2b7fec0] deblocking filter parameters 7 15 out of range
    [h264 @ 0x562ab2b7fec0] decode_slice_header error
    [h264 @ 0x562ab2b7fec0] concealing 1430 DC, 1430 AC, 1430 MV errors in P frame
    [h264 @ 0x562ab2c15240] top block unavailable for requested intra mode -1
    [h264 @ 0x562ab2c15240] error while decoding MB 34 0, bytestream 5338
    [h264 @ 0x562ab2c15240] deblocking filter parameters 7 13 out of range
    [h264 @ 0x562ab2c15240] decode_slice_header error
    [h264 @ 0x562ab2c15240] concealing 1440 DC, 1440 AC, 1440 MV errors in P frame
    [h264 @ 0x562ab2c315a0] concealing 1344 DC, 1344 AC, 1344 MV errors in P frame
    [h264 @ 0x562ab2c447a0] top block unavailable for requested intra mode -1
    [h264 @ 0x562ab2c447a0] error while decoding MB 49 9, bytestream 4992
    [h264 @ 0x562ab2c447a0] concealing 1228 DC, 1228 AC, 1228 MV errors in P frame
    frame=   21 fps=0.0 q=2.0 Lsize=N/A time=00:00:00.70 bitrate=N/A speed=1.31x    
    video:601kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

    However, this command works perfectly fine on random h264 videoes on the internet, so I guess there may be something wrong with our h264 video, but the weird thing is that it can be played by vlc player just fine...

    Any idea what the problem can be ? Any help will be appreciated !

  • h264 extracting frames works only on certain operating system / ffmpeg version

    15 juin 2018, par J. S.

    I have received parsed h264 data from my phone, and I am trying to extract frames from the data.

    I used the following ffmpeg command lines :

    ffmpeg -i temp.h264 -ss 5 -pix_fmt yuv420p -vframes 1 foo.yuv

    ffmpeg -s 1280:720 -pix_fmt yuv420p -i foo.yuv output.jpg

    This results in the right output image on Ubuntu (KDE neon User Edition 5.12) with ffmpeg version 2.8.14.

    However, it does not work on macOS High Sierra (10.13.4) with ffmpeg version 4.0 and instead shows an output message :

    Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)

    I am not sure whether this is a mere ffmpeg version-related issue or not because as an experiment, when I converted the h264 data into mp4 format and played it on macOS High Sierra, the video sometimes shows a sequence of black distorted image (screenshot), and other times, a normal video.

    If I play that same video on Ubuntu (KDE neon User Edition 5.12), the video plays perfectly.

    I don’t understand why this problem would occur, and whether this has to do with OS or ffmpeg library version.
    What would be some good ways to approach this problem ? Thanks.

    EDIT :

    Full log of first ffmpeg command line (ubuntu) :

    ffmpeg version 2.8.14-0ubuntu0.16.04.1 Copyright (c) 2000-2018 the FFmpeg developers
     built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.9) 20160609
     configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --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-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --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-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv
     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
     libavresample   2.  1.  0 /  2.  1.  0
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  2.101 /  1.  2.101
     libpostproc    53.  3.100 / 53.  3.100
    [h264 @ 0x11ae2a0] error while decoding MB 54 2, bytestream -16
    [h264 @ 0x11ae2a0] top block unavailable for requested intra4x4 mode -1 at 2 9                                                                            
    [h264 @ 0x11ae2a0] error while decoding MB 2 9, bytestream 6908                                                                                            
    [h264 @ 0x11ae2a0] concealing 1275 DC, 1275 AC, 1275 MV errors in P frame
    [h264 @ 0x11ae2a0] top block unavailable for requested intra4x4 mode -1 at 27 0
    [h264 @ 0x11ae2a0] error while decoding MB 27 0, bytestream 5564                                                                                          
    [h264 @ 0x11ae2a0] deblocking filter parameters 7 13 out of range                                                                                          
    [h264 @ 0x11ae2a0] decode_slice_header error                                                                                                              
    [h264 @ 0x11ae2a0] concealing 1440 DC, 1440 AC, 1440 MV errors in P frame
    [h264 @ 0x11ae2a0] deblocking filter parameters 7 -14 out of range
    [h264 @ 0x11ae2a0] decode_slice_header error                                                                                                              
    [h264 @ 0x11ae2a0] concealing 1387 DC, 1387 AC, 1387 MV errors in P frame
    [h264 @ 0x11ae2a0] deblocking filter parameters -7 0 out of range
    [h264 @ 0x11ae2a0] decode_slice_header error                                                                                                              
    [h264 @ 0x11ae2a0] concealing 1413 DC, 1413 AC, 1413 MV errors in P frame
    [h264 @ 0x11ae2a0] top block unavailable for requested intra4x4 mode -1 at 9 0
    [h264 @ 0x11ae2a0] error while decoding MB 9 0, bytestream 6647                                                                                            
    [h264 @ 0x11ae2a0] concealing 1186 DC, 1186 AC, 1186 MV errors in P frame
    [h264 @ 0x11ae2a0] top block unavailable for requested intra mode at 16 9
    [h264 @ 0x11ae2a0] error while decoding MB 16 9, bytestream 6182                                                                                          
    [h264 @ 0x11ae2a0] top block unavailable for requested intra4x4 mode -1 at 6 18                                                                            
    [h264 @ 0x11ae2a0] error while decoding MB 6 18, bytestream 7042                                                                                          
    [h264 @ 0x11ae2a0] concealing 1440 DC, 1440 AC, 1440 MV errors in P frame
    [h264 @ 0x11ad340] Stream #0: not enough frames to estimate rate; consider increasing probesize
    Input #0, h264, from 'temp.h264':
     Duration: N/A, bitrate: N/A
       Stream #0:0: Video: h264 (High), yuvj420p(pc), 1280x720, 29.97 fps, 29.97 tbr, 1200k tbn, 59.94 tbc
    [swscaler @ 0x1207dc0] deprecated pixel format used, make sure you did set range correctly
    Output #0, rawvideo, to 'foo.yuv':
     Metadata:
       encoder         : Lavf56.40.101
       Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1280x720, q=2-31, 200 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc
       Metadata:
         encoder         : Lavc56.60.100 rawvideo
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> rawvideo (native))
    Press [q] to stop, [?] for help
    [h264 @ 0x11f98a0] error while decoding MB 54 2, bytestream -16
    [h264 @ 0x11f98a0] top block unavailable for requested intra4x4 mode -1 at 2 9                                                                            
    [h264 @ 0x11f98a0] error while decoding MB 2 9, bytestream 6908                                                                                            
    [h264 @ 0x11f98a0] concealing 1275 DC, 1275 AC, 1275 MV errors in P frame
    [h264 @ 0x12758e0] top block unavailable for requested intra4x4 mode -1 at 27 0
    [h264 @ 0x12758e0] error while decoding MB 27 0, bytestream 5564                                                                                          
    [h264 @ 0x12758e0] deblocking filter parameters 7 13 out of range                                                                                          
    [h264 @ 0x12758e0] decode_slice_header error                                                                                                              
    [h264 @ 0x12758e0] concealing 1440 DC, 1440 AC, 1440 MV errors in P frame
    [h264 @ 0x11ffcc0] deblocking filter parameters 7 -14 out of range
    [h264 @ 0x11ffcc0] decode_slice_header error                                                                                                              
    [h264 @ 0x11ffcc0] concealing 1387 DC, 1387 AC, 1387 MV errors in P frame
    [h264 @ 0x11f98a0] deblocking filter parameters -7 0 out of range
    [h264 @ 0x11f98a0] decode_slice_header error                                                                                                              
    [h264 @ 0x11f98a0] concealing 1413 DC, 1413 AC, 1413 MV errors in P frame
    [h264 @ 0x12758e0] top block unavailable for requested intra4x4 mode -1 at 9 0
    [h264 @ 0x12758e0] error while decoding MB 9 0, bytestream 6647                                                                                            
    [h264 @ 0x12758e0] concealing 1186 DC, 1186 AC, 1186 MV errors in P frame
    [h264 @ 0x11ffcc0] top block unavailable for requested intra mode at 16 9
    [h264 @ 0x11ffcc0] error while decoding MB 16 9, bytestream 6182                                                                                          
    [h264 @ 0x11ffcc0] top block unavailable for requested intra4x4 mode -1 at 6 18                                                                            
    [h264 @ 0x11ffcc0] error while decoding MB 6 18, bytestream 7042                                                                                          
    [h264 @ 0x11ffcc0] concealing 1440 DC, 1440 AC, 1440 MV errors in P frame
    [h264 @ 0x11f98a0] top block unavailable for requested intra4x4 mode -1 at 12 9
    [h264 @ 0x11f98a0] error while decoding MB 12 9, bytestream 6863                                                                                          
    [h264 @ 0x11f98a0] concealing 1342 DC, 1342 AC, 1342 MV errors in P frame
    [h264 @ 0x12758e0] top block unavailable for requested intra mode at 29 18
    [h264 @ 0x12758e0] error while decoding MB 29 18, bytestream 6612                                                                                          
    [h264 @ 0x12758e0] concealing 1405 DC, 1405 AC, 1405 MV errors in P frame
    [h264 @ 0x11ffcc0] top block unavailable for requested intra mode at 25 9
    [h264 @ 0x11ffcc0] error while decoding MB 25 9, bytestream 6051                                                                                          
    [h264 @ 0x11ffcc0] top block unavailable for requested intra4x4 mode -1 at 70 18                                                                          
    [h264 @ 0x11ffcc0] error while decoding MB 70 18, bytestream 5089                                                                                          
    [h264 @ 0x11ffcc0] concealing 1419 DC, 1419 AC, 1419 MV errors in P frame
    [h264 @ 0x11f98a0] top block unavailable for requested intra mode at 14 9
    [h264 @ 0x11f98a0] error while decoding MB 14 9, bytestream 6071
    [h264 @ 0x11f98a0] deblocking filter parameters -9 0 out of range
    [h264 @ 0x11f98a0] decode_slice_header error
    [h264 @ 0x11f98a0] concealing 1440 DC, 1440 AC, 1440 MV errors in P frame
    [h264 @ 0x12758e0] top block unavailable for requested intra4x4 mode -1 at 54 9
    [h264 @ 0x12758e0] error while decoding MB 54 9, bytestream 4423
    [h264 @ 0x12758e0] concealing 1256 DC, 1256 AC, 1256 MV errors in P frame
    [h264 @ 0x11ffcc0] top block unavailable for requested intra4x4 mode -1 at 22 9
    [h264 @ 0x11ffcc0] error while decoding MB 22 9, bytestream 5861
    [h264 @ 0x11ffcc0] concealing 1335 DC, 1335 AC, 1335 MV errors in P frame
    [h264 @ 0x11f98a0] deblocking filter parameters 7 -4 out of range
    [h264 @ 0x11f98a0] decode_slice_header error
    [h264 @ 0x11f98a0] concealing 1430 DC, 1430 AC, 1430 MV errors in P frame
    [h264 @ 0x12758e0] concealing 1319 DC, 1319 AC, 1319 MV errors in P frame
    [h264 @ 0x11ffcc0] top block unavailable for requested intra4x4 mode -1 at 16 9
    [h264 @ 0x11ffcc0] error while decoding MB 16 9, bytestream 6217
    [h264 @ 0x11ffcc0] concealing 1416 DC, 1416 AC, 1416 MV errors in P frame
    [h264 @ 0x11f98a0] top block unavailable for requested intra4x4 mode -1 at 12 0
    [h264 @ 0x11f98a0] error while decoding MB 12 0, bytestream 6854
    [h264 @ 0x11f98a0] top block unavailable for requested intra4x4 mode -1 at 2 9
    [h264 @ 0x11f98a0] error while decoding MB 2 9, bytestream 7093
    [h264 @ 0x11f98a0] concealing 1440 DC, 1440 AC, 1440 MV errors in P frame
    [h264 @ 0x12758e0] top block unavailable for requested intra4x4 mode -1 at 59 0
    [h264 @ 0x12758e0] error while decoding MB 59 0, bytestream 4955
    [h264 @ 0x12758e0] deblocking filter parameters 7 15 out of range
    [h264 @ 0x12758e0] decode_slice_header error
    [h264 @ 0x12758e0] concealing 1430 DC, 1430 AC, 1430 MV errors in P frame
    [h264 @ 0x11ffcc0] top block unavailable for requested intra4x4 mode -1 at 34 0
    [h264 @ 0x11ffcc0] error while decoding MB 34 0, bytestream 5338
    [h264 @ 0x11ffcc0] deblocking filter parameters 7 13 out of range
    [h264 @ 0x11ffcc0] decode_slice_header error
    [h264 @ 0x11ffcc0] concealing 1440 DC, 1440 AC, 1440 MV errors in P frame
    [h264 @ 0x11ffcc0] Reinit context to 1280x720, pix_fmt: yuv420p
    [h264 @ 0x11f98a0] concealing 1344 DC, 1344 AC, 1344 MV errors in P frame
    [h264 @ 0x12758e0] top block unavailable for requested intra4x4 mode -1 at 49 9
    [h264 @ 0x12758e0] error while decoding MB 49 9, bytestream 4993
    [h264 @ 0x12758e0] concealing 1228 DC, 1228 AC, 1228 MV errors in P frame
    Input stream #0:0 frame changed from size:1280x720 fmt:yuvj420p to size:1280x720 fmt:yuv420p
    frame=    1 fps=0.6 q=-0.0 Lsize=    1350kB time=00:00:04.93 bitrate=2239.5kbits/s    
    video:1350kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%

    Full log of first ffmpeg command line (macOS) :

    ffmpeg version 4.0 Copyright (c) 2000-2018 the FFmpeg developers
     built with Apple LLVM version 9.1.0 (clang-902.0.39.1)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/4.0 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-gpl --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-opencl --enable-videotoolbox --disable-lzma
     libavutil      56. 14.100 / 56. 14.100
     libavcodec     58. 18.100 / 58. 18.100
     libavformat    58. 12.100 / 58. 12.100
     libavdevice    58.  3.100 / 58.  3.100
     libavfilter     7. 16.100 /  7. 16.100
     libavresample   4.  0.  0 /  4.  0.  0
     libswscale      5.  1.100 /  5.  1.100
     libswresample   3.  1.100 /  3.  1.100
     libpostproc    55.  1.100 / 55.  1.100
    [h264 @ 0x7fcb3880b600] error while decoding MB 54 2, bytestream -14
    [h264 @ 0x7fcb3880b600] top block unavailable for requested intra mode -1
    [h264 @ 0x7fcb3880b600] error while decoding MB 2 9, bytestream 6908
    [h264 @ 0x7fcb3880b600] concealing 1275 DC, 1275 AC, 1275 MV errors in P frame
    [h264 @ 0x7fcb3880b600] top block unavailable for requested intra mode -1
    [h264 @ 0x7fcb3880b600] error while decoding MB 27 0, bytestream 5564
    [h264 @ 0x7fcb3880b600] deblocking filter parameters 7 13 out of range
    [h264 @ 0x7fcb3880b600] decode_slice_header error
    [h264 @ 0x7fcb3880b600] concealing 1440 DC, 1440 AC, 1440 MV errors in P frame
    [h264 @ 0x7fcb3880b600] deblocking filter parameters 7 -14 out of range
    [h264 @ 0x7fcb3880b600] decode_slice_header error
    [h264 @ 0x7fcb3880b600] concealing 1387 DC, 1387 AC, 1387 MV errors in P frame
    [h264 @ 0x7fcb3880b600] deblocking filter parameters -7 0 out of range
    [h264 @ 0x7fcb3880b600] decode_slice_header error
    [h264 @ 0x7fcb3880b600] concealing 1413 DC, 1413 AC, 1413 MV errors in P frame
    [h264 @ 0x7fcb3880b600] top block unavailable for requested intra mode -1
    [h264 @ 0x7fcb3880b600] error while decoding MB 9 0, bytestream 6647
    [h264 @ 0x7fcb3880b600] concealing 1186 DC, 1186 AC, 1186 MV errors in P frame
    [h264 @ 0x7fcb3880b600] top block unavailable for requested intra mode
    [h264 @ 0x7fcb3880b600] error while decoding MB 16 9, bytestream 6183
    [h264 @ 0x7fcb3880b600] top block unavailable for requested intra mode -1
    [h264 @ 0x7fcb3880b600] error while decoding MB 6 18, bytestream 7043
    [h264 @ 0x7fcb3880b600] concealing 1440 DC, 1440 AC, 1440 MV errors in P frame
    [h264 @ 0x7fcb39000400] Stream #0: not enough frames to estimate rate; consider increasing probesize
    Input #0, h264, from 'temp.h264':
     Duration: N/A, bitrate: N/A
       Stream #0:0: Video: h264 (High), yuvj420p(pc, progressive), 1280x720, 29.97 fps, 29.97 tbr, 1200k tbn, 59.94 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> rawvideo (native))
    Press [q] to stop, [?] for help
    [h264 @ 0x7fcb38003800] error while decoding MB 54 2, bytestream -14
    [h264 @ 0x7fcb38003800] top block unavailable for requested intra mode -1
    [h264 @ 0x7fcb38003800] error while decoding MB 2 9, bytestream 6908
    [h264 @ 0x7fcb38003800] concealing 1275 DC, 1275 AC, 1275 MV errors in P frame
    [h264 @ 0x7fcb38003e00] top block unavailable for requested intra mode -1
    [h264 @ 0x7fcb38003e00] error while decoding MB 27 0, bytestream 5564
    [h264 @ 0x7fcb38003e00] deblocking filter parameters 7 13 out of range
    [h264 @ 0x7fcb38003e00] decode_slice_header error
    [h264 @ 0x7fcb38003e00] concealing 1440 DC, 1440 AC, 1440 MV errors in P frame
    [swscaler @ 0x7fcb3817aa00] deprecated pixel format used, make sure you did set range correctly
    [h264 @ 0x7fcb3809c000] deblocking filter parameters 7 -14 out of range
    [h264 @ 0x7fcb3809c000] decode_slice_header error
    [h264 @ 0x7fcb3809c000] concealing 1387 DC, 1387 AC, 1387 MV errors in P frame
    Output #0, rawvideo, to 'foo.yuv':
     Metadata:
       encoder         : Lavf58.12.100
       Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1280x720, q=2-31, 331444 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc
       Metadata:
         encoder         : Lavc58.18.100 rawvideo
    [h264 @ 0x7fcb3809c600] deblocking filter parameters -7 0 out of range
    [h264 @ 0x7fcb3809c600] decode_slice_header error
    [h264 @ 0x7fcb3809c600] concealing 1413 DC, 1413 AC, 1413 MV errors in P frame
    [h264 @ 0x7fcb38003200] top block unavailable for requested intra mode -1
    [h264 @ 0x7fcb38003200] error while decoding MB 9 0, bytestream 6647
    [h264 @ 0x7fcb38003200] concealing 1186 DC, 1186 AC, 1186 MV errors in P frame
    [h264 @ 0x7fcb38003800] top block unavailable for requested intra mode
    [h264 @ 0x7fcb38003800] error while decoding MB 16 9, bytestream 6183
    [h264 @ 0x7fcb38003800] top block unavailable for requested intra mode -1
    [h264 @ 0x7fcb38003800] error while decoding MB 6 18, bytestream 7043
    [h264 @ 0x7fcb38003800] concealing 1440 DC, 1440 AC, 1440 MV errors in P frame
    [h264 @ 0x7fcb38003e00] top block unavailable for requested intra mode -1
    [h264 @ 0x7fcb38003e00] error while decoding MB 12 9, bytestream 6862
    [h264 @ 0x7fcb38003e00] concealing 1342 DC, 1342 AC, 1342 MV errors in P frame
    [h264 @ 0x7fcb3809c000] top block unavailable for requested intra mode
    [h264 @ 0x7fcb3809c000] error while decoding MB 29 18, bytestream 6612
    [h264 @ 0x7fcb3809c000] concealing 1405 DC, 1405 AC, 1405 MV errors in P frame
    [h264 @ 0x7fcb3809c600] top block unavailable for requested intra mode
    [h264 @ 0x7fcb3809c600] error while decoding MB 25 9, bytestream 6050
    [h264 @ 0x7fcb3809c600] top block unavailable for requested intra mode -1
    [h264 @ 0x7fcb3809c600] error while decoding MB 70 18, bytestream 5089
    [h264 @ 0x7fcb3809c600] concealing 1419 DC, 1419 AC, 1419 MV errors in P frame
    [h264 @ 0x7fcb38003200] top block unavailable for requested intra mode
    [h264 @ 0x7fcb38003200] error while decoding MB 14 9, bytestream 6071
    [h264 @ 0x7fcb38003200] deblocking filter parameters -9 0 out of range
    [h264 @ 0x7fcb38003200] decode_slice_header error
    [h264 @ 0x7fcb38003200] concealing 1440 DC, 1440 AC, 1440 MV errors in P frame
    [h264 @ 0x7fcb38003800] top block unavailable for requested intra mode -1
    [h264 @ 0x7fcb38003800] error while decoding MB 54 9, bytestream 4423
    [h264 @ 0x7fcb38003800] concealing 1256 DC, 1256 AC, 1256 MV errors in P frame
    [h264 @ 0x7fcb38003e00] top block unavailable for requested intra mode -1
    [h264 @ 0x7fcb38003e00] error while decoding MB 22 9, bytestream 5862
    [h264 @ 0x7fcb38003e00] concealing 1335 DC, 1335 AC, 1335 MV errors in P frame
    [h264 @ 0x7fcb3809c000] deblocking filter parameters 7 -4 out of range
    [h264 @ 0x7fcb3809c000] decode_slice_header error
    [h264 @ 0x7fcb3809c000] concealing 1430 DC, 1430 AC, 1430 MV errors in P frame
    [h264 @ 0x7fcb3809c600] concealing 1319 DC, 1319 AC, 1319 MV errors in P frame
    [h264 @ 0x7fcb38003200] top block unavailable for requested intra mode -1
    [h264 @ 0x7fcb38003200] error while decoding MB 16 9, bytestream 6217
    [h264 @ 0x7fcb38003200] concealing 1416 DC, 1416 AC, 1416 MV errors in P frame
    [h264 @ 0x7fcb38003800] top block unavailable for requested intra mode -1
    [h264 @ 0x7fcb38003800] error while decoding MB 12 0, bytestream 6854
    [h264 @ 0x7fcb38003800] top block unavailable for requested intra mode -1
    [h264 @ 0x7fcb38003800] error while decoding MB 2 9, bytestream 7093
    [h264 @ 0x7fcb38003800] concealing 1440 DC, 1440 AC, 1440 MV errors in P frame
    [h264 @ 0x7fcb38003e00] top block unavailable for requested intra mode -1
    [h264 @ 0x7fcb38003e00] error while decoding MB 59 0, bytestream 4955
    [h264 @ 0x7fcb38003e00] deblocking filter parameters 7 15 out of range
    [h264 @ 0x7fcb38003e00] decode_slice_header error
    [h264 @ 0x7fcb38003e00] concealing 1430 DC, 1430 AC, 1430 MV errors in P frame
    [h264 @ 0x7fcb3809c000] top block unavailable for requested intra mode -1
    [h264 @ 0x7fcb3809c000] error while decoding MB 34 0, bytestream 5338
    [h264 @ 0x7fcb3809c000] deblocking filter parameters 7 13 out of range
    [h264 @ 0x7fcb3809c000] decode_slice_header error
    [h264 @ 0x7fcb3809c000] concealing 1440 DC, 1440 AC, 1440 MV errors in P frame
    [h264 @ 0x7fcb3809c600] concealing 1344 DC, 1344 AC, 1344 MV errors in P frame
    [h264 @ 0x7fcb38003200] top block unavailable for requested intra mode -1
    [h264 @ 0x7fcb38003200] error while decoding MB 49 9, bytestream 4992
    [h264 @ 0x7fcb38003200] concealing 1228 DC, 1228 AC, 1228 MV errors in P frame
    frame=    0 fps=0.0 q=0.0 Lsize=       0kB time=00:00:00.00 bitrate=N/A speed=   0x    
    video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
    Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)
  • FFmpeg android images to movie - error while opening encoder [duplicate]

    12 juin 2018, par trinadh thatakula

    I have been working on android-ffmpeg to convert images into videos and I have found the code I was looking(links below) and I have tried to execute this command

    val cmd5 = arrayOf("-analyzeduration", "1M", "-probesize", "1M", "-y", "-framerate", "1/3.79", "-i", Utils.outputPath + "image%d.jpg", "-i", audio!!.path, "-c:v", "libx264", "-tune", "stillimage", "-c:a", "aac", "-strict", "experimental", "-b:a", "192k", "-pix_fmt", "yuv420p", "-shortest", outputLocation.path)

    and I got error saying

    Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

    can any1 please help me

    I have taken code from here -> KotlinFFmpeg and the code snippet is from here -> MovieMaker.kt, please give me a solution, thanks in advance

    here are the logs

       2018-06-12 18:22:24.000 25364-25664/photo.video.maker D/FFmpeg: Running publishing updates method
    2018-06-12 18:22:24.096 25364-25364/photo.video.maker W/System.err: java.io.IOException: ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err:   built with gcc 4.8 (GCC)
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err:   configuration: --target-os=linux --cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --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/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err:   libavutil      55. 17.103 / 55. 17.103
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err:   libavcodec     57. 24.102 / 57. 24.102
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err:   libavformat    57. 25.100 / 57. 25.100
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err:   libavdevice    57.  0.101 / 57.  0.101
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err:   libavfilter     6. 31.100 /  6. 31.100
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err:   libswscale      4.  0.100 /  4.  0.100
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err:   libswresample   2.  0.101 /  2.  0.101
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err:   libpostproc    54.  0.100 / 54.  0.100
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: [mjpeg @ 0xf193d000] Changing bps to 8
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: Input #0, image2, from '/storage/emulated/0/Photo Video Maker/image%d.jpg':
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err:   Duration: 00:02:35.39, start: 0.000000, bitrate: N/A
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err:     Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 1440x1919 [SAR 1:1 DAR 1440:1919], 0.26 tbr, 0.26 tbn, 0.26 tbc
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: [mp3 @ 0xf192d600] Skipping 0 bytes of junk at 61264.
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: [mjpeg @ 0xf193dc00] Changing bps to 8
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: Input #1, mp3, from '/data/user/0/photo.video.maker/files/audio2.mp3':
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err:   Metadata:
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err:     album_artist    : Various Artists
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err:     AccurateRipDiscID: 018-002fb7fe-0279b2d7-47111512-2
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err:     AccurateRipResult: AccurateRip: Accurate (confidence 10)   [0A38F342]
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err:     title           : Morning
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err:     encoded_by      : dBpoweramp Release 14.4
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err:     publisher       : EMI Classics
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err:     composer        : Edvard Grieg
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err:     TMED            : CD (Lossless)
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err:     genre           : Classical
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err:     compilation     : 1
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err:     album           : The Most Relaxing Classical Album in the World...Ever!
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err:     track           : 2/18
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err:     disc            : 1/2
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err:     artist          : Edvard Grieg
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err:     Encoder         : Lame 3.99.5
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err:     UPC             : 024356665027
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err:     date            : 1999
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err:   Duration: 00:04:18.04, start: 0.025056, bitrate: 321 kb/s
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err:     Stream #1:0: Audio: mp3, 44100 Hz, stereo, s16p, 320 kb/s
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err:     Metadata:
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err:       encoder         : LAME3.99r
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err:     Stream #1:1: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 747x750 [SAR 1:1 DAR 249:250], 90k tbr, 90k tbn, 90k tbc
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err:     Metadata:
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err:       comment         : Cover (front)
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: [swscaler @ 0xf1125000] deprecated pixel format used, make sure you did set range correctly
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: [libx264 @ 0xf193ec00] height not divisible by 2 (1440x1919)
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: Output #0, mp4, to '/storage/emulated/0/Photo Video Maker/video/movie_1528807939616.mp4':
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err:     Stream #0:0: Video: h264, none, q=2-31, 128 kb/s, SAR 1:1 DAR 0:0, 0.26 fps
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err:     Metadata:
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err:       encoder         : Lavc57.24.102 libx264
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err:     Stream #0:1: Audio: aac, 0 channels, 128 kb/s
    2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err:     Metadata:
    2018-06-12 18:22:24.098 25364-25364/photo.video.maker W/System.err:       encoder         : Lavc57.24.102 aac
    2018-06-12 18:22:24.098 25364-25364/photo.video.maker W/System.err: Stream mapping:
    2018-06-12 18:22:24.098 25364-25364/photo.video.maker W/System.err:   Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264))
    2018-06-12 18:22:24.098 25364-25364/photo.video.maker W/System.err:   Stream #1:0 -> #0:1 (mp3 (native) -> aac (native))
    2018-06-12 18:22:24.098 25364-25364/photo.video.maker W/System.err: Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
    2018-06-12 18:22:24.098 25364-25364/photo.video.maker W/System.err:     at photo.video.maker.tools.video.MovieMaker$convert$1.onFailure(MovieMaker.kt:78)
    2018-06-12 18:22:24.098 25364-25364/photo.video.maker W/System.err:     at com.github.hiteshsondhi88.libffmpeg.FFmpegExecuteAsyncTask.onPostExecute(FFmpegExecuteAsyncTask.java:70)
    2018-06-12 18:22:24.098 25364-25364/photo.video.maker W/System.err:     at com.github.hiteshsondhi88.libffmpeg.FFmpegExecuteAsyncTask.onPostExecute(FFmpegExecuteAsyncTask.java:10)
    2018-06-12 18:22:24.098 25364-25364/photo.video.maker W/System.err:     at android.os.AsyncTask.finish(AsyncTask.java:695)
    2018-06-12 18:22:24.098 25364-25364/photo.video.maker W/System.err:     at android.os.AsyncTask.-wrap1(Unknown Source:0)
    2018-06-12 18:22:24.098 25364-25364/photo.video.maker W/System.err:     at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:712)
    2018-06-12 18:22:24.098 25364-25364/photo.video.maker W/System.err:     at android.os.Handler.dispatchMessage(Handler.java:106)
    2018-06-12 18:22:24.098 25364-25364/photo.video.maker W/System.err:     at android.os.Looper.loop(Looper.java:164)
    2018-06-12 18:22:24.098 25364-25364/photo.video.maker W/System.err:     at android.app.ActivityThread.main(ActivityThread.java:6494)
    2018-06-12 18:22:24.098 25364-25364/photo.video.maker W/System.err:     at java.lang.reflect.Method.invoke(Native Method)
    2018-06-12 18:22:24.098 25364-25364/photo.video.maker W/System.err:     at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
    2018-06-12 18:22:24.098 25364-25364/photo.video.maker W/System.err:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)