TEB
4th December 2009, 15:35
Hi. Im trying to make some teststreams here for some VOD project at work.
I need the streams to contain:
Transportstream Mux
HE-AAC Audio
H264 mp@l4.0 video
Source material is 720p50 and some 1080p25 via avisynth.
The streams need to have a strict bitrate controll in the sence that they must not go over my given max limit "ever" ;)
I dont care about encoding time, i just want the best quality for the file.
To test im just using a yuv test file.
x264.exe --pass 1 --bitrate 3000 c:\MEDIA\CLIPS\720p50_mobcal_ter.yuv 1280x720 --fps 50 -o test4.mp4 --preset ultrafast
x264.exe --pass 2 --bitrate 3000 c:\MEDIA\CLIPS\720p50_mobcal_ter.yuv 1280x720 --fps 50 -o test4.mp4 --preset ultrafast
This was done on x264 32bit 1354b from x264.nl.
All the files im getting crashes my videoplayers (vlc, mpc,splash lite)
Anyone that could give me a pointer?
UPDATE:
1. I tried with build 1309 32bit, same problem
2. I tried with build 1354 64bit, same problem
3. Tried to watch the yuv streams on vlc, get a lot of green garbage in VLC and MPC, not sure they supports YUV.
4. Tried another paramater setting: x264 --crf 24 -o test1.h264 blue_sky.yuv 1920x1080, same problem
5. Tried on my other computer, quad core penryn, same problem..
6. As a last resort ill try to get some other yuv files (i got mine from ftp.ldv.e-technik.tu-muenchen.de)
Am i doing something wrong with using the yuv files as source? Shouldnt the encoder complain ? ;)
output:
x264 [info]: 1920x1080 @ 25.00 fps
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cach
e64
x264 [info]: profile High, level 4.0
x264 [info]: frame I:1 Avg QP:24.61 size:116192
x264 [info]: frame P:121 Avg QP:24.60 size: 47741
x264 [info]: frame B:95 Avg QP:28.24 size: 7323
x264 [info]: consecutive B-frames: 15.3% 75.0% 9.7% 0.0%
x264 [info]: mb I I16..4: 40.9% 39.8% 19.3%
x264 [info]: mb P I16..4: 1.6% 1.1% 0.3% P16..4: 37.1% 17.2% 13.1% 0.0% 0
.0% skip:29.5%
x264 [info]: mb B I16..4: 0.1% 0.2% 0.0% B16..8: 44.7% 0.3% 0.4% direct:
0.9% skip:53.4% L0:30.8% L1:63.9% BI: 5.3%
x264 [info]: 8x8 transform intra:39.4% inter:64.4%
x264 [info]: coded y,uvDC,uvAC intra: 32.0% 45.1% 29.9% inter: 17.6% 29.9% 14.6%
x264 [info]: i16 v,h,dc,p: 54% 25% 12% 8%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 9% 42% 4% 6% 4% 7% 3% 5%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 12% 16% 5% 14% 6% 15% 4% 6%
x264 [info]: Weighted P-Frames: Y:0.0%
x264 [info]: ref P L0: 76.4% 4.3% 17.5% 1.7% 0.1%
x264 [info]: ref B L0: 96.1% 3.9%
x264 [info]: kb/s:6072.45
encoded 217 frames, 11.73 fps, 6072.45 kb/s
UPDATE2: I found that no players liked the .264 raw file.. when i put it in a mkv container it worked fine.
One question tho, what parameter do i use to lock the encoding to hp@L4.0 ? When i select --profile high it uses 5.0 automagically.. even if the bitrate is 2mbit.
I need the streams to contain:
Transportstream Mux
HE-AAC Audio
H264 mp@l4.0 video
Source material is 720p50 and some 1080p25 via avisynth.
The streams need to have a strict bitrate controll in the sence that they must not go over my given max limit "ever" ;)
I dont care about encoding time, i just want the best quality for the file.
To test im just using a yuv test file.
x264.exe --pass 1 --bitrate 3000 c:\MEDIA\CLIPS\720p50_mobcal_ter.yuv 1280x720 --fps 50 -o test4.mp4 --preset ultrafast
x264.exe --pass 2 --bitrate 3000 c:\MEDIA\CLIPS\720p50_mobcal_ter.yuv 1280x720 --fps 50 -o test4.mp4 --preset ultrafast
This was done on x264 32bit 1354b from x264.nl.
All the files im getting crashes my videoplayers (vlc, mpc,splash lite)
Anyone that could give me a pointer?
UPDATE:
1. I tried with build 1309 32bit, same problem
2. I tried with build 1354 64bit, same problem
3. Tried to watch the yuv streams on vlc, get a lot of green garbage in VLC and MPC, not sure they supports YUV.
4. Tried another paramater setting: x264 --crf 24 -o test1.h264 blue_sky.yuv 1920x1080, same problem
5. Tried on my other computer, quad core penryn, same problem..
6. As a last resort ill try to get some other yuv files (i got mine from ftp.ldv.e-technik.tu-muenchen.de)
Am i doing something wrong with using the yuv files as source? Shouldnt the encoder complain ? ;)
output:
x264 [info]: 1920x1080 @ 25.00 fps
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cach
e64
x264 [info]: profile High, level 4.0
x264 [info]: frame I:1 Avg QP:24.61 size:116192
x264 [info]: frame P:121 Avg QP:24.60 size: 47741
x264 [info]: frame B:95 Avg QP:28.24 size: 7323
x264 [info]: consecutive B-frames: 15.3% 75.0% 9.7% 0.0%
x264 [info]: mb I I16..4: 40.9% 39.8% 19.3%
x264 [info]: mb P I16..4: 1.6% 1.1% 0.3% P16..4: 37.1% 17.2% 13.1% 0.0% 0
.0% skip:29.5%
x264 [info]: mb B I16..4: 0.1% 0.2% 0.0% B16..8: 44.7% 0.3% 0.4% direct:
0.9% skip:53.4% L0:30.8% L1:63.9% BI: 5.3%
x264 [info]: 8x8 transform intra:39.4% inter:64.4%
x264 [info]: coded y,uvDC,uvAC intra: 32.0% 45.1% 29.9% inter: 17.6% 29.9% 14.6%
x264 [info]: i16 v,h,dc,p: 54% 25% 12% 8%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 9% 42% 4% 6% 4% 7% 3% 5%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 12% 16% 5% 14% 6% 15% 4% 6%
x264 [info]: Weighted P-Frames: Y:0.0%
x264 [info]: ref P L0: 76.4% 4.3% 17.5% 1.7% 0.1%
x264 [info]: ref B L0: 96.1% 3.9%
x264 [info]: kb/s:6072.45
encoded 217 frames, 11.73 fps, 6072.45 kb/s
UPDATE2: I found that no players liked the .264 raw file.. when i put it in a mkv container it worked fine.
One question tho, what parameter do i use to lock the encoding to hp@L4.0 ? When i select --profile high it uses 5.0 automagically.. even if the bitrate is 2mbit.