Recherche avancée

Médias (91)

Autres articles (89)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

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

  • How do I stop watermarking videos with this ffmpeg command line ?

    26 juillet 2019, par D. Messier

    I’m trying to remove the code that adds a watermark to some of our videos, but can’t find the correct solution

    Working with pre-existing code. I am unfamiliar with bash and ffmpeg. We are trying to remove the code that adds a watermark to certain videos. There are plenty of examples on how to add the watermark. But using them to figure out how to remove it has been unsuccessful.

    Original Code

    FFREPORT=file=$folder/ffmpeg.log:level=40 ~/tools/ffmpeg/ffmpeg -ss $startTime -i $folder/0 -i assets/watermark.png -filter_complex "[0:v]scale='if(gt(iw,ih),$size1w,trunc(oh*a/2)*2)':'if(gt(iw,ih),trunc(ow/a/2)*2,$size1h)'[bg];[bg][1:v]overlay=20:(main_h-overlay_h-20),split=5[in1][in2][in3][in4][in5];[in1]scale='if(gt(iw,ih),$size1w,trunc(oh*a/2)*2)':'if(gt(iw,ih),trunc(ow/a/2)*2,$size1h)'[out1];[in2]scale='if(gt(iw,ih),$size2w,trunc(oh*a/2)*2)':'if(gt(iw,ih),trunc(ow/a/2)*2,$size2h)'[out2];[in3]scale='if(gt(iw,ih),$size3w,trunc(oh*a/2)*2)':'if(gt(iw,ih),trunc(ow/a/2)*2,$size3h)'[out3];[in4]scale='if(gt(iw,ih),$size4w,trunc(oh*a/2)*2)':'if(gt(iw,ih),trunc(ow/a/2)*2,$size4h)'[out4];[in5]scale='if(gt(iw,ih),$size4w,trunc(oh*a/2)*2)':'if(gt(iw,ih),trunc(ow/a/2)*2,$size4h)'[out5]" \

    Attempted Change

    I removed -i assets/watermark.png and [bg];[bg][1:v]overlay=20:(main_h-overlay_h-20),

    FFREPORT=file=$folder/ffmpeg.log:level=40 ~/tools/ffmpeg/ffmpeg -ss $startTime -i $folder/0 -filter_complex "[0:v]scale='if(gt(iw,ih),$size1w,trunc(oh*a/2)*2)':'if(gt(iw,ih),trunc(ow/a/2)*2,$size1h)';split=5[in1][in2][in3][in4][in5];[in1]scale='if(gt(iw,ih),$size1w,trunc(oh*a/2)*2)':'if(gt(iw,ih),trunc(ow/a/2)*2,$size1h)'[out1];[in2]scale='if(gt(iw,ih),$size2w,trunc(oh*a/2)*2)':'if(gt(iw,ih),trunc(ow/a/2)*2,$size2h)'[out2];[in3]scale='if(gt(iw,ih),$size3w,trunc(oh*a/2)*2)':'if(gt(iw,ih),trunc(ow/a/2)*2,$size3h)'[out3];[in4]scale='if(gt(iw,ih),$size4w,trunc(oh*a/2)*2)':'if(gt(iw,ih),trunc(ow/a/2)*2,$size4h)'[out4];[in5]scale='if(gt(iw,ih),$size4w,trunc(oh*a/2)*2)':'if(gt(iw,ih),trunc(ow/a/2)*2,$size4h)'[out5]" \

    The error I’m getting is

    Cannot find a matching stream for unlabeled input pad 0 on filter Parsed_split_1

  • Debugging the canvas texture code in A-Frame (FFmpeg stream as canvas source)

    1er janvier 2018, par MrDiago

    I am attempting to display a canvas as a texture in A-Frame. The canvas image is a video stream fed in from FFmpeg. This feed displays fine on the regular 2d canvas example from https://github.com/sbidolach/video-live-streaming , but I’m just getting a blank browser window when attempting to bring the code for reading FFmpeg to Canvas into the A-frame page structure.

    Please find below my current revision, any help debugging it would be greatly appreciated :

     
       <code class="echappe-js">&lt;script src=&quot;https://aframe.io/releases/0.7.0/aframe.min.js&quot;&gt;&lt;/script&gt;

    &lt;script type=&quot;text/javascript&quot; src='http://stackoverflow.com/feeds/tag/js/jsmpg.js'&gt;&lt;/script&gt;

    &lt;script&gt;<br />
    <br />
                   // Setup the WebSocket connection and start the player<br />
                   var client = new WebSocket( 'ws://127.0.0.1:8084/' );<br />
                   var canvas = document.getElementById('my-canvas');<br />
                   var player = new jsmpeg(client, {canvas:canvas});<br />
    <br />
                 &lt;/script&gt;
    &lt;script&gt;<br />
    <br />
           AFRAME.registerComponent('draw-canvas', {<br />
             schema: {default: ''},<br />
             init: function () {<br />
               this.canvas = document.getElementById(this.data);<br />
               this.ctx = this.canvas.getContext('2d');<br />
    <br />
             }<br />
           });<br />
         &lt;/script&gt;

  • ffmpeg not producing duration value when converting a media file. If this media is used in an html player, seeking fails on some browsers

    4 décembre 2020, par David

    I'm asking this question because I didn't find information on the web and this seems to be uncommon issue. After a lot of trial and error I'm creating this answer for reference.

    &#xA;

    I'm using python which runs the ffmpeg command to convert an MP4 into WEBM file. I noticed that some of the conversions didn't seek when displaying in the webpage but other webm files worked on the same server. I was converting from two different machines. The core problem was the ffmpeg command was using pipe during the conversion process on one machine and output directly to a file on the other.

    &#xA;

    Apparently doing this doesn't populate the duration attribute in the file but if I ran ffmpeg with the same switches, same order and output to a file on the system, the duration attribute would populate.

    &#xA;

    I was converting from MP4 to WEBM format using opus for the audio. This issue might only impact certain file types, webm as an example and not others.

    &#xA;