Recherche avancée

Médias (0)

Mot : - Tags -/formulaire

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

Autres articles (19)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (6695)

  • FFmpeg stdout emits more frames than it should

    29 décembre 2022, par distante

    I am running this command to get two images per second from an rtsp stream :

    


    const ffmpeg = spawn(this.ffmpeg, [
      // Set the frame rate of the input video to 2 frames per second
      '-r',
      '2',
      // Specify that the RTSP stream should use TCP as the transport protocol
      '-rtsp_transport',
      'tcp',
      // Set the input source to the RTSP stream specified by the `rtspUrl` variable
      '-i',
      rtspUrl,
      // Set the video filter to only output two frames per second (final video)
      '-vf',
      'fps=2',
      // Set the output format to "image2pipe," which specifies that the output should be written to stdout as a series of images in a pipe
      '-f',
      'image2pipe',
      // Overwrite any existing output file without prompting for confirmation
      '-y',
      // Set the output destination to stdout
      '-',
    ]);



    


    I am subscribing to the stdout and saving each emit into a file (just for testing, I need to process the data later)

    


        let i = 0;
    from(ffmpeg.stdout)
      .pipe(
        concatMap((data) => {
          i++
          return writeFile(`file_${i}`, data).then(() => i);
        }),
      )
      .subscribe((i) => {
        this.imageLogger.log(`file_${i} saved`);
      });


    


    The thing is, I am getting a lot more than 2 images per second :

    


    i       | [Nest] 431  - 12/28/2022, 1:16:09 PM     LOG [Image Logger] stderr: ffmpeg version 5.0.1-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2022 the FFmpeg developers
