Recherche avancée

Médias (3)

Mot : - Tags -/collection

Autres articles (15)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

  • Personnaliser l’affichage de mon Médiaspip

    27 mai 2013

    Vous pouvez modifier la configuration du squelette afin de personnaliser votre Médiaspip Voir aussi plus d’informations en suivant ce lien
    Comment supprimer le nombre de vues d’affichage d’un média ?
    Administrer > Gestion du squelette > Pages des articles et médias Cocher dans "Informations non affichées sur les pages de médias" les paramètres que vous ne souhaitez pas afficher.
    Comment supprimer le titre de mon Médiaspip dans le bandeau horizontal ?
    Administrer > Gestion du squelette > (...)

Sur d’autres sites (6316)

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