Recherche avancée

Médias (33)

Mot : - Tags -/creative commons

Autres articles (57)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

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

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (7931)

  • FFmpeg - Vertical-Scroll Image Overlay for same duration as audio file

    28 décembre 2020, par John Doe

    I want to scroll an image vertically, but I want the animation duration to match an mp3 file, which will be different every time. Here's what I have :

    


    ffmpeg -y -hide_banner -f lavfi -i color=s=1280x720 -loop 1 -i "image.jpg" -filter_complex "[1:v]scale=1280:-2,setpts=if(eq(N\,0)\,0\,1+1/0.01/TB),fps=30[fg]; [0:v][fg]overlay=y=-'t*h*0.01':eof_action=endall[video]" -map "[video]" "output.mp4"


    


    But this always produces a video with duration of 1 minute and 40 seconds, making the animation slow down or speed up accordingly. This is not what I want. I want the output video (and the scrolling animation) duration to match a random mp3 file.

    


    I am using FFmpeg in a Batch file on Windows. Any help would be appreciated.

    


  • Multiple video input to Video grid using vstack and hstack in ffmpeg

    22 mars 2017, par Newbee7

    I am trying to find a working example for ffmpeg to combine 4 videos (2x2 stack) and 9 videos (3x3 stack) that are not the same resolution.

    For the 2x2 example I am currently I am using the documentation example but it only works if all videos are the same resolution. see command

    ffmpeg -i top_l.mp4 -i top_r.mp4 -i bottom_l.mp4 -i bottom_r.mp4 -i audio.mp4 \
    -filter_complex "[0:v][1:v]hstack[t];[2:v][3:v]hstack[b];[t][b]vstack[v]" \
    -map "[v]" -an -sn -shortest -f flv rtmp://server/stream

    This does not work with my videos inputs with the following error.

    [Parsed_vstack_2 @ 0000000003245cc0] Input 1 width 1440 does not match input 0 width 1264.
    [Parsed_vstack_2 @ 0000000003245cc0] Failed to configure output pad on Parsed_vstack_2
    Error reinitializing filters!
    Failed to inject frame into filter network: Invalid argument
    Error while decoding stream #3:0: Invalid argument
    [Parsed_vstack_2 @ 00000000033fec20] Input 1 width 1440 does not match input 0 width 1264.
    [Parsed_vstack_2 @ 00000000033fec20] Failed to configure output pad on Parsed_vstack_2
    Error reinitializing filters!
    Error while filtering: Invalid argument
    [Parsed_vstack_2 @ 00000000033feb40] Input 1 width 1440 does not match input 0 width 1264.
    [Parsed_vstack_2 @ 00000000033feb40] Failed to configure output pad on Parsed_vstack_2
    Error reinitializing filters!
    Failed to inject frame into filter network: Invalid argument
    Error while decoding stream #0:0: Invalid argument
    [Parsed_vstack_2 @ 00000000033fec20] Input 1 width 1440 does not match input 0 width 1264.
    [Parsed_vstack_2 @ 00000000033fec20] Failed to configure output pad on Parsed_vstack_2
    Error reinitializing filters!
    Failed to inject frame into filter network: Invalid argument
    Error while decoding stream #1:0: Invalid argument
    [Parsed_vstack_2 @ 00000000033fece0] Input 1 width 1440 does not match input 0 width 1264.
    [Parsed_vstack_2 @ 00000000033fece0] Failed to configure output pad on Parsed_vstack_2
    Error reinitializing filters!
    Failed to inject frame into filter network: Invalid argument
    Error while decoding stream #2:0: Invalid argument
    [Parsed_vstack_2 @ 00000000033ff1c0] Input 1 width 1440 does not match input 0 width 1264.
    [Parsed_vstack_2 @ 00000000033ff1c0] Failed to configure output pad on Parsed_vstack_2
    Error reinitializing filters!
    Failed to inject frame into filter network: Invalid argument
    Error while decoding stream #3:0: Invalid argument
    Finishing stream 0:0 without any data written to it.
    [Parsed_vstack_2 @ 00000000033fec20] Input 1 width 1440 does not match input 0 width 1264.
    [Parsed_vstack_2 @ 00000000033fec20] Failed to configure output pad on Parsed_vstack_2
    Error configuring filter graph
    Conversion failed!

    Also if anyone knows how to do the 3x3 stack, feel free to comment.

  • FFMPeg Windows C# H264

    21 septembre 2011, par Allen Ho

    I am trying to use SharpFFMpeg

    http://sourceforge.net/projects/sharpffmpeg/

    I found avcodec-52.dll and avformat-52.dll somewhere on the Net...

    When I use SharpFFMpeg and make calls like av_init_packet

    I get PInvoke errors like so

    PInvokeStackImbalance was detected
    Message : A call to PInvoke function 'WpfApplicationFFMpegTest !FFmpegSharp.Interop.FFmpeg::av_init_packet' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention and parameters of the PInvoke signature match the target unmanaged signature.

    In a nutshell I am trying to decode H264 and display the incoming stream from a camera...

    Just wondering if anyone has been able to do this succesfully in C# ?

    Thanks