Recherche avancée

Médias (1)

Mot : - Tags -/university

Autres articles (50)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • 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

Sur d’autres sites (10363)

  • -12909 error decoding h264 stream with intra-refresh

    2 juillet 2024, par ciclopez

    I'm making an iOS app that decodes an h264 stream using video-toolbox. I create the stream with ffmpeg on a PC and send it to an iPhone using RTP. It's working nicely when I use this command to create it :

    



    ffmpeg -y -f:v rawvideo -c:v rawvideo -s 1280x720 -pix_fmt bgra -r 30 -an -i - -pix_fmt yuv420p -c:v libx264 -tune zerolatency -preset fast -b:v 5M -refs 1 -g 30 -profile:v high -level 4.1 -f rtp rtp://192.168.1.100:5678


    



    The iPhone receives and displays all the frames. However, when I enable intra-refresh

    



    -intra-refresh 1


    



    decoding fails with error code -12909 (-8969 on simulator) when VTDecompressionSessionDecodeFrame() is called.

    



    I take care of processing UDP packets to extract NAL Units, so I triple checked this process and discarded a problem with this part of the code.

    



    I didn't find any info about Video-toolbox not supporting intra-refresh, so the question is, does Video-toolbox support intra-refresh ? and if it does, am I missing something in the ffmpeg side that makes the stream not supported by Video-toolbox ?
Do I have to add something to the CMVideoFormatDescriptionRef apart from creating it with SPS and PPS data using CMVideoFormatDescriptionCreateFromH264ParameterSets() ?

    


  • AV Foundation or FFmpeg tutorials [closed]

    30 novembre 2012, par time

    I want to edit video on iPhone, so I search and found that there are two ways : AV Foundation and FFmpeg. The problem is that I am unable to find any tutorial to start working with them. Could someone please provide me with some links ?

  • Relocated ffmpeg example files fail

    17 novembre 2020, par CT99

    I'm trying to use some ffmpeg calls in my own program, the basis of which I'm editing the ffmpeg example program remuxing.c. I'm trying to use some of the ffmpeg calls in my own program.

    


    I'm running Ubuntu 18.04.5 on a generic Linux box.

    


    To help better understand what I've done and where I've having problems, I'll out line what I've done and what is not working.

    


    Steps I've successfully completed :

    


    — I've have downloaded the ffmpeg code base and example files

    


    — Next I did a './configure', then 'make', then 'make install' and 'make examples' to make the libraries and examples

    


    — I tested some of the examples and they ran fine from the default install directory

    


    — specifically, when I test remuxing.c in the original ffmpeg downloaded dir — compile and run — it works fine

    


        ./remuxing /data/iphone-h264.m4v /tmp/test15.ts


    


    — this creates a .ts output file that I can test and is readable by vlc

    


    Having ensured that I correctly compiled and tested ffmpeg source and its example files, I next move to working my own program based on the example remuxing.c

    


    — I copied the original remuxing.c into my own test directory structure

    


    — I make it by running this to link in the required ffmpeg libraries (I think)

    


        cc -DLINUX -o remuxing remuxing.c -I ../ffmpeg/libavformat -lavformat -I ../ffmpeg/libavcodec -lavcodec -I ../ffmpeg/libswresample -lswresample -I ../ffmpeg/libavutil -lavutil -lpthread -lm


    


    — however when I try to generate a test16.ts file (to know it is different from the one I created before) I get an error :

    


        ./remuxing /data/iphone-h264.m4v /tmp/test16.ts
    Could not open input file '/data/iphone-h264.m4v’ Error occurred: Invalid data found when processing input


    


    This is the exact same video file the same program converted from the installed doc/examples directory.

    


    QUESTION — why is this happening — what am I doing wrong ?

    


    I guess I may not be properly linking in the ffmpeg libraries ?? — but I'm not sure what I'm doing wrong.

    


    I can also post my makefiles if that would help.

    


    Would be most appreciative for any help — thank you in advance.