Recherche avancée

Médias (0)

Mot : - Tags -/alertes

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

Autres articles (22)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP 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" (...)

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

Sur d’autres sites (4863)

  • missing audio of second video after combining video

    27 mai 2021, par JohnTerry

    I am trying to add xfade filter and the command is working but audio of second video is missing in output video.

    


    command is -

    


    ffmpeg -i 1.mp4 -i 1.mp4  -filter_complex "[0:v]scale=480:360:force_original_aspect_ratio=decrease,pad=480:360:-1:-1,setsar=1,fps=30,format=yuv420p[v0];[1:v]scale=480:360:force_original_aspect_ratio=decrease,pad=480:360:-1:-1,setsar=1,fps=30,format=yuv420p[v1];
[v0][v1]xfade=transition=pixelize:duration=1:offset=7,format=yuv420p" -c:v libvpx-vp9 -crf 30 -b:v 0 -b:a 128k -c:a libopus -deadline good -cpu-used 8 output.webm


    


    the full log is below-

    


    ffmpeg version n4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
configuration: --prefix= --prefix=/usr --disable-debug --disable-doc - 
-disable-static --enable-cuda --enable-cuda-sdk --enable-cuvid -- 
enable-libdrm --enable-ffplay --enable-gnutls --enable-gpl --enable- 
libass --enable-libfdk-aac --enable-libfontconfig --enable-libfreetype 
--enable-libmp3lame --enable-libnpp --enable-libopencore_amrnb -- 
enable-libopencore_amrwb --enable-libopus --enable-libpulse --enable-
sdl2 --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libv4l2 --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxvid --enable-nonfree --enable-nvenc --enable-omx --enable-openal --enable-opencl --enable-runtime-cpudetect --enable-shared --enable-vaapi --enable-vdpau --enable-version3 --enable-xlib
  libavutil      56. 51.100 / 56. 51.100
  libavcodec     58. 91.100 / 58. 91.100
  libavformat    58. 45.100 / 58. 45.100
  libavdevice    58. 10.100 / 58. 10.100
  libavfilter     7. 85.100 /  7. 85.100
  libswscale      5.  7.100 /  5.  7.100
  libswresample   3.  7.100 /  3.  7.100
  libpostproc    55.  7.100 / 55.  7.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '1.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.29.100
  Duration: 00:00:09.12, start: 0.000000, bitrate: 702 kb/s
    Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 474x360, 568 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: mp3 (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 127 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from '2.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.29.100
  Duration: 00:00:08.75, start: 0.000000, bitrate: 2546 kb/s
    Stream #1:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 640x360, 2416 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #1:1(und): Audio: mp3 (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 127 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
Stream mapping:
  Stream #0:0 (h264) -> scale (graph 0)
  Stream #1:0 (h264) -> scale (graph 0)
  format (graph 0) -> Stream #0:0 (libvpx-vp9)
  Stream #0:1 -> #0:1 (mp3 (mp3float) -> opus (libopus))
Press [q] to stop, [?] for help
[libvpx-vp9 @ 0x561afcf3a280] v1.7.0
Output #0, webm, to 'output.webm':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.45.100
    Stream #0:0: Video: vp9 (libvpx-vp9), yuv420p, 480x360 [SAR 1:1 DAR 4:3], q=-1--1, 30 fps, 1k tbn, 30 tbc (default)
    Metadata:
      encoder         : Lavc58.91.100 libvpx-vp9
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
    Stream #0:1(und): Audio: opus (libopus), 48000 Hz, stereo, flt, 128 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
      encoder         : Lavc58.91.100 libopus
frame=   87 fps=0.0 q=0.0 size=       1kB time=00:00:03.19 bitrate=   2.1kbits/sframe=  157 fps=156 q=0.0 size=     171kB time=00:00:05.51 bitrate= 254.3kbits/sframe=  227 fps=150 q=0.0 size=     171kB time=00:00:07.85 bitrate= 178.5kbits/sframe=  265 fps=131 q=0.0 size=     171kB time=00:00:08.31 bitrate= 168.7kbits/sframe=  303 fps=120 q=0.0 size=     256kB time=00:00:09.30 bitrate= 225.5kbits/sframe=  341 fps=113 q=0.0 size=     256kB time=00:00:10.56 bitrate= 198.4kbits/sframe=  379 fps=107 q=0.0 size=     256kB time=00:00:11.83 bitrate= 177.2kbits/sframe=  416 fps=103 q=0.0 size=     256kB time=00:00:13.06 bitrate= 160.5kbits/sframe=  454 fps=100 q=0.0 size=     256kB time=00:00:14.33 bitrate= 146.3kbits/sframe=  472 fps= 93 q=0.0 Lsize=    1168kB time=00:00:15.73 bitrate= 608.2kbits/s speed=3.09x    
video:1036kB audio:125kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.629681%


    


    when using online url which has no audio getting this error-
getting this error-

    


        ffmpeg version n4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
  configuration: --prefix= --prefix=/usr --disable-debug --disable-doc --disable-static --enable-cuda --enable-cuda-sdk --enable-cuvid --enable-libdrm --enable-ffplay --enable-gnutls --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfontconfig --enable-libfreetype --enable-libmp3lame --enable-libnpp --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopus --enable-libpulse --enable-sdl2 --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libv4l2 --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxvid --enable-nonfree --enable-nvenc --enable-omx --enable-openal --enable-opencl --enable-runtime-cpudetect --enable-shared --enable-vaapi --enable-vdpau --enable-version3 --enable-xlib
  libavutil      56. 51.100 / 56. 51.100
  libavcodec     58. 91.100 / 58. 91.100
  libavformat    58. 45.100 / 58. 45.100
  libavdevice    58. 10.100 / 58. 10.100
  libavfilter     7. 85.100 /  7. 85.100
  libswscale      5.  7.100 /  5.  7.100
  libswresample   3.  7.100 /  3.  7.100
  libpostproc    55.  7.100 / 55.  7.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'https://player.vimeo.com/external/183300180.sd.mp4?s=8d9b1561f39df586af49fe5ab105f57f5873854b&profile_id=164':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42mp41isomavc1
    creation_time   : 2016-09-19T12:39:02.000000Z
  Duration: 00:00:10.00, start: 0.000000, bitrate: 489 kb/s
    Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt470bg/smpte170m/bt470bg), 640x360 [SAR 1:1 DAR 16:9], 486 kb/s, 30 fps, 30 tbr, 30 tbn, 60 tbc (default)
    Metadata:
      creation_time   : 2016-09-19T12:39:02.000000Z
      handler_name    : L-SMASH Video Handler
      encoder         : AVC Coding
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'https://player.vimeo.com/external/166335878.sd.mp4?s=828bf6e8594fab383d7ee6bac40d3f247cc40af9&profile_id=164':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42mp41isomavc1
    creation_time   : 2016-05-12T09:34:11.000000Z
  Duration: 00:00:10.01, start: 0.000000, bitrate: 479 kb/s
    Stream #1:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt470bg/smpte170m/bt470bg), 474x360 [SAR 1:1 DAR 79:60], 345 kb/s, 30 fps, 30 tbr, 30 tbn, 60 tbc (default)
    Metadata:
      creation_time   : 2016-05-12T09:34:11.000000Z
      handler_name    : L-SMASH Video Handler
      encoder         : AVC Coding
    Stream #1:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
    Metadata:
      creation_time   : 2016-05-12T09:34:11.000000Z
      handler_name    : L-SMASH Audio Handler
