Recherche avancée

Médias (91)

Autres articles (47)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (7575)

  • How to make a PAN faster/slower speed with FFmpeg ?

    27 février 2019, par Duty Alex

    I have an image named "input.png" 1920x7580 px and i want to make a PAN across it from top to bottom. My current code is :

    ffmpeg -loop 1 -i input.png -vf crop=1920:1080:0:n -frames:v 6500 out.mkv

    My video duration with this default speed is 4:20 (260 second). The scrolling down speed is 25 pixels per second.

    How i increase/decrease this speed without changing the video FPS (25 fps) ? For example my video duration to be 3 minutes.

    Thank you !

  • ffmpeg error : "Missing ')' or too many args in 'if(gt(a,1),650,-1)'"

    23 février 2015, par Remini me

    I am trying to run this ffmpeg command in linux shell, to scale down the video (if portrait, than to maximum height of 650, while adjusting the width. And if landscape, then 650 maximum width, and adjust the height with aspect ratio) :

    ffmpeg -i 1.mp4 -r 30 -vf scale="'if(gt(a,1),650,-1)':'if(gt(a,1),-1,650)'" -vcodec libx264 output_file1.mp4

    But I get the following error :

    [scale @ 0x1d48a40] [Eval @ 0x7fff53a49340] Missing ’)’ or too many
    args in ’if(gt(a,1),650,-1)’ [scale @ 0x1d48a40] [Eval @
    0x7fff53a49340] Missing ’)’ or too many args in ’if(gt(a,1),-1,650)’
    Error when evaluating the expression ’if(gt(a,1),-1,650)’

    **EDIT : I have tried using the new @slhck syntax :

    -vf "scale=if(gt(a\,1)\,650\,-2):if(gt(a\,1)\,-2\,650)"

    The result I got was :

    ffmpeg version 0.8.16-4:0.8.16-0ubuntu0.12.04.1, Copyright (c)
    2000-2014 the Libav developers built on Sep 16 2014 18:33:49 with
    gcc 4.6.3 The ffmpeg program is only provided for script compatibility
    and will be removed in a future release. It has been deprecated in the
    Libav project to allow for incompatible command line syntax
    improvements in its replacement called avconv (see Changelog for
    details). Please use avconv instead.

    Seems stream 0 codec frame rate differs from container frame rate :
    180000.00 (180000/1) -> 90000.00 (180000/2) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ’1.mp4’ : Metadata :
    major_brand : isom
    minor_version : 0
    compatible_brands : isom3gp4
    creation_time : 2015-02-05 14:54:24 Duration : 00:00:45.30, start : 0.000000, bitrate : 17058 kb/s
    Stream #0.0(eng) : Video : h264 (High), yuv420p, 1920x1080, 17021 kb/s, 30.01 fps, 90k tbr, 90k tbn, 180k tbc
    Metadata :
    creation_time : 2015-02-05 14:54:24
    Stream #0.1(eng) : Audio : aac, 48000 Hz, stereo, s16, 124 kb/s
    Metadata :
    creation_time : 2015-02-05 14:54:24 File ’output_file1.mp4’ already exists. Overwrite ? [y/N] y

    [buffer @ 0x747ec0] w:1920 h:1080 pixfmt:yuv420p [scale @ 0x745a40] [Eval @ 0x7fffac94b220] Missing ’)’ or too many args in
    ’if(gt(a,1),650,-2)’ [scale @ 0x745a40] [Eval @ 0x7fffac94b220]
    Missing ’)’ or too many args in ’if(gt(a,1),-2,650)’ Error when
    evaluating the expression ’if(gt(a,1),-2,650)’ Error opening
    filters !

    What should I do ?

  • Not able to pipe gstreamer output into ffmpeg

    31 janvier 2015, par Henry Soang

    has anybody gotten gstreamer to successfully pipe it’s video output into ffmpeg ?

    I’ve tried playing with /dev/stdout and I keep getting errors :

    gst-launch -e v4l2src device=/dev/video0 ! ’video/x-raw-yuv,width=1920,height=1080,framerate=5/1’ ! nv_omx_h264enc quality-level=2 ! mp4mux ! filesink location=/dev/stdout \
    | ffmpeg -y -i - -codec copy -f flv test.flv

    ...
    [aac @ 0xebc4c0] Could not find codec parameters for stream 0 (Audio : aac (Main), 7.1, fltp, 1351 kb/s) : unspecified sample rate
    Consider increasing the value for the ’analyzeduration’ and ’probesize’ options
    pipe: : could not find codec parameters
    Input #0, aac, from ’pipe :’ :
    Duration : N/A, bitrate : 1351 kb/s
    Stream #0:0 : Audio : aac (Main), 7.1, fltp, 1351 kb/s
    [flv @ 0xec9280] sample rate not set
    Output #0, flv, to ’test.flv’ :
    Stream #0:0 : Audio : aac, 7.1, 1351 kb/s
    Stream mapping :
    Stream #0:0 -> #0:0 (copy)
    Could not write header for output file #0 (incorrect codec parameters ?) : Invalid argument
    ubuntu@tegra-ubuntu : $

    Running the commands separately (replacing /dev/stdout with a file) works fine.

    If you got it to work and can share how you did it, that would be great.

    Thanks.