Recherche avancée

Médias (0)

Mot : - Tags -/presse-papier

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

Autres articles (59)

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

    5 septembre 2013, par

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

  • 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

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

Sur d’autres sites (5963)

  • ffmpeg : failed to convert m3u8 to mp4

    4 mars 2016, par 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

  • getting black and white image after encoding

    16 mai 2012, par user1310596

    I am trying to encode image using ffmpeg library and objective c. I am using following code but I am getting black and white image as the result. Is there something to do with pixel format(PIX_FMT) ? Please help me so that I can get colored image.

    av_register_all();
    avcodec_init();
    avcodec_register_all();
    avformat_alloc_context();

    AVCodec *codec;
    AVCodecContext *ctx= NULL;
    int out_size, size, outbuf_size;
    AVFrame *picture;
    uint8_t *outbuf;
    unsigned char *flvdata = malloc(sizeof(unsigned char) * 30);


    outbuf_size = 200000;
    outbuf = malloc(outbuf_size);


    printf("Video encoding\n");

    codec = avcodec_find_encoder(CODEC_ID_FLV1);
    if (!codec) {
           fprintf(stderr, "codec not found\n");
           exit(1);
    }

    ctx= avcodec_alloc_context();
    picture= avcodec_alloc_frame();


    ctx->width = 320;
    ctx->height = 240;
    ctx -> sample_rate = 11025;
    ctx -> time_base.den = 1000;
    ctx -> time_base.num = 23976;
    ctx -> codec_id = CODEC_ID_FLV1;
    ctx -> codec_type = CODEC_TYPE_VIDEO;
    ctx->pix_fmt = PIX_FMT_YUV420P;

    if (avcodec_open(ctx, codec) < 0) {
           fprintf(stderr, "could not open codec\n");
           exit(1);
    }

    outbuf_size = 100000;
    outbuf = malloc(outbuf_size);
    size = ctx->width * ctx->height;

    AVFrame* outpic = avcodec_alloc_frame();
    int nbytes = avpicture_get_size(PIX_FMT_YUV420P, ctx->width, ctx->height);

    uint8_t* outbuffer = (uint8_t*)av_malloc(nbytes);

    fflush(stdout);

    int numBytes = avpicture_get_size(PIX_FMT_YUV420P, ctx->width, ctx->height);

    UIImage *image = [UIImage imageNamed:[NSString stringWithFormat:@"0.jpg"]];
    CGImageRef newCgImage = [image CGImage];

    CGDataProviderRef dataProvider = CGImageGetDataProvider(newCgImage);
    CFDataRef bitmapData = CGDataProviderCopyData(dataProvider);
    long dataLength = CFDataGetLength(bitmapData);

    uint8_t *buffer = (uint8_t *)av_malloc(dataLength);
    buffer = (uint8_t *)CFDataGetBytePtr(bitmapData);

    for(int i = 0; i < dataLength; i++)
    {
           if((i + 1) % 16 == 1 && i != 1)
                   printf("\n");
           printf("%X\t",buffer[i]); // getting something different than the     actual hex value of the image
    }



    outpic -> pts = 0;        

    avpicture_fill((AVPicture*)picture, buffer, PIX_FMT_RGB8, ctx->width, ctx->height);

    avpicture_fill((AVPicture*)outpic, outbuffer, PIX_FMT_YUV420P, ctx->width, ctx->height);

    struct SwsContext* fooContext = sws_getContext(ctx->width, ctx->height,
                                                          PIX_FMT_RGB8,
                                                          ctx->width, ctx->height,
                                                          PIX_FMT_YUV420P,
                                                          SWS_FAST_BILINEAR, NULL, NULL, NULL);

    sws_scale(fooContext, picture->data, picture->linesize, 0, ctx->height, outpic->data, outpic->linesize);

    printf("abcdefghijklmnop");
    out_size = avcodec_encode_video(ctx, outbuf, outbuf_size, outpic);
    printf("\n\n out_size %d   outbuf_size %d",out_size,outbuf_size);

    Thanks in advance

  • Encoding video only FLV

    25 mars 2012, par NadavRub

    I am trying to generate a video only FLV file, I am using :

    1. libx264 + ffmpeg
    2. 30 fps ( fixed )
    3. playback is done using VLC 2.0.1 and flowplayer

    When playing the FLV the frame-rate seems 1 frame per sec, following is the way I cfg ffmpeg :

    AVOutputFormat* fmtOutput = av_oformat_next(0);
    while((0 != fmtOutput) && (0 != strcmp(fmtOutput->name, "flv")))
       fmtOutput = av_oformat_next(fmtOutput);
    m_pFmtCtxOutput          = avformat_alloc_context();
    m_pFmtCtxOutput->oformat = fmtOutput;

    AVStream* pOutVideoStream= av_new_stream(m_pFmtCtxOutput, pInVideoStream->id);
    AVCodec*  videoEncoder   = avcodec_find_encoder(CODEC_ID_H264);

    pOutVideoStream->codec->width    = 640;
    pOutVideoStream->codec->height   = 480;
    pOutVideoStream->codec->level    = 30;
    pOutVideoStream->codec->pix_fmt  = PIX_FMT_YUV420P;
    pOutVideoStream->codec->bit_rate = 3000000;

    pOutVideoStream->cur_dts         = 0;
    pOutVideoStream->first_dts       = 0;
    pOutVideoStream->index           = 0;
    pOutVideoStream->avg_frame_rate  = (AVRational){ 30, 1 };
    pOutVideoStream->time_base       =
    pOutVideoStream->codec->time_base= (AVRational){ 1, 30000 };
    pOutVideoStream->codec->gop_size = 30;
    %% Some specific libx264 settings %%
    m_dVideoStep                     = 1000;// packet dts/pts is incremented by this amount each frame

    pOutVideoStream->codec->flags   |= CODEC_FLAG_GLOBAL_HEADER;
    avcodec_open(pOutVideoStream->codec, videoEncoder);

    The resulting file seems OK, with the exception of the playback frame-rate.
    having in mind that :

    1. pOutVideoStream->avg_frame_rate = (AVRational) 30, 1  ;
    2. pOutVideoStream->time_base = (AVRational) 1, 30000  ;
    3. pOutVideoStream->codec->time_base= (AVRational) 1, 30000  ;
    4. For each frame I increment the dts/pts by 1000

    What am I doing wrong here ? why the file is playing choppy ( 1 fps ) ?

    Any help will be appreciated.

    Nadav at Sophin