Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (71)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (8223)

  • Build cpp code to run FFMPEG command in Anroid after generating .so file

    22 octobre 2020, par Nikhil Solanki

    I built FFMPEG so files(libavcode.so, libavfilter.so, libavformat.so,libavutil.so, libswscale.so) by following this tutorial. This tutorial is nice is helpful to build your own .so files as per your library requirement.

    


    Why I am building own one ?
I know that there is some already available libraries in github like bravobit's, tanersener's and also microshow's. These all have certain limitations like some of this will not work for target SDK 29 & 30 and tanersener's lib is good but there is problems with -filter_complex command's output and micrshow's lib is crashing in android 10 and 11 beta ! So, all have specific problems. So, I am considering to create own one.

    


    What I have and already done
After following tutorial(mention in above) I successfully generated .so files and put it into my App.

    


    Here is the screenshot of which I already done .so files :
Put all files in cpp dir

    


    So, you can see that I put all files into cpp folder. As per version I only need ARMV7 and AMR64.

    


    What is the problem ?

    


    Problem is that I have no idea how to create .cpp file to execute command and what is it actually and how to use it ? I also tried some other libraries .c code but it didn't work for me. So, what is the code of cpp which can execute command ? Is there any other way of this ?

    


    Note of this requirement
We can't run any executable file directly from directory in Android because its restricted in target Android 10 and 11. So, we compulsory need to build native code and call class or it's function.

    


  • FFMPEG Code Understanding

    13 avril 2016, par Edge

    I have the following code :

    }
       private function getIntroVideoFile() {
           global $upload_dir;
           foreach ($this->myusers as $user) {
               $sql = "SELECT  IntroVideoFile from IntroVideos
                   where IntroVideoID in (select IntroVideoID from EventInfo where EventInfo.PackageID = '{$user->packageid}' and EventInfo.SlotID = '{$this->curSlotId}') ";
               $row = db_fetch_item($sql);
               $user->introVideoFile = $row['IntroVideoFile'];

               exec('ffmpeg -re -i "'.$upload_dir.$user->introVideoFile.'" -sameq -vcodec copy -acodec copy -f flv rtmp://XX.XX.XX.XXX:1935/live/'.$user->username . ' >/dev/null 2>/dev/null < /dev/null &');
               echo "Starting play ".$user->introVideoFile."\n";
           }

    Please can someone explain to me what is happening here.

  • How to get FFMpeg code working on remote server ?

    4 février 2016, par OMi

    I am using the following code to add plain text to videos. It works fine on localhost with EasyPHP server but I am not able to get the output on server (ffmpeg hosting). In addition, video conversion, video to audio everything is working fine.

    @exec('ffmpeg -y -i '.$source_file.' -vf drawtext="fontfile=font_omiA.ttf: \ text='.$watermark_text.': fontcolor=white@0.5: fontsize=20: \ x=(w-text_w)-3: y=(h-text_h-line_h)+10" '.$output_filename.'');

    I tried with following code too but I didn’t get success :(

    @exec("ffmpeg -y -i ".$source_file." \"fontfile=font_omiA.ttf: \ text=".$watermark_text.": \ fontcolor=white@0.5: \ fontsize=20: \ x=((w-text_w)-3): y=((h-text_h-line_h)+10))\" ".$output_filename."");