Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (106)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • 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 ;

Sur d’autres sites (13481)

  • FFMPEG command to mux video stream into HLS fMP4

    16 décembre 2020, par LinuxVirgin

    I have been trying to display my IP Cameras output onto a webpage to be viewed on a iThing (ipad or iphone)

    


    Im diplaying the output below in a video tag like below

    


    <video class="video-js vjs-default-skin" width="400" height="300" controls="controls">&#xA;       <source type="application/x-mpegURL" src="http://127.0.0.1/wordpress/prog_index.m3u8">&#xA;</source></video>&#xA;

    &#xA;

    Im using ffmpeg to mux/convert (I may have my terminology wrong) the cameras http stream (not RTSP stream).

    &#xA;

    Ive tried multiple commands below and some commands work on a PC/Chrome but none of them work on a ipad/safari or chrome.

    &#xA;

    All the files are being generated in the correct locations on the webserver to allow them to be diplayed

    &#xA;

    ffmpeg -i http://username:password@192.168.102.92/ISAPI/Streaming/channels/102/httpPreview  -force_key_frames "expr:gte(t,n_forced*2)" -sc_threshold 0 -s 640x480 -c:v libx264 -b:v 1536k -c:a copy -hls_time 6 -hls_playlist_type vod -hls_segment_type fmp4 -hls_segment_filename "fileSequence%d.m4s" -hls_wrap 3 prog_index.m3u8&#xA;

    &#xA;

    ffmpeg -i http://username:password@192.168.102.92/ISAPI/Streaming/channels/102/httpPreview  -force_key_frames "expr:gte(t,n_forced*2)" -sc_threshold 0 -s 640x480 -c:v libx264 -b:v 1536k -c:a copy -hls_time 6 -hls_playlist_type vod -hls_segment_type fmp4 -hls_segment_filename "fileSequence%d.m4s" -hls_list_size 10 prog_index.m3u8&#xA;

    &#xA;

    ffmpeg -i http://username:password@192.168.102.92/ISAPI/Streaming/channels/102/httpPreview  -force_key_frames "expr:gte(t,n_forced*2)" -sc_threshold 0 -s 640x480 -b:v 1536k -c:a copy -hls_time 6  -hls_segment_type fmp4 -hls_segment_filename "fileSequence%d.m4s" -hls_list_size 10 prog_index.m3u8&#xA;

    &#xA;

    ffmpeg -i http://username:password@192.168.102.92/ISAPI/Streaming/channels/102/httpPreview -force_key_frames "expr:gte(t,n_forced*2)" -sc_threshold 0 -s 640x480 -b:v 1536k -c:a copy -hls_time 3 -hls_flags delete_segments -hls_segment_type fmp4 -hls_segment_filename "fileSequence%d.m4s" prog_index.m3u8&#xA;

    &#xA;

    Can someone point out where Im going wrong, I think its the FFMPEG cmd ?

    &#xA;

  • error of streaming video using fluent-ffmpeg node.js module

    23 mai 2013, par user824624

    I am running the fluent-ffmpeg sample to stream the video, which works well. Now in contract show the video in flashe version based flowplayer, I am now using html5 version flowplayer, but it said the video file not found.

    app.get(&#39;/video2/abc&#39;, function(req, res) {

     console.log(&#39;/video/:filename&#39;);
     res.contentType(&#39;mp4&#39;);
     var pathToMovie = &#39;public/flowplayer/470x250.mp4&#39; ;
     var proc = new ffmpeg({ source: pathToMovie, nolog: true })
       .writeToStream(res, function(retcode, error){
         if(error) console.error(&#39;error&#39;,error);
         else console.log(&#39;file has been converted succesfully&#39;);
       });
    });

    here is my html template.

       
           
           <code class="echappe-js">&lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js&quot;&gt; &lt;/script&gt;

    &lt;script src=&quot;http://releases.flowplayer.org/5.4.0/flowplayer.min.js&quot;&gt;&lt;/script&gt;

    &lt;script&gt;<br />
      // global configuration (optional)<br />
      flowplayer.conf = {<br />
         rtmp: &quot;rtmp://s3b78u0kbtx79q.cloudfront.net/cfx/st&quot;,<br />
         swf: &quot;http://releases.flowplayer.org/5.4.0/flowplayer.swf&quot;<br />
      };<br />
    <br />
      // force flash with query - only for testing, do not use this switch in production!<br />
      if (/flash/.test(location.search)) flowplayer.conf.engine = &quot;flash&quot;;<br />
    <br />
      // install player manually<br />
      $(function() {<br />
         $(&quot;.player&quot;).flowplayer({<br />
            // reverse fraction of video aspect ratio<br />
            // video dimensions: 470px / 250px<br />
            ratio: 25/47<br />
         });<br />
      });<br />
    &lt;/script&gt;
  • x264 Building error - Android

    21 avril 2016, par Jay Parikh

    I am using this repository to build ffmpeg static library which includes x264,libpng and others, please
    visit this link https://github.com/writingminds/ffmpeg-android

    i am using windows 7 as host and ubuntu 15.10 (_64) as guest os using VMware Workstation 12
    and
    Android-ndk-r11b-linux-x86_64

    i do have Prebuilt libraries , but now i want it without PIE support

    i am getting this error in config.log in x264 folder while building
    through

    ./android_build.sh

    here is the log :

    x264 configure script
    Command line options: "--cross-prefix=/mnt/hgfs/uShare/ffmpeg-android/toolchain-android/bin/arm-linux
    /mnt/hgfs/uShare/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi-gcc

    checking whether /mnt/hgfs/uShare/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi-gcc

    --sysroot=/mnt/hgfs/uShare/ffmpeg-android/toolchain-android/sysroot works... no

    Failed commandline was:

    --sysroot=/mnt/hgfs/uShare/ffmpeg-android/toolchain-android/sysroot conftest.c  -Wall -I. -I$(SRCPATH) --sysroot=/mnt/hgfs/uShare/ffmpeg-android/toolchain-android/sysroot    --sysroot=/mnt/hgfs/uShare/ffmpeg-android/toolchain-android/sysroot -lm -o conftest

    /mnt/hgfs/uShare/ffmpeg-android/toolchain-android/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld: fatal error:

    conftest: Input/output error

    Failed program was:

    int main (void) {  return 0; }

    DIED: No working C compiler found.

    ushare is my shared folder between windows and ubuntu

    I have spend almost a week ,trying to solve every error i get.
    these errors are like never ending , 1 solution give 10 more errors
    i have researched a LOT for this library

    thanks a lot in advance.

    Also i thought that x264 library might have poroblem ,so i tried to disable it
    but next library "libpng" also had Same log Error

    i think problem is in Input/output error (obviously)
    this line in log kind of confuses me (those /../../)

    /mnt/hgfs/uShare/ffmpeg-android/toolchain-android/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld : fatal error :

    its like two folder overlaping address...

    thanks a lot in advance.
    please don’t go harsh on me ,its my first time,all thanks to this thing...