Aspect ratio broken after transcoding + subtitles to ex720 ?
Hi,
I"m using servio since some time (love it by the way), but noticed a strange bug happening sometimes with a few episodes. Aspect ratio gets completely broken. If i remove the subtitle, no problem.
the ffpeg command line for the transcoding:
"C:\Program Files\Serviio\bin\\..\lib/ffmpeg.exe" -threads auto -i S:\toto.mp4 -y -threads auto
-c:v mpeg2video -pix_fmt yuv420p -b:v 17000k -maxrate:v 17000k -bufsize:v 17000k -vf pad=722:406:1:0:black,setdar=4:3,subtitles=filename="S\\:/toto.srt":original_size=720x406:charenc=UTF-8 -r 24000/1001 -g 15 -c:a ac3 -b:a 384k -ac 2 -map 0:0 -map 0:1 -sn -f mpegts C:\tmp\Serviio\transcoding-temp-23173-sony2011-ORIGINAL-ecf9bde4778e73fa50ccae425bb1c6cb.stf
original file resolution of 720x406
final file resolution of 722x406 (4:3 according to mediainfo, where does that come from ?!)
So i'm guessing my issue is with that part of the commandline:
-vf pad=722:406:1:0:black,setdar=4:3,xxxxxx
if i manually launch ffmpeg with -vf pad=720:406:1:0:black,setdar=16:9,xxxxxxxxxx
it gives a correct result. How can i change that behaviour ?
I"m using servio since some time (love it by the way), but noticed a strange bug happening sometimes with a few episodes. Aspect ratio gets completely broken. If i remove the subtitle, no problem.
the ffpeg command line for the transcoding:
"C:\Program Files\Serviio\bin\\..\lib/ffmpeg.exe" -threads auto -i S:\toto.mp4 -y -threads auto
-c:v mpeg2video -pix_fmt yuv420p -b:v 17000k -maxrate:v 17000k -bufsize:v 17000k -vf pad=722:406:1:0:black,setdar=4:3,subtitles=filename="S\\:/toto.srt":original_size=720x406:charenc=UTF-8 -r 24000/1001 -g 15 -c:a ac3 -b:a 384k -ac 2 -map 0:0 -map 0:1 -sn -f mpegts C:\tmp\Serviio\transcoding-temp-23173-sony2011-ORIGINAL-ecf9bde4778e73fa50ccae425bb1c6cb.stf
original file resolution of 720x406
final file resolution of 722x406 (4:3 according to mediainfo, where does that come from ?!)
So i'm guessing my issue is with that part of the commandline:
-vf pad=722:406:1:0:black,setdar=4:3,xxxxxx
if i manually launch ffmpeg with -vf pad=720:406:1:0:black,setdar=16:9,xxxxxxxxxx
it gives a correct result. How can i change that behaviour ?