Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (44)

  • 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 les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (10004)

  • Electron, Chromium and ffmpeg licencing confusion, how to build electron with licence compatible ffmpeg [migrated]

    12 mars 2021, par Iamisti

    Intro :
Recently I'm working on an electron based application that is free to use but also has subscription based services.
It came to my attention that ffmpeg is shipped with electron, which has GPL/LGPL licence.

    


    My quetion is :

    


      

    • Am I legally able to still distribute the application and be licence-compliant with ffmpeg without owning any proper licence to it ? I thought chromium dealt with the licencing on this topic since so many applications nowadays are shipped with using electron and chromium under the hood.
    • 


    • How do I compile/build electron to make it licence compatible (in case its not ?)
    • 


    


    I did a lot of reseearch and I found out the followings :

    


      

    • ffmpeg is shipped with chromium, they built their own version of ffmpeg and it seems they also have licence for it. Although that might be that they just push the responsibility down on the software developer/company who distributes their application with chromium.
Chromium licence for ffmpeg : https://chromium.googlesource.com/chromium/third_party/ffmpeg/+/703e920bb75053bf6b87d41d198cbbfbce3fb7ad/LICENSE

      


    • 


    • Apparently ffmpeg has a checklist of how to be licence compliant. Does that mean if I do all these steps, I can still distribute the application and can legally use it ? Licence checklist for ffmpeg : http://ffmpeg.org/legal.html

      


    • 


    • checking out some popular electron applications like Discord, Figma, Slack, etc... they ALL have ffmpeg included cause of electron when you install them. I wonder how they made it legal ? I don't see any of these checklists done on any of these popular applications.

      


    • 


    


    I'm know very little regarding licences, so any help would be incredibly huge help for me.

    


  • ffmpeg with a python wrapper— need help avoiding multiple passes on a file

    19 octobre 2018, par Dean D D

    I would like some help refactoring this code to reduce the amount of passes ffmpeg must make on the file. I figure creating a single compounded ffmpeg command would do the trick, but I am kind of lost.

    def processVideo(videoFile, venueWatermarkFile, companyWatermarkFile, mp3File=None, m4vFile=None, cropH, cropW, resizeH, resizeW):
       if mp3File != "" :
           subprocess.call('ffmpeg -y -i ' + videoFile + ' -i ' + audio + ' -filter_complex "[0:v]scale=480:ih*480/iw, crop=480:480, loop=loop=3:size=210, trim=duration=15[video]" -shortest -map "[video]" -map "1:a?" -c:a aac new1.mp4', shell=True)
       else :
           subprocess.call('ffmpeg -y -i ' + videoFile + ' -i ' + audio + ' -vf "scale=480:ih*480/iw, crop=480:480" new1.mp4', shell=True)

       if m4vFile != "":  
           subprocess.call('ffmpeg -i ' + videoFile + ' -i ' + m4v + ' -filter_complex " [0:v] scale=480:ih*480/iw, crop=480:480 [bg]; [1:v] chromakey=00FF00:similarity=0.2:blend=0.3 [fg]; [bg][fg] overlay=shortest=1 [v] " -map "[v]" -map "0:a?" -f mp4 new1.mp4', shell=True)

       subprocess.call('ffmpeg -y -i new1.mp4 -i ' + venueWatermarkFile + ' -filter_complex "overlay=0:0" -codec:a copy new2.mp4', shell=True)
       subprocess.call('ffmpeg -y -i new2.mp4 -i ' + companyWatermarkFile + ' -filter_complex "overlay=0:0" -codec:a copy new.mp4', shell=True)

       subprocess.call('ffmpeg -y -i new.mp4 new.gif -hide_banner', shell=True)
       subprocess.call('ffmpeg -y -i new.mp4 -ss 00:00:00.000 -vframes 1 new.jpg', shell=True)

       os.remove("new1.mp4")
       os.remove("new2.mp4")


    processVideo("video-standard.mp4", "venue-standard.png", "company-standard.png", "clip.mp3", "animation.m4v")
  • fate/mxf : Fix d10-user-comments test

    4 décembre 2020, par Andreas Rheinhardt
    fate/mxf : Fix d10-user-comments test
    

    The mxf_d10 muxer is very picky regarding the input it accepts :
    The only video accepted is MPEG-2 with absolutely constant bitrate,
    i.e. all packets need to have exactly the same size ; and only a few
    bitrates are accepted.

    The sample file used did not abide by this : Writing the first packet
    (a video packet) errors out and afterwards an audio packet from the
    muxing queue has been written. That's all besides metadata (which this
    test is about). The FFmpeg cli returned an error, but said error has
    been ignored by the md5 test.

    This commit changes the test to actually send a compliant stream to the
    muxer, so that it does not error out ; furthermore, the test is changed
    to explicitly check the metadata instead of it only being implicitly
    included in the md5 checksum. The compliant stream is created by our
    encoder at runtime.

    Finally, the test now also covers writing user-specified
    product/company/version identification.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] tests/fate/mxf.mak
    • [DH] tests/ref/fate/mxf-d10-user-comments