Recherche avancée

Médias (10)

Mot : - Tags -/wav

Autres articles (60)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

Sur d’autres sites (9364)

  • How to change color scheme of frame extracted via FFMPEG library on C++ ?

    22 septembre 2014, par user2742299

    I have been able to decode the video file using the FFMPEG as well as to save them in *.ppm files.

    I would like to know how can I change the color of each frame soon after decoding and before saving them ?

    For example : if I have a colored frame which I decoded and extracted from the video file, I would now like to change it to black and white frame and then save it to the file.

    I am quite new to FFMPEG library and further more less documentation is available on it for developers. Therefore any help on it would be highly appreciable.

    Thanks

  • Color spot in FFmpeg output

    2 juin 2022, par Fabian Garcia

    I work in a company that serves multimedia content to different clients and one of these requests that the videos contain the following specifications :

    


      

    • Codec : H264 High@4.0
    • 


    • Mode : CBR 1 pass
    • 


    • Window Buffer : 5 secs
    • 


    • Frame Rate : 29.97/23.97
    • 


    • Key Frame Interval : 2 secs
    • 


    • Bitrate : 4000 Kbps
    • 


    • Size : 1920x1080
    • 


    • Window Buffer : 5 secs
    • 


    • GOP : closed
    • 


    • GOP size : fixed (no scene change detection)
    • 


    • Window Buffer : 5 secs
    • 


    • B Frames : As needed
    • 


    


    For the above, i build following script :

    


    ffmpeg -hide_banner -nostats -loglevel error -y
-init_hw_device cuda=cuda -hwaccel cuda -hwaccel_device cuda
-i 'video_source.mxf' -filter_hw_device cuda
-filter_complex '[0:v]format=nv12,hwupload,yadif_cuda,scale_cuda=1920:1080[v0]'
-map '[v0]' -c:v h264_nvenc -rc cbr -b:v 4M -bufsize 8M -x264-params "keyint=60:min-keyint=48:no-scenecut" -r '30000/1001' -profile:v high -level:v 4
-map 0:1 -c:a libfdk_aac -b:a 96k -ar 44100 -ac 2 -sample_fmt s16
'output.mp4'


    


    The inconvenience is that the generated output presents some color spots in the scene changes (it's a fade) as can be seen in the attached image.

    


    I could notice that in the output video, the time does not match the input precisely, the output is a few milliseconds ahead, I think that the color spot corresponds to the image that should be shown at that moment in the original video.

    


    Can you see something wrong in script ? Or maybe some concept that i don't know is causing a conflict with the output (This is my first time using ffmpeg).

    


    Thank for your help !

    


    color spot example

    


  • ffmpeg -vg -filtercomplex, create gif with color kway and limited fps

    3 février 2020, par daniel

    I need to create a gif file with color key (greenscreen) with 10FPS and specified size. I try to combine -vg and -filter_complex :

    ffmpeg -i testdatei-c.avi -vf "fps=10,scale=320:-1:flags=lanczos" -filter_complex "[0:v]chromakey=0xFFFFFF,split[v0][v1];[v0]palettegen[p];[v1][p]paletteuse" output.gif

    I get the error :

    Filtergraph 'fps=10,scale=320:-1:flags=lanczos' was specified through the -vf/-af/-filter option for output stream 0:0, which is fed from a complex filtergraph.
    -vf/-af/-filter and -filter_complex cannot be used together for the same stream.