Skylake HEVC transcoding

Skylake HEVC transcoding

Can i transcode to HEVC with Skylake E3-1275 or E3-1585 with Community version MSS 2017 R3 or need Proffesional MSS?

25 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Yes you can transcode to HEVC using community addition and HW HEVC encoder.

Thanks so quickly answer to my request! So if  i do tests everything is ok. But when i try to transcode with ffmpeg and hevc_qsv i can not open this stream, get errors:

[hevc @ 0x40c1760] Error parsing NAL unit #1.
[hevc @ 0x40c1760] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x40c1760] Error parsing NAL unit #1.
[hevc @ 0x40c1760] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x40c1760] Error parsing NAL unit #1.
[hevc @ 0x40c1760] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x40c1760] Error parsing NAL unit #1.
[mpegts @ 0x409c900] decoding for stream 0 failed
[mpegts @ 0x409c900] Could not find codec parameters for stream 0 (Video: hevc ([36][0][0][0] / 0x0024), none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpegts, from 'udp://228.5.3.3:6030':
  Duration: N/A, start: 19147.821333, bitrate: N/A
  Program 1
    Metadata:
      service_name    : CNTV_h265
      service_provider: Test_LLC
    Stream #0:0[0x100]: Video: hevc ([36][0][0][0] / 0x0024), none, 25 fps, 25 tbr, 90k tbn, 90k tbc
    Stream #0:1[0x101](rus): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 137 kb/s
[segment @ 0x40ebfe0] dimensions not set
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argumentStream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)

 

Could you help me 

can you attach your result?

Most likely you have some issue on ffmpeg side with muxing stream into container

We transcoding using tee option of ffmpeg one udp live stream to two different bitrate and frame size  with overlayed logo, everything when transcoding looks nice!

 

Input #0, mpegts, from 'udp://227.0.1.2:1002?fifo_size=1000000&overrun_nonfatal_option=1':
  Duration: N/A, start: 45178.779344, bitrate: N/A
  Program 15054
    Metadata:
      service_name    : Test
      service_provider: noprovider
    Stream #0:0[0x925]: Video: h264 (Main), 1 reference frame ([27][0][0][0] / 0x001B), yuv420p(tv, bt470bg, top first, left), 720x576 [SAR 16:11 DAR 20:11], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x926](rus): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 192 kb/s
Input #1, png_pipe, from '/etc/logo/con_logo.png':
  Duration: N/A, bitrate: N/A
    Stream #1:0: Video: png, 1 reference frame, rgba(pc), 120x28 [SAR 23622:23622 DAR 30:7], 25 tbr, 25 tbn, 25 tbc
Output #0, tee, to ' [f=mpegts:flush_packets=0]udp://228.5.3.3:6030?fifo_buffer=1000000&pkt_size=1316&ttl=2] ':
  Metadata:
    service_provider: test_LLC
    service_name    : CNTV_h265
    encoder         : Lavf57.56.101
    Stream #0:0: Video: hevc (hevc_qsv), 1 reference frame, nv12, 720x576 [SAR 16:11 DAR 20:11], q=2-31, 900 kb/s, 25 fps, 25 tbn, 25 tbc (default)
    Metadata:
      encoder         : Lavc57.64.101 hevc_qsv
    Side data:
      cpb: bitrate max/min/avg: 900000/900000/900000 buffer size: 900000 vbv_delay: -1
    Stream #0:1(rus): Audio: aac (LC), 48000 Hz, stereo, fltp, delay 1024, 128 kb/s
    Metadata:
      encoder         : Lavc57.64.101 aac
