Recherche avancée

Médias (1)

Mot : - Tags -/ticket

Autres articles (78)

  • Problèmes fréquents

    10 mars 2010, par

    PHP et safe_mode activé
    Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
    La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

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

Sur d’autres sites (12493)

  • How to use my FFMPEG code in Automator (Mac)

    23 juin 2023, par 3EK

    I have an ffmpeg code that converts .mov files to .mp4 files. I would like to set up a 'watch folder' system on my mac, so that when I drop files into a specific folder, it will automatically convert the file using my FFMPEG code.

    


    I have tried to add my FFMPEG code into the Automator app (mac) as a shell script, but it did not work and gave me the error *"The action “Run Shell Script” encountered an error : “zsh:3 : no matches found : .mov”"

    


    The FFMPEG code that I am using is...

    


    for i in *.mov; do ffmpeg -ss 4 -i "$i" -c:v libx264 -preset ultrafast -b:v 20M -vf format=yuv420p -c:a aac "mp4/${i%.*}.mp4"; done;


    


    Is anyone able to help me work out why this is not working please ?

    


    Greatly appreciated !

    


    Best,
John

    


  • python serve mp4 files securely [closed]

    4 juin 2021, par mariam_gvikvarxar

    I am building video serving service on python (django framework). The main requirement is that users should not be able to see mp4 direct link.

    


    I was thinking about generating .ts files with subprocess using ffmpeg

    


    like this :

    


    import subprocess

infile = 'video.ts'
outfile = 'video.mp4'

subprocess.run(['ffmpeg', '-i', infile, outfile])


    


    but as I guess it will take a lot of resources (in a RAM) if multiple users try to watch videos

    


    How would you solve this problem if you were me ?

    


    thanks in advance

    


  • Two rtsp streams to youtube on a Pi3

    19 mars 2020, par Sébastien Bonaimé

    I want to stream two rtsp camera from my birdbox to youtube from my raspberry pi 3 with the entrance in Pip (picture in picture) on top left. I don’t need sound.enter image description here

    192.168.1.13 can do 30 fps with sound that I don’t need
    192.168.1.31 is only 12 fps without sound

    I have some problems of lag between the two camera on the youtube stream which I think is due to the different fps. I compile ffmpeg with h264. Here is what I did

    ffmpeg -re -f lavfi -i anullsrc -rtsp_transport udp -thread_queue_size 1000k -i rtsp://admin:123@192.168.1.13:554 -i rtsp://admin:@192.168.1.31:554 -filter_complex "[1]scale=iw/4:ih/4[pip]; [2][pip] overlay=0:0"   -framerate 13  -bufsize 512k  -b:v 1500k -threads 4 -q:v 3  -c:v h264_omx  -c:a aac -f flv rtmp://a.rtmp.youtube.com/live2/XXX-XXXX-XXX

    and here are the errors

    [h264 @ 0x20ddd30] error while decoding MB 69 67, bytestream -6rate=1589.2kbits/s dup=0 drop=6 speed=0.997x
    [h264 @ 0x20ddd30] concealing 100 DC, 100 AC, 100 MV errors in I frame
    rtsp://admin:@192.168.1.31:554: corrupt decoded frame in stream 0te=1589.0kbits/s dup=0 drop=6 speed=0.997x
    [rtsp @ 0x1f2cea0] max delay reached. need to consume packetbitrate=1589.2kbits/s dup=0 drop=6 speed=0.997x
    [rtsp @ 0x1f2cea0] RTP: missed 35 packets
    [h264 @ 0x2099580] error while decoding MB 60 30, bytestream -6rate=1589.3kbits/s dup=0 drop=6 speed=0.997x
    [h264 @ 0x2099580] concealing 4549 DC, 4549 AC, 4549 MV errors in I frame
    rtsp://admin:@192.168.1.31:554: corrupt decoded frame in stream 0
    [rtsp @ 0x1f2cea0] max delay reached. need to consume packetbitrate=1588.9

    What can I do to improve the stream ? When a bird enter the box, there is also a quality problem when the image is changing and some lagging.
    You can have a look here
    https://www.youtube.com/watch?v=iisbinyvSFk&feature=youtu.be

    Thank you