Recherche avancée

Médias (0)

Mot : - Tags -/organisation

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

Autres articles (60)

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

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

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (13733)

  • Making volume adjustments at precise time with ffmpeg -filter_complex

    25 février 2023, par a1s2d3f4

    I am using the following command to mute parts of the audio file with ffmpeg :

    


    ffmpeg.exe -y -i "C:\temp\inputfile3.wav" -filter_complex_script "C:\temp\filter_complex_cmds.txt" "C:\temp\outputfile3.wav"


    


    Inside filter_complex_cmd.txt I have :

    


    [0]aformat=sample_fmts=fltp:sample_rates=44100:channel_layouts=stereo,volume='if(between(t,0.95,1.05),0*(t-0.95) + 0,1)':eval=frame,volume='if(between(t,1.15,1.25),0*(t-1.15) + 0,1)':eval=frame,volume='if(between(t,1.41,1.49),0*(t-1.41) + 0,1)':eval=frame,volume='if(between(t,2.10,2.35),0*(t-2.10) + 0,1)':eval=frame,volume='if(between(t,2.75,2.85),0*(t-2.75) + 0,1)':eval=frame, etc. x1000...


    


    You get the idea - many, many calls to reduce volume at specific times.
However, when I look at outputfile3.wav, the volume is not reduced from 0.95000 to 1.05000 seconds, but instead from 0.952018 to 1.068118 (i.e. off by 2 and 18 milliseconds respectively) and not from 1.150000 to 1.250000 seconds but from 1.160998 to 1.253878 milliseconds, etc. It can sometimes be off by as many as 20 milliseconds.

    


    Can anyone tell me what's going on and what to do to make it precise ?

    


    Also, while I can reserve it for a separate question, but I also want to be able to find a fade out/fade in commands that would make this change to and from silence a bit more smooth by dialing it down and up over the course of 20 milliseconds around my "volume 0" times.

    


  • Convert TS-Stream to MKV with ffmpeg [on hold]

    17 septembre 2018, par night4awk

    I’m using ffmpeg 3.2.7 and I have a problem converting a ts-file lossless to mkv.
    The source file is a dumped IPTV-stream recorded with dumprtp (from dvbstream 0.5).

    ffmpeg -i Test.ts -map 0:0 -map 0:2 -vcodec copy -acodec copy -f matroska Test.mkv

    The convertion is successful, but the output file is pixelated every few seconds.

    When I’m converting it with MKVToolnix everything looks fine.

    Does anyone has a solution for that problem ?
    Maybe some option to sync the stream correctly ?

    Here’s a sample output :

    # ffmpeg -i Test.ts -map 0:0 -map 0:2 -vcodec copy -acodec copy -f matroska Test.mkv
    ffmpeg version 3.2.7 Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 6.3.0 (OpenWrt GCC 6.3.0 r212-46f973b)
     configuration: --enable-cross-compile --cross-prefix=i486-openwrt-linux-gnu- --arch=i386 --target-os=linux --prefix=/opt --pkg-config=pkg-config --enable-shared --enable-static --enable-pthreads --enable-zlib --disable-doc --disable-debug --disable-lzma --disable-vaapi --disable-vdpau --disable-outdevs --enable-avresample --enable-libopus --enable-small --enable-gpl --enable-libmp3lame --enable-libx264
     libavutil      55. 34.101 / 55. 34.101
     libavcodec     57. 64.101 / 57. 64.101
     libavformat    57. 56.101 / 57. 56.101
     libavdevice    57.  1.100 / 57.  1.100
     libavfilter     6. 65.100 /  6. 65.100
     libavresample   3.  1.  0 /  3.  1.  0
     libswscale      4.  2.100 /  4.  2.100
     libswresample   2.  3.100 /  2.  3.100
     libpostproc    54.  1.100 / 54.  1.100
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [NULL @ 0x81f9580] SPS unavailable in decode_picture_timing
    [NULL @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mp3 @ 0x81fb860] Header missing
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [mp3 @ 0x81fb860] Header missing
       Last message repeated 1 times
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [mp3 @ 0x81fb860] Header missing
       Last message repeated 3 times
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [mp3 @ 0x81fb860] Header missing
       Last message repeated 1 times
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [mp3 @ 0x81fb860] Header missing
       Last message repeated 3 times
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [mp3 @ 0x81fb860] Header missing
       Last message repeated 1 times
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [mp3 @ 0x81fb860] Header missing
       Last message repeated 1 times
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [mp3 @ 0x81fb860] Header missing
       Last message repeated 1 times
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [mp3 @ 0x81fb860] Header missing
       Last message repeated 1 times
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [mp3 @ 0x81fb860] Header missing
       Last message repeated 1 times
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [mp3 @ 0x81fb860] Header missing
       Last message repeated 7 times
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [mp3 @ 0x81fb860] Header missing
       Last message repeated 1 times
    [h264 @ 0x81f9580] reference picture missing during reorder
       Last message repeated 1 times
    [h264 @ 0x81f9580] Missing reference picture, default is 2147483647
       Last message repeated 1 times
    [h264 @ 0x81f9580] mmco: unref short failure
       Last message repeated 1 times
    [h264 @ 0x81f9580] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one
    [mp3 @ 0x81fb860] Header missing
       Last message repeated 3 times
    [h264 @ 0x81f9580] reference picture missing during reorder
       Last message repeated 2 times
    [h264 @ 0x81f9580] Missing reference picture, default is 65627
       Last message repeated 2 times
    [mp3 @ 0x81fb860] Header missing
       Last message repeated 1 times
    [h264 @ 0x81f9580] mmco: unref short failure
       Last message repeated 3 times
    [h264 @ 0x81f9580] Increasing reorder buffer to 2
    [mp3 @ 0x81fb860] Header missing
       Last message repeated 295 times
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mp3 @ 0x81fb860] Header missing
       Last message repeated 13 times
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mp3 @ 0x81fb860] Header missing
       Last message repeated 2 times
    [mpegts @ 0x81f6280] decoding for stream 1 failed
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] PES packet size mismatch
       Last message repeated 1 times
    [mpegts @ 0x81f6280] Could not find codec parameters for stream 1 (Audio: mp3, 0 channels, s16p): unspecified frame size
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    Input #0, mpegts, from 'Test.ts':
     Duration: 00:01:00.54, start: 48882.340000, bitrate: 3181 kb/s
       Stream #0:0[0x100]: Video: h264, yuv420p(tv, bt470bg, top first), 720x576 [SAR 16:11 DAR 20:11], 25 fps, 50 tbr, 90k tbn, 50 tbc
       Stream #0:1[0x103]: Audio: mp3, 0 channels, s16p
       Stream #0:2[0x102]: Audio: mp2, 48000 Hz, stereo, s16p, 192 kb/s
       Stream #0:3[0x101]: Audio: ac3, 48000 Hz, stereo, fltp, 384 kb/s
    Output #0, matroska, to 'Test.mkv':
     Metadata:
       encoder         : Lavf57.56.101
       Stream #0:0: Video: h264 (H264 / 0x34363248), yuv420p(tv, bt470bg, top first), 720x576 [SAR 16:11 DAR 20:11], q=2-31, 25 fps, 50 tbr, 1k tbn, 90k tbc
       Stream #0:1: Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz, stereo, 192 kb/s
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
     Stream #0:2 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    .
    .
    .
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
       [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] PES packet size mismatch
    frame= 2971 fps=2674 q=-1.0 Lsize=   17441kB time=00:00:59.90 bitrate=2385.2kbits/s speed=53.9x    
    video:16037kB audio:1410kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

    Thank you

  • FFMEPG - How to resolve 'Reinit context to WxH ... deprecated pixel format'

    30 juin 2022, par hi im Bacon

    I am using the pyav library to read and process video data and as I am reading through the videos I am getting lots (and lots) of the following output.

    


    I am creating the videos by segmenting either a much larger source file or RTSP/HTTP IP camera.

    


    I would love to understand what this output actually means, and what I can do to prevent its output

    


    ffmpeg creating videos :

    


    ffmpeg -y -i https://manifest.googlevideo.com/api/... -pix_fmt yuvj422p -c:v libx264 -an -vf scale='min(1280,iw)':'min(720,ih)':force_original_aspect_ratio=decrease -r 12 -vsync cfr -x264opts keyint=12:min-keyint=12 -f segment -segment_format matroska -segment_time 5 -initial_offset 1656497474.686672 -strftime 1 /tmp/tmp87cc1n2o/%Y-%m-%dT%H%M%S.mkv -loglevel error


    


    python :

    


    container = av.open(io.BytesIO(...))
