Log in

View Full Version : PSP - FFMPEG no deblocking (AVC)


Atak_Snajpera
9th December 2006, 18:30
Anybody knows how to enable deblocking function in the latest ffmpeg.exe? After encoding I have ugly blocks on PSP and PC as well. If I use old version (30.11.2005) blocks are smoothed. My settings below.

ffmpeg.exe -y -i "C:\movie.avi" -title "movie" -pass 1 -passlogfile "C:\stat" -vcodec h264 -coder 1 -s 320x240 -r 29.97 -b 384 -acodec aac -ac 1 -ar 48000 -ab 48 -f psp "C:\TEMP\MP_ROOT\100ANV01\MAQ00100.mp4"
ffmpeg.exe -y -i "C:\movie.avi" -title "movie" -pass 2 -passlogfile "C:\stat" -vcodec h264 -coder 1 -s 320x240 -r 29.97 -b 384 -acodec aac -ac 1 -ar 48000 -ab 48 -f psp "C:\TEMP\MP_ROOT\100ANV01\MAQ00100.mp4"

ffmpeg.exe -y -i "C:\movie.avi" -f image2 -ss 5 -vframes 1 -s 160x120 -an "C:\TEMP\MP_ROOT\100ANV01\MAQ00100.THM"

giandrea
9th December 2006, 19:13
Anybody knows how to enable deblocking function in the latest ffmpeg.exe? After encoding I have ugly blocks on PSP and PC as well. If I use old version (30.11.2005) blocks are smoothed. My settings below.

ffmpeg.exe -y -i "C:\movie.avi" -title "movie" -pass 1 -passlogfile "C:\stat" -vcodec h264 -coder 1 -s 320x240 -r 29.97 -b 384 -acodec aac -ac 1 -ar 48000 -ab 48 -f psp "C:\TEMP\MP_ROOT\100ANV01\MAQ00100.mp4"
ffmpeg.exe -y -i "C:\movie.avi" -title "movie" -pass 2 -passlogfile "C:\stat" -vcodec h264 -coder 1 -s 320x240 -r 29.97 -b 384 -acodec aac -ac 1 -ar 48000 -ab 48 -f psp "C:\TEMP\MP_ROOT\100ANV01\MAQ00100.mp4"

ffmpeg.exe -y -i "C:\movie.avi" -f image2 -ss 5 -vframes 1 -s 160x120 -an "C:\TEMP\MP_ROOT\100ANV01\MAQ00100.THM"

I think it the options should be -deblockalpha and -deblockbeta , but I don't know the values because I usually don't use deblock, I don't like the effect, I prefer encoding at higher bitrates. :)

ffmpeg
11th December 2006, 07:58
try to use:

-b 384k instead of -b 384---ffmpeg has changed the syntax of "-b"

Atak_Snajpera
13th December 2006, 02:20
I think it the options should be -deblockalpha and -deblockbeta , but I don't know the values because I usually don't use deblock, I don't like the effect, I prefer encoding at higher bitrates. :)

Thanks for help but you have forgotten to mention to use -flags loop to enable Deblocking

I use ffmpeg only to convert movies to PSP. Default deblocking (0,0) is perfect for low bitrates (384).