Output #1, tee, to ' [f=mpegts:flush_packets=0]udp://228.6.3.3:6030?fifo_buffer=1000000&pkt_size=1316&ttl=2] ':
  Metadata:
    service_provider: test_LLC
    service_name    : CNTV_h265
    encoder         : Lavf57.56.101
    Stream #1:0: Video: hevc (hevc_qsv), 1 reference frame, nv12, 640x480 [SAR 15:11 DAR 20:11], q=2-31, 500 kb/s, 25 fps, 25 tbn, 25 tbc (default)
    Metadata:
      encoder         : Lavc57.64.101 hevc_qsv
    Side data:
      cpb: bitrate max/min/avg: 500000/500000/500000 buffer size: 500000 vbv_delay: -1
    Stream #1:1(rus): Audio: aac (LC), 48000 Hz, stereo, fltp, delay 1024, 128 kb/s
    Metadata:
      encoder         : Lavc57.64.101 aac
Stream mapping:
  Stream #0:0 (h264) -> overlay:main (graph 0)
  Stream #1:0 (png) -> overlay:overlay (graph 0)
  scale (graph 0) -> Stream #0:0 (hevc_qsv)
  Stream #0:1 -> #0:1 (mp2 (native) -> aac (native))
  scale (graph 0) -> Stream #1:0 (hevc_qsv)
  Stream #0:1 -> #1:1 (mp2 (native) -> aac (native))
[h264 @ 0x2ae8760] concealing 1488 DC, 1488 AC, 1488 MV errors in B framepeed=   1x
[h264 @ 0x2bd2860] concealing 396 DC, 396 AC, 396 MV errors in P frameA speed=   1x
[mpegts @ 0x25db500] PES packet size mismatchime=01:57:49.80 bitrate=N/A speed=   1x
frame=513514 fps= 25 q=-0.0 q=-0.0 size=N/A time=05:42:21.25 bitrate=N/A speed=   1x

 

By result I mean result transcoded file, that can't be played, if there are no any license restrictions with content.

No license problem. We can played directly input sream on VLC or ffplay and can analyze it on ffprobe, no problem with source. Also we can transcode such input stream with HW h264_qsv without any problem, problem only with HEVC.

Here my config:

/ffmpeg -thread_queue_size 512 -vcodec h264 -f mpegts -r 25 -i "udp://227.0.1.2:1002?fifo_size=1000000&overrun_nonfatal_option=1" -isync -v 40 -re -sn -nostdin -i /etc/logo/con_logo.png -filter_complex "[#0x925][1:v]overlay=main_w-overlay_w-5:5,split=2[out1][out2];[out1]scale=720:576[v1];[out2]scale=640:480[v2]" -c:a aac -b:a 128000 -ac 2 -r:a 48000 -strict experimental -map "[v1]" -map i:0x926 -c:v hevc_qsv -load_plugin hevc_hw -pix_fmt nv12 -b:v 900000 -maxrate 900000 -minrate 900000 -bufsize 900000 -bt 1000k -subq 3 -refs:v 5 -profile:v 1 -preset faster -level:v 40 -g 120 -trellis 2 -cmp 2 -subcmp 2 -keyint_min 15 -bf:v 2 -sc_threshold 1000000000 -b_strategy 0 -vsync 2 -async_depth 4 -dts_delta_threshold 1000 -y -threads 0 -metadata "service_provider=test_LLC" -metadata "service_name=CNTV_h265" -f tee " [f=mpegts:flush_packets=0]udp://228.5.3.3:6030?fifo_buffer=1000000&pkt_size=1316&ttl=2]|/opt/data/hls/ch7/hevc.ts " -c:a aac -b:a 128000 -ac 2 -r:a 48000 -strict experimental -map "[v2]" -map i:0x926 -c:v hevc_qsv -load_plugin hevc_hw -pix_fmt nv12 -b:v 500000 -maxrate 500000 -minrate 500000 -bufsize 500000 -bt 1000k -subq 3 -refs:v 5 -profile:v 1 -preset faster -level:v 40 -g 120 -trellis 2 -cmp 2 -subcmp 2 -keyint_min 15 -bf:v 2 -sc_threshold 1000000000 -b_strategy 0 -vsync 2 -async_depth 4 -dts_delta_threshold 1000 -y -threads 0 -metadata "service_provider=test_LLC" -metadata "service_name=CNTV_h265" -f tee " [f=mpegts:flush_packets=0]udp://228.6.3.3:6030?fifo_buffer=1000000&pkt_size=1316&ttl=2] "

