Recherche avancée

Médias (2)

Mot : - Tags -/doc2img

Autres articles (47)

  • Qualité du média après traitement

    21 juin 2013, par

    Le bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
    Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

Sur d’autres sites (8562)

  • How to fix EXT-X-MAP:URI in m3u8 when specifying absolute hls_fmp4_init_filename using ffmpeg ?

    29 février 2020, par Ryan

    Today I found this blog post teaching me about fragmented mp4s (fmp4s).

    Using the ffmpeg docs, I’ve made great progress.

    I run this :

    '/usr/bin/ffmpeg' '-y' '-i' '/myproject/storage/app/sample_media/2020-02-27/Sample Videos 5.mp4' \
    '-c:v' 'libx264' '-s:v' '1920x1080' \
    '-crf' '20' '-sc_threshold' '0' '-g' '48' '-keyint_min' '48' \
    '-hls_list_size' '0' '-hls_time' '10' '-hls_allow_cache' '0' '-b:v' '4889k' \
    '-maxrate' '5866k' '-hls_segment_type' 'fmp4' \
    '-hls_fmp4_init_filename' '/myproject/public/storage/000000002/init.mp4' \
    '-hls_segment_filename' '/myproject/public/storage/000000002/list_1080p_%04d.m4s' \
    '-hls_key_info_file' '/myproject/hls_hls.keyInfo' '-strict' '-2' '-threads' '12' \
    '/myproject/public/storage/000000002/list_1080p.m3u8'

    And then I use hls.js on my webpage to try to show the video.

    Initially, it won’t load.

    But then I can get the video to load properly if I refresh the page after making this edit to list_1080p.m3u8 :

    Change from :

    #EXT-X-MAP:URI="/myproject/public/storage/000000002/init.mp4"

    To :

    #EXT-X-MAP:URI="init.mp4"

    How can I change my ffmpeg command so that it knows the absolute path of where to save the init.mp4 but also knows to write in the m3u8 only the filename init.mp4 without any path ?

    (I’ve tried using -hls_fmp4_init_filename init.mp4 without the abosolute path, but then it creates the init.mp4 at the root, which also doesn’t work. I need each video’s init.mp4 to be in its own folder.)

  • 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


    


  • 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 ?