Recherche avancée

Médias (3)

Mot : - Tags -/Valkaama

Autres articles (47)

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

  • Submit enhancements and plugins

    13 avril 2011

    If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
    You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone.

  • Création définitive du canal

    12 mars 2010, par

    Lorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
    A la validation, vous recevez un email vous invitant donc à créer votre canal.
    Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
    A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)

Sur d’autres sites (8013)

  • How to correctly specify the path to a file in -vf media ?

    15 juillet 2024, par Wintreist

    Good afternoon, please, I really need help.
I'm putting a watermark on the video :

    


    with tempfile.TemporaryFile("wb", delete=False, suffix=".png") as watermark_file:
    watermark_file.write(buff.read())
(
    ffmpeg
    .input(str(path))
    .output(
        os.environ.get("TEMP")+f"\\{uuid.hex}_{path.name}",
        vf=f"movie='{watermark_file.name}' [watermark]; [in][watermark] overlay='{overlay}' [out]"
    )
    .global_args('-copyts')
    .run()
)


    


    In a temporary folder, I create a file in which I write a watermark from io.BytesIO
using the ffmpeg-python library, I do not work directly with the console.

    


    The problem is that when running .run() to the console outputs the following :

    


    [Parsed_movie_0 @ 0000011b21b3e300] Failed to avformat_open_input 'C'
[AVFilterGraph @ 0000011b21b4d4c0] Error initializing filters
[vost#0:0/libvpx-vp9 @ 0000011b23a07500] Error initializing a simple filtergraph
Error opening output file C:\Users\smeta\AppData\Local\Temp\5e5a695966cf4d728edbd7f39c509d0e_000.webm.
Error opening output files: No such file or directory


    


    But if I copy a watermarked file from temp and upload it to the workspace :
vf=f"movie='{'test.png'}' [watermark]; [in][watermark] overlay='{overlay}' [out]"
then everything works as it should. I.e. apparently there is a problem with the path to the watermark, and I do not understand what to do.
I ask for help

    


  • ffmpeg convert video in a path with different name

    16 mars 2019, par tour travel

    Using ffmpeg in php with shell_exec and want to convert video in a path that different with where script is run. php script is in /s/m/video.php :

    <?php
    if(isset($_GET["videoTools"])){

       $user = $_GET["user"];
       $uid = $_GET["uid"];
       $vid = $_GET["vid"];

       $uploaddir = '/seller/uploads/'.$user.'/'.$uid.'/';

       echo shell_exec('ffmpeg -i '.$uploaddir.$vid.'-vid.mp4 -i /s/m/logo.png \
       -filter_complex "hflip[flipped];[flipped]overlay=x=20:y=20" \
       -s 480x320 -acodec aac -strict -2 -ac 1 -ar 16000 -r 13 -ab 32000 -aspect 3:2 \
       -strict -2 '.$uploaddir.$vid.'-vid-resized.mp4');
    }
    ?>

    And this script called by ajax in /s/a/index.php :

       $.ajax({
           url: "/s/m/video.php?videoTools",
           type: "GET",
           data: {vid: json[0], uid: json[1], user: json[2]},
           success: function(data){
            // success
           }
       });

    And for example I want to convert video in this path /s/uploads/91/768/2019-2-2_668-vid.mp4

    Problems :

    This not working, because look like ffmpeg not find video and logo in a path / Also look like ffmpeg not accepet video with - or _ or etc.

    No related error log, but video not generated and script not working. Any idea ?

    [Sat Mar 16 04:09:26.934114 2019] [php7:warn] [pid 25486] [client
    85.133.232.199:34756] PHP Warning : Unknown : open_basedir restriction in effect. File(/var/cpanel/php/sessions/ea-php72) is not within the
    allowed path(s) :
    (/home/pedram/ :/tmp :/var/tmp :/usr/local/lib/php/ :/usr/local/php72/lib/php/)
    in Unknown on line 0

  • Revision a5d930e464 : vp10 : don't reset contextual skip flag if block has no coefficients. The implic

    8 septembre 2015, par Ronald S. Bultje

    Changed Paths :
     Modify /vp10/common/blockd.h


     Modify /vp10/common/loopfilter.c


     Modify /vp10/decoder/decodeframe.c



    vp10 : don’t reset contextual skip flag if block has no coefficients.

    The implicitly changed value would be used for contextualizing future
    skip flags of neighbour blocks (bottom/right), which is certainly not
    what was intended. The original code stems from vp8, and was useful
    in cases where coding of the skip flag was disabled. In vp9, the skip
    flag is always coded. The result of this change is that for bitstream
    parsing purposes, decoding of the skip flag becomes independent of
    decoding of block coefficients.

    See issue 1014.

    Change-Id : I8629e6abe76f7c1d649f28cd6fe22a675ce4a15d