[Mp4-tech] NEWPRED
Bhumin Pathak
bpathak brookes.ac.uk
Sat Mar 20 18:02:26 EST 2004
Hi there,
I am trying to get .yuv file encoded with ISO/IEC 14496 Video Reference
software for MPEG4.
I am interested in using "newpred" feature for the same.
Parameters which I have specified in .par file for this encoding process are
something like this.
---------------------------------
Source.Width = 176
Source.Height = 144
Source.FirstFrame = 0
Source.LastFrame = 12
Source.FilePrefix = "foreman"
Source.Directory = "c:\cprogs\test\test1"
Source.BitsPerPel = 8
Source.Format [0] = "420" // One of "444", "422", "420"
Source.FrameRate [0] = 30
GOV.Enable [0] = 1
GOV.Period [0] = 10
ErrorResil.RVLC.Enable [0] = 1
ErrorResil.DataPartition.Enable [0] = 1
ErrorResil.VideoPacket.Enable [0] = 1
ErrorResil.VideoPacket.Length [0] = 1000
ErrorResil.AlphaRefreshRate [0] = 0
Newpred.Enable [0] = 1
Newpred.SegmentType [0] = "VOP" // One of "VideoPacket", "VOP"
Newpred.Filename [0] = "example.ref"
Newpred.SliceList [0] = "0"
------------------------------------------------
The Newpred.Filename parameter which I have set to "example.ref" looks
like -
------------------------------------------------
1 0
2 1
3 1
4 1
5 2
6 3
7 4
8 5
9 6
10 7
11 8
12 9
13 10
----------------------------------------------
If I try to run encoder.exe with this configuration, Windows XP gives error
"encoder.exe has encountered a problem and needs to close" after if
successfully encodes first IVOP. This error is generated during the encoding
process of second VOP which is PVOP. The reference to this PVOP is the first
IVOP.
I can provide more details if anybody has some idea about newpred
functionality and the reason I might be getting this error.
Thanx,
Bhumin
More information about the Mp4-tech
mailing list