Recherche avancée

Médias (1)

Mot : - Tags -/ticket

Autres articles (68)

  • 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 ;

  • Activation de l’inscription des visiteurs

    12 avril 2011, par

    Il est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
    Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
    Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...)

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

Sur d’autres sites (8333)

  • ffmpeg wav output length not correct or consistant

    3 avril 2013, par user2241026

    Trying to run a very simple command via php a exec() command. All my other commands are working fine except for a simple audio trim that I am trying to run.

    The user posts a file, and a start time (in mm:ss.xxx format). and ffmpeg is supposed to trim the file to 5 seconds after the start time. The problem is, some times it works, but other times the audio file is 6 or even 7 seconds long. I can't figure out the problem.

    Oh, I'm aware of the lack of sanitizing in the code right now.

    here is the PHP code

    //user entered number for example "01:30"
    //$newFilePath1 is the location of the file, no issue there
    $starttime = $_POST["starttime"];

    $makeWav1 = "ffmpeg -y -ss 00:".$starttime." -i \"$newFilePath1\" -acodec pcm_s16le -sample_rate 48000 -t 00:00:05.000 temp/audiocut1.wav";

    exec($makeWav1);

    Thank you for the help !!

  • checkasm/sw_range_convert : test all supported bit depths

    18 septembre 2024, par Ramiro Polla
    checkasm/sw_range_convert : test all supported bit depths
    

    This commit also reduces the number of times ff_sws_init_scale() gets
    called (only once per bit depth), and the number of times randomize_buffers()
    gets called (only if the function must be checked).

    Benchmarks are only performed on bit depths 8 and 16 (since they are
    different functions, and not only different constants).

    • [DH] tests/checkasm/sw_range_convert.c
  • Convert one image + one video's audio to video with ffmpeg

    5 septembre 2019, par intrlocutr

    I’m trying to convert one video file (flv) and one image file (jpg) to one mp4 video, with the video’s audio sample rate increased, and the image overlayed on top of the audio.

    Right now I’m using this command :

    ffmpeg -i video.flv -loop 1 -i photo.jpg -y -filter:a "asetrate=55786.5‬" -vcodec png -filter:v "pad=ceil(iw/2)*2:ceil(ih/2)*2" -map 1:0 -map 0:1 -y -tune stillimage finalvideo.mp4

    It produces an mp4 that plays just fine in VLC, but will not upload to YouTube, which is what I eventually want to do. I could convert the flv to an mp3 and then to an mp4, with two separate ffmpeg commands, however I’m running this in an environment where time and resources are limited, so I’d like to avoid that if at all possible.