FAQ  •  Register  •  Login

Transcoding + subtitles sometimes break aspect (sony)

<<

castorx

Serviio newbie

Posts: 4

Joined: Fri Jun 06, 2014 7:52 pm

Post Sun Nov 09, 2014 9:16 pm

Transcoding + subtitles sometimes break aspect (sony)

Hi,

I have an ex720 sony. Serviio works most of the time, but sometimes transcode doesnt start, and sometimes it breaks totally aspect ratio. Video goes from 16:9 to someting weird like 24/9 on the tv, ^^.

Trying to figure out why, here is the transccde called:

"C:\Program Files\Serviio\bin\\..\lib/ffmpeg.exe" -threads auto -i S:\a.mp4 -y -threads auto -c:v mpeg2video -pix_fmt yuv420p -b:v 17000k -maxrate:v 17000k -bufsize:v 17000k -vf pad=720:405:0:2:black,setdar=4:3,subtitles=filename="S\\:/a.srt":original_size=720x400: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-23787-sony2011-ORIGINAL-f8eed7b8df23e7e4f2c6d7a01d8258d9.stf

original file is 720x400. The temp file is 720*404, (but looks 1:1 when i open it) .

What can be the source of this issue ?
ffmpeg -i on source gives:
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
title : RARBG.COM - Homeland.S04E05.WEBRip.x264-RARBG
encoder : Lavf56.3.100
comment : RARBG.COM - Homeland.S04E05.WEBRip.x264-RARBG
Duration: 00:47:07.82, start: 0.000000, bitrate: 1415 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 720x400, 1250 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 180k tbc
Metadata:
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 159 kb/s
Metadata:
handler_name : SoundHandler


ffmpeg -i on result gives:

Input #0, mpegts, from 'C:\tmp\Serviio\transcoding-temp-23787-sony2011-ORIGINAL-f8eed7b8df23e7e4f2c6d7a01d8258d9.stf':
Duration: 00:47:07.83, start: 1.441711, bitrate: 2347 kb/s
Program 1
Metadata:
service_name : RARBG.COM - Homeland.S04E05.WEBRip.x264-RARBG
service_provider: FFmpeg
Stream #0:0[0x100]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 720x404 [SAR 101:135 DAR 4:3], 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
Stream #0:1[0x101](eng): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, fltp, 384 kb/s




any hint ?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Nov 16, 2014 10:06 pm

Re: Transcoding + subtitles sometimes break aspect (sony)

what if you remove ",setdar=4:3" from the transcode command and run it manually?
<<

castorx

Serviio newbie

Posts: 4

Joined: Fri Jun 06, 2014 7:52 pm

Post Sun Nov 30, 2014 7:50 pm

Re: Transcoding + subtitles sometimes break aspect (sony)

zip wrote:what if you remove ",setdar=4:3" from the transcode command and run it manually?



seems to work How can i force that in profile, i cant figure out where this setdar=4:3 come from ?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Dec 17, 2014 5:45 pm

Re: Transcoding + subtitles sometimes break aspect (sony)

It's built in. No way to remove it.

Return to Transcoding

Who is online

Users browsing this forum: No registered users and 29 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.