Recherche avancée

Médias (91)

Autres articles (29)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

Sur d’autres sites (4411)

  • ffmpeg upmix only one stream from stereo to 5.1

    24 novembre 2020, par eje211

    I'm trying to play a file in Plex without conversion. The file is H264, but, for some reason, it was incredibly slow in Plex and its playback controls showed no video stream. The info for the file in Plex did show H264. (Plex is running on a Raspberry Pi, so I want no conversion.) I converted from H264 to H264 ; sometimes that works because there's something wrong with the original H264. I didn't, so I moved to WebM.

    


    The file has two audio streams : one in 5.1 and one in stereo. I really want to keep both. Plex had no problem playing the 5.1 WebM, but for some reason, it started converting the video when stereo was selected. (I've run files with multiple audio streams with no problem on Plex before.) So I thought I could upmix the stereo to 5.1, since Plex seems to prefer it for this file. The streams in the file, in order, are : video, 5.1, stereo. I did this :

    


    ffmpeg -i "$video" \
    -filter_complex "[0:1]channelmap=channel_layout=5.1[a],[0:2]pan=5.1|FL=FL|FR=FR|LFE...$/webm/')" null


    


    (I found that channelmap=channel_layout=5.1 was required for the 5.1, oddly enough.

    


    Now, no matter how I describe the second audio stream, ffmpeg does not find it. With the code above, I get :

    


    Stream specifier ':2' in filtergraph description [0:1]channelmap=channel_layout=5.1[a],[0:2]pan=5.1|FL=FL|FR=FR|LFEcode>

    


    But [0:2] is the second audio stream. I tried [0:a:0] and [0:a:1], but ffmpeg does not recognize that. I tried specifying two -filter_complex options, one for each stream. That didn't work either.

    


    So :

    


      

    1. Is the a better way to fix my Plex problem ?
    2. 


    3. Otherwise, how can I get ffmpeg to recognize the second audio channel in my input file ?
    4. 


    


    Thanks !

    


  • Youtube doesn't play livestream from ffmpeg

    14 novembre 2017, par CindyRabbit

    I am trying to livestream my Desktop in Ubuntu to Youtube and used this cmd but didn’t work :

    ffmpeg -f x11grab -r 10 -s 1024x720 -i :0.0 -vcodec libx264 -pix_fmt yuv420p -preset ultrafast -g 20 -b:v 2500k -threads 0 -bufsize 512k -f flv rtmp ://a.rtmp.youtube.com/live2/myKey

  • How to change reference frame value ?

    31 mai 2019, par Sasidharan S

    Hi I am trying to change reference frames from 4 to 3 but it didn’t work.

    Have tried to change gop, b frames with reference frames but didn’t work

    ffmpeg8 -report -ss 00:00:00.000 -t 00:04:47.000 -i /input1 -ss 00:04:47.001 -t 00:04:00.000 -i /input2 -filter_complex "[0:v:0]crop=out_h=576:y=32,yadif=1:-1:0[part1crop]; [1:v:0]crop=out_h=576:y=32,yadif=1:-1:0[part2crop]; [0:a:0]pan=stereo|c0=c0|c1=c1[part1audioStereo]; [1:a:0]pan=stereo|c0=c0|c1=c1[part2audioStereo]; [part1crop][part1audioStereo][part2crop][part2audioStereo]concat=n=2:v=1:a=1[vconcat][aconcat]" -map '[vconcat]' -codec:v libx264 -profile:v high -level 4.1 -coder 1 -pix_fmt yuv420p -g 50 -bf 3 -b:v 1500k -video_track_timescale 25 -r 25 -s:v 1024x768 -aspect 4:3 -x264opts keyint=50:ref=4:bframes=3:subq=6:trellis=2:8x8dct=1:b-pyramid=0:vbv-bufsize=1500:nal-hrd=cbr -map '[aconcat]' -codec:a libfdk_aac -ar 48000 -ac 2 -b:a 128K -write_tmcd off output.mp4

    result :

    Video
    ID : 226 (0xE2)
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : High@L4.1
    Format settings : 4 Ref Frames
    Format settings, CABAC : No
    Format settings, RefFrames : 4 frames
    Duration : 35 s 80 ms
    Nominal bit rate : 15.0 Mb/s
    Width : 1 024 pixels
    Height : 576 pixels
    Display aspect ratio : 16:9
    Frame rate mode : Variable
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Writing library : x264 core 148