version is:

ffmpeg version 3.2.8 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 4.9.2 (Debian 4.9.2-10)
  configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree --enable-libmfx --enable-zlib
  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
  libswscale      4.  2.100 /  4.  2.100
  libswresample   2.  3.100 /  2.  3.100
  libpostproc    54.  1.100 / 54.  1.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

 

 

Also can you share your ffmpeg commandline

here

 

Quote:

rasko N. wrote:

Here my config:

/ffmpeg -thread_queue_size 512 -vcodec h264 -f mpegts -r 25 -i "udp://227.0.1.2:1002?fifo_size=1000000&overrun_nonfatal_option=1" -isync -v 40 -re -sn -nostdin -i /etc/logo/con_logo.png -filter_complex "[#0x925][1:v]overlay=main_w-overlay_w-5:5,split=2[out1][out2];[out1]scale=720:576[v1];[out2]scale=640:480[v2]" -c:a aac -b:a 128000 -ac 2 -r:a 48000 -strict experimental -map "[v1]" -map i:0x926 -c:v hevc_qsv -load_plugin hevc_hw -pix_fmt nv12 -b:v 900000 -maxrate 900000 -minrate 900000 -bufsize 900000 -bt 1000k -subq 3 -refs:v 5 -profile:v 1 -preset faster -level:v 40 -g 120 -trellis 2 -cmp 2 -subcmp 2 -keyint_min 15 -bf:v 2 -sc_threshold 1000000000 -b_strategy 0 -vsync 2 -async_depth 4 -dts_delta_threshold 1000 -y -threads 0 -metadata "service_provider=test_LLC" -metadata "service_name=CNTV_h265" -f tee " [f=mpegts:flush_packets=0]udp://228.5.3.3:6030?fifo_buffer=1000000&pkt_size=1316&ttl=2]|/opt/data/hls/ch7/hevc.ts " -c:a aac -b:a 128000 -ac 2 -r:a 48000 -strict experimental -map "[v2]" -map i:0x926 -c:v hevc_qsv -load_plugin hevc_hw -pix_fmt nv12 -b:v 500000 -maxrate 500000 -minrate 500000 -bufsize 500000 -bt 1000k -subq 3 -refs:v 5 -profile:v 1 -preset faster -level:v 40 -g 120 -trellis 2 -cmp 2 -subcmp 2 -keyint_min 15 -bf:v 2 -sc_threshold 1000000000 -b_strategy 0 -vsync 2 -async_depth 4 -dts_delta_threshold 1000 -y -threads 0 -metadata "service_provider=test_LLC" -metadata "service_name=CNTV_h265" -f tee " [f=mpegts:flush_packets=0]udp://228.6.3.3:6030?fifo_buffer=1000000&pkt_size=1316&ttl=2] "

version is:

ffmpeg version 3.2.8 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 4.9.2 (Debian 4.9.2-10)
  configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree --enable-libmfx --enable-zlib
  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
  libswscale      4.  2.100 /  4.  2.100
  libswresample   2.  3.100 /  2.  3.100
  libpostproc    54.  1.100 / 54.  1.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

 

 

We can played directly input sream on VLC or ffplay and can analyze it on ffprobe, no problem with source. Also we can transcode such input stream with HW h264_qsv without any problem, problem only with HEVC.

 

sort of confusing messages with mix of everything inside - let's go step by step, please:

1. HEVC and AVC transcoding from ffmpeg with QSV works and does not produce error messages?

2. if VLC cannot play HEVC content only - can you show VLC's details, such as build and VLC log?

Quote:

Maxym Dmytrychenko (Intel) wrote:

We can played directly input sream on VLC or ffplay and can analyze it on ffprobe, no problem with source. Also we can transcode such input stream with HW h264_qsv without any problem, problem only with HEVC.

 

