Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

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

Autres articles (24)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (5425)

  • Live Streaming Using Red5 with H.265 Raw Imcoming Video

    27 décembre 2019, par minghua

    How do you stream a raw H.265 incoming video using Red5 ?

    I’ve seen this example to stream flv file, and this for the client side, and for H.264 with or without ffmpeg.

    Basically the question can be split into two :

    • How do you stream it from a .h265 file ? If from .265 file is not possible, how do you do it from a file that contains H.265 video ? Any example ?
    • How do you stream it from an incoming RTP session ? I can get the session UDP/RTP unpacked and decode into raw H.265 NAL packets. I’m assuming some conversion is needed, any libraries available for that purpose ? Examples ?

    If I can get an answer to the above first split question, I know I can redirect the incoming stream to a named pipe. That can be used as an indirect solution to the second split question. Streaming from the incoming UDP session directly is preferred, though.

  • How to execute command line ffmpeg commands programatically in android ?

    14 août 2013, par Md. Arafat Al Mahmud

    I have successfully built ffmpeg for android using the bambuser
    . Now I have to build a sample converter application like mp4 to 3gp. I know there are command line commands ffmpeg -i video_origine.avi video_finale.mpg. But I don't know how to execute these commands programatically. I have sample code like

    jint Java_com_example_ndklearning1_MainActivity_logFileInfo(JNIEnv * env, jobject this, jstring filename)
    {
       av_register_all();

       AVFormatContext *pFormatCtx;
       const jbyte *str;
       str = (*env)->GetStringUTFChars(env, filename, NULL);

       if(av_open_input_file(&pFormatCtx, str, NULL, 0, NULL)!=0)
       {
           LOGE("Can't open file '%s'\n", str);
           return 1;
       }
       else
       {
           LOGI("File was opened\n");
           LOGI("File '%s', Codec %s",
               pFormatCtx->filename,
               pFormatCtx->iformat->name
           );

       }
       return 0;
    }

    This code open's a file and extracts the codec information. All I want is that, to convert the opened file in a desired format. Any kind of help such as code snippet or steps to follow will be highly appreciated.

    Can ffmpeg API serve my purpose ? If there is existing API available, it will be more helpful

  • app file results error while executable runs alright on macos

    20 juin 2021, par newpy

    I made a python/kivy app in which I use subprocess running a ffmpeg command, then built it by pyinstaller successfully.

    


    Environment : MacOS 11.3.1, python 3.9.5, kivy 2.0, ffmpeg 4.4

    


    However, there are some running scenarios as follows :

    


      

    1. Start by double click executable file —> OK
    2. 


    3. Start from terminal by : open myapp.app —> OK
    4. 


    5. Start by double click myapp.app (or via Launchpad) —> ERROR
    6. 


    


    About the error, I am pretty sure the error comes from the statement :

    


    process = subprocess.run(['ffmpeg', '-i', self.sound_file_path, self.tempdir.name + '/result.ogg'])


    


    because the error just disappears after is is commented out.
The statement purpose is just converting a mp3 file to ogg then save in temporary folder.
The problem is I just know that there is an error because other functions of the app cannot read the the ogg file which is expected to be present in temporary folder as a result of the above statement. I don't know where I can check what exactly the error is since, as aforementioned, both of the first 2 ways of starting do not generate errors.

    


    Coz not much experience in subprocess, I don't know where to start debugging for this error. Please show me what might be error here and how to debug it.