Stream specifier ':a' in filtergraph description [0:v]scale=614:360:force_original_aspect_ratio=decrease,pad=614:360:-1:-1,setsar=1,fps=30,format=yuv420p[v0];[1:v]scale=614:360:force_original_aspect_ratio=decrease,pad=614:360:-1:-1,setsar=1,fps=30,format=yuv420p[v1];[v0][v1]xfade=transition=pixelize:duration=1:offset=8,format=yuv420p;[0:a][1:a]acrossfade=d=0 matches no streams.


    


  • ffmpeg save video H.265 from rtsp but i can't open it

    14 juin 2021, par Сергей Брандуков

    By mistake on the IP camera in the settings there was a value of the H.265 codec (should be h.264)

    


        # ffmpeg -i rtsp://admin:admin@192.168.100.22:554/main -y -c:v copy /home/ubuntu/Video/8/tst_256.mp4
ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)
  configuration: --prefix=/usr --extra-version=1ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
[hevc @ 0x55e8744be3c0] Invalid NAL unit 0, skipping.
[hevc @ 0x55e8744be3c0] VPS 0 does not exist
[hevc @ 0x55e8744be3c0] Invalid NAL unit 0, skipping.
[hevc @ 0x55e8744be3c0] VPS 0 does not exist
[rtsp @ 0x55e8744ba6c0] max delay reached. need to consume packet
[rtsp @ 0x55e8744ba6c0] RTP: missed 84 packets
Input #0, rtsp, from 'rtsp://admin:admin@192.168.100.22:554/main':
  Metadata:
    title           : RTSP/RTP stream from IPNC
    comment         : main
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: hevc (Main), yuvj420p(pc, bt709), 2048x1536, 50 tbr, 90k tbn, 90k tbc
    Stream #0:1: Data: none
    Stream #0:2: Data: none
