Recherche avancée

Médias (91)

Autres articles (111)

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

  • Participer à sa documentation

    10 avril 2011

    La documentation est un des travaux les plus importants et les plus contraignants lors de la réalisation d’un outil technique.
    Tout apport extérieur à ce sujet est primordial : la critique de l’existant ; la participation à la rédaction d’articles orientés : utilisateur (administrateur de MediaSPIP ou simplement producteur de contenu) ; développeur ; la création de screencasts d’explication ; la traduction de la documentation dans une nouvelle langue ;
    Pour ce faire, vous pouvez vous inscrire sur (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (3423)

  • ffprobe | ShowFrames | Packet Size | Divide | Add

    8 mai 2015, par Ben

    I am running this statement in shell

    for file in /path/to/files/*.mp4; do ffprobe -show_frames $file | grep "pkt_size" > ${file}.txt

    done

    It would be great if I could get this information too ;

    1. When I grep pkt_size row with numbers then I want script to - divide
      every pkt_size number with 100,
    2. then add (sum) pkt_size row numbers every after 50 rows.
  • Am I able to stream .mp4 file with the appropriate stream key ?

    8 octobre 2022, par akumakan

    Expected Results :
Right now, this is the code that I am trying to edit. What this does is that I input a name (example.mp4) and it take the contents from a notepad with my stream keys and streams the .mp4 file I input. I want it so that I have .mp4 files with the names as stream keys and the program streams it with the appropriate stream key in the notepad. Is that possible ?

    


    Initial code :

    


    import subprocess

print("Enter the name of the file you want to stream. Include the file extension.\nExample: lofi.mp4 or image.png or pogchamp.gif")
filename = input("\nFilename: ")
with open('stream_keys.txt','r')as keys:
    for key in keys:
        subprocess.Popen(f'ffmpeg -stream_loop -1 -re -i {filename} -stream_loop -1 -i music.mp3 -c:v libx264 -preset veryfast -b:v 3000k -maxrate 3000k -bufsize 6000k -pix_fmt yuv420p -g 50 -c:a aac -b:a 160k -ac 2 -ar 44100 -f flv "rtmp://live.twitch.tv/app/{key}"', shell=True)


    


    What I tried :
Im not proficient with coding and i tried to change the filename into keys.mp4 thinking it will have my expected results.

    


    
print("Edit Names of .mp4 files with twitch stream keys")
open('stream_keys.txt','r')as keys:
    for key in keys:
        subprocess.Popen(f'ffmpeg -stream_loop -1 -re -i {key}.mp4 -stream_loop -1 -i music.mp3 -c:v libx264 -preset veryfast -b:v 3000k -maxrate 3000k -bufsize 6000k -pix_fmt yuv420p -g 50 -c:a aac -b:a 160k -ac 2 -ar 44100 -f flv "rtmp://live.twitch.tv/app/{key}"', shell=True)


    


    thank you

    


  • How to pipe output of ffmpeg to three different processes ?

    19 juillet 2012, par Richard Knop

    How can I pipe output of ffmpeg without saving it to a file to three different processes ?

    Let's say I have :

    ffmpeg -i input.mpg output.yuv

    I would like to change that in order to avoid saving YUV to physical disk. I would like to pipe it to three different shell commands.

    How to do it ?