Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (44)

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

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

Sur d’autres sites (4928)

  • FFMPEG audio/video livestream with html5 dashjs player : time is not sync

    14 avril 2017, par Dániel Kis

    I am going to create a live video & audio stream with ffmeg with libvpx-vp9 codec, and I want to view it from html5 browser with dashjs. But when the dashjs opens the video it seatches for chunks than not yet exits. It seems that the chunk counter is running in double speed in client side.

    Here is how I create the stream :

    VP9_LIVE_PARAMS="-speed 6 -tile-columns 4 -frame-parallel 1 -threads 8 -static-thresh 0 -max-intra-rate 300 -deadline realtime -lag-in-frames 0 -error-resilient 1"
    TARGET_PATH="/var/www/html/live/stream"

    ffmpeg \
     -thread_queue_size 8192 \
     -f v4l2 -input_format mjpeg -r 30 -s 640x360 -i /dev/video0 \
     -thread_queue_size 16384 \
     -f alsa -ar 44100 -ac 2 -i hw:1,0 \
     -map 0:0 \
     -pix_fmt yuv422p \
     -c:v libvpx-vp9 \
       -s 640x360 -keyint_min 60 -g 60 ${VP9_LIVE_PARAMS} \
       -b:v 300k \
     -f webm_chunk \
       -header "${TARGET_PATH}/glass_360.hdr" \
       -chunk_start_index 1 \
     "${TARGET_PATH}/glass_360_%d.chk" \
     -map 1:0 \
     -c:a libvorbis \
       -b:a 64k -ar 44100 \
     -f webm_chunk \
       -audio_chunk_duration 2000 \
       -header "${TARGET_PATH}/glass_171.hdr" \
       -chunk_start_index 1 \
     "${TARGET_PATH}/glass_171_%d.chk" \

    some seconds later I call the ffmpeg again to create manifest file :

    ffmpeg \
     -analyzeduration 1000\
     -f webm_dash_manifest -live 1 \
     -i "${TARGET_PATH}/glass_360.hdr" \
     -f webm_dash_manifest -live 1 \
     -i "${TARGET_PATH}/glass_171.hdr" \
     -c copy \
     -map 0 -map 1 \
     -f webm_dash_manifest -live 1 \
       -adaptation_sets "id=0,streams=0 id=1,streams=1" \
       -chunk_start_index 1 \
       -chunk_duration_ms 2000 \
       -time_shift_buffer_depth 7200 \
       -minimum_update_period 7200 \
     "${TARGET_PATH}/glass_live_manifest.mpd"

    My server’s clock is synced to "http://time.akamai.com/?iso"

    HTML5 player :


       
       
       
       
       
       <code class="echappe-js">&lt;script src=&quot;https://cdn.dashjs.org/latest/dash.all.min.js&quot;&gt;&lt;/script&gt;
    Live broadcast
    &lt;script&gt;<br />
                   var url = &quot;glass_live_manifest.mpd&quot;;<br />
                   var player = dashjs.MediaPlayer().create();<br />
                   player.initialize(document.querySelector(&quot;#videoPlayer&quot;), url, true);<br />
    <br />
      &lt;/script&gt;
  • android ffmpeg video rotated while merge tow videos

    29 novembre 2017, par medbenjemaa

    i have some app that edit’s videos and images, i try to merge tow videos with ffmpeg but unfortunately the end side is merged rotated and i don’t know why

    this is my code to merge the videos

    public void step2video(String imagepath){
           String body="file '"+selectedVideoPath+"'\nfile '"+imagepath+"'";
           createFiletxt(getApplicationContext(),"input.txt",body);



           try {
               loadFFMpegBinary();
              // String txtpath=Environment.getExternalStorageDirectory() + "/images/input.txt";


               String cmd1 = "-f concat -safe 0 -i " + Environment.getExternalStorageDirectory() + "/images/input.txt -codec copy " + Environment.getExternalStorageDirectory() + "/images/output.mp4";
               Log.i("commande",cmd1);
               //String root2 =selectedVideoPath;
               String\[\] comnds = cmd1.split(" ");

               ffmpeg.execute(comnds, new ExecuteBinaryResponseHandler() {

                   @Override
                   public void onStart() {}

                   @Override
                   public void onProgress(String message) {
                       Log.d("progress",message);
                   }

                   @Override
                   public void onFailure(String message) {

                       Log.d("ffmpeg-failed",message);
                       pDialog.dismiss();
                   }

                   @Override
                   public void onSuccess(String message) {
                       Log.i("ffmpeg-message",message);
                       String finalvideoPath=Environment.getExternalStorageDirectory() + "/images/output.mp4";
                       loadViedo(finalvideoPath);
                       pDialog.dismiss();


                   }

                   @Override
                   public void onFinish() {
                       Toast.makeText(NewGift.this,"finished", Toast.LENGTH_SHORT).show();

                   }
               });

           }catch (Exception er){
               Log.i("ffmpegerror",er.toString());
           }
       }

    take a look at the log and the output enter image description here

    enter image description here

    please any help for this

  • how to run "3gp, FLV, avi" video format in AVPLAYER or MPMoviePlayerViewController in iOS ?

    8 mai 2015, par Jenifer

    I need to play 3gp, FLV, avi Video file format in my application.
    I had searched lot about it.

    Got some library like "FFmpeg" Library. But could not find any sample code for it.

    Any other ways for it are also appreciated.

    Does any body have done it before ?

    I am even not sure that if it is possible or not in iOS.

    Please give me solution for it.

    UPDATE :

    I tried one 3gp Video in my AVquePlaye but it is not play in my code,

    While i use same Video in WhatsApp in my iPhone, Surprisingly video is playing there.