Output #0, mp4, to '/home/ubuntu/Video/8/tst_256.mp4':
  Metadata:
    title           : RTSP/RTP stream from IPNC
    comment         : main
    encoder         : Lavf58.29.100
    Stream #0:0: Video: hevc (Main) (hev1 / 0x31766568), yuvj420p(pc, bt709), 2048x1536, q=2-31, 50 tbr, 90k tbn, 90k tbc
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[mp4 @ 0x55e874532440] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
[mp4 @ 0x55e874532440] Non-monotonous DTS in output stream 0:0; previous: 0, current: 0; changing to 1. This may result in incorrect timestamps in the output file.
[mp4 @ 0x55e874532440] Non-monotonous DTS in output stream 0:0; previous: 1, current: 0; changing to 2. This may result in incorrect timestamps in the output file.
[mp4 @ 0x55e874532440] Non-monotonous DTS in output stream 0:0; previous: 216000, current: 110136; changing to 216001. This may result in incorrect timestamps in the output file.
[mp4 @ 0x55e874532440] Non-monotonous DTS in output stream 0:0; previous: 216001, current: 124536; changing to 216002. This may result in incorrect timestamps in the output file.
[mp4 @ 0x55e874532440] Non-monotonous DTS in output stream 0:0; previous: 216002, current: 146226; changing to 216003. This may result in incorrect timestamps in the output file.
[mp4 @ 0x55e874532440] Non-monotonous DTS in output stream 0:0; previous: 216003, current: 160536; changing to 216004. This may result in incorrect timestamps in the output file.
[mp4 @ 0x55e874532440] Non-monotonous DTS in output stream 0:0; previous: 216004, current: 175026; changing to 216005. This may result in incorrect timestamps in the output file.
[mp4 @ 0x55e874532440] Non-monotonous DTS in output stream 0:0; previous: 216005, current: 200136; changing to 216006. This may result in incorrect timestamps in the output file.
[mp4 @ 0x55e874532440] Non-monotonous DTS in output stream 0:0; previous: 216006, current: 214536; changing to 216007. This may result in incorrect timestamps in the output file.
[mp4 @ 0x55e874532440] Non-monotonous DTS in output stream 0:0; previous: 855816, current: 851365; changing to 855817. This may result in incorrect timestamps in the output file.
frame=  100 fps=6.6 q=-1.0 Lsize=   10247kB time=00:00:18.03 bitrate=4653.6kbits/s speed=1.19x    
video:10245kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.021781%
Exiting normally, received signal 2.


    


    there is a file, the size is not empty, the video player shows a black screen, I also can not make out the video into frames

    


    # ffmpeg -i tst_256.mp4 -q:v 1 -r 1  1/%05d.jpg
ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)
  configuration: --prefix=/usr --extra-version=1ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
