Recherche avancée

Médias (0)

Mot : - Tags -/interaction

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

Autres articles (11)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

Sur d’autres sites (4352)

  • Transcoding HEVC 4K HDR using ffmpeg and vaapi

    13 mai 2021, par P. Brand

    I am trying to transcode a 4K HEVC HDR video to a lower bitrate using ffmpeg and VAAPI hardware acceleration for my LG OLED television.

    



    I use the following file :
Video

    



    Using the following command :

    



    ffmpeg -init_hw_device vaapi=va:/dev/dri/renderD128 -hwaccel vaapi -hwaccel_output_format vaapi -hwaccel_device va -filter_hw_device va -i LG\ 4K\ HDR\ Demo\ -\ Daylight.mkv -map 0:0 -t 00:00:20 -c:v hevc_vaapi -sei hdr -qp:v 21 lg_vaapi.mkv


    



    But this file is not recognized as HDR on my TV.

    



    When using the libx265 encoder (which is off course much slower) it works fine :

    



    ffmpeg -i LG\ 4K\ HDR\ Demo\ -\ Daylight.mkv -t 00:00:20 -map 0:0 -c:v libx265 -preset medium -crf 18 -x265-params "colorprim=bt2020:colormatrix=bt2020nc:transfer=smpte2084:colormatrix=bt2020nc:hdr=1:info=1:repeat-headers=1:master-display=G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(11000000,40)" lg_libx265.mkv


    



    When comparing the output of mediainfo on both files I can see the following properties are not set for the video track :

    



      

    • Color range
    • 


    • Color primaries
    • 


    • Transfer characteristics
    • 


    



    mediainfo for vaapi encode :

    



    General
