Advanced search

Medias (91)

Other articles (104)

  • Encoding and processing into web-friendly formats

    13 April 2011, by

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

  • Gestion de la ferme

    2 March 2010, by

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 March 2010, by

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3); le plugin champs extras v2 nécessité par (...)

On other websites (10861)

  • Error compiling x264 on Mac OS X

    28 March 2014, by progdo

    I’m trying to compile and install the x264 H.264/AVC encoder.
    I’ve got gcc installed. But I get the ’No working C compiler found’ error when I run:

    ./configure --enable-shared --enable-static

    What can I do?

    The config log said:

    /bin/gcc conftest.c  -Wall -I. -I$(SRCPATH) -falign-loops=16 -mdynamic-no-pic -o conftest
    clang: error: unknown argument: '-falign-loops=16' [-Wunused-command-line-argument-hard-error-in-future]
    clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
  • ffmpeg: failed to convert m3u8 to mp4

    4 March 2016, by MrSmile07

    I want to convert a .m3u8 file into .mp4, for that I am using ffmpeg.
    The only Thing that disturbs is, that one file work with the Command and the other not.

    Here the command:

    ffmpeg -i http://91.250.77.10:8134/hls-vod/jp/523.mp4.m3u8 -acodec copy -vcodec copy  -y -loglevel info -f mp4 Namezurspeicherrung.mp4
    

    that file works, but by the other file:

    ffmpeg -i http://91.250.77.10:8134/hls-vod/mk/01.mp4.m3u8 -acodec copy -vcodec         copy  -y  -loglevel info -f mp4 Namezurspeicherrung2.mp4
    

    doesn’t work.

    _
    _

    OK: Here the Output from file 2:

    ffmpeg -i http://91.250.77.10:8134/hls-vod/mkmp4.m3u8 -acodec copy -vcodec copy  -y -loglevel info -f mp4 Wasichsiewirklichgernefragenwuerde.mp4
        ffmpeg version 0.8.10-4:0.8.10-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers
          built on Feb  6 2014 20:56:59 with gcc 4.6.3
        *** THIS PROGRAM IS DEPRECATED ***
        This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [NULL @ 0x16b5120] non-existing PPS referenced
        [h264 @ 0x1825a60] non-existing PPS 0 referenced
        [h264 @ 0x1825a60] decode_slice_header error
        [h264 @ 0x1825a60] no frame!
        [applehttp @ 0x16ab9a0] max_analyze_duration reached
        [applehttp @ 0x16ab9a0] Estimating duration from bitrate, this may be inaccurate
    

    Seems stream 0 codec frame rate differs from container frame rate: 180000.00 (180000/1) -> 1000.00 (1000/1)
    Input #0, applehttp, from ’http://91.250.77.10:8134/hls-vod/mk/01.mp4.m3u8’:
    Duration: 00:23:30.00, start: 8.700000, bitrate: N/A
    Stream #0.0: Video: h264, 1k tbr, 90k tbn, 180k tbc
    Stream #0.1: Audio: aac, 48000 Hz, stereo, s16
    [mp4 @ 0x1826640] dimensions not set
    Output #0, mp4, to ’Wasichsiewirklichgernefragenwuerde.mp4’:
    Stream #0.0: Video: libx264, q=2-31, 90k tbn, 90k tbc
    Stream #0.1: Audio: libvo_aacenc, 48000 Hz, stereo
    Stream mapping:
    Stream #0.0 -> #0.0
    Stream #0.1 -> #0.1
    Could not write header for output file #0 (incorrect codec parameters ?)

    Last Edit: 23.03.2014 20:08

  • Decode video with CUDA nccuvid and ffmpeg [closed]

    25 April 2013, by Oleksandr Kyrpa

    *strong text*I starting to implement custum video decoder that utilize cuda HW decoder to generate YUV frame for next to encode it.

    How can I fill "CUVIDPICPARAMS" struc ???
    Is it possible?

    My algorithm are:

    For get video stream packet I'm use ffmpeg-dev libs avcodec, avformat...

    My steps:

    1) Open input file:

    avformat_open_input(&ff_formatContext,in_filename,nullptr,nullptr);

    2) Get video stream property's:

    avformat_find_stream_info(ff_formatContext,nullptr);

    3) Get video stream:

    ff_video_stream=ff_formatContext->streams[i];

    4) Get CUDA device and init it:

    cuDeviceGet(&cu_device,0);
    CUcontext cu_vid_ctx;

    5) Init video CUDA decoder and set create params:

    CUVIDDECODECREATEINFO *cu_decoder_info=new CUVIDDECODECREATEINFO;
    memset(cu_decoder_info,0,sizeof(CUVIDDECODECREATEINFO));
    ...
    cuvidCreateDecoder(cu_video_decoder,cu_decoder_info);

    6)Read frame data to AVpacket

    av_read_frame(ff_formatContext,ff_packet);

    AND NOW I NEED decode frame packet on CUDA video decoder, in theoretical are:

    cuvidDecodePicture(pDecoder,&picParams);

    BUT before I need fill CUVIDPICPARAMS

    CUVIDPICPARAMS picParams;//=new CUVIDPICPARAMS;
    memset(&picParams, 0, sizeof(CUVIDPICPARAMS));

    HOW CAN I FILL "CUVIDPICPARAMS" struc ???

    typedef struct _CUVIDPICPARAMS
    {
       int PicWidthInMbs;      // Coded Frame Size
       int FrameHeightInMbs;   // Coded Frame Height
       int CurrPicIdx;         // Output index of the current picture
       int field_pic_flag;     // 0=frame picture, 1=field picture
       int bottom_field_flag;  // 0=top field, 1=bottom field (ignored if field_pic_flag=0)
       int second_field;       // Second field of a complementary field pair
       // Bitstream data
       unsigned int nBitstreamDataLen;        // Number of bytes in bitstream data buffer
       const unsigned char *pBitstreamData;   // Ptr to bitstream data for this picture (slice-layer)
       unsigned int nNumSlices;               // Number of slices in this picture
       const unsigned int *pSliceDataOffsets; // nNumSlices entries, contains offset of each slice within the bitstream data buffer
       int ref_pic_flag;       // This picture is a reference picture
       int intra_pic_flag;     // This picture is entirely intra coded
       unsigned int Reserved[30];             // Reserved for future use
       // Codec-specific data
       union {
           CUVIDMPEG2PICPARAMS mpeg2;          // Also used for MPEG-1
           CUVIDH264PICPARAMS h264;
           CUVIDVC1PICPARAMS vc1;
           CUVIDMPEG4PICPARAMS mpeg4;
           CUVIDJPEGPICPARAMS jpeg;
           unsigned int CodecReserved[1024];
       } CodecSpecific;
    } CUVIDPICPARAMS;

    typedef struct _CUVIDH264PICPARAMS
    {
       // SPS
       int log2_max_frame_num_minus4;
       int pic_order_cnt_type;
       int log2_max_pic_order_cnt_lsb_minus4;
       int delta_pic_order_always_zero_flag;
       int frame_mbs_only_flag;
       int direct_8x8_inference_flag;
       int num_ref_frames;             // NOTE: shall meet level 4.1 restrictions
       unsigned char residual_colour_transform_flag;
       unsigned char bit_depth_luma_minus8;    // Must be 0 (only 8-bit supported)
       unsigned char bit_depth_chroma_minus8;  // Must be 0 (only 8-bit supported)
       unsigned char qpprime_y_zero_transform_bypass_flag;
       // PPS
       int entropy_coding_mode_flag;
       int pic_order_present_flag;
       int num_ref_idx_l0_active_minus1;
       int num_ref_idx_l1_active_minus1;
       int weighted_pred_flag;
       int weighted_bipred_idc;
       int pic_init_qp_minus26;
       int deblocking_filter_control_present_flag;
       int redundant_pic_cnt_present_flag;
       int transform_8x8_mode_flag;
       int MbaffFrameFlag;
       int constrained_intra_pred_flag;
       int chroma_qp_index_offset;
       int second_chroma_qp_index_offset;
       int ref_pic_flag;
       int frame_num;
       int CurrFieldOrderCnt[2];
       // DPB
       CUVIDH264DPBENTRY dpb[16];          // List of reference frames within the DPB
       // Quantization Matrices (raster-order)
       unsigned char WeightScale4x4[6][16];
       unsigned char WeightScale8x8[2][64];
       // FMO/ASO
       unsigned char fmo_aso_enable;
       unsigned char num_slice_groups_minus1;
       unsigned char slice_group_map_type;
       signed char pic_init_qs_minus26;
       unsigned int slice_group_change_rate_minus1;
       union
       {
           unsigned long long slice_group_map_addr;
           const unsigned char *pMb2SliceGroupMap;
       } fmo;
       unsigned int  Reserved[12];
       // SVC/MVC
       union
       {
           CUVIDH264MVCEXT mvcext;
           CUVIDH264SVCEXT svcext;
       };
    } CUVIDH264PICPARAMS;

    How can I fill "CUVIDPICPARAMS" struc ???
    Is it possible?