Recherche avancée

Médias (91)

Autres articles (87)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (8936)

  • Why does ffmpeg show a corrupted video when receiving stream in MPEG TS format ?

    20 décembre 2019, par Carlo

    I’m trying to stream a CCTV footage using RTP/MPEGTS. I can properly view it in vlc using the following command(I’m using windows 10) :

    vlc --demux ts rtp://239.194.115.71:5000

    vlc

    The problem arises when I tried to receive and play it in ffmpeg using the following command :

    ffplay -f mpegts rtp://239.194.115.71:5000

    I’m getting a semi decent video for the first 5 seconds :

    first5

    After 5 seconds the video gets droopy and corrupted
    (note that the top part of the video seems to be unaffected)

    after5

    Compete logs can be found here : https://pastebin.com/7CvbFsQK

    This is some of the logs from ffmpeg :

    [udp @ 00000296e31a4480] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)
    [udp @ 00000296e319f400] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)
    [mpegts @ 00000296e31a4880] Unable to seek back to the start
    [mpegts @ 00000296e31a4880] Unable to seek back to the startf=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [h264 @ 00000296e31c9e80] SPS unavailable in decode_picture_timing
    [h264 @ 00000296e31c9e80] non-existing PPS 0 referenced
    [h264 @ 00000296e31c9e80] SPS unavailable in decode_picture_timing
    [h264 @ 00000296e31c9e80] non-existing PPS 0 referenced
    [h264 @ 00000296e31c9e80] decode_slice_header error
    [h264 @ 00000296e31c9e80] no frame!
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [h264 @ 00000296e31c9e80] SPS unavailable in decode_picture_timing
    [h264 @ 00000296e31c9e80] non-existing PPS 0 referenced
    [h264 @ 00000296e31c9e80] SPS unavailable in decode_picture_timing
    [h264 @ 00000296e31c9e80] non-existing PPS 0 referenced
    [h264 @ 00000296e31c9e80] decode_slice_header error
    [h264 @ 00000296e31c9e80] no frame!
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [h264 @ 00000296e31c9e80] SPS unavailable in decode_picture_timing
    [h264 @ 00000296e31c9e80] non-existing PPS 0 referenced
    [h264 @ 00000296e31c9e80] SPS unavailable in decode_picture_timing
    [h264 @ 00000296e31c9e80] non-existing PPS 0 referenced
    [h264 @ 00000296e31c9e80] decode_slice_header error
    [h264 @ 00000296e31c9e80] no frame!
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [h264 @ 00000296e31c9e80] SPS unavailable in decode_picture_timing
    [h264 @ 00000296e31c9e80] non-existing PPS 0 referenced
    [h264 @ 00000296e31c9e80] SPS unavailable in decode_picture_timing
    [h264 @ 00000296e31c9e80] non-existing PPS 0 referenced
    [h264 @ 00000296e31c9e80] decode_slice_header error
    [h264 @ 00000296e31c9e80] no frame!
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [h264 @ 00000296e31c9e80] left block unavailable for requested intra4x4 mode -1
    [h264 @ 00000296e31c9e80] error while decoding MB 0 6, bytestream 150225
    [h264 @ 00000296e31c9e80] concealing 7489 DC, 7489 AC, 7489 MV errors in I frame
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [h264 @ 00000296e31c9e80] concealing 7487 DC, 7487 AC, 7487 MV errors in P frame
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [h264 @ 00000296e31c9e80] cabac decode of qscale diff failed at 64 24
    [h264 @ 00000296e31c9e80] error while decoding MB 64 24, bytestream 15698
    [h264 @ 00000296e31c9e80] concealing 5265 DC, 5265 AC, 5265 MV errors in P frame
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192  0B f=0/0
    [mpegts @ 00000296e31a4880] changing packet size to 204
    [mpegts @ 00000296e31a4880] changing packet size to 192
    [mpegts @ 00000296e31a4880] changing packet size to 204
    Input #0, mpegts, from 'rtp://239.194.115.71:5000':q=    0B f=0/0
     Duration: N/A, start: 67510.427322, bitrate: N/A
     Program 1
       Stream #0:0[0x1011]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    [h264 @ 00000296e8195180] left block unavailable for requested intra4x4 mode -1
    [h264 @ 00000296e8195180] error while decoding MB 0 6, bytestream 150225
    [h264 @ 00000296e8195180] concealing 7489 DC, 7489 AC, 7489 MV errors in I frame
    [h264 @ 00000296e3235200] concealing 7487 DC, 7487 AC, 7487 MV errors in P frame
    [h264 @ 00000296e3235200] cabac decode of qscale diff failed at 64 24
    [h264 @ 00000296e3235200] error while decoding MB 64 24, bytestream 15698
    [h264 @ 00000296e3235200] concealing 5265 DC, 5265 AC, 5265 MV errors in P frame
    [h264 @ 00000296e819b400] concealing 7425 DC, 7425 AC, 7425 MV errors in P frame
    [h264 @ 00000296e8195180] cabac decode of qscale diff failed at 27 49
    [h264 @ 00000296e8195180] error while decoding MB 27 49, bytestream 5976
    [h264 @ 00000296e8195180] concealing 2302 DC, 2302 AC, 2302 MV errors in P frame
    [h264 @ 00000296e8195180] concealing 4980 DC, 4980 AC, 4980 MV errors in I frame
    [h264 @ 00000296e819b400] concealing 1322 DC, 1322 AC, 1322 MV errors in P frame
    [h264 @ 00000296e3235200] concealing 619 DC, 619 AC, 619 MV errors in P frame
    [h264 @ 00000296e82ce6c0] concealing 6875 DC, 6875 AC, 6875 MV errors in P frame
    [h264 @ 00000296e819b400] concealing 6462 DC, 6462 AC, 6462 MV errors in P frame
    [h264 @ 00000296e819bb80] concealing 4570 DC, 4570 AC, 4570 MV errors in P frame
    [h264 @ 00000296e8195180] concealing 4196 DC, 4196 AC, 4196 MV errors in P frame
    [h264 @ 00000296e819bb80] cabac decode of qscale diff failed at 1 15
    [h264 @ 00000296e819bb80] error while decoding MB 1 15, bytestream 20111
    [h264 @ 00000296e819bb80] concealing 6408 DC, 6408 AC, 6408 MV errors in P frame
    [h264 @ 00000296e8195180] left block unavailable for requested intra mode
    [h264 @ 00000296e8195180] error while decoding MB 0 46, bytestream 59771
    [h264 @ 00000296e8195180] concealing 2689 DC, 2689 AC, 2689 MV errors in I frame
    [h264 @ 00000296e819bb80] concealing 3478 DC, 3478 AC, 3478 MV errors in P frame
    [h264 @ 00000296e819bb80] concealing 6970 DC, 6970 AC, 6970 MV errors in P frame
    [h264 @ 00000296e8195180] concealing 6875 DC, 6875 AC, 6875 MV errors in P frame
    [h264 @ 00000296e8195180] left block unavailable for requested intra4x4 mode -1
    [h264 @ 00000296e8195180] error while decoding MB 0 31, bytestream 92665
    [h264 @ 00000296e8195180] concealing 4489 DC, 4489 AC, 4489 MV errors in I frame
    [h264 @ 00000296e3235200] concealing 2421 DC, 2421 AC, 2421 MV errors in P frame
    [h264 @ 00000296e819b400] concealing 7268 DC, 7268 AC, 7268 MV errors in P frame
    [h264 @ 00000296e3235200] concealing 6889 DC, 6889 AC, 6889 MV errors in P frame
    [h264 @ 00000296e82ce6c0] concealing 4213 DC, 4213 AC, 4213 MV errors in P frame
    [h264 @ 00000296e819bb80] concealing 6255 DC, 6255 AC, 6255 MV errors in P frame
    [h264 @ 00000296e8195180] left block unavailable for requested intra4x4 mode -1
    [h264 @ 00000296e8195180] error while decoding MB 0 2, bytestream 169691
    [h264 @ 00000296e8195180] concealing 7969 DC, 7969 AC, 7969 MV errors in I frame
    [h264 @ 00000296e3235200] concealing 1707 DC, 1707 AC, 1707 MV errors in P frame
    [h264 @ 00000296e82ce6c0] left block unavailable for requested intra mode
    [h264 @ 00000296e82ce6c0] error while decoding MB 0 20, bytestream 16584
    [h264 @ 00000296e82ce6c0] concealing 5809 DC, 5809 AC, 5809 MV errors in P frame
    [h264 @ 00000296e3235200] cabac decode of qscale diff failed at 17 15
    [h264 @ 00000296e3235200] error while decoding MB 17 15, bytestream 18775
    [h264 @ 00000296e3235200] concealing 6392 DC, 6392 AC, 6392 MV errors in P frame

    Wireshark packet dump :

    https://drive.google.com/open?id=1zppjXVgEcL8Ws-xP3e1J7NJF1UGdPzMA

    What could be problem with ffmpeg playing the stream, could it be the codec used ?

  • FFMPEG extracting 1 second resized with copy codec

    28 avril 2019, par boblapointe

    How can I extract 1 second ( using fast seek ) from a video, resize it, using vp9 ? I always get the same errors. Here are the bare bone commands I’m trying :

    ffmpeg -ss 00:00:10 -i test.webm -to 00:00:01 -filter:v "scale=min(iw\,1280):min(ih\,720):force_original_aspect_ratio=decrease" -c:v libvpx-vp9 -y output.webm

    It returns :

    "Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)

    After playing around I realize that this will work :

    ffmpeg -ss 00:00:10 -i test.webm -to 00:00:01 -c copy -y output.webm

    Not ideal but at least it works, so I add the filter :

    ffmpeg -ss 00:00:10 -i test.webm -to 00:00:01 -filter:v "scale=min(iw\,1280):min(ih\,720):force_original_aspect_ratio=decrease" -c copy -y output.webm

    Ant then I get :

    "Filtering and streamcopy cannot be used together."

    I’ve tried all kinds of combinations, unsuccessfully. Any hint would be appreciated. Thank you


    Here is the full log of the first command :

        ffmpeg version 3.4.4-0ubuntu0.18.04.1 Copyright (c) 2000-2018 the FFmpeg developers
          built with gcc 7 (Ubuntu 7.3.0-16ubuntu3)
          configuration : —prefix=/usr —extra-version=0ubuntu0.18.04.1 —toolchain=hardened —libdir=/usr/lib/x86_64-linux-gnu —incdir=/usr/include/x86_64-linux-gnu —enable-gpl —disable-stripping —enable-avresample —enable-avisynth —enable-gnutls —enable-ladspa —enable-libass —enable-libbluray —enable-libbs2b —enable-libcaca —enable-libcdio —enable-libflite —enable-libfontconfig —enable-libfreetype —enable-libfribidi —enable-libgme —enable-libgsm —enable-libmp3lame —enable-libmysofa —enable-libopenjpeg —enable-libopenmpt —enable-libopus —enable-libpulse —enable-librubberband —enable-librsvg —enable-libshine —enable-libsnappy —enable-libsoxr —enable-libspeex —enable-libssh —enable-libtheora —enable-libtwolame —enable-libvorbis —enable-libvpx —enable-libwavpack —enable-libwebp —enable-libx265 —enable-libxml2 —enable-libxvid —enable-libzmq —enable-libzvbi —enable-omx —enable-openal —enable-opengl —enable-sdl2 —enable-libdc1394 —enable-libdrm —enable-libiec61883 —enable-chromaprint —enable-frei0r —enable-libopencv —enable-libx264 —enable-shared
          libavutil      55. 78.100 / 55. 78.100
          libavcodec     57.107.100 / 57.107.100
          libavformat    57. 83.100 / 57. 83.100
          libavdevice    57. 10.100 / 57. 10.100
          libavfilter     6.107.100 /  6.107.100
          libavresample   3.  7.  0 /  3.  7.  0
          libswscale      4.  8.100 /  4.  8.100
          libswresample   2.  9.100 /  2.  9.100
          libpostproc    54.  7.100 / 54.  7.100
        Splitting the commandline.
        Reading option ’-ss’ ... matched as option ’ss’ (set the start time offset) with argument ’00:00:10’.
        Reading option ’-i’ ... matched as input url with argument ’test.webm’.
        Reading option ’-to’ ... matched as option ’to’ (record or transcode stop time) with argument ’00:00:01’.
        Reading option ’-filter:v’ ... matched as option ’filter’ (set stream filtergraph) with argument ’scale=min(iw\,1280):min(ih\,720):force_original_aspect_ratio=decrease’.
        Reading option ’-c:v’ ... matched as option ’c’ (codec name) with argument ’libvpx-vp9’.
        Reading option ’-y’ ... matched as option ’y’ (overwrite output files) with argument ’1’.
        Reading option ’-v’ ... matched as option ’v’ (set logging level) with argument ’debug’.
        Reading option ’output.webm’ ... matched as output url.
        Finished splitting the commandline.
        Parsing a group of options : global .
        Applying option y (overwrite output files) with argument 1.
        Applying option v (set logging level) with argument debug.
        Successfully parsed a group of options.
        Parsing a group of options : input url test.webm.
        Applying option ss (set the start time offset) with argument 00:00:10.
        Successfully parsed a group of options.
        Opening an input file : test.webm.
        [NULL @ 0x55ce679f8920] Opening ’test.webm’ for reading
        [file @ 0x55ce679f9340] Setting default whitelist ’file,crypto’
        [matroska,webm @ 0x55ce679f8920] Format matroska,webm probed with size=2048 and score=100
        st:0 removing common factor 1000000 from timebase
        [matroska,webm @ 0x55ce679f8920] Before avformat_find_stream_info() pos : 566 bytes read:32768 seeks:0 nb_streams:1
        [matroska,webm @ 0x55ce679f8920] All info found
        [matroska,webm @ 0x55ce679f8920] After avformat_find_stream_info() pos : 72449 bytes read:72449 seeks:0 frames:1
        Input #0, matroska,webm, from ’test.webm’ :
          Metadata :
            ENCODER : Lavf57.83.100
          Duration : 00:00:15.03, start : 5.016000, bitrate : 1146 kb/s
            Stream #0:0(eng), 1, 1/1000 : Video : vp9 (Profile 0), 1 reference frame, yuv420p(tv), 1280x720, 0/1, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 1k tbc (default)
            Metadata :
              DURATION : 00:00:15.025000000
        Successfully opened the file.
        Parsing a group of options : output url output.webm.
        Applying option to (record or transcode stop time) with argument 00:00:01.
        Applying option filter:v (set stream filtergraph) with argument scale=min(iw\,1280):min(ih\,720):force_original_aspect_ratio=decrease.
        Applying option c:v (codec name) with argument libvpx-vp9.
        Successfully parsed a group of options.
        Opening an output file : output.webm.
        [file @ 0x55ce67b1e820] Setting default whitelist ’file,crypto’
        Successfully opened the file.
        detected 8 logical cores
        Stream mapping :
          Stream #0:0 -> #0:0 (vp9 (native) -> vp9 (libvpx-vp9))
        Press [q] to stop, [?] for help
        cur_dts is invalid (this is harmless if it occurs once at the start per stream)
            Last message repeated 1 times
        [matroska,webm @ 0x55ce679f8920] first_dts 5016 not matching first dts 10395 (pts 10395, duration 41) in the queue
        cur_dts is invalid (this is harmless if it occurs once at the start per stream)
            Last message repeated 6 times
        [Parsed_scale_0 @ 0x55ce67a7c520] Setting ’w’ to value ’min(iw,1280)’
        [Parsed_scale_0 @ 0x55ce67a7c520] Setting ’h’ to value ’min(ih,720)’
        [Parsed_scale_0 @ 0x55ce67a7c520] Setting ’force_original_aspect_ratio’ to value ’decrease’
        [Parsed_scale_0 @ 0x55ce67a7c520] Setting ’flags’ to value ’bicubic’
        [Parsed_scale_0 @ 0x55ce67a7c520] w:min(iw,1280) h:min(ih,720) flags :’bicubic’ interl:0
        [graph 0 input from stream 0:0 @ 0x55ce67a7cea0] Setting ’video_size’ to value ’1280x720’
        [graph 0 input from stream 0:0 @ 0x55ce67a7cea0] Setting ’pix_fmt’ to value ’0’
        [graph 0 input from stream 0:0 @ 0x55ce67a7cea0] Setting ’time_base’ to value ’1/1000’
        [graph 0 input from stream 0:0 @ 0x55ce67a7cea0] Setting ’pixel_aspect’ to value ’1/1’
        [graph 0 input from stream 0:0 @ 0x55ce67a7cea0] Setting ’sws_param’ to value ’flags=2’
        [graph 0 input from stream 0:0 @ 0x55ce67a7cea0] Setting ’frame_rate’ to value ’24000/1001’
        [graph 0 input from stream 0:0 @ 0x55ce67a7cea0] w:1280 h:720 pixfmt:yuv420p tb:1/1000 fr:24000/1001 sar:1/1 sws_param:flags=2
        [format @ 0x55ce67ad7d60] compat : called with args=[yuv420p|yuva420p|yuv422p|yuv440p|yuv444p|gbrp]
        [format @ 0x55ce67ad7d60] Setting ’pix_fmts’ to value ’yuv420p|yuva420p|yuv422p|yuv440p|yuv444p|gbrp’
        [AVFilterGraph @ 0x55ce67aec740] query_formats : 6 queried, 5 merged, 0 already done, 0 delayed
        [Parsed_scale_0 @ 0x55ce67a7c520] w:1280 h:720 fmt:yuv420p sar:1/1 -> w:1280 h:720 fmt:yuv420p sar:1/1 flags:0x4
        [libvpx-vp9 @ 0x55ce67b32200] v1.7.0
        [libvpx-vp9 @ 0x55ce67b32200] —prefix=/usr —enable-pic —enable-shared —disable-install-bins —disable-install-srcs —size-limit=16384x16384 —enable-postproc —enable-multi-res-encoding —enable-temporal-denoising —enable-vp9-temporal-denoising —enable-vp9-postproc —target=x86_64-linux-gcc
        [libvpx-vp9 @ 0x55ce67b32200] vpx_codec_enc_cfg
        [libvpx-vp9 @ 0x55ce67b32200] generic settings
          g_usage :                      0
          g_threads :                    8
          g_profile :                    0
          g_w :                          320
          g_h :                          240
          g_bit_depth :                  8
          g_input_bit_depth :            8
          g_timebase :                   1/30
          g_error_resilient :            0
          g_pass :                       0
          g_lag_in_frames :              25
        [libvpx-vp9 @ 0x55ce67b32200] rate control settings
          rc_dropframe_thresh :          0
          rc_resize_allowed :            0
          rc_resize_up_thresh :          60
          rc_resize_down_thresh :        30
          rc_end_usage :                 0
          rc_twopass_stats_in :          (nil)(0)
          rc_target_bitrate :            256
        [libvpx-vp9 @ 0x55ce67b32200] quantizer settings
          rc_min_quantizer :             0
          rc_max_quantizer :             63
        [libvpx-vp9 @ 0x55ce67b32200] bitrate tolerance
          rc_undershoot_pct :            25
          rc_overshoot_pct :             25
        [libvpx-vp9 @ 0x55ce67b32200] decoder buffer model
          rc_buf_sz :                    6000
          rc_buf_initial_sz :            4000
          rc_buf_optimal_sz :            5000
        [libvpx-vp9 @ 0x55ce67b32200] 2 pass rate control settings
          rc_2pass_vbr_bias_pct :        50
          rc_2pass_vbr_minsection_pct :  0
          rc_2pass_vbr_maxsection_pct :  2000
        [libvpx-vp9 @ 0x55ce67b32200] keyframing settings
          kf_mode :                      1
          kf_min_dist :                  0
          kf_max_dist :                  128
        [libvpx-vp9 @ 0x55ce67b32200]
        [libvpx-vp9 @ 0x55ce67b32200] vpx_codec_enc_cfg
        [libvpx-vp9 @ 0x55ce67b32200] generic settings
          g_usage :                      0
          g_threads :                    0
          g_profile :                    0
          g_w :                          1280
          g_h :                          720
          g_bit_depth :                  8
          g_input_bit_depth :            8
          g_timebase :                   1001/24000
          g_error_resilient :            0
          g_pass :                       0
          g_lag_in_frames :              25
        [libvpx-vp9 @ 0x55ce67b32200] rate control settings
          rc_dropframe_thresh :          0
          rc_resize_allowed :            0
          rc_resize_up_thresh :          60
          rc_resize_down_thresh :        30
          rc_end_usage :                 0
          rc_twopass_stats_in :          (nil)(0)
          rc_target_bitrate :            200
        [libvpx-vp9 @ 0x55ce67b32200] quantizer settings
          rc_min_quantizer :             0
          rc_max_quantizer :             63
        [libvpx-vp9 @ 0x55ce67b32200] bitrate tolerance
          rc_undershoot_pct :            25
          rc_overshoot_pct :             25
        [libvpx-vp9 @ 0x55ce67b32200] decoder buffer model
          rc_buf_sz :                    6000
          rc_buf_initial_sz :            4000
          rc_buf_optimal_sz :            5000
        [libvpx-vp9 @ 0x55ce67b32200] 2 pass rate control settings
          rc_2pass_vbr_bias_pct :        50
          rc_2pass_vbr_minsection_pct :  0
          rc_2pass_vbr_maxsection_pct :  2000
        [libvpx-vp9 @ 0x55ce67b32200] keyframing settings
          kf_mode :                      1
          kf_min_dist :                  0
          kf_max_dist :                  128
        [libvpx-vp9 @ 0x55ce67b32200]
        [libvpx-vp9 @ 0x55ce67b32200] vpx_codec_control
        [libvpx-vp9 @ 0x55ce67b32200]   VP8E_SET_CPUUSED :             1
        [libvpx-vp9 @ 0x55ce67b32200]   VP8E_SET_ARNR_MAXFRAMES :      0
        [libvpx-vp9 @ 0x55ce67b32200]   VP8E_SET_ARNR_STRENGTH :       3
        [libvpx-vp9 @ 0x55ce67b32200]   VP8E_SET_ARNR_TYPE :           3
        [libvpx-vp9 @ 0x55ce67b32200]   VP8E_SET_STATIC_THRESHOLD :    0
        [libvpx-vp9 @ 0x55ce67b32200]   VP9E_SET_COLOR_SPACE :         0
        [libvpx-vp9 @ 0x55ce67b32200]   VP9E_SET_COLOR_RANGE :         0
        [libvpx-vp9 @ 0x55ce67b32200]   VP9E_SET_TARGET_LEVEL :        255
        [libvpx-vp9 @ 0x55ce67b32200] Using deadline : 1000000
        Output #0, webm, to ’output.webm’ :
          Metadata :
            encoder : Lavf57.83.100
            Stream #0:0(eng), 0, 1/1000 : Video : vp9 (libvpx-vp9), 1 reference frame, yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 0/1, q=-1—1, 200 kb/s, 23.98 fps, 1k tbn, 23.98 tbc (default)
            Metadata :
              DURATION : 00:00:15.025000000
              encoder : Lavc57.107.100 libvpx-vp9
            Side data :
              cpb : bitrate max/min/avg : 0/0/0 buffer size : 0 vbv_delay : -1
        cur_dts is invalid (this is harmless if it occurs once at the start per stream)
            Last message repeated 120 times
        [out_0_0 @ 0x55ce67ac35a0] EOF on sink link out_0_0:default.
        No more output streams to write to, finishing.
        [webm @ 0x55ce67b2e2a0] get_metadata_duration returned : 15025000
        [webm @ 0x55ce67b2e2a0] Write early duration from recording time = 1000
        [webm @ 0x55ce67b2e2a0] end duration = 0
        [webm @ 0x55ce67b2e2a0] stream 0 end duration = 0
        frame=    0 fps=0.0 q=0.0 Lsize=       1kB time=00:00:00.00 bitrate=N/A speed=   0x
        video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead : unknown
        Input file #0 (test.webm) :
          Input stream #0:0 (video) : 120 packets read (1031599 bytes) ; 112 frames decoded ;
          Total : 120 packets (1031599 bytes) demuxed
        Output file #0 (output.webm) :
          Output stream #0:0 (video) : 0 frames encoded ; 0 packets muxed (0 bytes) ;
          Total : 0 packets (0 bytes) muxed
        Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)
        112 frames successfully decoded, 0 decoding errors
        [AVIOContext @ 0x55ce67b2e9a0] Statistics : 13 seeks, 9 writeouts
        [AVIOContext @ 0x55ce67a01660] Statistics : 2137508 bytes read, 4 seeks
    
  • using uploaded filename for ffmpeg input in php script

    12 mars 2015, par Markjose

    I am looking for a solution to pull the filename recently uploaded and into this ffmpeg syntax

       shell_exec("ffmpeg -re -i ( Uploaded filename) -vcodec copy -acodec copy -f mpegts udp://239.1.1.1:5000");

    The above syntax works fine if I replace "(uploaded filename)" with a .ts video file.
    I have had a look around but there is nothing which fits this description.

    my upload.php script

    if(isset($_FILES['uploadedfile']) && !empty($_FILES['uploadedfile'])){
     $target_path = "upload/";
     $target = $target_path . basename($_FILES['uploadedfile']['name']);
     }
     if(move_uploaded_file($_FILES['uploadedfile']['tmp_name'] , $target))
     {
      $_SESSION['upload_success'] = "File successfully uploaded.";

      shell_exec("ffmpeg -re -i /var/www/html/upload/x265manual.ts -vcodec copy -acodec copy -f mpegts udp://239.1.1.1:5000");  

    This works fine for playing back x265manual.ts after file upload, but i would like the system to obtain the file name from the uploaded filename.

    Is this possible ?
    Would it be easier for me to create a new php file for the ffmpeg syntax ?

    Thanks

    Mark