Log in

View Full Version : Some newbie q°: x264 stats + encoding, open AVIs with VD, ffdshow/DSS not working


RRD
13th February 2011, 13:39
Hello,

I have several newbie questions about videos, any help would be greatly appreciated!


• x264
1. When I look into any .stats file, there is always ref:0 at the end of EVERY line. Aren't numbers supposed to be there? ( http://mewiki.project357.com/wiki/X264_Stats_File ) If yes, is there a problem with my encoding settings ?
I'm also afraid that a ridiculous amount of lines has a w: (weight) parameter (in the last lines of the file).

→ An example of one of my .stats files (http://mh3wiki.fr/file/temp/3.stats.txt)
→ Encoding settings:
x264 --pass 1 --bitrate 6400 --stats "3.stats" --profile high --level 4.1 --keyint 250 --ref 9 --bframes 16 --b-adapt 2 --direct auto --rc-lookahead 200 --deblock -2:-1 --subme 10 --trellis 2 --partitions all --me tesa --merange 64 --threads auto --output NUL "inputscript.avs"
x264 --pass 2 --bitrate 6400 --stats "3.stats" --profile high --level 4.1 --keyint 250 --ref 9 --bframes 16 --direct auto --rc-lookahead 200 --deblock -2:-1 --subme 10 --trellis 2 --partitions all --me tesa --merange 64 --threads auto --output "outputvideo.mp4" "inputscript.avs"


2. Can I run every first pass of multiple videos, and then every second pass of these same videos (provided they all have a different .stats file name) or do I need to run 1st pass → 2nd pass immediately after for each video? Both seem to work and produce similar results, so I guess it's yes. ✔


3. Do you have any recommendations on encoding settings for video game footage? I've found threads where people say it's “difficult” to encode because of high motion/flashy colours/great amount of details, but no actual recommendations. Useful links or explanations would be appreciated.



• VirtualDub
4. Somehow if I right-click on a .avi file → Open with… and then I select VirtualDub.exe, it WON'T be added to the list of programs. I had the same problem with .avs files but fiddling with Windows' registry solved the problem. Fiddling in the same manner for .avis didn't work. Has anyone experienced this issue or read somewhere that someone was having it?


5. I don't understand what are the differences between Fast recompress/Normal recompress/Full processing mode. Which one should I use ? Full converts to RGB, Fast does not convert and should be used if no filter is added. ✔



• ffdshow
6. Video streams won't play in WMP (classic or not), but audio streams will. GSpot uses “ffdshow Video Decoder” in its graph but can't render the video, only the audio. I have no codec pack installed and a recent version of ffdshow. DirectShowSource won't work in VirtualDub, showing the right number of frames and playing the audio but all the frames appear as gray frames. Could you give me links for a step-by-step solving of this issue (I guess it's a common one)? Installed K-Lite Codec Pack, solved all playing problems. ✔


Thanks in advance, and sorry for the bad English.

RRD
22nd March 2011, 12:19
↑ Up.

Dark Shikari
22nd March 2011, 13:02
Hello,

I have several newbie questions about videos, any help would be greatly appreciated!


• x264
1. When I look into any .stats file, there is always ref:0 at the end of EVERY line. Aren't numbers supposed to be there? ( http://mewiki.project357.com/wiki/X264_Stats_File ) If yes, is there a problem with my encoding settings ?
I'm also afraid that a ridiculous amount of lines has a w: (weight) parameter (in the last lines of the file).

→ An example of one of my .stats files (http://mh3wiki.fr/file/temp/3.stats.txt)
→ Encoding settings:
x264 --pass 1 --bitrate 6400 --stats "3.stats" --profile high --level 4.1 --keyint 250 --ref 9 --bframes 16 --b-adapt 2 --direct auto --rc-lookahead 200 --deblock -2:-1 --subme 10 --trellis 2 --partitions all --me tesa --merange 64 --threads auto --output NUL "inputscript.avs"
x264 --pass 2 --bitrate 6400 --stats "3.stats" --profile high --level 4.1 --keyint 250 --ref 9 --bframes 16 --direct auto --rc-lookahead 200 --deblock -2:-1 --subme 10 --trellis 2 --partitions all --me tesa --merange 64 --threads auto --output "outputvideo.mp4" "inputscript.avs"Your settings are a mess. Just use a preset.

You have weights at the end because your video ends in a fade out.

The ref=0 is because you're running a fast first pass.