Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (74)

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

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

Sur d’autres sites (13246)

  • Creating iPhone compatible video with ffmpeg from an image and MP3 file

    22 février 2020, par Gracie

    I have the following command that I have used to create an MP4 video file from an image and an MP3 file, it plays fine in a Chrome browser on desktop and on an Android phone - but it doesn’t work on an iPhone 10. Do I need some extra codec or setting to make this compatible for iPhone ? Should I be converting this into a MPEG file instead for wider compatibility ?

    ffmpeg -loop 1 -i 6f4aa5dfefc4dd32186f41315ad9d1e2-0.png -i "music.mp3" -c:v libx264 -tune stillimage -c:a aac -b:a 192k -pix_fmt yuv420p -shortest aa-image0.mp4

    Here are the ffprobe details for the input MP3 file used to create the MP4 video and also the ffprobe for that output file :

    Input #0, wav, from 'download0.mp3':
     Duration: 00:00:35.94, bitrate: 384 kb/s
       Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 24000 Hz, 1 channels, s16, 384 kb/s
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'aa-image0.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf58.22.100
     Duration: 00:00:38.76, start: 0.000000, bitrate: 505 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 2664x1498 [SAR 1:1 DAR 1332:749], 367 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 138 kb/s (default)
       Metadata:
         handler_name    : SoundHandler

    The video seems to play on the iPhone, but the audio seems to start/stop constantly. Like it is a streaming issue (even though it is not). Maybe an MP3 encoding issue when I created the video ?

    Here are the test files I have used and created (any iPhone users will likely find the MP4 will not play the audio in the video properly) :

    https://ffmpeg-iphone-issue.netlify.com/tesla.jpg

    https://ffmpeg-iphone-issue.netlify.com/tesla.mp3

    https://ffmpeg-iphone-issue.netlify.com/tesla.mp4 (OUTPUT - Created from the 2 files above)


    In summary, two FFmpeg commands are required :

    1) Used to create iPhone/iOS compatible videos in FFmpeg from an image and MP3 (A slight modification to the command at the top of the page)

    and

    2) An FFmpeg command that could be used to fix or re-encode the video above so that it works on iPhone (A new command incorporating the parts so it works with iPhone and then to rebuild and fix the "broken" video. In a similar fashion to this video where he fixes a broken video https://www.youtube.com/watch?v=2FhmbKKh6mc [command in Youtube description])

  • How to encode HEVC HDR10 to SVT-AV1 HDR10 ?

    28 octobre 2022, par Mario Gratzi

    I'm currently trying to find a way to re-encode a HEVC HDR10 clip to SVT-AV1 HDR10 using ffmpeg but for some reason, I don't get ffmpeg to forward the HDR metadata to the AV1 clip. So the re-encoded AV1 clip always has very cold color grading, which does not make fun to watch at all...

    


    I then checked onto FastFlix, a similar tool to Handbrake which is basically a ffmpeg frontend. If I select SVT-AV1 as encoder here, and I check onto the raw ffmpeg command FastFlix generates, it seems that this also includes the grading information :

    


    -svtav1-params "color-primaries=9:transfer-characteristics=16:matrix-coefficients=9:mastering-display=G(0.2650,0.6900)B(0.1500,0.0600)R(0.6800,0.3200)WP(0.3127,0.3290)L(4000.0000,0.0050):content-light=368,226:enable-hdr=1"


    


    The problem for me is now, how do I get these grading information with my own ffmpeg command ?

    


  • Using inotifywait with a FIFO

    2 mai 2019, par diatrevolo

    I am using inotifywait to watch a folder and run a video transcode when a file is done copying or moved into a share folder from within an Ubuntu Docker container. It seems to work, but occasionally it stops responding and seems to ignore files from that point on. Seeing as this is my first time using mkfifo, and inotifywait, from the script below, is there anything that looks odd that someone could point out ? Thanks !

    #!/bin/bash
    mkfifo video_pipe

    inotifywait -m /media/transcode_inbox -e close_write -e moved_to | while read path action file
    do
     echo "$file" >> video_pipe
    done &

    while read file
    do
       mv /media/$file /media/originals/
       ffmpeg -nostdin -i /media/originals/$file -c:v hap -format hap_q media/hap_q/$file &
    done < video_pipe