Recherche avancée

Médias (3)

Mot : - Tags -/image

Autres articles (29)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • 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

Sur d’autres sites (6195)

  • ffmpeg : "Error setting profile" ; how to keep original resolution odf odd sized videos ; getting Quicktime compatible output ; fixing pixel format

    26 février 2017, par P. Reid

    I’ve been having trouble using ffmpeg to compress videos to something readable by quicktime. My goal in the end is to have a simple command that I can use to compress high bitrate videos (ie screencaptures) to something more reasonable to be able to share them with people.

    I want to use a command I found here as a starting point :

    ffmpeg -i input-file.avi -codec:v libx264 -profile: high -preset slow -b:v 500k -maxrate 500k -bufsize 1000k -vf scale=-1:480 -threads 0 -codec:a libfdk_aac -b:a 128k output_file.mp4

    Unfortunately I get this error :

    [libx264 @ 0x7f92ab81c200] Error setting profile high.
    [libx264 @ 0x7f92ab81c200] Possible profiles: baseline main high high10 high422 high444
    Stream mapping:
     Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
    Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

    If I take out the -profile: high the command functions but the output still doesn’t open in quicktime (it does in VLC). I can’t find the keyword -profile on the ffmpeg man page : https://ffmpeg.org/ffmpeg.html so I don’t know if this is important or what to do about it.

    Does anyone know what might be causing my problem ? What should I do to try and debug this problem ? I would describe myself as inexperienced so sorry if I’m missing something obvious.

    Thanks in advance for your help,
    Peter

    This is my ffmpeg version :

    ffmpeg version 3.2.4 Copyright (c) 2000-2017 the FFmpeg developers
     built with Apple LLVM version 7.0.2 (clang-700.1.81)
  • find matching files using a.bat script and assign them to a variable ?

    2 octobre 2019, par A Person

    I am trying to assign a file to a variable in batch-file and then also assign anoter 2 files into anoter variable.

    However, i am having an issue.

    From research, i found how i can do the assigning but does anyone know how i can do the below.

    From a folder or text file (either is fine) find the .m2v video file and assign that to Var1 then find matching audio in .wav and put that in Var2 and the third is also an audio .wav with mathcing name and assign that to Var3.

    Problem i am having is that trying to find the matching 2 audio file to the video.

    The video file is named as PAV_PRG_13683Highc450277201906251802090353.m2v

    Audio 1 is : PAV_PRG_13683High01c450211201906251802090376.wav

    Audio 2 is : PAV_PRG_13683High00c450211201906251802090368.wav

    the file name matches until it sees the word High. Everything after High is not needed and is random string so trying to match is an issue.

    is there a way to find the match by comparing everything before High.

    Also as i will be using the variable and putting them through ffmpeg to merge, is there way to do it so that when the ffmpeg command is done, it moves to the next matching files and assigns them to the variable.

    files are store in 2 folders

    One folder has all the video files *.m2v

    and another folder has all the *.wav audio files in pairs of 2. Each video has exactly 2 audios (left right audio)

    is there any hel pon this subject, i have already come up empty in my research and have been checking for this over the last week spent almost 30 hours.

  • poster adjustment after getting it from video

    30 juin 2016, par Jass

    I am capturing poster from this video https://www.youtube.com/watch?v=wg-kEWsL6Xc using following code. Video can be any, I am just giving example.

    shell_exec('ffmpeg -y  -itsoffset -4  -i "'.base_path().'/assets/videos/'.$file_name.'.mp4" -vcodec mjpeg -vframes 1 -an -f rawvideo -filter:v scale=1170:ih*1170/iw "'.base_path().'/assets/videos/thumbnail/'.$file_name.'.jpg"')

    Width = 1170px,

    Height= 300px (as it is background image so it does not matter)

    But I am facing adjustment problem. Following are my current views

    First : Head is cutting, here I am using css property background : url(’completepath’) center no-repeat ;
    enter image description here

    Second : Showing black portion on top of head. This is the original image that I am getting from ffmpeg code.

    enter image description here

    My Question : But I need image like in you tube, you can notice that in all videos we can see top portion of humans without being cutting even black portion is well adjusted.

    Currently I am downloading and testing with youtube videos but in actual job seekers will make their own videos using android/iphone or any camera and will upload on our site.

    so how i can overcome this issue means show image with proper human face and body ?

    thanks in advance.