Recherche avancée

Médias (0)

Mot : - Tags -/content

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

Autres articles (38)

  • Submit bugs and patches

    13 avril 2011

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

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • 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 (5391)

  • How to write frames to a video file ?

    20 juillet 2019, par Mike Chen

    I am currently writing an application that read frames from camera, modify them, and save them into a video file. I’m planing to do it with ffmpeg. There’s rarely a documentation about ffmpeg. I can’t find a way. Does any know how to do it ?

    I need it to be done on unix, and in C or C++. Does any can provide some instructions ?

    Thanks.

    EDIT :

    Sorry, I haven’t write clearly. I want some developer APIs to write frames to a video file. I open up camera stream, I get every single frame, then I save them into a video file with those APIs available in ffmpeg’s public apis. So using command line tool actually doesn’t help me. And I’ve seen output_example.c under the ffmpeg src folder. It’s pretty great that I may copy some parts of the code directly without change. And I am still looking for a easier way.

    Also, I’m thinking of porting my app to iPhone, as far as I know, only ffmpeg has been ported on iPhone. GStreamer is based on glib, and it’s all GNU stuff. I’m not sure if I can get it work on iPhone. So ffmpeg is still the best choice for now.

    Any comments is appreciated.

  • FFMPEG - Use Orientation metadata for mobile recordings

    21 mai 2012, par Kim Egede Jakobsen

    When I convert a .mov file recorded on a iPhone 4S, the video is rotated 180 degrees.
    If I playing the video on my computer, it looks correct.

    I got the same issue with .3gp files from Android and .mov from iPhone 4 (They are rotated 90 degrees)

    I have tried looking in the documentation for FFMPEG, but it seems that I will need to scan the metadata and then add it to my convertion script ?

    Command tried : ffmpeg -i VID_20120510_104204.mov -y -f flv -ar 44100 VID_20120510_104204.flv
    Also looked on -vf %ROTATE%

  • Using ffmpeg to display a static image if an RTMP input source is missing

    19 mars 2016, par iameli

    Here is what I would like ffmpeg to output :

    • If I am streaming from my iPhone to my RTMP server, ffmpeg should output the live video from my iPhone.
    • If not, ffmpeg should output a blank red screen.

    Here’s what I have so far. It sort of works.

    ffmpeg \
     -f lavfi \
     -re \
     -i 'color=s=320x240:r=30:c=red' \
     -thread_queue_size 512 \
     -i 'rtmp://localhost/stream/iphone' \
     -c:v libx264 \
     -f flv \
     -filter_complex "\
       [1:v]scale=320:240[stream]; \
       [0:v][stream]overlay=0:0:eof_action=pass[output] \
     "\
     -map '[output]' \
     -tune zerolatency \
     'rtmp://localhost/stream/output'

    What happens : it boots up and starts streaming my iPhone’s output no problem. When I disconnect, it hangs for a long time, perhaps 20 seconds. Then it starts outputting red, okay. But then if I reconnect my phone, it doesn’t resume. It’s still red. Two questions :

    • Is there a way to configure the buffering so that it starts outputting red as soon as it stops getting data from the RTMP stream ?
    • Is there a way to have it auto-retry, so after the RTMP stream returns, it will switch back ?

    Full verbose output, if that’s helpful. I’m using the latest git version of ffmpeg as of 2016-03-18 on Ubuntu Wily. The RTMP server is nginx-rtmp.