Recherche avancée

Médias (1)

Mot : - Tags -/book

Autres articles (77)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

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

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (14636)

  • ffmpeg : simple RTMP streaming

    2 avril 2013, par sajad

    I am trying to launch up a rtmp transcoder server using ffmpeg ; that receives udp MPEG-TS streams as input, transcodes it ; and generates an rtmp output to a URL, that can be accessed by users to receive and play the rtmp stream. All these are expected to be performed in a LAN and the output be accessed by all users.

    1) First I don't know where the URL should point to. Is it enought to specify the IP of the system and some optional port ? Is it neccessary that a program should be listening on that port ?

    2) How I can play the stream on the URL ?

    I use a linux ubuntu machine whith IP=10.1.1.229 and I want to transcode multicast stream on this URL : udp://@224.10.1.1:2001.

    here is the command used to transcode input stream and generate rtmp url "rtmp ://10.1.1.229:2020".

    ffmpeg -y -f mpegts -i "udp://@224.10.1.1:2001" -re -vcodec libx264 -maxrate 700k -r 25 -s 640x360 -deinterlace -acodec libfaac -ab 64k -ac 1 -ar 44100 -f flv "rtmp://10.1.1.229:2020"

    and here is the command by which I am trying to play rtmp stream :

    ffplay rtmp://10.1.1.229:2020

    Any guidance would be helpfull. Thank you.

  • What encoders/decoders/muxers/demuxers/parsers/filters do I need to enable in FFMpeg for converting an mp4 video to a gif ?

    21 juin 2020, par kostik

    I am building FFmpeg with custom options to reduce the final size of apk file on android. I want just convert a mp4 file to a gif.
Following is my options specified

    


     --disable-everything
 --enable-decoder=mpeg4,mpegvideo,aac,gif,h264
 --enable-parser=aac,mpeg4video,mpegaudio,mpegvideo,gif,h264
 --enable-demuxer=mpegvideo,aac,mov,gif,h264
 --enable-muxer=mp4,gif,mov,h264
 --enable-protocol=file
 --enable-encoder=mpeg4,mov,gif,h264
 --enable-filter=scale,fps,copy,palettegen,vflip,paletteuse,crop


    


    What other options do i need to add to successfully run this command ?

    


    ffmpeg -y -i input.mp4 -vf "fps=15,scale=320:-1:flags=lanczos" -pix_fmt rgb24 output.gif


    


    or this command

    


    ffmpeg -y -i input.mp4 output.gif


    


    After I added module into Android Studio I run FFmpeg command.
Iam getting this error :

    


    2020-06-21 12:16:09.883 8871-9102/com.example.myapplication W/mobile-ffmpeg: [graph 0 input from stream 0:0 @ 0x7088243f40] sws_param option is deprecated and ignored
2020-06-21 12:16:09.885 8871-9102/com.example.myapplication W/mobile-ffmpeg: Incompatible pixel format 'rgb24' for codec 'gif', auto-selecting format 'rgb8'
2020-06-21 12:16:09.885 8871-9102/com.example.myapplication E/mobile-ffmpeg: Output pad "default" with type video of the filter instance "Parsed_scale_1" of scale not connected to any destination
2020-06-21 12:16:09.885 8871-9102/com.example.myapplication E/mobile-ffmpeg: Error reinitializing filters!
2020-06-21 12:16:09.885 8871-9102/com.example.myapplication E/mobile-ffmpeg: Failed to inject frame into filter network: Invalid argument
2020-06-21 12:16:09.886 8871-9102/com.example.myapplication E/mobile-ffmpeg: Error while processing the decoded data for stream #0:0


    


    I also tried to include FULL library and it that case everything worked as expected.

    


    Thanks for your help.

    


  • How to concat videos that have different colour spaces ?

    17 avril 2023, par Ham789

    enter image description hereI writing a Python program that uses subprocess to automate ffmpeg. The program concatenates many videos together with the concat filter. The problem I have is that the colour of some of the videos is very washed out in the final output. I believe this is because the videos have different colour spaces. Some are B.709 and some are B.2020. The B.2020 videos are washed out.

    


    I have tried converting the B.2020 videos to B.709 before concatenating by using the following command on each video but the outputs are still washed out :

    


    ffmpeg -i input.mov -vf colorspace=all=bt709:iall=bt2020:fast=1 output.mov


    


    It wasn't clear to me which way round the arguments should go so I also tried switching the bt2020 and bt709 terms but they still look washed out but with more saturation.

    


    Is this the right approach ? Am I missing some other arguments in order to convert the B.2020 videos to B.709 while preserving their colour ?

    


    I have attached a side by side of the original and converted video.

    


    The metadata of the videos I am trying to concat are :

    


    Video 1

    


      

    • color_range=tv
    • 


    • color_space=bt709
    • 


    • color_transfer=bt709
    • 


    • color_primaries=bt709
    • 


    


    Video 2

    


      

    • color_range=tv
    • 


    • color_space=bt2020nc
    • 


    • color_transfer=arib-std-b67
    • 


    • color_primaries=bt2020
    •