api       |   built with gcc 8 (Debian 8.3.0-6)
api       |   configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg
api       |   libavutil      57. 17.100 / 57. 17.100
api       |   libavcodec     59. 18.100 / 59. 18.100
api       |   libavformat    59. 16.100 / 59. 16.100
api       |   libavdevice    59.  4.100 / 59.  4.100
api       |   libavfilter     8. 24.100 /  8. 24.100
api       |   libswscale      6.  4.100 /  6.  4.100
api       |   libswresample   4.  3.100 /  4.  3.100
api       |   libpostproc    56.  3.100 / 56.  3.100
api       |   configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg
api       |   libavutil      57. 17.100 / 57. 17.100
api       |   libavcodec     59. 18.100 / 59. 18.100
api       |   libavformat    59. 16.100 / 59. 16.100
api       |   libavdevice    59.  4.100 / 59.  4.100
api       |   libavfilter     8. 24.100 /  8. 24.100
api       |   libswscale      6.  4.100 /  6.  4.100
api       |   libswresample   4.  3.100 /  4.  3.100
api       |   libpostproc    56.  3.100 / 56.  3.100
api       | [Nest] 431  - 12/28/2022, 1:16:12 PM     LOG [Image Logger] stderr: Guessed Channel Layout for Input Stream #0.1 : mono
api       | Input #0, rtsp, from 'rtsp://user:password@192.68.45.54:554/stream2':
api       |   Metadata:
api       |     title           : Session streamed by "TP-LINK RTSP Server"
api       |     comment         : stream2
api       |   Duration: N/A, start: 0.000000, bitrate: N/A
api       |   Stream #0:0: Video: h264 (High), yuvj420p(pc, bt709, progressive), 640x360, 15 fps, 28.58 tbr, 90k tbn
api       |   Stream #0:1: Audio: pcm_alaw, 8000 Hz, mono, s16, 64 kb/s
api       |
api       | [Nest] 431  - 12/28/2022, 1:16:12 PM     LOG [Image Logger] stderr: Stream mapping:
api       |   Stream #0:0 -> #0:0 (h264 (native) -> mjpeg (native))
api       | Press [q] to stop, [?] for help
api       |
api       | [Nest] 431  - 12/28/2022, 1:16:12 PM     LOG [Image Logger] stderr: Output #0, image2pipe, to 'pipe:':
api       |   Metadata:
api       |     title           : Session streamed by "TP-LINK RTSP Server"
api       |     comment         : stream2
api       |     encoder         : Lavf59.16.100
api       |   Stream #0:0: Video: mjpeg, yuvj420p(pc, bt709, progressive), 640x360, q=2-31, 200 kb/s, 2 fps, 2 tbn
api       |
api       | [Nest] 431  - 12/28/2022, 1:16:12 PM     LOG [Image Logger] stderr:     Metadata:
api       |       encoder         : Lavc59.18.100 mjpeg
api       |     Side data:
api       |       cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: N/A
api       | [Nest] 431  - 12/28/2022, 1:16:12 PM     LOG [Image Logger] stderr: frame=    1 fps=0.0 q=5.0 size=      23kB time=00:00:00.50 bitrate= 383.9kbits/s speed=59.4x
api       | [Nest] 431  - 12/28/2022, 1:16:12 PM     LOG [Image Logger] file_1.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:12 PM     LOG [Image Logger] file_2.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:12 PM     LOG [Image Logger] file_3.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:12 PM     LOG [Image Logger] file_4.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:12 PM     LOG [Image Logger] file_5.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:12 PM     LOG [Image Logger] file_6.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:12 PM     LOG [Image Logger] file_7.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:12 PM     LOG [Image Logger] file_8.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:12 PM     LOG [Image Logger] file_9.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:12 PM     LOG [Image Logger] file_10.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:12 PM     LOG [Image Logger] file_11.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:12 PM     LOG [Image Logger] file_12.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:12 PM     LOG [Image Logger] file_13.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:12 PM     LOG [Image Logger] file_14.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:12 PM     LOG [Image Logger] file_15.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:12 PM     LOG [Image Logger] file_16.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:12 PM     LOG [Image Logger] file_17.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:12 PM     LOG [Image Logger] file_18.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:12 PM     LOG [Image Logger] file_19.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:12 PM     LOG [Image Logger] file_20.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:12 PM     LOG [Image Logger] file_21.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:12 PM     LOG [Image Logger] file_22.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:12 PM     LOG [Image Logger] file_23.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:12 PM     LOG [Image Logger] file_24.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:12 PM     LOG [Image Logger] file_25.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:12 PM     LOG [Image Logger] file_26.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:12 PM     LOG [Image Logger] stderr: frame=   27 fps=0.0 q=16.0 size=     559kB time=00:00:13.50 bitrate= 339.3kbits/s speed=25.3x
api       | [Nest] 431  - 12/28/2022, 1:16:12 PM     LOG [Image Logger] file_27.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:12 PM     LOG [Image Logger] file_28.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:12 PM     LOG [Image Logger] file_29.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:12 PM     LOG [Image Logger] file_30.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:12 PM     LOG [Image Logger] file_31.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:12 PM     LOG [Image Logger] file_32.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:13 PM     LOG [Image Logger] file_33.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:13 PM     LOG [Image Logger] stderr: frame=   34 fps= 33 q=16.6 size=     632kB time=00:00:17.00 bitrate= 304.6kbits/s speed=16.3x
api       | [Nest] 431  - 12/28/2022, 1:16:13 PM     LOG [Image Logger] file_34.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:13 PM     LOG [Image Logger] file_35.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:13 PM     LOG [Image Logger] file_36.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:13 PM     LOG [Image Logger] file_37.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:13 PM     LOG [Image Logger] file_38.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:13 PM     LOG [Image Logger] file_39.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:13 PM     LOG [Image Logger] file_40.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:13 PM     LOG [Image Logger] file_41.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:13 PM     LOG [Image Logger] stderr: frame=   41 fps= 26 q=16.5 size=     705kB time=00:00:20.50 bitrate= 281.7kbits/s speed=13.2x
api       | [Nest] 431  - 12/28/2022, 1:16:13 PM     LOG [Image Logger] file_42.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:13 PM     LOG [Image Logger] file_43.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:13 PM     LOG [Image Logger] file_44.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:13 PM     LOG [Image Logger] file_45.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:13 PM     LOG [Image Logger] file_46.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:14 PM     LOG [Image Logger] file_47.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:14 PM     LOG [Image Logger] file_48.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:14 PM     LOG [Image Logger] stderr: frame=   48 fps= 23 q=16.4 size=     779kB time=00:00:24.00 bitrate= 265.9kbits/s speed=11.6x
api       | [Nest] 431  - 12/28/2022, 1:16:14 PM     LOG [Image Logger] file_49.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:14 PM     LOG [Image Logger] file_50.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:14 PM     LOG [Image Logger] file_51.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:14 PM     LOG [Image Logger] file_52.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:14 PM     LOG [Image Logger] file_53.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:14 PM     LOG [Image Logger] file_54.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:14 PM     LOG [Image Logger] file_55.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:14 PM     LOG [Image Logger] stderr: frame=   56 fps= 22 q=16.1 size=     865kB time=00:00:28.00 bitrate= 253.0kbits/s speed=10.9x
api       | [Nest] 431  - 12/28/2022, 1:16:14 PM     LOG [Image Logger] file_56.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:14 PM     LOG [Image Logger] file_57.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:14 PM     LOG [Image Logger] file_58.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:14 PM     LOG [Image Logger] file_59.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:14 PM     LOG [Image Logger] file_60.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:15 PM     LOG [Image Logger] file_61.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:15 PM     LOG [Image Logger] file_62.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:15 PM     LOG [Image Logger] file_63.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:15 PM     LOG [Image Logger] stderr: frame=   63 fps= 20 q=15.5 size=     939kB time=00:00:31.50 bitrate= 244.3kbits/s speed=10.2x
api       | [Nest] 431  - 12/28/2022, 1:16:15 PM     LOG [Image Logger] file_64.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:15 PM     LOG [Image Logger] file_65.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:15 PM     LOG [Image Logger] file_66.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:15 PM     LOG [Image Logger] file_67.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:15 PM     LOG [Image Logger] file_68.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:15 PM     LOG [Image Logger] file_69.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:15 PM     LOG [Image Logger] file_70.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:15 PM     LOG [Image Logger] stderr: frame=   70 fps= 19 q=15.4 size=    1017kB time=00:00:35.00 bitrate= 238.0kbits/s speed= 9.7x
api       | [Nest] 431  - 12/28/2022, 1:16:15 PM     LOG [Image Logger] file_71.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:15 PM     LOG [Image Logger] file_72.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:15 PM     LOG [Image Logger] file_73.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:15 PM     LOG [Image Logger] file_74.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:15 PM     LOG [Image Logger] file_75.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:16 PM     LOG [Image Logger] file_76.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:16 PM     LOG [Image Logger] file_77.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:16 PM     LOG [Image Logger] stderr: frame=   78 fps= 19 q=15.1 size=    1106kB time=00:00:39.00 bitrate= 232.4kbits/s speed=9.48x
api       | [Nest] 431  - 12/28/2022, 1:16:16 PM     LOG [Image Logger] file_78.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:16 PM     LOG [Image Logger] file_79.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:16 PM     LOG [Image Logger] file_80.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:16 PM     LOG [Image Logger] file_81.jpg saved
api       | [Nest] 431  - 12/28/2022, 1:16:16 PM     LOG [Image Logger] file_82.jpg saved


    


    Am I missing some part ? why I do not only get 2 stdout events pro second ?

    


    Edit :

    


    ffmpeg version 5.0.1-static
node : 18.12.1

    


    Edit 2 :

    


    When I run this command on the terminal :

    


    ffmpeg -r 2 -rtsp_transport tcp -i "rtsp://user:password@192.68.45.54:554/stream2" -vf fps=2 -timecode 00:00:00:00 test.mp4


    


    The generated video has a frame rate of 2 but it looks like it is in slow motion. Since the source video has also a timer, I see how it takes something like 12 "frames" to go from one second to another.

    


    This is the output :

    


    fmpeg version 5.1.2 Copyright (c) 2000-2022 the FFmpeg developers
  built with Apple clang version 14.0.0 (clang-1400.0.29.202)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/5.1.2_1 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox
  libavutil      57. 28.100 / 57. 28.100
  libavcodec     59. 37.100 / 59. 37.100
  libavformat    59. 27.100 / 59. 27.100
  libavdevice    59.  7.100 / 59.  7.100
  libavfilter     8. 44.100 /  8. 44.100
  libswscale      6.  7.100 /  6.  7.100
  libswresample   4.  7.100 /  4.  7.100
  libpostproc    56.  6.100 / 56.  6.100
