Recherche avancée

Médias (3)

Mot : - Tags -/spip

Autres articles (79)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

Sur d’autres sites (8996)

  • Convert TS-Stream to MKV with ffmpeg [on hold]

    17 septembre 2018, par night4awk

    I’m using ffmpeg 3.2.7 and I have a problem converting a ts-file lossless to mkv.
    The source file is a dumped IPTV-stream recorded with dumprtp (from dvbstream 0.5).

    ffmpeg -i Test.ts -map 0:0 -map 0:2 -vcodec copy -acodec copy -f matroska Test.mkv

    The convertion is successful, but the output file is pixelated every few seconds.

    When I’m converting it with MKVToolnix everything looks fine.

    Does anyone has a solution for that problem ?
    Maybe some option to sync the stream correctly ?

    Here’s a sample output :

    # ffmpeg -i Test.ts -map 0:0 -map 0:2 -vcodec copy -acodec copy -f matroska Test.mkv
    ffmpeg version 3.2.7 Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 6.3.0 (OpenWrt GCC 6.3.0 r212-46f973b)
     configuration: --enable-cross-compile --cross-prefix=i486-openwrt-linux-gnu- --arch=i386 --target-os=linux --prefix=/opt --pkg-config=pkg-config --enable-shared --enable-static --enable-pthreads --enable-zlib --disable-doc --disable-debug --disable-lzma --disable-vaapi --disable-vdpau --disable-outdevs --enable-avresample --enable-libopus --enable-small --enable-gpl --enable-libmp3lame --enable-libx264
     libavutil      55. 34.101 / 55. 34.101
     libavcodec     57. 64.101 / 57. 64.101
     libavformat    57. 56.101 / 57. 56.101
     libavdevice    57.  1.100 / 57.  1.100
     libavfilter     6. 65.100 /  6. 65.100
     libavresample   3.  1.  0 /  3.  1.  0
     libswscale      4.  2.100 /  4.  2.100
     libswresample   2.  3.100 /  2.  3.100
     libpostproc    54.  1.100 / 54.  1.100
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [NULL @ 0x81f9580] SPS unavailable in decode_picture_timing
    [NULL @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mp3 @ 0x81fb860] Header missing
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [mp3 @ 0x81fb860] Header missing
       Last message repeated 1 times
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [mp3 @ 0x81fb860] Header missing
       Last message repeated 3 times
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [mp3 @ 0x81fb860] Header missing
       Last message repeated 1 times
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [mp3 @ 0x81fb860] Header missing
       Last message repeated 3 times
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [mp3 @ 0x81fb860] Header missing
       Last message repeated 1 times
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [mp3 @ 0x81fb860] Header missing
       Last message repeated 1 times
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [mp3 @ 0x81fb860] Header missing
       Last message repeated 1 times
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [mp3 @ 0x81fb860] Header missing
       Last message repeated 1 times
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [mp3 @ 0x81fb860] Header missing
       Last message repeated 1 times
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [mp3 @ 0x81fb860] Header missing
       Last message repeated 7 times
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [mp3 @ 0x81fb860] Header missing
       Last message repeated 1 times
    [h264 @ 0x81f9580] reference picture missing during reorder
       Last message repeated 1 times
    [h264 @ 0x81f9580] Missing reference picture, default is 2147483647
       Last message repeated 1 times
    [h264 @ 0x81f9580] mmco: unref short failure
       Last message repeated 1 times
    [h264 @ 0x81f9580] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one
    [mp3 @ 0x81fb860] Header missing
       Last message repeated 3 times
    [h264 @ 0x81f9580] reference picture missing during reorder
       Last message repeated 2 times
    [h264 @ 0x81f9580] Missing reference picture, default is 65627
       Last message repeated 2 times
    [mp3 @ 0x81fb860] Header missing
       Last message repeated 1 times
    [h264 @ 0x81f9580] mmco: unref short failure
       Last message repeated 3 times
    [h264 @ 0x81f9580] Increasing reorder buffer to 2
    [mp3 @ 0x81fb860] Header missing
       Last message repeated 295 times
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mp3 @ 0x81fb860] Header missing
       Last message repeated 13 times
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mp3 @ 0x81fb860] Header missing
       Last message repeated 2 times
    [mpegts @ 0x81f6280] decoding for stream 1 failed
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] PES packet size mismatch
       Last message repeated 1 times
    [mpegts @ 0x81f6280] Could not find codec parameters for stream 1 (Audio: mp3, 0 channels, s16p): unspecified frame size
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    Input #0, mpegts, from 'Test.ts':
     Duration: 00:01:00.54, start: 48882.340000, bitrate: 3181 kb/s
       Stream #0:0[0x100]: Video: h264, yuv420p(tv, bt470bg, top first), 720x576 [SAR 16:11 DAR 20:11], 25 fps, 50 tbr, 90k tbn, 50 tbc
       Stream #0:1[0x103]: Audio: mp3, 0 channels, s16p
       Stream #0:2[0x102]: Audio: mp2, 48000 Hz, stereo, s16p, 192 kb/s
       Stream #0:3[0x101]: Audio: ac3, 48000 Hz, stereo, fltp, 384 kb/s
    Output #0, matroska, to 'Test.mkv':
     Metadata:
       encoder         : Lavf57.56.101
       Stream #0:0: Video: h264 (H264 / 0x34363248), yuv420p(tv, bt470bg, top first), 720x576 [SAR 16:11 DAR 20:11], q=2-31, 25 fps, 50 tbr, 1k tbn, 90k tbc
       Stream #0:1: Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz, stereo, 192 kb/s
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
     Stream #0:2 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    .
    .
    .
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
       [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] PES packet size mismatch
    frame= 2971 fps=2674 q=-1.0 Lsize=   17441kB time=00:00:59.90 bitrate=2385.2kbits/s speed=53.9x    
    video:16037kB audio:1410kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

    Thank you

  • Merge commit '19c5fa9eea47d45b5eedce3bff4edeaf83fb3942'

    28 octobre 2017, par James Almer
    Merge commit '19c5fa9eea47d45b5eedce3bff4edeaf83fb3942'
    

    * commit '19c5fa9eea47d45b5eedce3bff4edeaf83fb3942' :
    golomb : Simplify get_ur_golomb_jpegls

    This commit is a noop, see
    https://ffmpeg.org/pipermail/ffmpeg-devel/2017-April/209609.html

    Merged-by : James Almer <jamrial@gmail.com>

  • cap.isOpened() : returns false in CentOS for Python 3 and OpenCV 3.1.0

    29 octobre 2017, par Mona Jalal

    So cap from opencv 3 doesn’t work in CentOS. I had no problem in OSX or Windows 7 which I tried initially.
    Here is the example code :

    import cv2
    cap = cv2.VideoCapture('/home/grad3/jalal/PycharmProjects/hw4_cs58‌​5/Concession_LAN_8‌​‌​00‌​k.mp4',cv2.CAP_FFMPEG)

    if not cap.isOpened():
       print('not opened')

    while True:
       ret,frame = cap.read()

       if ret == False:
           print('frame empty')
           break
       cv2.imshow('frame', frame)
       if cv2.waitKey(1) == ord('q'):
           break

    And I get :

    /usr/local/anaconda3/bin/python /home/grad3/jalal/PycharmProjects/hw4_cs585/test.py
    not opened
    frame empty

    Process finished with exit code 0

    I can open the video using ffplay vid_name and also here is the result of https://pastebin.com/YGk2DDCi here https://pastebin.com/HSyHSsEZ (ffmpeg codecs). How should I fix this ?

    I have opencv 3.1.0 and here’s some sys info.

    $ uname -a
    Linux goku.bu.edu 3.10.0-693.5.2.el7.x86_64 #1 SMP Fri Oct 20 20:32:50 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

    and

    $ lsb_release -a
    LSB Version:    :core-4.1-amd64:core-4.1-noarch
    Distributor ID: CentOS
    Description:    CentOS Linux release 7.4.1708 (Core)
    Release:    7.4.1708
    Codename:   Core

    cv2. getBuildInformation()
    General configuration for OpenCV 3.1.0 =====================================
     Version control:               unknown

     Platform:
       Host:                        Linux 4.8.0-46-generic x86_64
       CMake:                       3.6.3
       CMake generator:             Unix Makefiles
       CMake build tool:            /usr/bin/gmake
       Configuration:               Release

     C/C++:
       Built as dynamic libs?:      YES
       C++ Compiler:                /opt/rh/devtoolset-2/root/usr/bin/c++  (ver 4.8.2)
       C++ flags (Release):         -I/cs/software/anaconda3/include    -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -O3 -DNDEBUG  -DNDEBUG
       C++ flags (Debug):           -I/cs/software/anaconda3/include    -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -g  -O0 -DDEBUG -D_DEBUG
       C Compiler:                  /opt/rh/devtoolset-2/root/usr/bin/cc
       C flags (Release):           -I/cs/software/anaconda3/include    -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -fopenmp -O3 -DNDEBUG  -DNDEBUG
       C flags (Debug):             -I/cs/software/anaconda3/include    -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -fopenmp -g  -O0 -DDEBUG -D_DEBUG
       Linker flags (Release):
       Linker flags (Debug):
       Precompiled headers:         YES
       Extra dependencies:          /cs/software/anaconda3/lib/libjpeg.so /cs/software/anaconda3/lib/libpng.so /cs/software/anaconda3/lib/libtiff.so /cs/software/anaconda3/lib/libhdf5.so /usr/lib64/librt.so /usr/lib64/libpthread.so /cs/software/anaconda3/lib/libz.so /usr/lib64/libdl.so /usr/lib64/libm.so dl m pthread rt
       3rdparty dependencies:       libwebp libjasper IlmImf libprotobuf

     OpenCV modules:
       To be built:                 core flann hdf imgproc ml photo reg surface_matching video dnn fuzzy imgcodecs shape videoio highgui objdetect plot superres xobjdetect xphoto bgsegm bioinspired dpm face features2d line_descriptor saliency text calib3d ccalib datasets rgbd stereo structured_light tracking videostab xfeatures2d ximgproc aruco optflow stitching python3
       Disabled:                    world contrib_world
       Disabled by dependency:      -
       Unavailable:                 cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev java python2 ts viz cvv matlab sfm

     GUI:
       QT:                          NO
       GTK+:                        NO
       GThread :                    NO
       GtkGlExt:                    NO
       OpenGL support:              NO
       VTK support:                 NO

     Media I/O:
       ZLib:                        /cs/software/anaconda3/lib/libz.so (ver 1.2.8)
       JPEG:                        /cs/software/anaconda3/lib/libjpeg.so (ver 80)
       WEBP:                        build (ver 0.3.1)
       PNG:                         /cs/software/anaconda3/lib/libpng.so (ver 1.6.27)
       TIFF:                        /cs/software/anaconda3/lib/libtiff.so (ver 42 - 4.0.6)
       JPEG 2000:                   build (ver 1.900.1)
       OpenEXR:                     build (ver 1.7.1)
       GDAL:                        NO

     Video I/O:
       DC1394 1.x:                  NO
       DC1394 2.x:                  NO
       FFMPEG:                      NO
         codec:                     NO
         format:                    NO
         util:                      NO
         swscale:                   NO
         resample:                  NO
         gentoo-style:              NO
       GStreamer:                   NO
       OpenNI:                      NO
       OpenNI PrimeSensor Modules:  NO
       OpenNI2:                     NO
       PvAPI:                       NO
       GigEVisionSDK:               NO
       UniCap:                      NO
       UniCap ucil:                 NO
       V4L/V4L2:                    YES/YES
       XIMEA:                       NO
       Xine:                        NO
       gPhoto2:                     NO

     Parallel framework:            OpenMP

     Other third-party libraries:
       Use IPP:                     9.0.1 [9.0.1]
            at:                     /opt/conda/conda-bld/opencv_1491943704081/work/opencv-3.1.0/3rdparty/ippicv/unpack/ippicv_lnx
       Use IPP Async:               NO
       Use VA:                      NO
       Use Intel VA-API/OpenCL:     NO
       Use Eigen:                   YES (ver 3.2.8)
       Use Cuda:                    NO
       Use OpenCL:                  NO
       Use custom HAL:              NO

     Python 2:
       Interpreter:                 (ver 3.5.3)

     Python 3:
       Interpreter:                 /cs/software/anaconda3/bin/python (ver 3.5.3)
       Libraries:                   /cs/software/anaconda3/lib/libpython3.5m.so (ver 3.5.3)
       numpy:                       /cs/software/anaconda3/lib/python3.5/site-packages/numpy/core/include (ver 1.12.1)
       packages path:               /cs/software/anaconda3/lib/python3.5/site-packages

     Python (for build):            

     Java:
       ant:                         NO
       JNI:                         NO
       Java wrappers:               NO
       Java tests:                  NO

     Matlab:                        NO

     Tests and samples:
       Tests:                       NO
       Performance tests:           NO
       C/C++ Examples:              NO

     Install path:                  /cs/software/anaconda3

     cvconfig.h is in:              /opt/conda/conda-bld/opencv_1491943704081/work/opencv-3.1.0/build
    -----------------------------------------------------------------

    UPDATE : tried .avi and .flv formats and the same problem !