Recherche avancée

Médias (0)

Mot : - Tags -/masques

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

Autres articles (87)

Sur d’autres sites (16256)

  • avformat_open_input return value, error code on NaCl Module

    7 février 2016, par Jar

    I’m trying to port FFmpeg into my NaCl module.

    So far, my module linked ffmpeg and SDL libraries.

    It already can play YUV format video which is directed load into memory and copy into YUVOverlay buffer (it’s very easy).

    Now, I want to use ffmpeg to decode video, but when I call the function avformat_open_input it returns -5 when input is URL string, such as rtmp:// or mmsh:// ; it returns -1052488119 when input is file name, such as /saved/tmp (I mount the file system - html5fs).


    There are some questions :

    1. What means of -5 and -1052488119 ?
    2. If file can’t open by avformat_open_input, is it possible the input type is from buffer not from file name or url string ?

    If I’m not clearly about my question or description, you can tell me.
    If you are doing the same thing or having the same problem, we can discuss together.

    Thanks,
    Jar

  • avcodec/get_buffer : Don't get AVPixFmtDescriptor unnecessarily

    15 août 2022, par Andreas Rheinhardt
    avcodec/get_buffer : Don't get AVPixFmtDescriptor unnecessarily
    

    It is unused since 3575a495f6dcc395656343380e13c57d48b9f976
    (and the error message is dangerous : av_get_pix_fmt_name(format)
    returns NULL iff av_pix_fmt_desc_get(format) returns NULL
    and using a NULL string for %s would be UB).

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavcodec/get_buffer.c
  • all pages of the same domain keep loading until background process finish [on hold]

    7 juillet 2013, par Kal

    I upload video files to mydomain_1.com and once the upload finish I store info about the uploaded file in mydomain_1 database under table process_queue.

    I have process.php under mydomain_2.com that connects to mydomain_1 database and check if process_queue table has any new entries. If there is then process.

    notice we are talking two separate domains.

    the moment process.php finds a new entry it starts converting the video using exec with ffmpeg.

    while the process is happening I cannot access any page under mydomain_1.com. all pages keep loading forever. the moment the process is done on mydomain_2.com I get access to pages on mydomain_1.com

    I thought it could be a mysql connection issue so on process.php I used mysql_close($db) immediately after every call to the database.