View Full Version : h.264 reference model
elodie
11th April 2007, 10:34
Hi,
I have installed the H.264 reference model in windows microsoft visual c++.
I am a bit confused about how to actually encode a YUV video sequence.
Has anybody ran this and can give me some poiners?
Cheers
Elodie
DocAliG
11th April 2007, 13:23
Hi Elodie,
You should have a config file in the JM, where you can set up all the encoding parameters (paths and options) -> encoder.cfg
After filling this up, it should work... Most common video sequences are YUV 4:2:0.
elodie
11th April 2007, 14:29
Hi,
I've installed this as i have to familiarise myself with video coders for a project that i will be doing. I'm not really familiar with this :eek:
Is the config file in the JM/lencod/Debug-vc8 folder?
I have compiled the jm_vc8.sln version.
Cheers
DocAliG
11th April 2007, 14:33
Should be in the \JM\bin folder, with examples, several versions of encoder.cfg for different profile. Decoder.cfg is not required, unless you have specified particular options for encoding.
Guest
11th April 2007, 14:36
Read the software reference manual available here:
http://iphome.hhi.de/suehring/tml/
elodie
11th April 2007, 14:47
Hi,
I've read through the manual but i'm not finding it very helpful, just because i'm new to this.
in the manual it gives an example of the usage of the parameters e.g.
lencod.exe -f curenc1.cfg -p InputFile="e:\data\container_qcif_30.yuv" -p SourceWidth=176 -p SourceHeight=144
I have compiled jm_vc8, am i suppose to have the lencod.exe file?
Sorry if these questions are really dumb.
Cheers
DocAliG
11th April 2007, 15:23
I have compiled jm_vc8, am i suppose to have the lencod.exe file?
Yes if the build was successful, then you should have the lencod.exe. But let's follow up with some pv messages...
elodie
11th April 2007, 15:34
Hi,
Whats pv messages?
I've found the lencod.exe file and managed to make a start with the encoding. I've encoded a YUV 420 file and it automatically names the output file test_rec.yuv.
Is there anyway i can play back the encoded file in media player?
Cheers
DocAliG
11th April 2007, 15:46
Whats pv messages?
private
the output file test_rec.yuv.
Can be tuned in the encoder.cfg
Is there anyway i can play back the encoded file in media player?
easiest way is to use a free small software available where you've found the JM: yuvviewer.
elodie
11th April 2007, 15:48
cheers :)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.