sort of confused message with mix of everything inside - let's go step by step, please:

1. HEVC and AVC transcoding from ffmpeg with QSV works and does not produce error messages?

2. if VLC cannot play HEVC content only - can you show VLC's details, such as build and VLC log?

 

1. Works very well without any errors 

2. VLC (last version) can not play this stream, also i can provide information ftom ffprobe:

root@node8:/home/rasko# ch8 -i /opt/data/hls/ch7/hevc.ts -c copy -y -f mpegts test
ffmpeg version 3.2.8 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 4.9.2 (Debian 4.9.2-10)
  configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree --enable-libmfx --enable-zlib
  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
  libswscale      4.  2.100 /  4.  2.100
  libswresample   2.  3.100 /  2.  3.100
  libpostproc    54.  1.100 / 54.  1.100
Input #0, mpegts, from '/opt/data/hls/ch7/hevc.ts':
  Duration: 00:32:52.62, start: 0.018667, bitrate: 1178 kb/s
  Program 1
    Metadata:
      service_name    : CNTV_h265
      service_provider: test_LLC
    Stream #0:0[0x100]: Video: hevc (Main) ([36][0][0][0] / 0x0024), yuv420p(tv), 720x576 [SAR 16:11 DAR 20:11], 25 fps, 25 tbr, 90k tbn, 25 tbc
    Stream #0:1[0x101](rus): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 121 kb/s
Output #0, mpegts, to 'test':
  Metadata:
    encoder         : Lavf57.56.101
    Stream #0:0: Video: hevc (Main) ([36][0][0][0] / 0x0024), yuv420p(tv), 720x576 [SAR 16:11 DAR 20:11], q=2-31, 25 fps, 25 tbr, 90k tbn, 90k tbc
    Stream #0:1(rus): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, 121 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=49315 fps=20584 q=-1.0 Lsize=  274765kB time=00:32:52.54 bitrate=1141.1kbits/s speed= 823x
video:216865kB audio:33554kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 9.722194%

 

thanks for the confirmation of the encode.

about VLC , I believe it is the target - can you please run it as

vlc --verbose=2 --file-logging

(this will enable logging into vlc-log.txt file)

and try HEVC playback ?

you might want to share .txt log from vlc

Quote:

Maxym Dmytrychenko (Intel) wrote:

thanks for the confirmation of the encode.

about VLC , I believe it is the target - can you please run it as

vlc --verbose=2 --file-logging

(this will enable logging into vlc-log.txt file)

and try HEVC playback ?

you might want to share .txt log from vlc

 

VLC log attached 

Attachments: 

AttachmentSize
Downloadtext/plain vlc-log.txt16.19 KB

 

Dear Maxym for HEVC this settings right ?

 

[hevc_qsv @ 0x33f89e0] mfx initialization: /dev/dri/renderD128 vaInitialize successful
[hevc_qsv @ 0x33f89e0] Initialized an internal MFX session using hardware accelerated implementation
[hevc_qsv @ 0x33f89e0] Using the constant bitrate (CBR) ratecontrol method
[hevc_qsv @ 0x33f89e0] profile: simple; level: 51
[hevc_qsv @ 0x33f89e0] GopPicSize: 120; GopRefDist: 3; GopOptFlag: closed ; IdrInterval: 0
[hevc_qsv @ 0x33f89e0] TargetUsage: 7; RateControlMethod: CBR
[hevc_qsv @ 0x33f89e0] InitialDelayInKB: 375; TargetKbps: 500; MaxKbps: 500
[hevc_qsv @ 0x33f89e0] NumSlice: 1; NumRefFrame: 5
[hevc_qsv @ 0x33f89e0] RateDistortionOpt: unknown
[hevc_qsv @ 0x33f89e0] RecoveryPointSEI: unknown IntRefType: 0; IntRefCycleSize: 0; IntRefQPDelta: 0
[hevc_qsv @ 0x33f89e0] MaxFrameSize: 0; MaxSliceSize: 0;
[hevc_qsv @ 0x33f89e0] BitrateLimit: unknown; MBBRC: ON; ExtBRC: unknown
[hevc_qsv @ 0x33f89e0] Trellis: auto
[hevc_qsv @ 0x33f89e0] RepeatPPS: OFF; NumMbPerSlice: 0; LookAheadDS: unknown
[hevc_qsv @ 0x33f89e0] AdaptiveI: unknown; AdaptiveB: unknown; BRefType: off
[hevc_qsv @ 0x33f89e0] MinQPI: 0; MaxQPI: 0; MinQPP: 0; MaxQPP: 0; MinQPB: 0; MaxQPB: 0

 

 