for frame in container.decode(video=0):
   ...


    


    2022-06-30 14:45:00,964 DEBUG:****:Creating <***.core.generators.av.AVGenerator object at 0x7f13340abd50> with target path: <_io.BytesIO object at 0x7f13341c93b0>
2022-06-30 14:45:00,966 DEBUG:libav.h264:Reinit context to 1280x720, pix_fmt: yuv420p
2022-06-30 14:45:00,966 DEBUG:libav.h264:Reinit context to 1280x720, pix_fmt: yuvj422p
2022-06-30 14:45:00,984 DEBUG:libav.h264:Reinit context to 1280x720, pix_fmt: yuv420p
2022-06-30 14:45:01,045 DEBUG:libav.h264:Reinit context to 1280x720, pix_fmt: yuv420p
2022-06-30 14:45:01,046 DEBUG:libav.h264:Reinit context to 1280x720, pix_fmt: yuvj422p
deprecated pixel format used, make sure you did set range correctly
deprecated pixel format used, make sure you did set range correctly
 (repeated 9 more times)
2022-06-30 14:45:01,194 DEBUG:libav.h264:Reinit context to 1280x720, pix_fmt: yuv420p
deprecated pixel format used, make sure you did set range correctly
deprecated pixel format used, make sure you did set range correctly
2022-06-30 14:45:01,215 DEBUG:libav.h264:Reinit context to 1280x720, pix_fmt: yuv420p
deprecated pixel format used, make sure you did set range correctly
deprecated pixel format used, make sure you did set range correctly
 (repeated 17 more times)
2022-06-30 14:45:01,384 DEBUG:libav.h264:Reinit context to 1280x720, pix_fmt: yuv420p
deprecated pixel format used, make sure you did set range correctly
deprecated pixel format used, make sure you did set range correctly
 (repeated 3 more times)
2022-06-30 14:45:01,398 DEBUG:libav.h264:Reinit context to 1280x720, pix_fmt: yuv420p
deprecated pixel format used, make sure you did set range correctly
deprecated pixel format used, make sure you did set range correctly
 (repeated 22 more times)
2022-06-30 14:45:01,550 DEBUG:libav.h264:Reinit context to 1280x720, pix_fmt: yuv420p
deprecated pixel format used, make sure you did set range correctly
deprecated pixel format used, make sure you did set range correctly
 (repeated 2 more times)
2022-06-30 14:45:01,592 DEBUG:libav.h264:Reinit context to 1280x720, pix_fmt: yuv420p