Recherche avancée

Médias (1)

Mot : - Tags -/graphisme

Autres articles (45)

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Encodage et transformation en formats lisibles sur Internet

    10 avril 2011

    MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
    Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
    Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...)

Sur d’autres sites (4823)

  • Extract part of a video using ffmpeg_extract_subclip - black frames

    20 août 2020, par albert1905

    I'm trying to use : "ffmpeg_extract_subclip" for extracting part of a video.

    


    And I'm facing a few problems :

    


    1.when I'm cutting a small video (1-3seconds) I'm getting black frames, only audio is working.
2.when I'm cutting longer video, the output video is stuck 2-3 seconds before the end.

    


    This is my simple code :

    


    from moviepy.video.io.ffmpeg_tools import ffmpeg_extract_subclip

input_video_path = 'myPath/vid1.mp4'
output_video_path = 'myPath/output/vid1.mp4'
t1 = 6.5
t2 = 16    # random numbers, my last attempt..
    
ffmpeg_extract_subclip(input_video_path, t1, t2, targetname=output_video_path)


    


    I tried to look inside the code :
ffmpeg_extract_subclip Function

    


    But still couldn't understand what's wrong.. :(

    


    I'm still trying, and if anyone knows the problem or have a different approach, that will be amazing.

    


    Thanks a lot for your help !

    


  • Cropping black bars in video with ffmpeg on ubuntu changes video size

    9 décembre 2013, par pramod

    I have a source video size that's 720x576 with black rectangles on the top and bottom.

    I want to remove the black rectangles and set the output video size to 640x352.

    I tried -vf cropdetect and the value it gave was 640:192:0:80.

    However, putting that same value in crop=<parameter></parameter> changes the output video size.

    How can I fix this ?

    E.g. :

    ffmpeg -i all_the_best_test.mpg -s 640x352 -deinterlace -b 500k -minrate 500k \
    -maxrate 500k -aspect 1.82 -force_fps -vcodec libx264 -me_method 10 \
    -vf crop=640:192:0:80 -r 25 -acodec libfaac -ac 2 -ar 44100 -ab 96k -subq 6 \
    -vpre medium /vod/Movies/final/allthebest-crop-2.mp4
  • Stacking 3 gmp4-files using Avisynth and VirtualDub, results in wrong colors and distorted files

    22 juin 2015, par Frederik Amann

    I need to conduct the seemingly simple task of stacking 3 files next to each other. They are all the same : .avi Container, 320x240, 4:3, 25 fps, GeoVision Advanced MPEG-4 GEO codec.
    I installed the GeoVision codec (http://www.geovision.com.tw/english/5_8.asp# - select "other utilities"), so my system (windows media player, media player classic) can play back the files. Also, I can open and work with them in Virtual Dub. I installed AviSynth and wrote the simple script for stacking them next to each other

    h1 = AVISource("Event20150423075842001.avi")

    h2 = AVISource("Event20150423075842002.avi")

    h3 = AVISource("Event20150423075848003.avi")

    StackHorizontal(h1, h2, h3)

    now, when I save it as .avs and then open it using VirtualDub, I see three videos nicely put next to each other, but the colors are weird and parts of the video are upside down and everything is just ..wrong - see Screenshot http://www.linkfile.de/download-46f71057ed130f9be29510f68ce4ee71.php. First I thought it has something to do with avisynth taking the wrong codec, so i forced it on gmp4 (as you can also see in the screenshot), but the result is the same. I have now also Avisynth+ installed, as well as VirtualDubMod.
    When I open the .avs in VDMod, I get "couldn’t locate decompressor for format YV24", but it still opens the video which looks a little better though (but when I make a direct stream copy and save it, then play it back in MPC it looks exactly the same as it looked on the first screenshot). So this error points me toward something related to the colorspace.
    Now my questions :

    • How can I find out in which format my files are ? YUV24, YUV12, ..?
    • And then, how can I tell Avisynth to use a format that VirtualDubMod can deal with ?
    • Or how can I make VirtualDub deal with YUV24 ? Am I just missing a codec ? Is my train of thought even slightly on the right track, or is my problem something totally different ?

    I also found this related thread : Editing/Decoding AVI files using system-installed proprietary codecs, but using avisynth and ffmpeg, I get similar results as with VirtualDub.

    I can’t use the solution of converting all my files first and then do the stacking in a second step - because the actual files I have to work with are about 180 videos, each like 8hours long and the time it would consume would stand in no relation to my possibilities..

    I really have looked for solutions during the past week, and I think I’m close, but I sadly just don’t know enough about programming to be able to solve it on my own.. so I also want to excuse for any apparent stupidities in my explanation ;)
    I’m very thankfull for any help

    Have a good time everybody

    EDIT :
    So I have some more Info, and an example file, which I can’t link in this post -.- because I -again- have not enough reputation, very nice. I will try to comment and post the links :)

    Here is what the info() command brought me :
    Colorspace : YV24,
    FieldBased (Separated) Video : NO,
    Parity : Bottom Field First,
    Video Pitch : 320 bytes,
    Audio : NO,
    CPU detected : x87 MMX ISSE SSE4.1 SSSE3