Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (51)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • 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

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

Sur d’autres sites (6341)

  • Output file not specified [closed]

    16 mai 2024, par Rich Madrid

    I have been messing around with ffmpeg working on basic mkv to mp4 conversions the last couple of days on my Mac and Windows computers. Mac was easier buy my windows desktop has a much faster OS so I wanted to do some conversions on it tonight. Got ffmpeg installed and working.

    


    After having some issues with the command prompt not finding the directory, I solved that with the following basic code to convert an mkv file to an mp4 for me :

    


    ffmpeg -i "C:\Users\Computer\videos\decade.mkv" "C:\Users\Computer\Videos\RJ videos\Complete\decade.mp4"


    


    I moved on to wanting to scale up an mkv to 1080p and use a yadif filter. I couldn’t find an adequate way to do this so I used a portion of the command that worked on my Mac last night, and stuffed it into the command for windows and I got an error code “at least one output file must be specified” after using the following command :

    


    ffmpeg -i "C:\Users\Computer\videos\decade.mkv" -vf "yadif=1,scale=1440x1080:flags=lanczos,setsar=1" -c:v libx264 -crf 21
-c:a aac -b:a 128k -ar 48k "C:\Users\Computer\Videos\RJ videos\Complete\decade.mp4"


    


    What am I doing wrong ?

    


  • How to stream an image during specific seconds with ffmpeg ?

    14 juillet 2021, par Alex Rypun

    I need to stream an image to RTMP destination for 20 seconds.
I use AWS medialive + mediapackage for streaming.
I'm trying to do it using different framerates (-r) by command :

    


    ffmpeg -loop 1 -r 30 -t 20 -i ./stream_stub.jpg -vcodec libx264 -f flv rtmp://mystream


    


    but the real stream time is from 8 to 14 seconds (depending on framerate).

    


    If I create a video file the duration is 20 seconds (as expected) regardless of framerate :

    


    ffmpeg -loop 1 -r 30 -t 20 -i ./stream_stub.jpg -vcodec libx264 -f flv out.mp4


    


    But for live streaming, I can't reach the expected behavior.

    


    What I'm doing wrong ? And what framerate should I use for a single still image (as I understand 1 fps should be ok) ?

    


  • Converting portion of an MP4 to MP3 with FFMpeg with timestamp

    17 juillet 2019, par john

    I can convert portions of an mp3 to and mp3 or and mp4 to an mp4 using FFMpeg with the -ss and -to flags. For example :

    ffmpeg -i sample1.mp4 -ss 00:00:10 -to 00:00:18 -c copy output output.mp4

    or

    ffmpeg -i sample1.mp3 -ss 00:00:14 -to 00:00:27 -c copy output output.mp3

    These work as expected. But when I do this :

    ffmpeg -i sample1.mp4 -ss 00:00:22 -to 00:00:53 -c copy output.mp3

    I get this error :

    Could not write header for output file #0(incorrect codec parameters ?):Invalid argument

    I looked on the FFMpeg site and other sites to see what the missing codec was. if I convert the mp4 to mp3 without the -ss and -to flags the conversion works as expected. Is there another flag I am missing, or do I need to convert from mp4 to mp3 then grab a subsection of the mp3 based on the timestamps ?

    Thanks