ok, VLC log does not seem to show any explicit problem related to the codec itself

so it might be muxing or network handling issue(s) as well.

I would recommend you to try VLC nightly build and if does not work, please ask for the help on VLC forum. 

I see very strange things:

1) If before transcoding (via ffmpeg) open ffplayer (or another ffmpeg to play stream) first and restart transcoding on ffmpeg stream can be played normal. 

2) We can not use HLS segmenting for such hevc stream also. Why? for H264 no problem.

 

I think, this problem not a VLC problem.

Dear Maxym 

I m find problem on segmenting stream with hevc_qsv to see problem could you on your side try one simple test?:

./ffmpeg -i udp://227.0.1.1:1001 -c:v hevc_qsv -load_plugin hevc_hw -pix_fmt nv12 -q 20 -profile:v 1 -preset medium -level:v 51 -b:v 2600k -g 90  -f segment -segment_time 5 -segment_list_type flat -segment_list stream.m3u8 -y -segment_format mpegts  stream%05d.ts

HEVC_QSV can not segmenting streams on ffmpeg

 

I suspect it is ffmpeg not segmenting streams with HEVC :). Can you try the same with x265? Most likely you'll see the same

Quote:

Artem S. (Intel) wrote:

I suspect it is ffmpeg not segmenting streams with HEVC :). Can you try the same with x265? Most likely you'll see the same

X265 can split!!!!!!!!!!!!!!

 

x265 [info]: HEVC encoder version 2.2+22-20217c8af8ac
x265 [info]: build info [Linux][GCC 4.9.2][64 bit] 8bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
x265 [info]: Main profile, Level-3 (Main tier)
x265 [info]: Thread pool created using 8 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 3 / wpp(9 rows)
x265 [warning]: Source height < 720p; disabling lookahead-slices
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : hex / 57 / 2 / 2
x265 [info]: Keyframe min / max / scenecut / bias: 25 / 250 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 20 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 3 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 1 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : ABR-2600 kbps / 0.60
x265 [info]: tools: rd=3 psy-rd=2.00 rskip signhide tmvp strong-intra-smoothing
x265 [info]: tools: deblock sao
[segment @ 0x434b920] Selected stream id:0 type:video
[mpegts @ 0x44d1400] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts
Output #0, segment, to 'stream%05d.ts':
  Metadata:
    encoder         : Lavf56.40.101
    Stream #0:0: Video: hevc (libx265), 1 reference frame, yuv420p, 720x576 [SAR 16:11 DAR 20:11], q=2-31, 2600 kb/s, 25 fps, 90k tbn, 25 tbc
    Metadata:
      encoder         : Lavc56.60.100 libx265
    Stream #0:1(rus): Audio: mp2, 48000 Hz, stereo, s16, 384 kb/s
    Metadata:
      encoder         : Lavc56.60.100 mp2
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> hevc (libx265))
  Stream #0:1 -> #0:1 (mp2 (native) -> mp2 (native))
