Hi, I was a bit too much enthusiastic about this speed thing. The resizing and clipping options of course don't have the same purpose. But generally -B is faster than -X (shrinking is faster than expanding).
I would love too know if there is a way to speed up the resizing thing or the deinterlacing. I get totaly insane with the slowness of the encoding (And I have a amd64 Athlon 3200+). I encode with xvid4 (with speed optimisations for amd64), deinterlace option 3 (the slowest) and lots of resizing as you could see in the previous message. I don't get more than 13 fps. Without all the resizing and deinterlacing stuff I get 31 fps. With the resizing and without deinterlacing i get 19 fps. How can I speed up transcode. Does anyone get more fps out of transcode having about the same options and the same Computer (or of course a slower computer. Would be funny if a Athlon 1800+ could beat the 3200+ just using better commandlineswitches.) Thank you! On Sunday 28 May 2006 22:59, Marschall Kurt wrote: > 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