Recherche avancée

Médias (91)

Autres articles (101)

  • 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

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (7804)

  • how ffmpeg resolve the flac format file [closed]

    19 février 2024, par haijia

    I want make a music player use ffmpeg. As usual, when read the end of file, the av_read_frame will sender a NULL AVPacket to flash packet.NULL AVPacket But when I use the flac format file, the avcodec_receive_frame get the error is "Invalid data found when processing input" instead of "end of file".receive_frame_error,But on other format, avcodec_receive_frame get the error called "end of file".
So, Shoud I ignore this error and regard as the end of file ?

    


    If possible, I want it get "end of file".

    


  • How can I run FFPROBE in a Python script without triggering the Windows Command window ?

    1er mars, par fnord12

    I am using ffmeg/ffprobe to get video durations (in an addon for Kodi). The code :

    


    result = subprocess.run(["ffprobe", "-hide_banner", "-v", "quiet", "-show_entries",
                                 "format=duration", "-of",
                                 "default=noprint_wrappers=1:nokey=1", filename], stdout=subprocess.PIPE, stderr=subprocess.STDOUT)


    


    The above code and the file importing that code both have a .pyw extension (after first trying regular .py).

    


    This works fine but in Windows 11 it causes the black Windows Command window to briefly flash for each video, despite the -hide_banner flag and loglevel being set to quiet. In Linux Mint it runs without any such window popping up.

    


    Found the answer : subprocess.run just needed a final shell=True as the last argument.

    


  • ffmpeg not encoding 'container' correctly

    11 août 2012, par Barry Chapman

    I am trying to encode a file that is uploaded to our server using ffmpeg.

    However, when we play the video through any flash based media player (FlowPlayer, JW Player) it plays the audio but no video. When we play it on a desktop application (VLC, QT, WMP) - it works fine.

    Here is my encoding command :

    /usr/local/bin/ffmpeg -y -i {$in} -vcodec libx264 -acodec libfaac -ab 128k -ac 2 -b 300 -threads 4 -flags +loop -cmp +chroma -partitions 0 -subq 1 -trellis 0 -refs 1 -coder 0 -bufsize 10M  -qcomp 0.6 -qmax 22 -qdiff 4 -level 30 {$out}

    {$in} is the input file, {$out} is the output file.

    Our ffmpeg version is N-41485-g1321e6e-syslint

    I am still somewhat new to the video encoding scene, can anyone see anything with my encode string that might be a giveaway ?