Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (66)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

  • 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

Sur d’autres sites (10435)

  • FFMPEG Concatenate X video at time from a list.txt

    25 octobre 2019, par Lorenzo Castagnone

    I’m trying to concatenate 3 videos at time from a list.txt, i can concatenate all the videos in the list in a single long video, but i wish to concatenate x videos from the list in a single output, then concatenate the next x videos from the same list in another single output and so on.

    The script i’m developing it’s written in python, it fetches some videos from a server and save them locally in a folder and write my concat.txt, then ffmpeg read the concat.txt and create a single output.mp4

    #this merge all video in concat file in a single output
    os.system("ffmpeg -f concat -i downloaded/concat.txt -safe 1 -r 30 -fflags +genpts -c:a copy downloaded/output.mp4")

    I’m looking for a way to make ffmpeg read the first x row from the concat.txt , concatenate them in output1.mp4, then read the next x row from cancat.txt , concatenate them in output2.mp4 and so on.

    Thank you for your time to help me, i really appreciate that !

    ---EDIT
    Thank to @Tejas for the reply, i solved how to split the concat.txt file, now i’m trying to apply a filter to every clip

    import os
    x = 3 #Number of files you want to concatenate

    #Making directories so that the working directory stays organized
    txtFileName = "./splits/output{}.txt"
    outputFile = "./clip/output{}.mp4"
    postFile = "./media/post{}.mp4"
    os.makedirs(os.path.dirname(txtFileName), exist_ok=True)
    os.makedirs(os.path.dirname(outputFile), exist_ok=True)
    os.makedirs(os.path.dirname(postFile), exist_ok=True)


    #While splitting the files store their path to a list
    listofSplitFiles = []
    with open('./downloaded/concat.txt','r') as concat:
       lines = concat.readlines()
       for i in range(0,lines.__len__()//x):
           with open(txtFileName.format(i+1),'w') as split:
               listofSplitFiles.append(txtFileName.format(i+1))
               for j in range(0,x):
                   if( (i*x)+j < lines.__len__() ):
                       split.write(lines[(i*x)+j])

    #Call ffmpeg on the list
    for i in listofSplitFiles:
       outputBaseName = os.path.basename(i)
       outputFileName = os.path.splitext(outputBaseName)[0]
       postFileName = os.path.splitext(outputBaseName)[0]
       os.system("ffmpeg -f concat -i {} -safe 1 -r 30 -fflags +genpts -c:a copy ./clip/{}.mp4".format(i,outputFileName))
       os.system('''ffmpeg -loglevel error -r 30 -i sfondo/bkg.png -i ./clip/output{}.mp4 -b:v 1M -filter_complex ''' + '''"[1:v]scale=''' + "750" + ''':''' + "1080" + ''' [ovrl], [0:v][ovrl]overlay=(main_w-overlay_w)/2:((main_h-overlay_h)/2)"''' + ''' ./media/{}.mp4''' .format(outputFileName,postFileName))

    Unfortunately i have this error ./clip/{}.mp4: No such file or directory

  • dxva : verbose-log decoder GUID list

    22 juin 2017, par wm4
    dxva : verbose-log decoder GUID list
    

    Helpful for debugging.

    Merges Libav commit 068eaa534e7ddb2155e2830818d5c3f1069c68d8.

    Signed-off-by : Luca Barbato <lu_zero@gentoo.org>

    • [DH] libavcodec/dxva2.c
  • configure : remove pod2man from the config list

    20 mars 2017, par Clément Bœsch
    configure : remove pod2man from the config list
    

    The configure has the —disable-manpages option for this purpose, and
    — disable-pod2man is currently ignored due to that. This is also
    consistent with the other documentation options.

    • [DH] configure