Hello,
I have to resize DVB-T Streams so that they still look the same (have the same
aspect ratio and Resolution as the original stream) after the transcoding.
For some reason Transcode always meddles with the original resolution.
The DVB-T Stream looks good, and after transcoding it it is distorted
(streched or whatever).
I retrieve the aspect ratio and the resolution with tcprobe.
Then I use the following appropriate resizing options (found out by mere
trying what looks best):
_ASPECTRATIO=$(tcprobe -i "$1.vob" | grep aspect\ ratio: | awk -F: 'BEGIN
{FS=" "} {print $3}' | sed 's/^ *\(.*\) *$/\1/')
_FRAMESIZE=$(tcprobe -i "$1.vob" | grep frame\ size: | awk -F: 'BEGIN {FS=""}
{print $5}' | sed 's/^ *\(.*\) *$/\1/')
720:576 aspect ratio 16:9:
transcode -B 0,0,8 -X 0,38,8 x vob -y xvid4 -w $bitrate -I 3
704x576 [720x576] (*) aspect ratio 16:9:
transcode -B 0,0,8 -X 0,40,8 -x vob -y xvid4 -I 3
4:3 720:576
transcode -B 2,0,8 -X 0,3,8 -x vob -y xvid4 -I 3
4:3 704:576:
transcode -B 4,0,8 -X 0,3,8 -x vob -y xvid4 -I 3
-----------------------------
I believe that I could improve the conversoning speed a lot.
With the deinterlacing, the resizing and -a bitrate of 1200 I get a fps of 13
on an Amd64 3200+.
Does someone know better resizing options? I am not asking about other
comandline options. Just better values?
For instance does -B 0,0,8 -X 0,38,8 the same job as -B 4,0 -Y 24,0 on a
720:576 aspect ratio 16:9, just that -B 4,0 -Y 24,0 works more than twice as
fast.
I would be very thankful, if someone could tell me some better values then the
ones I found out. By the way it would be very nice if one could put these
values on the transcoding wiki.
Thank you in advance