Changes between Version 2 and Version 3 of Ticket #5899, comment 12


Ignore:
Timestamp:
Jan 16, 2017, 2:59:10 PM (10 years ago)
Author:
mort1k

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5899, comment 12

    v2 v3  
    128128
    129129}}}
     130
     131work with:
     132ffmpeg version 3.2.2 Copyright (c) 2000-2016 the FFmpeg developers
     133
     134but decoder can't read that stream:
     135{{{
     136General
     137ID                                       : 1 (0x1)
     138Complete name                            : /root/1.ts
     139Format                                   : MPEG-TS
     140File size                                : 6.02 MiB
     141Duration                                 : 12 s 76 ms
     142Overall bit rate mode                    : Constant
     143Overall bit rate                         : 3 670 kb/s
     144
     145Video
     146ID                                       : 256 (0x100)
     147Menu ID                                  : 1 (0x1)
     148Format                                   : MPEG Video
     149Format version                           : Version 2
     150Format profile                           : Main@Main
     151Format settings, BVOP                    : Yes
     152Format settings, Matrix                  : Default
     153Format settings, GOP                     : M=4, N=13
     154Codec ID                                 : 2
     155Duration                                 : 11 s 520 ms
     156Bit rate mode                            : Constant
     157Bit rate                                 : 3 359 kb/s
     158Maximum bit rate                         : 3 300 kb/s
     159Width                                    : 720 pixels
     160Height                                   : 576 pixels
     161Display aspect ratio                     : 16:9
     162Frame rate                               : 25.000 FPS
     163Standard                                 : PAL
     164Color space                              : YUV
     165Chroma subsampling                       : 4:2:0
     166Bit depth                                : 8 bits
     167Scan type                                : Progressive
     168Compression mode                         : Lossy
     169Bits/(Pixel*Frame)                       : 0.324
     170Time code of first frame                 : 00:00:00:00
     171Time code source                         : Group of pictures header
     172GOP, Open/Closed                         : Closed
     173Stream size                              : 4.61 MiB (77%)
     174
     175Audio
     176ID                                       : 257 (0x101)
     177Menu ID                                  : 1 (0x1)
     178Format                                   : MPEG Audio
     179Format version                           : Version 1
     180Format profile                           : Layer 2
     181Codec ID                                 : 3
     182Duration                                 : 13 s 128 ms
     183Bit rate mode                            : Constant
     184Bit rate                                 : 128 kb/s
     185Channel(s)                               : 2 channels
     186Sampling rate                            : 48.0 kHz
     187Compression mode                         : Lossy
     188Delay relative to video                  : -2 s 50 ms
     189Stream size                              : 205 KiB (3%)
     190
     191Menu
     192ID                                       : 4096 (0x1000)
     193Menu ID                                  : 1 (0x1)
     194Duration                                 : 12 s 76 ms
     195List                                     : 256 (0x100) (MPEG Video) / 257 (0x101) (MPEG Audio)
     196Service name                             : Service01
     197Service provider                         : FFmpeg
     198Service type                             : digital television
     199}}}
     200
     201{{{
     202Parsing a group of options: output url udp://239.255.5.2:1234?pkt_size=1316&reuse=1&buffer_size=131070&fifo_size=1000000&bitrate=3700000&overrun_nonfatal=1.
     203Applying option s (set frame size (WxH or abbreviation)) with argument 720x576.
     204Applying option c:v (codec name) with argument mpeg2_qsv.
     205Applying option profile:v (set profile) with argument main.
     206Applying option b:v (video bitrate (please use -b:v)) with argument 3300k.
     207Applying option c:a (codec name) with argument mp2.
     208Applying option ac (set number of audio channels) with argument 2.
     209Applying option b:a (video bitrate (please use -b:v)) with argument 128k.
     210Applying option ar (set audio sampling rate (in Hz)) with argument 48000.
     211Applying option af (set audio filters) with argument aresample=async=1000.
     212Applying option f (force format) with argument mpegts.
     213Successfully parsed a group of options.
     214Opening an output file: udp://239.255.5.2:1234?pkt_size=1316&reuse=1&buffer_size=131070&fifo_size=1000000&bitrate=3700000&overrun_nonfatal=1.
     215[udp @ 0x3cce5c0] No default whitelist set
     216Successfully opened the file.
     217detected 4 logical cores
     218[graph 0 input from stream 0:0 @ 0x3bd1580] Setting 'video_size' to value '1920x1080'
     219[graph 0 input from stream 0:0 @ 0x3bd1580] Setting 'pix_fmt' to value '0'
     220[graph 0 input from stream 0:0 @ 0x3bd1580] Setting 'time_base' to value '1/90000'
     221[graph 0 input from stream 0:0 @ 0x3bd1580] Setting 'pixel_aspect' to value '1/1'
     222[graph 0 input from stream 0:0 @ 0x3bd1580] Setting 'sws_param' to value 'flags=2'
     223[graph 0 input from stream 0:0 @ 0x3bd1580] Setting 'frame_rate' to value '25/1'
     224[graph 0 input from stream 0:0 @ 0x3bd1580] w:1920 h:1080 pixfmt:yuv420p tb:1/90000 fr:25/1 sar:1/1 sws_param:flags=2
     225[scaler for output stream 0:0 @ 0x3fc3900] Setting 'w' to value '720'
     226[scaler for output stream 0:0 @ 0x3fc3900] Setting 'h' to value '576'
     227[scaler for output stream 0:0 @ 0x3fc3900] Setting 'flags' to value 'bicubic'
     228[scaler for output stream 0:0 @ 0x3fc3900] w:720 h:576 flags:'bicubic' interl:0
     229[format @ 0x3fc51e0] compat: called with args=[nv12|qsv]
     230[format @ 0x3fc51e0] Setting 'pix_fmts' to value 'nv12|qsv'
     231[AVFilterGraph @ 0x3e127c0] query_formats: 5 queried, 4 merged, 0 already done, 0 delayed
     232[scaler for output stream 0:0 @ 0x3fc3900] w:1920 h:1080 fmt:yuv420p sar:1/1 -> w:720 h:576 fmt:nv12 sar:64/45 flags:0x4
     233[Parsed_aresample_0 @ 0x3e12320] Setting 'async' to value '1000'
     234[graph 1 input from stream 0:1 @ 0x3c13e20] Setting 'time_base' to value '1/48000'
     235[graph 1 input from stream 0:1 @ 0x3c13e20] Setting 'sample_rate' to value '48000'
     236[graph 1 input from stream 0:1 @ 0x3c13e20] Setting 'sample_fmt' to value 's16p'
     237[graph 1 input from stream 0:1 @ 0x3c13e20] Setting 'channel_layout' to value '0x3'
     238[graph 1 input from stream 0:1 @ 0x3c13e20] tb:1/48000 samplefmt:s16p samplerate:48000 chlayout:0x3
     239[audio format for output stream 0:1 @ 0x3bfc740] Setting 'sample_fmts' to value 's16'
     240[audio format for output stream 0:1 @ 0x3bfc740] Setting 'sample_rates' to value '48000'
     241[audio format for output stream 0:1 @ 0x3bfc740] Setting 'channel_layouts' to value '0x3'
     242[AVFilterGraph @ 0x3ccec60] query_formats: 4 queried, 9 merged, 0 already done, 0 delayed
     243[Parsed_aresample_0 @ 0x3e12320] [SWR @ 0x3d128c0] Using s16p internally between filters
     244[Parsed_aresample_0 @ 0x3e12320] ch:2 chl:stereo fmt:s16p r:48000Hz -> ch:2 chl:stereo fmt:s16 r:48000Hz
     245[h264 @ 0x3bfd740] nal_unit_type: 9, nal_ref_idc: 0
     246[h264 @ 0x3bfd740] nal_unit_type: 7, nal_ref_idc: 1
     247[h264 @ 0x3bfd740] nal_unit_type: 8, nal_ref_idc: 1
     248[h264 @ 0x3bfd740] Ignoring NAL type 9 in extradata
     249libva info: VA-API version 0.99.0
     250libva info: va_getDriverName() returns 0
     251libva info: User requested driver 'iHD'
     252libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so
     253libva info: Found init function __vaDriverInit_0_32
     254libva info: va_openDriver() returns 0
     255[mpeg2_qsv @ 0x3bd9040] mfx initialization: /dev/dri/renderD128 vaInitialize successful
     256[mpeg2_qsv @ 0x3bd9040] Initialized an internal MFX session using hardware accelerated implementation
     257[mpeg2_qsv @ 0x3bd9040] Using the constant bitrate (CBR) ratecontrol method
     258[mpeg2_qsv @ 0x3bd9040] profile: main; level: 8
     259[mpeg2_qsv @ 0x3bd9040] GopPicSize: 13; GopRefDist: 4; GopOptFlag: closed ; IdrInterval: 0
     260[mpeg2_qsv @ 0x3bd9040] TargetUsage: 4; RateControlMethod: CBR
     261[mpeg2_qsv @ 0x3bd9040] InitialDelayInKB: 300; TargetKbps: 3300; MaxKbps: 3300
     262[mpeg2_qsv @ 0x3bd9040] NumSlice: 36; NumRefFrame: 0
     263[mpeg2_qsv @ 0x3bd9040] RateDistortionOpt: unknown
     264[mpeg2_qsv @ 0x3bd9040] RecoveryPointSEI: unknown IntRefType: 0; IntRefCycleSize: 0; IntRefQPDelta: 0
     265[mpeg2_qsv @ 0x3bd9040] MaxFrameSize: 0; MaxSliceSize: 0;
     266[mpeg2_qsv @ 0x3bd9040] BitrateLimit: unknown; MBBRC: unknown; ExtBRC: unknown
     267[mpeg2_qsv @ 0x3bd9040] Trellis: auto
     268[mpeg2_qsv @ 0x3bd9040] RepeatPPS: unknown; NumMbPerSlice: 0; LookAheadDS: unknown
     269[mpeg2_qsv @ 0x3bd9040] AdaptiveI: unknown; AdaptiveB: unknown; BRefType: auto
     270[mpeg2_qsv @ 0x3bd9040] MinQPI: 0; MaxQPI: 0; MinQPP: 0; MaxQPP: 0; MinQPB: 0; MaxQPB: 0
     271[mpegts @ 0x3c1f2a0] muxrate 3670000, pcr every 48 pkts, sdt every 1220, pat/pmt every 244 pkts
     272Output #0, mpegts, to 'udp://239.255.5.2:1234?pkt_size=1316&reuse=1&buffer_size=131070&fifo_size=1000000&bitrate=3700000&overrun_nonfatal=1':
     273  Metadata:
     274    encoder         : Lavf57.56.100
     275    Stream #0:0, 0, 1/90000: Video: mpeg2video (mpeg2_qsv), 1 reference frame, nv12(left), 720x576 [SAR 64:45 DAR 16:9], 0/1, q=2-31, 3300 kb/s, 25 fps, 90k tbn, 25 tbc
     276    Metadata:
     277      encoder         : Lavc57.64.101 mpeg2_qsv
     278    Side data:
     279      cpb: bitrate max/min/avg: 3300000/3300000/3300000 buffer size: 1625000 vbv_delay: -1
     280    Stream #0:1, 0, 1/90000: Audio: mp2, 48000 Hz, stereo, s16, delay 481, 128 kb/s
     281    Metadata:
     282      encoder         : Lavc57.64.101 mp2
     283Stream mapping:
     284  Stream #0:0 -> #0:0 (h264 (native) -> mpeg2video (mpeg2_qsv))
     285  Stream #0:1 -> #0:1 (mp2 (native) -> mp2 (native))
     286
     287....
     288    Last message repeated 1 times
     289[h264 @ 0x3c04080] nal_unit_type: 9, nal_ref_idc: 0
     290[h264 @ 0x3c04080] nal_unit_type: 6, nal_ref_idc: 0
     291[h264 @ 0x3c04080] nal_unit_type: 1, nal_ref_idc: 1
     292[h264 @ 0x3c04080] ct_type:0 pic_struct:1
     293[h264 @ 0x3e5e220] mmco: unref short failure
     294cur_dts is invalid (this is harmless if it occurs once at the start per stream)
     295    Last message repeated 1 times
     296[h264 @ 0x3e5e220] nal_unit_type: 9, nal_ref_idc: 0
     297[h264 @ 0x3e5e220] nal_unit_type: 6, nal_ref_idc: 0
     298[h264 @ 0x3e5e220] nal_unit_type: 1, nal_ref_idc: 1
     299[h264 @ 0x3e5e220] ct_type:0 pic_struct:2
     300[h264 @ 0x3e5e220] no picture
     301cur_dts is invalid (this is harmless if it occurs once at the start per stream)
     302
     303}}}
     304
     305
     306{{{
     307GOP: IBBPBBPBBPBBP 13 CLOSED
     308GOP: IBBPBBPBBPBBP 13 CLOSED
     309GOP: IBBPBBPBBPBBP 13 CLOSED
     310GOP: IBBPBBPBBPBBP 13 CLOSED
     311GOP: IBBPBBPBBPBBP 13 CLOSED
     312GOP: IBBPBBPBBPBBP 13 CLOSED
     313GOP: IBBPBBPBBPBBP 13 CLOSED
     314GOP: IBBPBBPBBPBBP 13 CLOSED
     315GOP: IBBPBBPBBPBBP 13 CLOSED
     316GOP: IBBPBBPBBPBBP 13 CLOSED
     317GOP: IBBPBBPBBPBBP 13 CLOSED
     318GOP: IBBPBBPBBPBBP 13 CLOSED
     319GOP: IBBPBBPBBPBBP 13 CLOSED
     320GOP: IBBPBBPBBPBBP 13 CLOSED
     321GOP: IBBPBBPBBPBBP 13 CLOSED
     322GOP: IBBPBBPBBPBBP 13 CLOSED
     323GOP: IBBPBBPBBPBBP 13 CLOSED
     324GOP: IBBPBBPBBPBBP 13 CLOSED
     325GOP: IBBPBBPBBPBBP 13 CLOSED
     326GOP: IBBPBBPBBPBBP 13 CLOSED
     327GOP: IBBPBBPBBPBBP 13 CLOSED
     328GOP: IBBPBBPBBPBBP 13 CLOSED
     329GOP: IBBPBBPBBPBBP 13 CLOSED
     330GOP: IBBPBBPBBPBBP 13 CLOSED
     331GOP: IBBPBBPBBPBBP 13 CLOSED
     332GOP: IBBPBBPBBPBBP 13 CLOSED
     333
     334}}}