View Full Version : x264-10bit encoder crashes
HitomiKun
28th July 2011, 01:12
I wanted to encode something with the 10 bit encoder of x264 and experement a bit. The input was a AVI file with an 10bit "v210" codec. x264 indexes that file but after that it just crashes. Since I want true 10 bit encodes (nothing dithered to 8 bit), I refused to use avisynth (since some ppl say that avisynth is 8bit only). Is there any way to encode in true 10 bit with x264?
Btw. I recorded some gameplay footage from a game with Fraps and used the force lossless RGB option. Then I edited the footage in Adobe Premiere Pro and exported it lossless in a AVI with that "v210" codec. That's the story.
Edit: I used the 64 bit x264-10bit encoder, since I use a 64 bit Windows 7. My CPU is a AMD Quadcore 2.3 GHz.
HitomiKun
28th July 2011, 04:33
Ah I solved my problem with avisynth and ffvideosource(). Should be 10 bit on the newest ffdshow I think...
J_Darnley
28th July 2011, 09:07
You won't get anything but 8 bit through avisynth unless you try one of these hacks that suddenly seem to be popular.
Since ffms didn't seem to like decoding the file, you could try forcing lavf with --demuxer lavf
Blue_MiSfit
28th July 2011, 09:24
You could also try rewrapping this AVI into MOV. I've encoded v210 MOV files this with x264's built in lavf demuxer.
HitomiKun
28th July 2011, 13:53
I forced the lavf demuxer and tried both with AVI and MOV container but both just crash after indexing. I also tried this with the 32 bit versions of x264 and also with the 8 bit version. Every version crashes after indexing container with v210 codec. Are there any restrictions with 10-bit? Maybe it's my settings:
@echo off
x264-10bit --demuxer lavf --profile high10 --level 4.1 --preset placebo --pass 1 --bitrate 25000 --stats "osu!.stats" --index "osu!.index" --trellis 2 --direct auto --b-adapt 2 --keyint 250 --min-keyint 30 --ref 9 --bframes 8 --b-pyramid 2 --no-fast-pskip --no-mbtree --nal-hrd none --me umh --subme 9 --merange 32 --no-dct-decimate --output NUL "F:\Videos\Adobe\osu!.mov"
x264-10bit --demuxer lavf --profile high10 --level 4.1 --preset placebo --pass 2 --bitrate 25000 --stats "osu!.stats" --index "osu!.index" --trellis 2 --direct auto --keyint 250 --min-keyint 30 --ref 9 --bframes 8 --b-pyramid 2 --no-fast-pskip --no-mbtree --nal-hrd none --me umh --subme 9 --merange 32 --no-dct-decimate --output "osu!.mkv" "F:\Videos\Adobe\osu!.mov"
pause
So that means that encode with avisynth is 8bit -.- somehow I knew this would happen. Any solutions?
Target Practice
28th July 2011, 16:53
try using --output-csp rgb or i444
HitomiKun
28th July 2011, 17:08
try using --output-csp rgb or i444
YES! i444 works flawless! Thanks a bunch <3
HitomiKun
28th July 2011, 20:14
New problem :(
The video gets messed up if I set the output-csp on i444. The video gets also encoded with the High 4:4:4 Predictive Profile because of that. (Not in High 10) My video gets pink because of that and I tested various decoders, like the newest CCCP Beta and LAV Video decoders. CCCP crashes and LAV displays the video with a pink screen.
I'll be testing around with that output-csp now, but if anyone knows what my problem is please report.
Dark Shikari
28th July 2011, 20:16
This crash has nothing to do with 4:4:4 and has already been fixed in github (https://github.com/DarkShikari/x264-devel/commit/810ba79e8d900efa45113c7139dbcf9408b49667).
HitomiKun
28th July 2011, 20:44
ah good to know. Thanks for your hard work ;)
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.