Input #0, rtsp, from 'rtsp://user:password@192.68.45.54:554/stream2':
  Metadata:
    title           : Session streamed by "TP-LINK RTSP Server"
    comment         : stream2
  Duration: N/A, start: 0.000000, bitrate: N/A
  Stream #0:0: Video: h264 (High), yuvj420p(pc, bt709, progressive), 640x360, 15 fps, 28.58 tbr, 90k tbn
  Stream #0:1: Audio: pcm_alaw, 8000 Hz, mono, s16, 64 kb/s
File 'test.mp4' already exists. Overwrite? [y/N] y
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (pcm_alaw (native) -> aac (native))
Press [q] to stop, [?] for help
[aac @ 0x7fa79fb061c0] Too many bits 8832.000000 > 6144 per frame requested, clamping to max
[libx264 @ 0x7fa79fb04e00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0x7fa79fb04e00] profile High, level 2.2, 4:2:0, 8-bit
[libx264 @ 0x7fa79fb04e00] 264 - core 164 r3095 baee400 - H.264/MPEG-4 AVC codec - Copyleft 2003-2022 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=11 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=2 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[mp4 @ 0x7fa78f104780] Using non-standard frame rate 2/1
    Last message repeated 1 times
Output #0, mp4, to 'test.mp4':
  Metadata:
    title           : Session streamed by "TP-LINK RTSP Server"
    comment         : stream2
    timecode        : 00:00:00:00
    encoder         : Lavf59.27.100
  Stream #0:0: Video: h264 (avc1 / 0x31637661), yuvj420p(pc, bt709, progressive), 640x360, q=2-31, 2 fps, 16384 tbn
    Metadata:
      encoder         : Lavc59.37.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
  Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 8000 Hz, mono, fltp, 48 kb/s
    Metadata:
      encoder         : Lavc59.37.100 aac
frame=  186 fps= 28 q=20.0 size=     256kB time=00:01:04.00 bitrate=  32.8kbits/s speed=9.58x

[q] command received. Exiting.

