Re: [FFmpeg-user] NVENC HEVC Stuttering / macroblock display issue on LG TV

2016-02-06 Thread Carl Eugen Hoyos
Zheer Zheer  gmail.com> writes:

> I have now tried with level 3.1 and have the same problem.

Does setting the level actually makes a difference?
Levels from 1 to 6.2 should be supported.
Did you test with the HEVC reference decoder to verify if a 
valid stream was written?
If that works, I suggest you contact LG: Their decoder 
seems to fail...

Carl Eugen

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] NVENC HEVC Stuttering / macroblock display issue on LG TV

2016-02-05 Thread Zheer Zheer
Hi Carl,

I have now tried with level 3.1 and have the same problem. Running the same
command line with x265 however plays perfectly well.

ffmpeg -i sample.mp4 -y -c:v nvenc_hevc -preset slow  -s 720:576 -level
3.1   -r 24000/1001 -c:a aac -aq 128k -c:s copy  sampleNvencHEVC.ts
ffmpeg -i sample.mp4 -y -c:v libx265 -preset slow -x265-params bframes=0
-s 720:576 -level 3.1 -r 24000/1001 -c:a aac -aq 128k -c:s copy
sampleX265bf0.ts

I've also done more test, and seen differences with the GOP and bufsize
parameters that I had missed in my previous testing. I have not been able
to get a defect free video though...

Reducing GOP a lot, to say 15 helps (the default appears to be 250) - my
take is something goes wrong playing the P frames and the I frame wipe
things clean..  X265 is using a 250 GOP though so why would it not work
with NVENC ..
The buffsize also delayed the apparition of macroblock issues. the command
line above resulted in a VBR of 2.5M so I've tested with bufsize from 500k
to 10M - the best result was around 2M but it only just delayed the problem
showing up

Any other thoughts ?

Many thanks


>
> The original frame rate which is 23.976. setting in to -r 24 seems to work
> too, but with other framerates (20, 25, 30), I'm seeing stuttering issues.
>
> > > - HEVC levels 4.1 to 5.0
>
>
>
> > - Did you also try lower levels?
>
>
>
> I have not tried lower than 4.1 with HEVC (the encoder returned an error
> from 4.0, probably because the resolution / bit rates I used were higher
> than allowed at 4)
>
>
>
>
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] NVENC HEVC Stuttering / macroblock display issue on LG TV

2016-02-04 Thread Pierre-Yves Hocquellet
> Which frame rate works fine with nvenc_h264?

The original frame rate which is 23.976. setting in to -r 24 seems to work too, 
but with other framerates (20, 25, 30), I'm seeing stuttering issues. 
> > - HEVC levels 4.1 to 5.0

> - Did you also try lower levels?

I have not tried lower than 4.1 with HEVC (the encoder returned an error from 
4.0, probably because the resolution / bit rates I used were higher than 
allowed at 4)


___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] NVENC HEVC Stuttering / macroblock display issue on LG TV

2016-02-04 Thread Carl Eugen Hoyos
Pierre-Yves Hocquellet  gmail.com> writes:

> The same sample encoded with nvenc_h264 plays smoothly, 
> no problem. although I've noticed that if I attempt to 
> change the frame rate - r from the original, I get some 
> of the same issues. 

Which frame rate works fine with nvenc_h264?

> - HEVC levels 4.1 to 5.0

Did you also try lower levels?

Carl Eugen

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user