[AVBSFContext @ 0x555c46ce3540] No start code is found.
tst_256.mp4: could not find codec parameters
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'tst_256.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2mp41
    title           : RTSP/RTP stream from IPNC
    encoder         : Lavf58.29.100
    comment         : main
  Duration: 00:00:18.04, bitrate: N/A
    Stream #0:0(und): Video: hevc (hev1 / 0x31766568), none, 2048x1536, 4652 kb/s, 5.54 fps, 90k tbn (default)
    Metadata:
      handler_name    : VideoHandler
Stream mapping:
  Stream #0:0 -> #0:0 (hevc (native) -> mjpeg (native))
Press [q] to stop, [?] for help
[hevc @ 0x555c46cf6dc0] No start code is found.
[hevc @ 0x555c46cf6dc0] Error splitting the input into NAL units.
[hevc @ 0x555c46d07300] No start code is found.
[hevc @ 0x555c46d07300] Error splitting the input into NAL units.
[hevc @ 0x555c46d17d00] No start code is found.
[hevc @ 0x555c46d17d00] Error splitting the input into NAL units.
[hevc @ 0x555c46d286c0] No start code is found.
[hevc @ 0x555c46d286c0] Error splitting the input into NAL units.
[hevc @ 0x555c46d39000] No start code is found.
[hevc @ 0x555c46d39000] Error splitting the input into NAL units.
[hevc @ 0x555c46d499c0] No start code is found.
[hevc @ 0x555c46d499c0] Error splitting the input into NAL units.
[hevc @ 0x555c46d5a400] No start code is found.
[hevc @ 0x555c46d5a400] Error splitting the input into NAL units.
[hevc @ 0x555c46d6ae40] No start code is found.
...
hevc @ 0x555c46cf6dc0] No start code is found.
[hevc @ 0x555c46cf6dc0] Error splitting the input into NAL units.
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 7 times
Cannot determine format of input stream 0:0 after EOF
Error marking filters as finished


    


    Is it possible to somehow extract frames from this video or the video stream was not saved ?

    


  • ffmpeg faster conversion from jpg files to mp4

    25 mai 2021, par opensw

    I am trying (on Android and iOS) to convert 500 jpeg files into a mp4 video ; everything is working but the conversion time is too huge, around 1 minute. I have some constraints : the video should be playable by the native Android/iOS player then I cannot use the option '-codec copy' and then generates a mkv or mp4 containers of the original jpeg files (the conversion time in this case is around 1s !). After many attempts, the best solution is the default one without almost any options :D Is there a way to improve the conversion time of the following command ?

    


    ffmpeg -r 30 -I inputPath/%05d.jpg -y -threads 0 -r 30 + outputFilePath.mp4


    


    I have tried :

    


      

    1. -q:v 2 (but I would like to keep the original resolution, it is slower than the above command)
    2. 


    3. -vf scale=-2:720 (but I would like to keep the original resolution, it is comparable to the above command)
    4. 


    5. -s hd720 (but I would like to keep the original resolution, it is comparable to the above command)
    6. 


    7. -threads 128 (does not change anything)
    8. 


    9. -c:v libx264 -crf 23 -preset ultrafast, this one is painfully slow
    10. 


    


    Output log

    


     LOG  Async FFmpeg process started with executionId 3001 for file:///data/user/0/com.xxx.xxx/files/events/1/1/raw.
 LOG  ffmpeg version v4.4-dev-416
 LOG   Copyright (c) 2000-2020 the FFmpeg developers
 LOG  
 LOG    built with Android (6454773 based on r365631c2) clang version 9.0.8 (https://android.googlesource.com/toolchain/llvm-project 98c855489587874b2a325e7a516b99d838599c6f) (based on LLVM 9.0.8svn)
 LOG    configuration: --cross-prefix=aarch64-linux-android- --sysroot=/files/android-sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/linux-x86_64/sysroot --prefix=/home/taner/Projects/mobile-ffmpeg/prebuilt/android-arm64/ffmpeg --pkg-config=/usr/bin/pkg-config --enable-version3 --arch=aarch64 --cpu=armv8-a --cc=aarch64-linux-android21-clang --cxx=aarch64-linux-android21-clang++ --extra-libs='-L/storage/light/projects/mobile-ffmpeg/prebuilt/android-arm64/cpu-features/lib -lndk_compat' --target-os=android --enable-neon --enable-asm --enable-inline-asm --enable-cross-compile --enable-pic --enable-jni --enable-optimizations --enable-swscale --enable-shared --enable-v4l2-m2m --disable-outdev=fbdev --disable-indev=fbdev --enable-small --disable-openssl --disable-xmm-clobber-test --disable-debug --enable-lto --disable-neon-clobber-test --disable-programs --disable-postproc --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --disable-static --disable-sndio --disable-schannel --disable-securetransport --disable-xlib --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --disable-videotoolbox --disable-audiotoolbox --disable-appkit --disable-alsa --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --disable-sdl2 --enable-zlib --enable-mediacodec
 LOG    libavutil      56. 55.100 / 56. 55.100
 LOG    libavcodec     58. 96.100 / 58. 96.100
 LOG    libavformat    58. 48.100 / 58. 48.100
 LOG    libavdevice    58. 11.101 / 58. 11.101
 LOG    libavfilter     7. 87.100 /  7. 87.100
 LOG    libswscale      5.  8.100 /  5.  8.100
 LOG    libswresample   3.  8.100 /  3.  8.100
 LOG  Input #0, image2, from 'file:///data/user/0/com.xxx.xxx/files/events/1/1/raw/%05d.jpg':
 LOG    Duration:
 LOG  00:00:18.08
 LOG  , start:
 LOG  0.000000
 LOG  , bitrate:
 LOG  N/A
 LOG  
 LOG      Stream #0:0
 LOG  : Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 1920x1080 [SAR 1:1 DAR 16:9]
 LOG  ,
 LOG  25 fps,
 LOG  25 tbr,
 LOG  25 tbn,
 LOG  25 tbc
 LOG  
 LOG  Stream mapping:
 LOG    Stream #0:0 -> #0:0
 LOG   (mjpeg (native) -> mpeg4 (native))
 LOG  
 LOG  Press [q] to stop, [?] for help
 LOG  [graph 0 input from stream 0:0 @ 0x7c5f870800] sws_param option is deprecated and ignored
 LOG  [swscaler @ 0x7bed4d6a40] deprecated pixel format used, make sure you did set range correctly
 LOG  Output #0, mp4, to 'file:///data/user/0/com.xxx.xxx/files/events/1/1/preview.mp4':
 LOG    Metadata:
 LOG      encoder         :
 LOG  Lavf58.48.100
 LOG  
 LOG      Stream #0:0
 LOG  : Video: mpeg4 (mp4v / 0x7634706D), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s
 LOG  ,
 LOG  30 fps,
 LOG  15360 tbn,
 LOG  30 tbc
 LOG  
 LOG      Metadata:
 LOG        encoder         :
 LOG  Lavc58.96.100 mpeg4
 LOG  
 LOG      Side data:
 LOG  
 LOG  cpb:
 LOG  bitrate max/min/avg: 0/0/200000 buffer size: 0
 LOG  vbv_delay: N/A
 LOG  
 LOG  frame=    5 fps=0.0 q=6.2 size=     256kB time=00:00:00.13 bitrate=15723.7kbits/s speed=0.21x
 LOG  frame=   10 fps=8.3 q=13.8 size=     256kB time=00:00:00.30 bitrate=6990.2kbits/s speed=0.25x
 LOG  frame=   16 fps=9.0 q=31.0 size=     256kB time=00:00:00.50 bitrate=4194.5kbits/s speed=0.283x
 LOG  frame=   22 fps=9.3 q=31.0 size=     256kB time=00:00:00.70 bitrate=2996.2kbits/s speed=0.297x
 LOG  frame=   28 fps=9.5 q=31.0 size=     256kB time=00:00:00.90 bitrate=2330.4kbits/s speed=0.307x
 LOG  frame=   34 fps=9.6 q=31.0 size=     256kB time=00:00:01.10 bitrate=1906.7kbits/s speed=0.312x
 LOG  frame=   40 fps=9.7 q=31.0 size=     256kB time=00:00:01.30 bitrate=1613.4kbits/s speed=0.316x
 LOG  frame=   45 fps=9.7 q=31.0 size=     256kB time=00:00:01.46 bitrate=1430.1kbits/s speed=0.317x
 LOG  frame=   50 fps=9.7 q=31.0 size=     256kB time=00:00:01.63 bitrate=1284.1kbits/s speed=0.318x
 LOG  frame=   56 fps=9.8 q=31.0 size=     256kB time=00:00:01.83 bitrate=1144.1kbits/s speed=0.319x
 LOG  frame=   61 fps=9.8 q=31.0 size=     256kB time=00:00:02.00 bitrate=1048.7kbits/s speed=0.32x
 LOG  frame=   67 fps=9.8 q=31.0 size=     256kB time=00:00:02.20 bitrate= 953.4kbits/s speed=0.322x
 LOG  frame=   72 fps=9.8 q=31.0 size=     256kB time=00:00:02.36 bitrate= 886.2kbits/s speed=0.322x
 LOG  frame=   78 fps=9.8 q=31.0 size=     512kB time=00:00:02.56 bitrate=1634.2kbits/s speed=0.323x
 LOG  frame=   84 fps=9.8 q=31.0 size=     512kB time=00:00:02.76 bitrate=1516.1kbits/s speed=0.324x
 LOG  frame=   90 fps=9.9 q=31.0 size=     512kB time=00:00:02.96 bitrate=1413.9kbits/s speed=0.325x
 LOG  frame=   95 fps=9.9 q=31.0 size=     512kB time=00:00:03.13 bitrate=1338.7kbits/s speed=0.325x
 LOG  frame=  101 fps=9.9 q=24.8 size=     512kB time=00:00:03.33 bitrate=1258.4kbits/s speed=0.326x
 LOG  frame=  107 fps=9.9 q=31.0 size=     512kB time=00:00:03.53 bitrate=1187.1kbits/s speed=0.327x
 LOG  frame=  113 fps=9.9 q=24.8 size=     512kB time=00:00:03.73 bitrate=1123.5kbits/s speed=0.327x
 LOG  frame=  119 fps=9.9 q=31.0 size=     512kB time=00:00:03.93 bitrate=1066.4kbits/s speed=0.328x
 LOG  frame=  125 fps=9.9 q=24.8 size=     512kB time=00:00:04.13 bitrate=1014.8kbits/s speed=0.328x
 LOG  frame=  131 fps=9.9 q=31.0 size=     512kB time=00:00:04.33 bitrate= 968.0kbits/s speed=0.328x
 LOG  frame=  137 fps=9.9 q=24.8 size=     512kB time=00:00:04.53 bitrate= 925.3kbits/s speed=0.329x
 LOG  frame=  142 fps=9.9 q=31.0 size=     512kB time=00:00:04.70 bitrate= 892.5kbits/s speed=0.329x
 LOG  frame=  148 fps=9.9 q=31.0 size=     512kB time=00:00:04.90 bitrate= 856.0kbits/s speed=0.329x
 LOG  frame=  153 fps=9.9 q=31.0 size=     512kB time=00:00:05.06 bitrate= 827.9kbits/s speed=0.329x
 LOG  frame=  159 fps= 10 q=31.0 size=     512kB time=00:00:05.26 bitrate= 796.4kbits/s speed=0.33x
 LOG  frame=  165 fps= 10 q=31.0 size=     512kB time=00:00:05.46 bitrate= 767.3kbits/s speed=0.33x
 LOG  frame=  171 fps= 10 q=31.0 size=     512kB time=00:00:05.66 bitrate= 740.2kbits/s speed=0.33x
 LOG  frame=  177 fps= 10 q=31.0 size=     768kB time=00:00:05.86 bitrate=1072.5kbits/s speed=0.331x
 LOG  frame=  183 fps= 10 q=31.0 size=     768kB time=00:00:06.06 bitrate=1037.1kbits/s speed=0.331x
 LOG  frame=  188 fps= 10 q=31.0 size=     768kB time=00:00:06.23 bitrate=1009.4kbits/s speed=0.331x
 LOG  frame=  193 fps= 10 q=31.0 size=     768kB time=00:00:06.40 bitrate= 983.1kbits/s speed=0.331x
 LOG  frame=  199 fps= 10 q=31.0 size=     768kB time=00:00:06.60 bitrate= 953.3kbits/s speed=0.331x
 LOG  frame=  204 fps= 10 q=31.0 size=     768kB time=00:00:06.76 bitrate= 929.8kbits/s speed=0.331x
 LOG  frame=  210 fps= 10 q=31.0 size=     768kB time=00:00:06.96 bitrate= 903.1kbits/s speed=0.331x
 LOG  frame=  216 fps= 10 q=31.0 size=     768kB time=00:00:07.16 bitrate= 877.9kbits/s speed=0.331x
 LOG  frame=  221 fps= 10 q=24.8 size=     768kB time=00:00:07.33 bitrate= 858.0kbits/s speed=0.331x
 LOG  frame=  227 fps= 10 q=31.0 size=     768kB time=00:00:07.53 bitrate= 835.2kbits/s speed=0.331x
 LOG  frame=  232 fps= 10 q=31.0 size=     768kB time=00:00:07.70 bitrate= 817.1kbits/s speed=0.331x
 LOG  frame=  238 fps= 10 q=31.0 size=     768kB time=00:00:07.90 bitrate= 796.4kbits/s speed=0.332x
 LOG  frame=  243 fps= 10 q=31.0 size=     768kB time=00:00:08.06 bitrate= 780.0kbits/s speed=0.332x
 LOG  frame=  249 fps= 10 q=31.0 size=     768kB time=00:00:08.26 bitrate= 761.1kbits/s speed=0.332x
 LOG  frame=  254 fps= 10 q=31.0 size=     768kB time=00:00:08.43 bitrate= 746.1kbits/s speed=0.332x
 LOG  frame=  259 fps= 10 q=31.0 size=    1024kB time=00:00:08.60 bitrate= 975.5kbits/s speed=0.332x
 LOG  frame=  264 fps= 10 q=31.0 size=    1024kB time=00:00:08.76 bitrate= 956.9kbits/s speed=0.332x
 LOG  frame=  270 fps= 10 q=31.0 size=    1024kB time=00:00:08.96 bitrate= 935.6kbits/s speed=0.332x
 LOG  frame=  276 fps= 10 q=31.0 size=    1024kB time=00:00:09.16 bitrate= 915.2kbits/s speed=0.332x
 LOG  frame=  282 fps= 10 q=31.0 size=    1024kB time=00:00:09.36 bitrate= 895.6kbits/s speed=0.332x
 LOG  frame=  288 fps= 10 q=31.0 size=    1024kB time=00:00:09.56 bitrate= 876.9kbits/s speed=0.332x
 LOG  frame=  294 fps= 10 q=31.0 size=    1024kB time=00:00:09.76 bitrate= 858.9kbits/s speed=0.333x
 LOG  frame=  299 fps= 10 q=31.0 size=    1024kB time=00:00:09.93 bitrate= 844.5kbits/s speed=0.332x
 LOG  frame=  305 fps= 10 q=24.8 size=    1024kB time=00:00:10.13 bitrate= 827.9kbits/s speed=0.332x
 LOG  frame=  310 fps= 10 q=31.0 size=    1024kB time=00:00:10.30 bitrate= 814.5kbits/s speed=0.332x
 LOG  frame=  316 fps= 10 q=31.0 size=    1024kB time=00:00:10.50 bitrate= 798.9kbits/s speed=0.332x
 LOG  frame=  321 fps= 10 q=31.0 size=    1024kB time=00:00:10.66 bitrate= 786.5kbits/s speed=0.332x
 LOG  frame=  327 fps= 10 q=31.0 size=    1024kB time=00:00:10.86 bitrate= 772.0kbits/s speed=0.333x
 LOG  frame=  332 fps= 10 q=31.0 size=    1024kB time=00:00:11.03 bitrate= 760.3kbits/s speed=0.332x
 LOG  frame=  338 fps= 10 q=31.0 size=    1024kB time=00:00:11.23 bitrate= 746.8kbits/s speed=0.332x
 LOG  frame=  344 fps= 10 q=31.0 size=    1024kB time=00:00:11.43 bitrate= 733.7kbits/s speed=0.333x
 LOG  frame=  350 fps= 10 q=31.0 size=    1280kB time=00:00:11.63 bitrate= 901.4kbits/s speed=0.333x
 LOG  frame=  355 fps= 10 q=31.0 size=    1280kB time=00:00:11.80 bitrate= 888.6kbits/s speed=0.333x
 LOG  frame=  361 fps= 10 q=31.0 size=    1280kB time=00:00:12.00 bitrate= 873.8kbits/s speed=0.333x
 LOG  frame=  367 fps= 10 q=31.0 size=    1280kB time=00:00:12.20 bitrate= 859.5kbits/s speed=0.333x
 LOG  frame=  373 fps= 10 q=31.0 size=    1280kB time=00:00:12.40 bitrate= 845.6kbits/s speed=0.333x
 LOG  frame=  379 fps= 10 q=31.0 size=    1280kB time=00:00:12.60 bitrate= 832.2kbits/s speed=0.333x
 LOG  frame=  385 fps= 10 q=31.0 size=    1280kB time=00:00:12.80 bitrate= 819.2kbits/s speed=0.333x
 LOG  frame=  391 fps= 10 q=31.0 size=    1280kB time=00:00:13.00 bitrate= 806.6kbits/s speed=0.334x
 LOG  frame=  397 fps= 10 q=31.0 size=    1280kB time=00:00:13.20 bitrate= 794.4kbits/s speed=0.334x
 LOG  frame=  403 fps= 10 q=31.0 size=    1280kB time=00:00:13.40 bitrate= 782.5kbits/s speed=0.334x
 LOG  frame=  409 fps= 10 q=31.0 size=    1280kB time=00:00:13.60 bitrate= 771.0kbits/s speed=0.334x
 LOG  frame=  415 fps= 10 q=31.0 size=    1280kB time=00:00:13.80 bitrate= 759.9kbits/s speed=0.334x
 LOG  frame=  421 fps= 10 q=31.0 size=    1280kB time=00:00:14.00 bitrate= 749.0kbits/s speed=0.334x
 LOG  frame=  426 fps= 10 q=31.0 size=    1280kB time=00:00:14.16 bitrate= 740.2kbits/s speed=0.334x
 LOG  frame=  432 fps= 10 q=31.0 size=    1280kB time=00:00:14.36 bitrate= 729.9kbits/s speed=0.334x
 LOG  frame=  438 fps= 10 q=31.0 size=    1536kB time=00:00:14.56 bitrate= 863.8kbits/s speed=0.334x
 LOG  frame=  444 fps= 10 q=31.0 size=    1536kB time=00:00:14.76 bitrate= 852.1kbits/s speed=0.334x
 LOG  frame=  449 fps= 10 q=24.8 size=    1536kB time=00:00:14.93 bitrate= 842.6kbits/s speed=0.334x
 LOG  frame=  452 fps= 10 q=31.0 Lsize=    1592kB time=00:00:15.03 bitrate= 867.5kbits/s speed=0.334x
 LOG  video:1589kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead:
 LOG  0.176061%
 LOG  FFmpeg process completed successfully for file:///data/user/0/com.xxx.xxx/files/events/1/1/raw