frame=  190 fps= 27 q=-1.0 Lsize=     749kB time=00:01:33.50 bitrate=  65.6kbits/s speed=13.2x
video:708kB audio:35kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.836704%
[libx264 @ 0x7fa79fb04e00] frame I:1     Avg QP:10.13  size: 45352
[libx264 @ 0x7fa79fb04e00] frame P:74    Avg QP:12.27  size:  7161
[libx264 @ 0x7fa79fb04e00] frame B:115   Avg QP:22.28  size:  1294
[libx264 @ 0x7fa79fb04e00] consecutive B-frames: 14.7%  9.5% 12.6% 63.2%
[libx264 @ 0x7fa79fb04e00] mb I  I16..4: 15.0% 14.0% 71.0%
[libx264 @ 0x7fa79fb04e00] mb P  I16..4:  0.6%  1.5%  2.4%  P16..4: 20.4%  4.9%  5.9%  0.0%  0.0%    skip:64.3%
[libx264 @ 0x7fa79fb04e00] mb B  I16..4:  0.0%  0.1%  0.3%  B16..8: 15.9%  2.4%  1.5%  direct: 0.9%  skip:78.9%  L0:45.5% L1:48.6% BI: 5.9%
[libx264 @ 0x7fa79fb04e00] 8x8 transform intra:27.4% inter:64.7%
[libx264 @ 0x7fa79fb04e00] coded y,uvDC,uvAC intra: 81.7% 60.2% 46.5% inter: 9.4% 4.2% 1.5%
[libx264 @ 0x7fa79fb04e00] i16 v,h,dc,p: 44% 10% 19% 27%
[libx264 @ 0x7fa79fb04e00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 52% 14% 13%  3%  2%  3%  3%  5%  4%
[libx264 @ 0x7fa79fb04e00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 35% 18% 13%  6%  5%  6%  5%  6%  7%
[libx264 @ 0x7fa79fb04e00] i8c dc,h,v,p: 45% 18% 27%  9%
[libx264 @ 0x7fa79fb04e00] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x7fa79fb04e00] ref P L0: 78.9%  7.6% 11.4%  2.1%
[libx264 @ 0x7fa79fb04e00] ref B L0: 90.8%  8.0%  1.2%
[libx264 @ 0x7fa79fb04e00] ref B L1: 97.0%  3.0%
[libx264 @ 0x7fa79fb04e00] kb/s:60.98
[aac @ 0x7fa79fb061c0] Qavg: 64944.246


    


  • non monotonically increasing dts to muxer in stream

    2 décembre 2013, par Yuvraj Kakkar

    Trying to publishlive streaming video via incoming live stream via rtmp.But the video's pixel get breakdown when played live.Error generates non monotonically increasing dts to muxer in stream. I am using xuggler api.

    import com.xuggle.xuggler.ICodec;
       import com.xuggle.xuggler.IContainer;
       import com.xuggle.xuggler.IContainerFormat;
       import com.xuggle.xuggler.IPacket;
       import com.xuggle.xuggler.IRational;
       import com.xuggle.xuggler.IStream;
       import com.xuggle.xuggler.IStreamCoder;
       import com.xuggle.xuggler.IVideoPicture;

    public class XugglerRecorder
    {  


        public static void main(String[] args)
       {
           String url = "rtmp://localhost:1935/live2/16_8_2013_10_0_0";
           IContainer readContainer = IContainer.make();
          // readContainer.setInputBufferLength();
           IContainer writeContainer=IContainer.make();
           //writeContainer.setInputBufferLength(0);
           IContainerFormat containerFormat_live = IContainerFormat.make();
           containerFormat_live.setOutputFormat("flv","rtmp://localhost:1935/live/abc", null);
          int retVal= writeContainer.open("rtmp://localhost:1935/live/abc", IContainer.Type.WRITE, containerFormat_live);
           //writeContainer.setInputBufferLength(0);
           if (retVal < 0) {
               System.err.println("Could not open output container for live stream");
               System.exit(1);
           }
           if (readContainer.open(url, IContainer.Type.READ, null, true, false) < 0) {
               throw new RuntimeException("unable to open read container");
           }
           IStream video = writeContainer.addNewStream(0);
           if (video == null) {
               throw new RuntimeException("unable to add video stream");
           }
           IPacket packet = IPacket.make();
           while (readContainer.readNextPacket(packet) >= 0 && !packet.isKeyPacket()) {}        
           IStreamCoder inVideoCoder = null;
           int videoStreamId = -1;
           for (int i = 0; i < readContainer.getNumStreams(); ++i) {
               IStream stream = readContainer.getStream(i);
               IStreamCoder coder = stream.getStreamCoder();
               if (coder.getCodecType() == ICodec.Type.CODEC_TYPE_VIDEO) {
                   inVideoCoder = coder;
                   videoStreamId = i;
                   if (inVideoCoder.open(null, null) < 0) {
                       throw new RuntimeException("Unable to open input video coder");
                   }
                   //for getting frame params need to decode at least one key frame
                   IVideoPicture picture = IVideoPicture.make(inVideoCoder.getPixelType(), 0, 0);
                   int bytesDecoded = inVideoCoder.decodeVideo(picture, packet, 0);
                   if (bytesDecoded < 0) {
                       throw new RuntimeException("Unable to decode video packet");
                   }
                }
           }

           if (videoStreamId == -1) {
               throw new RuntimeException("unable to find video stream");
           }        

           IStreamCoder outVideoCoder = video.getStreamCoder();
           ICodec codec = ICodec.findEncodingCodec(ICodec.ID.CODEC_ID_H264);
           outVideoCoder.setCodec(codec);
         //  outVideoCoder.setCodec(inVideoCoder.getCodec());
           outVideoCoder.setHeight(inVideoCoder.getHeight());
           outVideoCoder.setWidth(inVideoCoder.getWidth());
           outVideoCoder.setPixelType(inVideoCoder.getPixelType());
           outVideoCoder.setBitRate(200000);
           outVideoCoder.setAutomaticallyStampPacketsForStream(true);
           outVideoCoder.setChannels(inVideoCoder.getChannels());
           outVideoCoder.setFrameRate(inVideoCoder.getFrameRate());
           outVideoCoder.setTimeBase(inVideoCoder.getTimeBase());
           if (outVideoCoder.open(null, null) < 0) {
               throw new RuntimeException("unable to open output video coder");
           }
           if (writeContainer.writeHeader() < 0) {
               throw new RuntimeException("unable to write header");
           }
          Thread1 t1= new Thread1(readContainer, packet, writeContainer);
          t1.start();
           try {
           } catch (Exception e) {
               e.printStackTrace();
           }
       }
    }

       class Thread1 extends Thread
       {
           IContainer readContainer;
           IPacket packet;
           IContainer writeContainer;
           Thread1(IContainer readContainer, IPacket packet,IContainer writeContainer)
           {
              this.readContainer=readContainer;
              this.packet=packet;
              this.writeContainer=writeContainer;
           }

        public void run()
        {
            try{
               doit(readContainer, packet, writeContainer);
                       }catch(Exception e){e.printStackTrace();}
       }  

       private  void doit(IContainer readContainer, IPacket packet, IContainer writeContainer) throws InterruptedException {
               int i = 0;
               if(packet==null)
               {
                   //System.out.println("Packet nulll");  
                   doit(readContainer, packet, writeContainer);
               }
               while (readContainer.readNextPacket(packet) >= 0) {
                   if(readContainer.readNextPacket(packet)==-1 ){
                       System.out.println("Packet is absent");
                   }
                   if (packet.getStreamIndex() != 0) {
                       continue;
                   }
                   if(writeContainer.writePacket(packet)==0){
                          continue;                    
                   }else{
                   if (writeContainer.writePacket(packet) < 0) {
                       try{
                           System.out.println("packet sleep");
                           //TimeUnit.SECONDS.sleep(5);
                           doit(readContainer, packet, writeContainer);
                       }catch(Exception e){e.printStackTrace();}
                   }            
                   }
                 if (writeContainer.writeTrailer() < 0) {
                     throw new RuntimeException("unable to write trailer");
                 }        
               }    
           }
       }
  • MPEG2 Video decode displaying bad artefacts

    30 août 2022, par beepboop_i_am_robot

    I have a video from a client (dumped from an RTP stream, in MPEG2 format), which displays terribly in all video players I throw at it (VLC, FFPlay, Media Player Classic, MPC-HC).

    


    bbbb.raw

    


    The output from ffprobe,

    


    .\ffprobe.exe -i .\bbbb.raw -hide_banner
Input #0, mpegvideo, from '.\bbbb.raw':
  Duration: N/A, bitrate: N/A
  Stream #0:0: Video: mpeg2video (Main), yuv420p(tv, top first), 720x480 [SAR 8:9 DAR 4:3], Closed Captions, 29.97 fps, 59.94 tbr, 1200k tbn
    Side data:
      cpb: bitrate max/min/avg: 3596000/0/0 buffer size: 1835008 vbv_delay: N/A


    


    The footage through ffplay looks like this,

    


    ffplay_01.png
ffplay_02.png
ffplay_03.png

    


    The footage through VLC looks like this,

    


    vlc_01.png
vlc_02.png

    


    ffplay generates the following logging,

    


    .\ffplay.exe -i .\bbbb.mpeg -hide_banner
Input #0, mpegvideo, from '.\bbbb.mpeg':q=    0KB sq=    0B f=0/0
  Duration: N/A, bitrate: N/A
  Stream #0:0: Video: mpeg2video (Main), yuv420p(tv, top first), 720x480 [SAR 8:9 DAR 4:3], Closed Captions, 29.97 fps, 59.94 tbr, 1200k tbn
    Side data:
      cpb: bitrate max/min/avg: 3596000/0/0 buffer size: 1835008 vbv_delay: N/A
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 7 11
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 4 13
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 2 19
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 9 15
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 13 6
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 0 7
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 3 9
[mpeg2video @ 00000246c56851c0] Invalid mb type in I-frame at 1 23
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 14 8
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 12 18
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 4 22
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 35 1
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 12 28
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 9 29
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 21 12
[mpeg2video @ 00000246c56851c0] mb incr damaged
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 13 20
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 38 16
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 12 2
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 25 10
[mpeg2video @ 00000246c56851c0] Invalid mb type in I-frame at 13 26
[mpeg2video @ 00000246c56851c0] Invalid mb type in I-frame at 9 27
[mpeg2video @ 00000246c56851c0] Warning MVs not available
[mpeg2video @ 00000246c56851c0] concealing 990 DC, 990 AC, 990 MV errors in I frame
[mpeg2video @ 00000246c56851c0] mb incr damaged
[mpeg2video @ 00000246c56851c0] 00 motion_type at 18 15
[mpeg2video @ 00000246c56851c0] Invalid mb type in P-frame at 41 19
[mpeg2video @ 00000246c56851c0] 00 motion_type at 29 27
[mpeg2video @ 00000246c56851c0] Warning MVs not available
[mpeg2video @ 00000246c56851c0] concealing 182 DC, 182 AC, 182 MV errors in P frame
[mpeg2video @ 00000246c56851c0] Invalid mb type in B-frame at 43 12
[mpeg2video @ 00000246c56851c0] 00 motion_type at 37 0
[mpeg2video @ 00000246c56851c0] mb incr damaged
[mpeg2video @ 00000246c56851c0] Invalid mb type in B-frame at 40 5
[mpeg2video @ 00000246c56851c0] Warning MVs not available
[mpeg2video @ 00000246c56851c0] concealing 180 DC, 180 AC, 180 MV errors in B frame
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 13 2
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 21 7
[mpeg2video @ 00000246c56851c0] invalid cbp 0 at 41 12
[mpeg2video @ 00000246c56851c0] 00 motion_type at 24 22
[mpeg2video @ 00000246c56851c0] invalid cbp 0 at 22 27
[mpeg2video @ 00000246c56851c0] Warning MVs not available
[mpeg2video @ 00000246c56851c0] concealing 226 DC, 226 AC, 226 MV errors in P frame
[mpeg2video @ 00000246c56851c0] 00 motion_type at 38 17
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 43 11
[mpeg2video @ 00000246c56851c0] end mismatch left=888 B3C3A at 0 30
[mpeg2video @ 00000246c56851c0] 00 motion_type at 41 23
[mpeg2video @ 00000246c56851c0] Warning MVs not available
[mpeg2video @ 00000246c56851c0] concealing 182 DC, 182 AC, 182 MV errors in B frame
[mpeg2video @ 00000246c56851c0] Invalid mb type in P-frame at 41 18
[mpeg2video @ 00000246c56851c0] mb incr damaged
[mpeg2video @ 00000246c56851c0] end mismatch left=95 4DC505 at 0 30
[mpeg2video @ 00000246c56851c0] Warning MVs not available
[mpeg2video @ 00000246c56851c0] concealing 136 DC, 136 AC, 136 MV errors in P frame
[mpeg2video @ 00000246c56851c0] slice mismatch
    Last message repeated 1 times
[mpeg2video @ 00000246c56851c0] 00 motion_type at 8 25
[mpeg2video @ 00000246c56851c0] 00 motion_type at 33 17
[mpeg2video @ 00000246c56851c0] Warning MVs not available0B f=0/0
[mpeg2video @ 00000246c56851c0] concealing 180 DC, 180 AC, 180 MV errors in B frame
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 0 6
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 0 8
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 13 9
[mpeg2video @ 00000246c56851c0] Invalid mb type in I-frame at 21 13
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 35 0
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 22 11
[mpeg2video @ 00000246c56851c0] slice mismatch
[mpeg2video @ 00000246c56851c0] Invalid mb type in I-frame at 32 15
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 35 17
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 19 24
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 30 19
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 28 21
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 9 3
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 13 29
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 44 27
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 12 7
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 3 10
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 42 14
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 12 1
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 12 16
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 22 18
[mpeg2video @ 00000246c56851c0] slice mismatch
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 2 20
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 30 22
[mpeg2video @ 00000246c56851c0] Warning MVs not available
[mpeg2video @ 00000246c56851c0] concealing 1125 DC, 1125 AC, 1125 MV errors in I frame
[mpeg2video @ 00000246c56851c0] invalid cbp 0 at 42 0    0B f=0/0
[mpeg2video @ 00000246c56851c0] 00 motion_type at 30 15
[mpeg2video @ 00000246c56851c0] slice mismatch
[mpeg2video @ 00000246c56851c0] Invalid mb type in B-frame at 16 10
[mpeg2video @ 00000246c56851c0] slice mismatch
[mpeg2video @ 00000246c56851c0] 00 motion_type at 16 28
[mpeg2video @ 00000246c56851c0] 00 motion_type at 36 20
[mpeg2video @ 00000246c56851c0] Warning MVs not available
[mpeg2video @ 00000246c56851c0] concealing 315 DC, 315 AC, 315 MV errors in B frame
[mpeg2video @ 00000246c56851c0] slice mismatch
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 9 21
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 24 11
[mpeg2video @ 00000246c56851c0] mb incr damaged
[mpeg2video @ 00000246c56851c0] 00 motion_type at 20 25
[mpeg2video @ 00000246c56851c0] Warning MVs not available0B f=0/0
[mpeg2video @ 00000246c56851c0] concealing 228 DC, 228 AC, 228 MV errors in P frame
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 38 2
[mpeg2video @ 00000246c56851c0] 00 motion_type at 5 8
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 21 28
[mpeg2video @ 00000246c56851c0] Warning MVs not available0B f=0/0
[mpeg2video @ 00000246c56851c0] concealing 137 DC, 137 AC, 137 MV errors in B frame
[mpeg2video @ 00000246c56851c0] Invalid mb type in P-frame at 40 14
[mpeg2video @ 00000246c56851c0] Invalid mb type in P-frame at 22 25
[mpeg2video @ 00000246c56851c0] Warning MVs not available0B f=0/0
[mpeg2video @ 00000246c56851c0] concealing 139 DC, 139 AC, 139 MV errors in P frame
[mpeg2video @ 00000246c56851c0] 00 motion_type at 16 0
[mpeg2video @ 00000246c56851c0] slice mismatch
    Last message repeated 2 times
[mpeg2video @ 00000246c56851c0] 00 motion_type at 33 20
[mpeg2video @ 00000246c56851c0] Warning MVs not available
[mpeg2video @ 00000246c56851c0] concealing 227 DC, 227 AC, 227 MV errors in B frame
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 24 4   0B f=0/0
[mpeg2video @ 00000246c56851c0] 00 motion_type at 29 16
[mpeg2video @ 00000246c56851c0] end mismatch left=4 8 at 0 30
[mpeg2video @ 00000246c56851c0] Warning MVs not available
[mpeg2video @ 00000246c56851c0] concealing 229 DC, 229 AC, 229 MV errors in P frame
[mpeg2video @ 00000246c56851c0] mb incr damagedKB sq=    0B f=0/0
[mpeg2video @ 00000246c56851c0] 00 motion_type at 40 22
[mpeg2video @ 00000246c56851c0] Warning MVs not available
[mpeg2video @ 00000246c56851c0] concealing 90 DC, 90 AC, 90 MV errors in B frame
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 9 0f=0/0
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 9 2
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 6 15
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 3 11
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 33 9
[mpeg2video @ 00000246c56851c0] Invalid mb type in I-frame at 41 4
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 33 5
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 8 18
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 20 7
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 22 14
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 15 23
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 16 22
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 9 20
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 3 28
[mpeg2video @ 00000246c56851c0] slice mismatch
[mpeg2video @ 00000246c56851c0] Invalid mb type in I-frame at 26 3
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 34 16
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 44 8
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 1 29
[mpeg2video @ 00000246c56851c0] Invalid mb type in I-frame at 29 25
[mpeg2video @ 00000246c56851c0] Warning MVs not available
[mpeg2video @ 00000246c56851c0] concealing 900 DC, 900 AC, 900 MV errors in I frame
[mpeg2video @ 00000246c56851c0] 00 motion_type at 38 6
[mpeg2video @ 00000246c56851c0] 00 motion_type at 40 1
[mpeg2video @ 00000246c56851c0] invalid cbp -1 at 43 16
[mpeg2video @ 00000246c56851c0] 00 motion_type at 37 21
[mpeg2video @ 00000246c56851c0] 00 motion_type at 11 27
[mpeg2video @ 00000246c56851c0] Warning MVs not available0B f=0/0
[mpeg2video @ 00000246c56851c0] concealing 227 DC, 227 AC, 227 MV errors in B frame
[mpeg2video @ 00000246c56851c0] Invalid mb type in P-frame at 42 7
[mpeg2video @ 00000246c56851c0] Invalid mb type in P-frame at 10 2
overread 8
[mpeg2video @ 00000246c56851c0] Warning MVs not available0B f=0/0
[mpeg2video @ 00000246c56851c0] concealing 812 DC, 812 AC, 812 MV errors in P frame
[mpeg2video @ 00000246c56851c0] mb incr damaged
[mpeg2video @ 00000246c56851c0] slice mismatch
[mpeg2video @ 00000246c56851c0] 00 motion_type at 12 26
[mpeg2video @ 00000246c56851c0] Warning MVs not available0B f=0/0
[mpeg2video @ 00000246c56851c0] concealing 149 DC, 149 AC, 149 MV errors in B frame
[mpeg2video @ 00000246c56851c0] slice mismatch
[mpeg2video @ 00000246c56851c0] Invalid mb type in P-frame at 18 9
[mpeg2video @ 00000246c56851c0] invalid cbp 0 at 22 14
[mpeg2video @ 00000246c56851c0] invalid cbp -1 at 10 20
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 9 26
[mpeg2video @ 00000246c56851c0] Warning MVs not available0B f=0/0
[mpeg2video @ 00000246c56851c0] concealing 226 DC, 226 AC, 226 MV errors in P frame
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 5 2
[mpeg2video @ 00000246c56851c0] 00 motion_type at 5 14
[mpeg2video @ 00000246c56851c0] 00 motion_type at 27 7
[mpeg2video @ 00000246c56851c0] 00 motion_type at 43 26
[mpeg2video @ 00000246c56851c0] Warning MVs not available0B f=0/0
[mpeg2video @ 00000246c56851c0] concealing 180 DC, 180 AC, 180 MV errors in B frame
[mpeg2video @ 00000246c56851c0] slice below image (109 >= 30)=0/0
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 7 4    0B f=0/0
overread 5
[mpeg2video @ 00000246c56851c0] Warning MVs not available
[mpeg2video @ 00000246c56851c0] concealing 451 DC, 451 AC, 451 MV errors in B frame
[mpeg2video @ 00000246c56851c0] Invalid mb type in I-frame at 23 0
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 41 1
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 23 2
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 5 3
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 6 14
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 30 12
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 2 28
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 34 10
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 8 23
[mpeg2video @ 00000246c56851c0] Invalid mb type in I-frame at 10 19
[mpeg2video @ 00000246c56851c0] Invalid mb type in I-frame at 11 21
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 30 22
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 35 24
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 44 17
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 14 16
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 15 4=0/0
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 26 6
[mpeg2video @ 00000246c56851c0] Invalid mb type in I-frame at 6 7
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 24 26
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 4 25
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 35 29
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 16 27
[mpeg2video @ 00000246c56851c0] Warning MVs not available
[mpeg2video @ 00000246c56851c0] concealing 990 DC, 990 AC, 990 MV errors in I frame
[mpeg2video @ 00000246c56851c0] 00 motion_type at 35 5
[mpeg2video @ 00000246c56851c0] 00 motion_type at 41 16
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 42 10
[mpeg2video @ 00000246c56851c0] slice mismatch
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 23 25
[mpeg2video @ 00000246c56851c0] 00 motion_type at 14 29
[mpeg2video @ 00000246c56851c0] Warning MVs not available
[mpeg2video @ 00000246c56851c0] concealing 275 DC, 275 AC, 275 MV errors in B frame
[mpeg2video @ 00000246c56851c0] Invalid mb type in P-frame at 1 15
[mpeg2video @ 00000246c56851c0] 00 motion_type at 33 27
[mpeg2video @ 00000246c56851c0] Warning MVs not available
[mpeg2video @ 00000246c56851c0] concealing 140 DC, 140 AC, 140 MV errors in P frame
[mpeg2video @ 00000246c56851c0] 00 motion_type at 2 1    0B f=0/0
[mpeg2video @ 00000246c56851c0] 00 motion_type at 30 5
[mpeg2video @ 00000246c56851c0] 00 motion_type at 33 12
overread 8
[mpeg2video @ 00000246c56851c0] Warning MVs not available0B f=0/0
[mpeg2video @ 00000246c56851c0] concealing 495 DC, 495 AC, 495 MV errors in B frame
[mpeg2video @ 00000246c56851c0] 00 motion_type at 14 7
[mpeg2video @ 00000246c56851c0] Invalid mb type in P-frame at 29 18
[mpeg2video @ 00000246c56851c0] 00 motion_type at 20 26
[mpeg2video @ 00000246c56851c0] Invalid mb type in P-frame at 24 22
[mpeg2video @ 00000246c56851c0] Warning MVs not available0B f=0/0
[mpeg2video @ 00000246c56851c0] concealing 181 DC, 181 AC, 181 MV errors in P frame
[mpeg2video @ 00000246c56851c0] Invalid mb type in B-frame at 27 6
[mpeg2video @ 00000246c56851c0] 00 motion_type at 8 17
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 43 11
[mpeg2video @ 00000246c56851c0] 00 motion_type at 43 1
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 17 25
[mpeg2video @ 00000246c56851c0] Warning MVs not available0B f=0/0
[mpeg2video @ 00000246c56851c0] concealing 270 DC, 270 AC, 270 MV errors in B frame
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 0 15
[mpeg2video @ 00000246c56851c0] slice mismatch
[mpeg2video @ 00000246c56851c0] invalid cbp -1 at 11 7
[mpeg2video @ 00000246c56851c0] mb incr damaged
    Last message repeated 1 times
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 6 11
[mpeg2video @ 00000246c56851c0] invalid cbp 0 at 36 12
[mpeg2video @ 00000246c56851c0] Invalid mb type in P-frame at 12 15
[mpeg2video @ 00000246c56851c0] Invalid mb type in P-frame at 6 16
[mpeg2video @ 00000246c56851c0] Invalid mb type in P-frame at 9 17
[mpeg2video @ 00000246c56851c0] 00 motion_type at 1 18
[mpeg2video @ 00000246c56851c0] 00 motion_type at 11 22
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 23 22
[mpeg2video @ 00000246c56851c0] 00 motion_type at 10 28
[mpeg2video @ 00000246c56851c0] Invalid mb type in P-frame at 8 29
[mpeg2video @ 00000246c56851c0] 00 motion_type at 3 4    0B f=0/0
[mpeg2video @ 00000246c56851c0] invalid cbp -1 at 5 9
[mpeg2video @ 00000246c56851c0] slice mismatch
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 7 13
[mpeg2video @ 00000246c56851c0] 00 motion_type at 24 1
[mpeg2video @ 00000246c56851c0] 00 motion_type at 18 1
[mpeg2video @ 00000246c56851c0] 00 motion_type at 29 23
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 44 26
[mpeg2video @ 00000246c56851c0] Invalid mb type in P-frame at 12 27
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 6 14
[mpeg2video @ 00000246c56851c0] 00 motion_type at 28 19
[mpeg2video @ 00000246c56851c0] 00 motion_type at 10 20
[mpeg2video @ 00000246c56851c0] Invalid mb type in P-frame at 13 8
[mpeg2video @ 00000246c56851c0] Warning MVs not available
[mpeg2video @ 00000246c56851c0] concealing 1260 DC, 1260 AC, 1260 MV errors in P frame
[mpeg2video @ 00000246c56851c0] 00 motion_type at 36 2
[mpeg2video @ 00000246c56851c0] slice mismatch
[mpeg2video @ 00000246c56851c0] 00 motion_type at 25 27
[mpeg2video @ 00000246c56851c0] Warning MVs not available0B f=0/0
[mpeg2video @ 00000246c56851c0] concealing 180 DC, 180 AC, 180 MV errors in B frame
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 6 4
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 30 5
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 8 6
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 5 8
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 9 12
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 0 1
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 33 13
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 12 17
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 30 16
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 5 28
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 34 29
[mpeg2video @ 00000246c56851c0] slice mismatch
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 11 21
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 13 19
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 32 24
[mpeg2video @ 00000246c56851c0] Invalid mb type in I-frame at 1 25
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 9 2f=0/0
[mpeg2video @ 00000246c56851c0] Invalid mb type in I-frame at 33 1
[mpeg2video @ 00000246c56851c0] Invalid mb type in I-frame at 15 14
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 3 18
[mpeg2video @ 00000246c56851c0] slice mismatch
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 15 22
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 7 20
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 36 26
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 25 3
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 25 27
[mpeg2video @ 00000246c56851c0] Warning MVs not available
[mpeg2video @ 00000246c56851c0] concealing 1215 DC, 1215 AC, 1215 MV errors in I frame
[mpeg2video @ 00000246c56851c0] Invalid mb type in B-frame at 26 10
[mpeg2video @ 00000246c56851c0] Invalid mb type in B-frame at 1 16
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 44 23
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 30 20
[mpeg2video @ 00000246c56851c0] Warning MVs not available
[mpeg2video @ 00000246c56851c0] concealing 182 DC, 182 AC, 182 MV errors in B frame
[mpeg2video @ 00000246c56851c0] slice mismatch6KB sq=    0B f=0/0
[mpeg2video @ 00000246c56851c0] 00 motion_type at 6 9
[mpeg2video @ 00000246c56851c0] 00 motion_type at 12 19
[mpeg2video @ 00000246c56851c0] invalid cbp -1 at 3 27
[mpeg2video @ 00000246c56851c0] invalid cbp 0 at 37 28
[mpeg2video @ 00000246c56851c0] Warning MVs not available
[mpeg2video @ 00000246c56851c0] concealing 226 DC, 226 AC, 226 MV errors in P frame
[mpeg2video @ 00000246c56851c0] invalid cbp -1 at 42 9   0B f=0/0
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 38 0
[mpeg2video @ 00000246c56851c0] slice mismatch
    Last message repeated 1 times
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 32 29  0B f=0/0
[mpeg2video @ 00000246c56851c0] Warning MVs not available
[mpeg2video @ 00000246c56851c0] concealing 272 DC, 272 AC, 272 MV errors in B frame
[mpeg2video @ 00000246c56851c0] slice mismatch
[mpeg2video @ 00000246c56851c0] Invalid mb type in P-frame at 2 23
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 31 28
[mpeg2video @ 00000246c56851c0] Warning MVs not available
[mpeg2video @ 00000246c56851c0] concealing 135 DC, 135 AC, 135 MV errors in P frame
[mpeg2video @ 00000246c56851c0] slice mismatch
    Last message repeated 1 times
[mpeg2video @ 00000246c56851c0] 00 motion_type at 8 24
[mpeg2video @ 00000246c56851c0] invalid cbp 0 at 39 28
[mpeg2video @ 00000246c56851c0] mb incr damagedKB sq=    0B f=0/0
[mpeg2video @ 00000246c56851c0] Warning MVs not available
[mpeg2video @ 00000246c56851c0] concealing 225 DC, 225 AC, 225 MV errors in B frame
[mpeg2video @ 00000246c56851c0] slice mismatch
[mpeg2video @ 00000246c56851c0] 00 motion_type at 40 17
[mpeg2video @ 00000246c56851c0] end mismatch left=587 450598 at 0 30
[mpeg2video @ 00000246c56851c0] Warning MVs not available0B f=0/0
[mpeg2video @ 00000246c56851c0] concealing 180 DC, 180 AC, 180 MV errors in P frame
[mpeg2video @ 00000246c56851c0] 00 motion_type at 41 8
[mpeg2video @ 00000246c56851c0] 00 motion_type at 37 26
[mpeg2video @ 00000246c56851c0] Invalid mb type in B-frame at 0 29
[mpeg2video @ 00000246c56851c0] Warning MVs not available
[mpeg2video @ 00000246c56851c0] concealing 135 DC, 135 AC, 135 MV errors in B frame
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 2 6f=0/0
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 13 4
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 36 2
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 11 1
[mpeg2video @ 00000246c56851c0] Invalid mb type in I-frame at 35 11
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 40 9
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 13 19
[mpeg2video @ 00000246c56851c0] Invalid mb type in I-frame at 42 13
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 14 26
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 28 28
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 22 22
[mpeg2video @ 00000246c56851c0] mb incr damaged
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 11 23
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 39 7
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 37 10
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 27 20
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 30 27
[mpeg2video @ 00000246c56851c0] Invalid mb type in I-frame at 8 29
[mpeg2video @ 00000246c56851c0] skipped MB in I-frame at 25 25
[mpeg2video @ 00000246c56851c0] Warning MVs not available
[mpeg2video @ 00000246c56851c0] concealing 900 DC, 900 AC, 900 MV errors in I frame
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 38 0   0B f=0/0
[mpeg2video @ 00000246c56851c0] 00 motion_type at 12 21
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 34 28
[mpeg2video @ 00000246c56851c0] slice mismatch
[mpeg2video @ 00000246c56851c0] slice mismatch9KB sq=    0B f=0/0
[mpeg2video @ 00000246c56851c0] Warning MVs not available
[mpeg2video @ 00000246c56851c0] concealing 229 DC, 229 AC, 229 MV errors in B frame
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 40 0
[mpeg2video @ 00000246c56851c0] 00 motion_type at 12 11
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 30 27
[mpeg2video @ 00000246c56851c0] end mismatch left=7025 131C07 at 0 30
[mpeg2video @ 00000246c56851c0] Warning MVs not available0B f=0/0
[mpeg2video @ 00000246c56851c0] concealing 184 DC, 184 AC, 184 MV errors in P frame
[mpeg2video @ 00000246c56851c0] 00 motion_type at 15 4
[mpeg2video @ 00000246c56851c0] 00 motion_type at 44 0
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 38 13
[mpeg2video @ 00000246c56851c0] slice mismatch
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 2 29
[mpeg2video @ 00000246c56851c0] Warning MVs not available0B f=0/0
[mpeg2video @ 00000246c56851c0] concealing 225 DC, 225 AC, 225 MV errors in B frame
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 43 2
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 28 8
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 14 19
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 23 28
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 8 14
[mpeg2video @ 00000246c56851c0] mb incr damaged
[mpeg2video @ 00000246c56851c0] end mismatch left=228 7355F3 at 0 30
[mpeg2video @ 00000246c56851c0] Warning MVs not available
[mpeg2video @ 00000246c56851c0] concealing 318 DC, 318 AC, 318 MV errors in P frame
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 4 20   0B f=0/0
[mpeg2video @ 00000246c56851c0] ac-tex damaged at 33 27
[mpeg2video @ 00000246c56851c0] 00 motion_type at 37 29
[mpeg2video @ 00000246c56851c0] Warning MVs not available
[mpeg2video @ 00000246c56851c0] concealing 137 DC, 137 AC, 137 MV errors in B frame
[mpeg2video @ 00000246c56851c0] slice mismatch
[mpeg2video @ 00000246c56851c0] 00 motion_type at 16 19
...


    


    Are there any decoders or setting which might help in producing a clear decoding of the video ?

    


    Is there anything obviously wrong with the raw dump file ?