Recherche avancée

Médias (91)

Autres articles (44)

  • 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

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

Sur d’autres sites (5687)

  • Hide system message while running ffmpeg

    13 novembre 2013, par Irene T.

    I am using the code bellow to grab an image from a video file and it is working great.
    But when i am running the php file that contains the code bellow all system procceses appears, and i mean some infos about the convertion, export etc.

    How can i make it run silent ?

    $stderr = system("ffmpeg -i $videoPath -vframes 1 -an -s 306x173 -ss 03 $finalfilename 2>&1 >/dev/null", $exit_status);

    if ($exit_status === 0) {
       print 'Done! :)';
    } else {
       print 'Error... :/';
       // $stderr will help you figure out what happened...
    }
  • ffmpeg throwing System.AccessViolationException

    25 septembre 2020, par shmit

    I am using ffmpeg to extract frames and iterate over them. The codes iterates correctly over few frames and then then randomly throws error

    


    "System.AccessViolationException: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'



    


    Any suggestions on how to resolve it ? System details and screenshot below :

    


    System Details :
OS : Windows
TargetFramework : .netCore3.1
Nugets : FFMediaToolkit v3.0.0 and SixLabors.ImageSharp v1.0.0
Shared dlls copied from : https://ffmpeg.zeranoe.com/builds/ for version 4.2.2

    


    ErrorScreenshot

    


  • Video streaming from file system

    20 novembre 2019, par shah ghani

    I am trying to make a video server, my scenario is users will upload there files and I have a screen that will play all the files of the day like advertisement that we usually watch in our televisions.

    So far I have achieved .hls and .flv streaming through node media server.

    I have found the best way to stream a file is through FFMPEG, but I am unable to stream multiple files on same output url for example localhost:8000/index.m3u8, Can any one suggest me the right way to stream the next file when FFMPEG ends streaming of a previous file.

    Thanks in advance. :)

    My node media service config

    {
     rtmp: {
       port: 1935,
       chunk_size: 60000,
       gop_cache: true,
       ping: 30,
       ping_timeout: 60
     },
     http: {
       port: 8000,
       mediaroot: './media',
       allow_origin: '*'
     },
     trans: {
       ffmpeg: 'E:/Red Matrix/node-stream-master/node-stream-master/usr/bin/ffmpeg.exe',
       tasks: [
         {
           app: 'live',
           hls: true,
           hlsFlags: '[hls_time=2:hls_list_size=3:hls_flags=delete_segments]',
           dash: true,
           dashFlags: '[f=dash:window_size=3:extra_window_size=5]'
         }
       ]
     }
    };

    FFMPEG stream function

    function ffmpegStream(stream){

     var proc = ffmpeg()
     .input('D:/Videos/1.MP4')
       .on('error', function (err) {
         console.log('An error occurred: ' + err.message);
       })
       .on('end', function (e) {

         console.log('Processing end !' + JSON.stringify(this));

          ffmpegStream('D:/Videos/2.MP4')
       })
       .on('done', function() {
         console.log('Processing finished !');

       })
       .save('./media/live/abc/index.m3u8');
    }