Recherche avancée

Médias (1)

Mot : - Tags -/ogv

Autres articles (111)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • Utilisation et configuration du script

    19 janvier 2011, par

    Informations spécifiques à la distribution Debian
    Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
    Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
    Récupération du script
    Le script d’installation peut être récupéré de deux manières différentes.
    Via svn en utilisant la commande pour récupérer le code source à jour :
    svn co (...)

Sur d’autres sites (6925)

  • creating illusion of live streaming (internet radio) using ffmpeg

    29 décembre 2014, par user259060

    I am working on a project that involves live streaming but without seeking (just like internet radio). I am using ffmpeg and ffserver.

    • I could just send the song to ffserver feed using ffmpeg but the problem is that the whole song / file is getting dumped. I don’t want that to happen.

    • First I segmented the song using ffmpeg -threads 1 -i INPUT.mp3 -ar 24000 -acodec libmp3lame -ac 1 -aq 1 -ab 64k -map 0:0 -f segment -segment_time 2 -segment_list /PATH/TO/LIST/outputlist.m3u8 -segment_format mpegts /OUTPUT/PATH/output%05d.mp3 (this is just an example) .

    • As you can see that the segment time is 2 seconds. What I’m actually planning to achieve is that I want to send first segmented file say output00001.mp3 to ffserver feed and wait for 1 second then send the the second segmented files say output00002.mp3 to ffserver feed and so on till the end of the song. This creates an illusion of radio live streaming. I was able to implement this without a problem using python.

    PROBLEM :

    The problem I faced while listening to song (htttp ://foo:port/test1.mp3) is that after 2nd second I hear a few millisecond pause and then the song continues to play which is very irritating. This happens after every segmented song completes playing. Is there any solution to eradicate the pause ? Is there a technique to make song play live (that means if my server shuts down, the song should stop immediately) ?

  • Splitting up a variable in bash

    17 décembre 2015, par bs7280

    I have a bunch of songs that I have downloaded that I am trying to convert to .mp3 and rename. After converting the .m4a file to mp3 with ffmpeg, they are all in the format of Artist Name - Song Name.mp3. I want to be able to separate the Song name and Artist name into their own variables, so I can rename the file and tag the songs with the song name and artist name.

    So, How can I separate a variable into two variables, each respectively containing the artist name and song name, where the two pieces of information is separated by a ’ - ’ in bash ?

  • How to make ffmpeg respect the "start_time" variable when combining cdg and mp3 ?

    5 juillet 2020, par Steffen Poulsen

    I'm trying to combine two .cdg and .mp3 files because I want to make a single .mkv file out of them.

    



    When I do it I get a .mkv file alright, but the audio is unfortunately not synced with the video.

    



    So, I was wondering why this is ? Apparently I must be missing a parameter on my command or something.

    



    What I do is this :

    



    ffmpeg -y -i song.cdg -i song.mp3 -pix_fmt yuv420p -vcodec libx264 -acodec copy song.mkv


    



    It works fine, but in this particular case the result is out of sync by 1.2 seconds. This varies per song, from 0 to a couple of seconds.

    



    However, if I do a ffprobe on the .cdg file I notice that this number is already present, as the "start_time" variable :

    



    ffprobe -v error -show_format -show_streams song.cdg
...
start_time=1.186667
...


    



    So, if I just use this number directly as this for the -itsoffset parameter :

    



    ffmpeg -y -itsoffset 1.186667 -i song.cdg -i song.mp3 -pix_fmt yuv420p -vcodec libx264 -acodec copy song.mkv


    



    Then the video and audio is in perfect sync.

    



    So, I am wondering - what parameter do I need to add to my command to have ffmpeg respect this variable ?