[FFmpeg-devel] Disable deblocking filter in H.264

Michael Niedermayer michaelni at gmx.at
Thu Jan 26 20:15:33 CET 2012


On Thu, Jan 26, 2012 at 03:32:05PM +0100, Loïc wrote:
> Hi,
> 
> To enable slice level threading on decoding, I'm trying to create
> H.264 video streams without deblocking or with deblock type 2.
> As I can't find a way to force deblocking type 2 in H.264 encoding
> using libx264, I'm trying to use the second solution using "-flags
> -loop" to disable deblocking filter, as explained in this page
> http://sites.google.com/site/linuxencoding/x264-ffmpeg-mapping, but it
> seems that it isn't working.
> The following commands are producing similar results:
> ffmpeg -i in.mp4 -vcodec libx264 -b:v 10000000 -y -slices 4 -flags -loop out.mp4
> ffmpeg -i in.mp4 -vcodec libx264 -b:v 10000000 -y -slices 4 out.mp4
> 
> In both cases, decoding the file with the following command:
> ffmpeg -benchmark -thread_type slice -i out.mp4 -f null /dev/null
> is outputing the same error message: "[h264 @ 0x15b3d00] Cannot
> parallelize deblocking type 1, decoding such frames in sequential
> order"
> 
> So it seems that the -flag -loop option isn't working.
> 
> Could you confirm this? Is there an other way to disable the
> deblocking filter or to force type 2 in H.264 ?

did you try -x264opts no-deblock ?

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Opposition brings concord. Out of discord comes the fairest harmony.
-- Heraclitus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120126/025b44e3/attachment.asc>


More information about the ffmpeg-devel mailing list