Press [q] to stop, [?] for help
[h264 @ 0x3fa45e0] mmco: unref short failure
[h264 @ 0x3fa45e0] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one
*** 23 dup!
[segment @ 0x434b920] segment:'stream00000.ts' starts with packet stream:0 pts:7200 pts_time:0.08 frame:0
[segment @ 0x434b920] segment:'stream00000.ts' count:0 ended
[mpegts @ 0x4342180] muxrate VBR, pcr every 9000 pkts, sdt every 200, pat/pmt every 40 pkts
[segment @ 0x434b920] segment:'stream00001.ts' starts with packet stream:0 pts:907200 pts_time:10.08 frame:250
[segment @ 0x434b920] segment:'stream00001.ts' count:1 ended=N/A dup=23 drop=0
[mpegts @ 0x4342160] muxrate VBR, pcr every 9000 pkts, sdt every 200, pat/pmt every 40 pkts
[segment @ 0x434b920] segment:'stream00002.ts' starts with packet stream:0 pts:1807200 pts_time:20.08 frame:498
[segment @ 0x434b920] segment:'stream00002.ts' count:2 ended=N/A dup=23 drop=0
[mpegts @ 0x4210a40] muxrate VBR, pcr every 9000 pkts, sdt every 200, pat/pmt every 40 pkts
[segment @ 0x434b920] segment:'stream00003.ts' starts with packet stream:0 pts:2707200 pts_time:30.08 frame:748
[NULL @ 0x3e720e0] Current profile doesn't provide more RBSP data in PPS, skipping
[NULL @ 0x3e720e0] Current profile doesn't provide more RBSP data in PPS, skipping
[NULL @ 0x3e720e0] Current profile doesn't provide more RBSP data in PPS, skipping
[segment @ 0x434b920] segment:'stream00003.ts' count:3 ended=N/A dup=23 drop=0
frame=  848 fps= 16 q=-0.0 Lsize=N/A time=00:00:33.84 bitrate=N/A dup=23 drop=0
video:10967kB audio:1566kB subtitle:0kB other streams:0kB global headers:2kB muxing overhead: unknown
Input file #0 (udp://227.0.1.1:1001):
  Input stream #0:0 (video): 937 packets read (9186563 bytes); 826 frames decoded;
  Input stream #0:1 (audio): 1392 packets read (801792 bytes); 1392 frames decoded (1603584 samples);
  Total: 2329 packets (9988355 bytes) demuxed
Output file #0 (stream%05d.ts):
  Output stream #0:0 (video): 848 frames encoded; 848 packets muxed (11230651 bytes);
  Output stream #0:1 (audio): 1392 frames encoded (1603584 samples); 1392 packets muxed (1603584 bytes);
  Total: 2240 packets (12834235 bytes) muxed

 

root@node8:~/ffmpeg_sources/ffmpeg-2.8.13# ls -l | grep stream
-rw-r--r--  1 root  root   3802112 Oct 12 18:15 stream00000.ts
-rw-r--r--  1 root  root   4415180 Oct 12 18:15 stream00001.ts
-rw-r--r--  1 root  root   3776544 Oct 12 18:15 stream00002.ts
-rw-r--r--  1 root  root   2011224 Oct 12 18:15 stream00003.ts
-rw-r--r--  1 root  root        60 Oct 12 18:15 stream.m3u8

 

 

Ok, that makes sense, we will look into that problem.

We confirmed issue on our side and looking for fix, probably will be able to provide some workaround on ffmpeg side, we'll notify you when fix or wa available.

Quote:

Artem S. (Intel) wrote:

We confirmed issue on our side and looking for fix, probably will be able to provide some workaround on ffmpeg side, we'll notify you when fix or wa available.

 

Thanks! Waiting for good news :)

you can already try to recompile with this patch applied: https://github.com/libav/libav/commit/98afe3fb71afd4a18009924aaba56bc577...

or wait when it will be fully merged

Let us to know if helps.

Quote:

Maxym Dmytrychenko (Intel) wrote:

you can already try to recompile with this patch applied: https://github.com/libav/libav/commit/98afe3fb71afd4a18009924aaba56bc577...

or wait when it will be fully merged

Let us to know if helps.

 

Yes, it works now! :))))))))

Thanks!

Leave a Comment

Please sign in to add a comment. Not a member? Join today