Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (66)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

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

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

Sur d’autres sites (9514)

  • Rotate video without transcode - problems

    29 décembre 2023, par Tyrone Hirt

    I created an FFMpeg script to rotate -90 some videos, this makes these videos display correctly.

    


    the script is this :

    


    ffmpeg -i input.mp4 -c:v copy -metadata:s:v:0 rotate=-90 output.mp4


    


    The issue is that for some reason all the output files are having variations of 2 frames, which causes me problems when I use these files as Proxy videos in editing programs.

    


    For example, if the original file has a timecode of 00:00:32:12 the output file for some reason will have a timecode of 00:00:32:10.

    


    The problem seems to be occurring because I am working with files with 23,976 fps, because I did a test with a video file with 30 fps and there was no variation in the output file.

    


    How can I fix this problem ?

    


    I've already tried adding -r 23.976 to the code to force the frame rate, but that didn't help either.

    


    The crucial point here is to rotate the video without re-encoding the file, as re-encoding will cause a significant time penalty in my workflow.

    


  • does movie filter in ffmpeg 4.3.1 support png format picture

    1er janvier 2021, par TONY

    I use ffmpeg's moive filter to add wartermark on my video.
The str is "const char *filter_descr = "movie=test.png:seek_point=3.2, scale=180 :-1, setpts=PTS-STARTPTS [over] ;[in] setpts=PTS-STARTPTS [main] ;[main][over] overlay=16:16 [out]" ;"
it shows that can't find codec, but if the wartermark picture is bmp ,then it's ok.
I found that the png code exists in ffmpeg, it should support png decoder.

    


  • ffmpeg with zoom, combine video & audio

    30 août 2021, par P Jewellery

    I have 4 input,

    


      

    1. Main video (No audio in the video)
    2. 


    3. logo.png (always stay on top right corner)
    4. 


    5. image.jpg (Locate at the end of video, Have different ratio with main video)
    6. 


    7. audio.mp3 (The only audio input)
    8. 


    


    The below code helped me to edit the main video.

    


    for %%a in ("*.mp4") do c:\ffmpeg.exe -i "%%a"  
-filter_complex " 
[0:v]trim=0.13:2.5, setpts=PTS-STARTPTS [v0]; 
[0:v]trim=0.13:2.5, reverse,setpts=PTS-STARTPTS[v1]; 
[0:v]trim=28.5:31, reverse,setpts=PTS-STARTPTS [v2]; 
[0:v]trim=28.5:31,setpts=PTS-STARTPTS [v3]; 
[0:v]tpad=stop_mode=clone:stop_duration=2, trim=0.13:31,setpts=0.5*PTS-STARTPTS [v4];
[0:v]trim=30.95:31,tpad=stop_mode=clone:stop_duration=5,setpts=PTS-STARTPTS [v5]; 
[v0][v1][v2][v3][v4][v5]concat=n=6:v=1:a=0[out]" -map "[out]" "%%~dpnaf.mp4"


    


    However, I want to

    


      

    1. add a logo at top right of the video throughout the whole video.

      


    2. 


    3. add an image.jpg at the end of my edited main video.

      


    4. 


    5. add the audio.mp3 throughout the whole final output video. (duration depends on the video.)

      


    6. 


    7. apply a continuous zoom in for [v0]&[v1] (Since v1 is reverse of v0, after the zooming, ending image of v1 is bigger than starting image of v0, so v0,v1 looks like a smooth zoom in video)

      


    8. 


    


    "scale=2160x2160,zoompan=z='min(max(zoom,pzoom)+0.01,5.0)':x='iw/2-(iw/zoom/2)':y='ih/2-(ih/zoom/2)':d=125:s=2160x2160",


    


    and a continuous zoom out for [v3] & [v4]

    


    All the about to be able to run through a single bat file.