Unique ID                                : 168011494166392912924249315217763643529 
(0x7E65D636029A5354FE73998A5ED6B089)
Complete name                            : lg_vaapi.mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 118 MiB
Duration                                 : 20 s 4 ms
Overall bit rate                         : 49.6 Mb/s
Writing application                      : Lavf58.20.100
Writing library                          : Lavf58.20.100
ErrorDetectionType                       : Per level 1

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5@Main
HDR format                               : SMPTE ST 2086, HDR10 compatible
Codec ID                                 : V_MPEGH/ISO/HEVC
Duration                                 : 20 s 4 ms
Bit rate                                 : 48.6 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 59.940 (60000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.098
Stream size                              : 116 MiB (98%)
Writing library                          : Lavc58.35.100 hevc_vaapi
Default                                  : Yes
Forced                                   : No
Mastering display color primaries        : Display P3
Mastering display luminance              : min: 0.0040 cd/m2, max: 1100 cd/m2


    



    mediainfo for the libx265 encode :

    



    General
Unique ID                                : 261605749278874425324960669956061374077 (0xC4CF6F42FE952004772A02D5819DA67D)
Complete name                            : lg_libx265.mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 155 MiB
Duration                                 : 47 s 715 ms
Overall bit rate                         : 27.3 Mb/s
Writing application                      : Lavf58.20.100
Writing library                          : Lavf58.20.100
ErrorDetectionType                       : Per level 1

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.1@Main
HDR format                               : SMPTE ST 2086, HDR10 compatible
Codec ID                                 : V_MPEGH/ISO/HEVC
Duration                                 : 47 s 715 ms
Bit rate                                 : 26.8 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 59.940 (60000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.054
Stream size                              : 152 MiB (98%)
Writing library                          : x265 2.8:[Linux][GCC 9.1.0][64 bit] 10bit
Encoding settings                        : cpuid=1111039 / frame-threads=3 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=3840x2160 / interlace=0 / total-frames=0 / level-idc=0 / high-tier=1 / uhd-bd=0 / ref=3 / no-allow-non-conformance / repeat-headers / annexb / no-aud / no-hrd / info / hash=0 / no-temporal-layers / open-gop / min-keyint=25 / keyint=250 / gop-lookahead=0 / bframes=4 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=20 / lookahead-slices=8 / scenecut=40 / radl=0 / no-intra-refresh / ctu=64 / min-cu-size=8 / no-rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=0 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / strong-intra-smoothing / max-merge=2 / limit-refs=3 / no-limit-modes / me=1 / subme=2 / merange=57 / temporal-mvp / weightp / no-weightb / no-analyze-src-pics / deblock=0:0 / sao / no-sao-non-deblock / rd=3 / no-early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / no-b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=0.00 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=18.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / ipratio=1.40 / pbratio=1.30 / aq-mode=1 / aq-strength=1.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=1 / overscan=0 / videoformat=5 / range=0 / colorprim=9 / transfer=16 / colormatrix=9 / chromaloc=0 / display-window=0 / master-display=G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,50) / max-cll=0,0 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / no-opt-qp-pps / no-opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / no-opt-cu-delta-qp / no-aq-motion / hdr / no-hdr-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=5 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-mv-type=0 / copy-pic=1 / max-ausize-factor=1.0 / no-dynamic-refine / no-single-sei
Default                                  : Yes
Forced                                   : No
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : Display P3
Mastering display luminance              : min: 0.0040 cd/m2, max: 1100 cd/m2


    



    I suspect Color range, Color primaries and Transfer characteristics are necessary to make the file recognized as HDR by my TV. 
How can I add these properties to the VAAPI encoded file ?

    



    Edit :
This patch fixes the problem :
Patch

    


  • Anomalie #4424 (Fermé) : Une rubrique est considérée comme publiée si elle a un logo

    19 janvier 2020, par nicod _

    Une rubrique sans article passe au statut "publie" dès qu’on lui ajoute un logo (qui sont maintenant des documents).

    Je pense que c’est à la fois côté SPIP, qui compte tous les enfants d’une rubrique, et du côté du plugin médias, qui renvoie le nombre de documents d’une rubrique qu’il faut intervenir.

    Mais medias_objet_compte_enfants() renvoie juste un total (sql_countsel), du coup il faudrait peut être lui passer un paramètre pour qu’elle exclue les logos dans certains cas ?

  • FFMPEG : How to chose a stream from all stream

    17 janvier 2020, par Ali

    I try to convert a UDP stream (that genrated from DVB signal) to HLS m3u8 file with this code :

    ffmpeg -i udp://239.1.2.1:60001 -acodec aac -strict -2 -vcodec libx264 -hls_wrap 100 -f hls /var/www/html/ts/1.m3u8

    UDP stream contain 1 channel (in this case IRIB-TV1).

    When I run this above code, ffmpeg detect all of service and channel that streamed from DVB card with this message :

    Input #0, mpegts, from 'udp://239.1.2.1:60001':
    Duration: N/A, start: 77906.812644, bitrate: N/A
    Program 101
    Metadata:
     service_name    : IRIB-TV1
     service_provider: IRIB
    Stream #0:0[0x3f2]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, bt470bg), 720x576 [SAR 12:11 DAR 15:11], 25 fps, 50 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x3f3](per): Audio: aac_latm ([17][0][0][0] / 0x0011), 48000 Hz, stereo, fltp
    Program 102
    Metadata:
     service_name    : IRIB-TV2
     service_provider: IRIB
    Program 103
    Metadata:
     service_name    : IRIB-TV3
     service_provider: IRIB
    Program 104
    Metadata:
     service_name    : IRIB-TV4
     service_provider: IRIB

    As you see ffmpeg finf 4 channel in UDP stream, But VLC play only channel 1(IRIB-TV1).

    Now I have have 2 question :

    1-Can I get all channel and service via this ffmpeg code ?

    2-Can I choose a special stream from this ffmpeg code ?(I know that ffmpeg can choose a stream with -map option but I want to choose other service_name that in output log)

    output file is :

    ffmpeg version 2.4.3-1ubuntu1~trusty6 Copyright (c) 2000-2014 the FFmpeg developers
     built on Nov 22 2014 17:07:19 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
     configuration: --prefix=/usr --extra-version='1ubuntu1~trusty6' --build-suffix=-ffmpeg --toolchain=hardened --extra-cflags= --extra-cxxflags= --libdir=/usr/lib/x86_64-linux-gnu --shlibdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --enable-shared --disable-stripping --enable-avresample --enable-avisynth --enable-fontconfig --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-opengl --enable-x11grab --enable-libxvid --enable-libx265 --enable-libdc1394 --enable-libiec61883 --enable-libzvbi --enable-libzmq --enable-frei0r --enable-libx264 --enable-libsoxr --enable-openal --enable-libopencv
     libavutil      54.  7.100 / 54.  7.100
     libavcodec     56.  1.100 / 56.  1.100
     libavformat    56.  4.101 / 56.  4.101
     libavdevice    56.  0.100 / 56.  0.100
     libavfilter     5.  1.100 /  5.  1.100
     libavresample   2.  1.  0 /  2.  1.  0
     libswscale      3.  0.100 /  3.  0.100
     libswresample   1.  1.100 /  1.  1.100
     libpostproc    53.  0.100 / 53.  0.100
    Splitting the commandline.
    Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
    Reading option '-timeout' ... matched as AVOption 'timeout' with argument '6000000'.
    Reading option '-i' ... matched as input file with argument 'udp://239.1.2.1:60001?fifo_size=50000'.
    Reading option '-acodec' ... matched as option 'acodec' (force audio codec ('copy' to copy stream)) with argument 'copy'.
    Reading option '-vcodec' ... matched as option 'vcodec' (force video codec ('copy' to copy stream)) with argument 'copy'.
    Reading option '-preset' ... matched as AVOption 'preset' with argument 'ultrafast'.
    Reading option '-flags' ... matched as AVOption 'flags' with argument '-global_header'.
    Reading option '-f' ... matched as option 'f' (force format) with argument 'hls'.
    Reading option '-hls_time' ... matched as AVOption 'hls_time' with argument '20'.
    Reading option '-hls_wrap' ... matched as AVOption 'hls_wrap' with argument '5'.
    Reading option '/var/www/html/ts/1.m3u8' ... matched as output file.
    Finished splitting the commandline.
    Parsing a group of options: global .
    Applying option loglevel (set logging level) with argument debug.
    Successfully parsed a group of options.
    Parsing a group of options: input file udp://239.1.2.1:60001?fifo_size=50000.
    Successfully parsed a group of options.
    Opening an input file: udp://239.1.2.1:60001?fifo_size=50000.
    [udp @ 0x1967040] end receive buffer size reported is 131072
    [mpegts @ 0x1977380] Format mpegts probed with size=2048 and score=100
    [mpegts @ 0x1977380] stream=0 stream_type=1b pid=3f2 prog_reg_desc=
    [mpegts @ 0x1977380] stream=1 stream_type=11 pid=3f3 prog_reg_desc=
    [mpegts @ 0x1977380] Before avformat_find_stream_info() pos: 0 bytes read:14476 seeks:0
    [mpegts @ 0x1977380] parser not found for codec none, packets or times may be invalid.
    [h264 @ 0x199cc60] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x199cc60] decode_slice_header error
    [h264 @ 0x199cc60] no frame!
    [h264 @ 0x199cc60] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x199cc60] decode_slice_header error
    [h264 @ 0x199cc60] no frame!
    [h264 @ 0x199cc60] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x199cc60] decode_slice_header error
    [h264 @ 0x199cc60] no frame!
    [h264 @ 0x199cc60] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x199cc60] decode_slice_header error
    [h264 @ 0x199cc60] no frame!
    [h264 @ 0x199cc60] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x199cc60] decode_slice_header error
    [h264 @ 0x199cc60] no frame!
    [h264 @ 0x199cc60] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x199cc60] decode_slice_header error
    [h264 @ 0x199cc60] no frame!
    [h264 @ 0x199cc60] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x199cc60] decode_slice_header error
    [h264 @ 0x199cc60] no frame!
    [h264 @ 0x199cc60] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x199cc60] decode_slice_header error
    [h264 @ 0x199cc60] no frame!
    [h264 @ 0x199cc60] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x199cc60] decode_slice_header error
    [h264 @ 0x199cc60] no frame!
    [h264 @ 0x199cc60] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x199cc60] decode_slice_header error
    [h264 @ 0x199cc60] no frame!
    [h264 @ 0x199cc60] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x199cc60] decode_slice_header error
    [h264 @ 0x199cc60] no frame!
    [h264 @ 0x199cc60] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x199cc60] decode_slice_header error
    [h264 @ 0x199cc60] no frame!
    [h264 @ 0x199cc60] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x199cc60] decode_slice_header error
    [h264 @ 0x199cc60] no frame!
    [h264 @ 0x199cc60] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x199cc60] decode_slice_header error
    [h264 @ 0x199cc60] no frame!
    [h264 @ 0x199cc60] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x199cc60] decode_slice_header error
    [h264 @ 0x199cc60] no frame!
    [h264 @ 0x199cc60] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x199cc60] decode_slice_header error
    [h264 @ 0x199cc60] no frame!
    [h264 @ 0x199cc60] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x199cc60] decode_slice_header error
    [h264 @ 0x199cc60] no frame!
    [h264 @ 0x199cc60] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x199cc60] decode_slice_header error
    [h264 @ 0x199cc60] no frame!
    [h264 @ 0x199cc60] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x199cc60] decode_slice_header error
    [h264 @ 0x199cc60] no frame!
    [h264 @ 0x199cc60] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x199cc60] decode_slice_header error
    [h264 @ 0x199cc60] no frame!
    [h264 @ 0x199cc60] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x199cc60] decode_slice_header error
    [h264 @ 0x199cc60] no frame!
    [mpegts @ 0x1977380] probing stream 1 pp:2500
    [mpegts @ 0x1977380] Probe with size=853, packets=1 detected loas with score=51
    [mpegts @ 0x1977380] probed stream 1
    [aac_latm @ 0x199e4e0] initializing latmctx
    [h264 @ 0x199cc60] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x199cc60] decode_slice_header error
    [h264 @ 0x199cc60] no frame!
    [h264 @ 0x199cc60] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x199cc60] decode_slice_header error
    [h264 @ 0x199cc60] no frame!
    [h264 @ 0x199cc60] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x199cc60] decode_slice_header error
    [h264 @ 0x199cc60] no frame!
    [h264 @ 0x199cc60] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x199cc60] decode_slice_header error
    [h264 @ 0x199cc60] no frame!
    [h264 @ 0x199cc60] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x199cc60] decode_slice_header error
    [h264 @ 0x199cc60] no frame!
    [h264 @ 0x199cc60] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x199cc60] decode_slice_header error
    [h264 @ 0x199cc60] no frame!
    [h264 @ 0x199cc60] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x199cc60] decode_slice_header error
    [h264 @ 0x199cc60] no frame!
    [h264 @ 0x199cc60] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x199cc60] decode_slice_header error
    [h264 @ 0x199cc60] no frame!
    [h264 @ 0x199cc60] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x199cc60] decode_slice_header error
    [h264 @ 0x199cc60] no frame!
    [h264 @ 0x199cc60] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x199cc60] decode_slice_header error
    [h264 @ 0x199cc60] no frame!
    [h264 @ 0x199cc60] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x199cc60] decode_slice_header error
    [h264 @ 0x199cc60] no frame!
    [h264 @ 0x199cc60] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x199cc60] decode_slice_header error
    [h264 @ 0x199cc60] no frame!
    [h264 @ 0x199cc60] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x199cc60] decode_slice_header error
    [h264 @ 0x199cc60] no frame!
    [h264 @ 0x199cc60] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x199cc60] decode_slice_header error
    [h264 @ 0x199cc60] no frame!
    [h264 @ 0x199cc60] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x199cc60] decode_slice_header error
    [h264 @ 0x199cc60] no frame!
    [h264 @ 0x199cc60] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x199cc60] decode_slice_header error
    [h264 @ 0x199cc60] no frame!
    [h264 @ 0x199cc60] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x199cc60] decode_slice_header error
    [h264 @ 0x199cc60] no frame!
    [h264 @ 0x199cc60] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x199cc60] decode_slice_header error
    [h264 @ 0x199cc60] no frame!
    [h264 @ 0x199cc60] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x199cc60] decode_slice_header error
    [h264 @ 0x199cc60] no frame!
    [h264 @ 0x199cc60] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x199cc60] decode_slice_header error
    [h264 @ 0x199cc60] no frame!
    [h264 @ 0x199cc60] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x199cc60] decode_slice_header error
    [h264 @ 0x199cc60] no frame!
    [h264 @ 0x199cc60] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x199cc60] decode_slice_header error
    [h264 @ 0x199cc60] no frame!
    [h264 @ 0x199cc60] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x199cc60] decode_slice_header error
    [h264 @ 0x199cc60] no frame!
    [h264 @ 0x199cc60] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x199cc60] decode_slice_header error
    [h264 @ 0x199cc60] no frame!
    [h264 @ 0x199cc60] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x199cc60] decode_slice_header error
    [h264 @ 0x199cc60] no frame!
    [h264 @ 0x199cc60] Current profile doesn't provide more RBSP data in PPS, skipping
    [h264 @ 0x199cc60] Frame num gap 397 393
    [h264 @ 0x199cc60] Frame num gap 397 394
    [h264 @ 0x199cc60] Frame num gap 397 395
    [h264 @ 0x199cc60] mmco: unref short failure
       Last message repeated 1 times
    [h264 @ 0x199cc60] number of reference frames (0+4) exceeds max (3; probably corrupt input), discarding one
    [h264 @ 0x199cc60] no picture ooo
    [h264 @ 0x199cc60] Increasing reorder buffer to 2
    [h264 @ 0x199cc60] no picture ooo
       Last message repeated 1 times
    [h264 @ 0x199cc60] no picture
       Last message repeated 1 times
    [h264 @ 0x199cc60] Current profile doesn't provide more RBSP data in PPS, skipping
       Last message repeated 3 times
    [mpegts @ 0x1977380] max_analyze_duration 5000000 reached at 5034667 microseconds
    [mpegts @ 0x1977380] After avformat_find_stream_info() pos: 1142476 bytes read:1143604 seeks:0 frames:397
    Input #0, mpegts, from 'udp://239.1.2.1:60001?fifo_size=50000':
     Duration: N/A, start: 43581.024200, bitrate: N/A
     Program 101
       Metadata:
         service_name    : IRIB-TV1
         service_provider: IRIB
       Stream #0:0[0x3f2], 274, 1/90000: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, bt470bg), 720x576 [SAR 12:11 DAR 15:11], 1/50, 25 fps, 50 tbr, 90k tbn, 50 tbc
       Stream #0:1[0x3f3](per), 123, 1/90000: Audio: aac_latm ([17][0][0][0] / 0x0011), 48000 Hz, stereo, fltp
     Program 102
       Metadata:
         service_name    : IRIB-TV2
         service_provider: IRIB
     Program 103
       Metadata:
         service_name    : IRIB-TV3
         service_provider: IRIB
     Program 104
       Metadata:
         service_name    : IRIB-TV4
         service_provider: IRIB
     Program 105
       Metadata:
         service_name    : IRIB-TV5
         service_provider: IRIB
     Program 106
       Metadata:
         service_name    : IRINN
         service_provider: IRIB
     Program 107
       Metadata:
         service_name    : AMOOZESH
         service_provider: IRIB
     Program 108
       Metadata:
         service_name    : QURAN
         service_provider: IRIB
     Program 119
       Metadata:
         service_name    : SALAMAT
         service_provider: IRIB
     Program 120
       Metadata:
         service_name    : NASIM
         service_provider: IRIB
     Program 151
       Metadata:
         service_name    : RADIO IRAN
         service_provider: IRIB
     Program 152
       Metadata:
         service_name    : RADIO PAYAM
         service_provider: IRIB
     Program 153
       Metadata:
         service_name    : RADIO JAVAN
         service_provider: IRIB
     Program 154
       Metadata:
         service_name    : RADIO MAAREF
         service_provider: IRIB
     Program 155
       Metadata:
         service_name    : RADIO QURAN
         service_provider: IRIB
     Program 156
       Metadata:
         service_name    : RADIO FARHANG
         service_provider: IRIB
     Program 157
       Metadata:
         service_name    : RADIO SALAMAT
         service_provider: IRIB
     Program 158
       Metadata:
         service_name    : RADIO VARZESH
         service_provider: IRIB
     Program 159
       Metadata:
         service_name    : RADIO EGHTESAD
         service_provider: IRIB
     Program 160
       Metadata:
         service_name    : RADIO TEHRAN
         service_provider: IRIB
     Program 161
       Metadata:
         service_name    : RADIO AVAA
         service_provider: IRIB
     Program 162
       Metadata:
         service_name    : RADIO NAMAYESH
         service_provider: IRIB
     Program 163
       Metadata:
         service_name    : RADIO SABA
         service_provider: IRIB
     Program 164
       Metadata:
         service_name    : English Radio World Service
         service_provider: IRIB
     Program 166
       Metadata:
         service_name    : Arabic Radio World Service
         service_provider: IRIB
     Program 167
       Metadata:
         service_name    : RADIO BAHARAN
         service_provider: IRIB
     Program 169
       Metadata:
         service_name    : RADIO TELAVAT
         service_provider: IRIB
     Program 170
       Metadata:
         service_name    : RADIO GOFTEGO
         service_provider: IRIB
    Successfully opened the file.
    Parsing a group of options: output file /var/www/html/ts/1.m3u8.
    Applying option acodec (force audio codec ('copy' to copy stream)) with argument copy.
    Applying option vcodec (force video codec ('copy' to copy stream)) with argument copy.
    Applying option f (force format) with argument hls.
    Successfully parsed a group of options.
    Opening an output file: /var/www/html/ts/1.m3u8.
    Successfully opened the file.
    [mpegts @ 0x1967180] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead.
       Last message repeated 1 times
    [mpegts @ 0x1967180] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts
    Output #0, hls, to '/var/www/html/ts/1.m3u8':
     Metadata:
       encoder         : Lavf56.4.101
       Stream #0:0, 0, 1/90000: Video: h264 ([27][0][0][0] / 0x001B), yuv420p, 720x576 [SAR 12:11 DAR 15:11], 1/25, q=2-31, 25 fps, 90k tbn, 25 tbc
       Stream #0:1(per), 0, 1/90000: Audio: aac_latm ([17][0][0][0] / 0x0011), 48000 Hz, stereo
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
     Stream #0:1 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    [NULL @ 0x199cc60] Current profile doesn't provide more RBSP data in PPS, skipping
    [NULL @ 0x199cc60] Current profile doesn't provide more RBSP data in PPS, skipping
    [NULL @ 0x199cc60] Current profile doesn't provide more RBSP data in PPS, skipping
    [NULL @ 0x199cc60] Current profile doesn't provide more RBSP data in PPS, skipping
    [NULL @ 0x199cc60] Current profile doesn't provide more RBSP data in PPS, skipping
    [NULL @ 0x199cc60] Current profile doesn't provide more RBSP data in PPS, skipping
    [NULL @ 0x199cc60] Current profile doesn't provide more RBSP data in PPS, skipping
    [NULL @ 0x199cc60] Current profile doesn't provide more RBSP data in PPS, skipping
    [NULL @ 0x199cc60] Current profile doesn't provide more RBSP data in PPS, skipping
    [NULL @ 0x199cc60] Current profile doesn't provide more RBSP data in PPS, skipping
    [NULL @ 0x199cc60] Current profile doesn't provide more RBSP data in PPS, skipping
    [AVIOContext @ 0x19a9860] Statistics: 0 seeks, 896 writeouts=N/A    
    [hls @ 0x1a65ca0] EXT-X-MEDIA-SEQUENCE:0
    [AVIOContext @ 0x1d162e0] Statistics: 0 seeks, 1 writeouts
    [AVIOContext @ 0x1966b40] Statistics: 0 seeks, 27 writeouts
    [hls @ 0x1a65ca0] EXT-X-MEDIA-SEQUENCE:0
    [AVIOContext @ 0x199b7a0] Statistics: 0 seeks, 1 writeouts
    frame=  826 fps= 69 q=-1.0 Lsize=N/A time=00:00:20.63 bitrate=N/A    
    video:2611kB audio:68kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
    Input file #0 (udp://239.1.2.1:60001?fifo_size=50000):
     Input stream #0:0 (video): 872 packets read (2779202 bytes);
     Input stream #0:1 (audio): 405 packets read (69222 bytes);
     Total: 1277 packets (2848424 bytes) demuxed
    Output file #0 (/var/www/html/ts/1.m3u8):
     Output stream #0:0 (video): 826 packets muxed (2673485 bytes);
     Output stream #0:1 (audio): 405 packets muxed (69222 bytes);
     Total: 1231 packets (2742707 bytes) muxed
    0 frames successfully decoded, 0 decoding errors
    [AVIOContext @ 0x1967ce0] Statistics: 3884832 bytes read, 0 seeks
    Received signal 2: terminating.