Recherche avancée

Médias (1)

Mot : - Tags -/censure

Autres articles (55)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • 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

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

Sur d’autres sites (9150)

  • is it legal/free to use ffmpeg to decode wma/mms stream in a commercial ios app ? [on hold]

    12 mars 2014, par Greg314

    I've been looking for hours but can't find a simple answer to this question : is it legal/free to use ffmpeg to decode wma/mms stream in a commercial ios app ?

    the ffmpeg website clearly states there are legal issues http://www.ffmpeg.org/legal.html

    some people say issues relate to AAC and H264 Licensing questions

    I just need to know if I can use ffmpeg freely to read wma (mms) stream in an ios app, or if I need to pay royalties to Microsoft for that (quite expensive : http://wmlicense.smdisp.net/filePU/WM%20Components%20Final%20Product%20Agreement%20-%20SAMPLE%20%20(10-05-2012).pdf)

    thanks for your help !

    regards

  • Java : Kill a process started by exec() after some duration

    19 février 2013, par asprin

    Let me start off by saying that I'm completely new to Java. I'm from PHP background, but it so happens that one of my PHP tasks need to be converted into Java.

    The task is splitting a video into frames using ffmpeg and then working with those frames. I've completed this process in PHP. And now I can to convert it into Java.

    I went over some tutorials and have got the bases covered (Using IDE, Running a java program etc). I'm using Eclipse for this purpose.

    I've so far managed to start ffmpeg from withing a java program by using

    public static void main(String[] args) throws IOException {

       String livestream = "D:/video.mpg";
       String folderpth = "D:/frames";
       String cmd="D:/ffmpeg/bin/ffmpeg.exe -i "+ livestream +" -r 10 "+folderpth+"/image%d.jpg";

       //System.out.println(cmd);
       Runtime r = Runtime.getRuntime();
       Process p = r.exec(cmd);

    }

    This is working fine, I'm getting the frames in the folder. Now what I want to do is kill the process after some, say 5 minutes, as the video is over 2 hours long and I don't want to have to go to the taskbar and kill the process manually.

    I tried using p.destroy() but that didn't stop the process at all. How would I go about using something similar like setTimeout() which is used in jQuery ?

    Some Metadata

    OS : Windows 7

    IDE : Eclipse

  • Error FFMpeg Laravel Filters on HLS conversion

    3 novembre 2020, par TwistCode

    I'm trying to transform a mp4 to m3u8 video format using ffmpeg library on Laravel.

    


    Currently it works with the bitrates and the size of the generated videos, but when I try to add the filters to define the resolutions, it generates the following log error.

    


    


    20-11-03 16:55:19] local.ERROR : custom_filter filter is supported
starting from 0.3 ffmpeg version ; your ffmpeg version is
git-2020-08-26-8f2c1f2 "userId":1,"exception" :"[object]
(FFMpeg\Exception\RuntimeException(code : 0) : custom_filter filter is
supported starting from 0.3 ffmpeg version ; your ffmpeg version is
git-2020-08-26-8f2c1f2 at
C :\laragon\www\maquillate\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\Media\AdvancedMedia.php:344)

    


    


    This is my current implementation

    


        $lowBitrate = (new \FFMpeg\Format\Video\X264('libfaac', 'libx264'))->setKiloBitrate(250);
    $midBitrate = (new \FFMpeg\Format\Video\X264('libfaac', 'libx264'))->setKiloBitrate(500);
    $highBitrate = (new \FFMpeg\Format\Video\X264('libfaac', 'libx264'))->setKiloBitrate(1000);


        FFMpeg::FromDisk('local')->open($media)
            ->exportForHLS()
            ->setSegmentLength(10) // optional
            ->setKeyFrameInterval(48) // optional
            ->addFormat($lowBitrate, function ($video) {
                $video->addLegacyFilter(function ($filters) {
                    $filters->resize(new \FFMpeg\Coordinate\Dimension(640, 480));
                });
            })
            ->addFormat($midBitrate)
            ->addFormat($highBitrate)
            ->save('public/hls/' . $video->id . '/video.m3u8');


    


    If I remove the filters from this code, they work without any problem, but I need to add these dimensions.

    


    this is the documentation of Laravel FFmpeg what I need to do : https://github.com/protonemedia/laravel-ffmpeg#hls

    


    Note : my operating system is Windows 10