Recherche avancée

Médias (91)

Autres articles (13)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

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

  • Qualité du média après traitement

    21 juin 2013, par

    Le bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
    Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...)

Sur d’autres sites (4835)

  • Latest generated docs

    1er janvier 2013, par scottschiller

    m doc/generated/demo/360-player/script/360player.html m doc/generated/demo/mp3-player-button/script/mp3-player-button.html m doc/generated/demo/page-player/script/page-player.html m doc/generated/demo/play-mp3-links/script/inlineplayer.html m doc/generated/script/soundmanager2.html Latest (...)

  • avcodec/avcodec.h : clarify decoupled decode/encode API docs

    15 mars 2017, par Marton Balint
    avcodec/avcodec.h : clarify decoupled decode/encode API docs
    

    Reviewed-by : wm4 <nfxjfg@googlemail.com>
    Signed-off-by : Marton Balint <cus@passwd.hu>

    • [DH] libavcodec/avcodec.h
  • create video chunks with giving start and end time using ffmpeg and play those chunks sequentially with expiry time for each chunk using java

    4 octobre 2018, par JAVA Coder

    I have done like this I found it from the given link Just modified the code for start and end time and hard coded the times.
    Split video into smaller timed segments in Java

    @RequestMapping(value="/playVideo",method = RequestMethod.GET)
    @ResponseBody
    public void playVideo() {
       System.out.println("controller is working");
       int videoDurationSecs = 1800 ;
       int numberOfChunks = 5;//dynamically we can define according to video duration
        int chunkSize = videoDurationSecs/(numberOfChunks);
           int startSecs = 0;
           for (int i=0; i/*******Create video chunk*******//

               String startTime = convertSecsToTimeString(startSecs);
               int endSecs = startSecs+chunkSize;
               startSecs = endSecs+1;
               if (endSecs > videoDurationSecs) {
                   //**make sure rounding does not mean we go beyond end of video**//
                   endSecs = videoDurationSecs;
               }
               String endTime = convertSecsToTimeString(endSecs);

               System.out.println("start time for-------------------->>>> "+startTime);
               System.out.println("end time for------------------->>>> "+endTime);

               /*
                * how to do this means send times for chunk and
                * getting chunks and play them one by one like one video
                * with expiry time for each
                */


               //Call ffmpeg to create this chunk of the video using a ffmpeg wrapper
               /*String argv[] = {"ffmpeg", "-i", videoPath,
                       "-ss",startTime, "-t", endTime,
                       "-c","copy", segmentVideoPath[i]};
               int ffmpegWrapperReturnCode = ffmpegWrapper(argv);*/
           }


    }

    private String convertSecsToTimeString(int timeSeconds) {
       //Convert number of seconds into hours:mins:seconds string
       int hours = timeSeconds / 3600;
       int mins = (timeSeconds % 3600) / 60;
       int secs = timeSeconds % 60;
       String timeString = String.format("%02d:%02d:%02d", hours, mins, secs);
       return timeString;
    }

    }