<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi, I uploaded my problem file to <A
href="ftp://mplayerhq.hu/MPlayer/incoming/">ftp://mplayerhq.hu/MPlayer/incoming/</A> I
think I described adequetly what the problem is here is a copy of the text file
which was uploaded along with the file, thanks:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Hi, I encoded some video under w32 using the jm-75b
h.264 reference encoder but it will not play in mplayer under w32. I was
using 1.0pre3 but I upgraded to the latest cvs just to make sure that it hasn't
been fixed. Here is my encoder.cfg although I should say that this is a
slighly modified h.264 encoder which allows for input of yv12 into the encoder
and writing of avi files. The sourcecode may be obtained here <A
href="http://www.hydrogenaudio.org/extra/jm75b-avi.zip">http://www.hydrogenaudio.org/extra/jm75b-avi.zip</A>
anyway here is the encoder.cfg:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV> </DIV><FONT face=Arial size=2>
<DIV><BR># New Input File Format is as follows<BR># <ParameterName> =
<ParameterValue> # Comment<BR>#<BR># See configfile.h for a list of
supported ParameterNames</DIV>
<DIV> </DIV>
<DIV><BR>##########################################################################################<BR>#
Files<BR>##########################################################################################<BR>InputFile
= "C:\Documents and Settings\Owner\Desktop\test.avs" #
Input sequence, YUV 4:2:0<BR>InputHeaderLength =
0 # If the inputfile has a header, state it's
length in byte here <BR>FramesToBeEncoded =
1000 # Number of frames to be
coded<BR>PictureRate
= 24 # Picture Rate per second (1-100)</DIV>
<DIV>SourceWidth =
704 # Image width in Pels, must be multiple of
16<BR>SourceHeight =
304 # Image height in Pels, must be multiple of
<BR>TraceFile
=
""<BR>ReconFile
=
""<BR>OutputFile
= "C:\Documents and Settings\Owner\Desktop\test1.avi"</DIV>
<DIV> </DIV>
<DIV><BR>##########################################################################################<BR>#
Encoder
Control<BR>##########################################################################################</DIV>
<DIV> </DIV>
<DIV>IntraPeriod =
240 # Period of I-Frames (0=only
first)<BR>IDRIntraEnable =
1 # Force IDR Intra (0=disable
1=enable)<BR>QPFirstFrame
= 24 # Quant. param for first frame (intra)
(0-51)<BR>QPRemainingFrame = 24 # Quant.
param for remaining frames
(0-51)<BR>FrameSkip
= 1 # Number of frames to be skipped in input (e.g 2 will code every
third
frame)<BR>UseHadamard
= 1 # Hadamard transform (0=not used,
1=used)<BR>SearchRange
= 16 # Max search range<BR>NumberReferenceFrames = 2 # Number
of previous frames used for inter motion search
(1-5)<BR>MbLineIntraUpdate = 0 # Error
robustness(extra intra macro block updates)(0=off, N: One GOB every N frames are
intra coded)<BR>RandomIntraMBRefresh = 0 # Forced intra MBs
per picture<BR>InterSearch16x16 = 1 #
Inter block search 16x16 (0=disable,
1=enable)<BR>InterSearch16x8 = 1
# Inter block search 16x8 (0=disable,
1=enable)<BR>InterSearch8x16 = 1
# Inter block search 8x16 (0=disable,
1=enable)<BR>InterSearch8x8 =
1 # Inter block search 8x8 (0=disable,
1=enable)<BR>InterSearch8x4 =
1 # Inter block search 8x4 (0=disable,
1=enable)<BR>InterSearch4x8 =
1 # Inter block search 4x8 (0=disable,
1=enable)<BR>InterSearch4x4 =
1 # Inter block search 4x4 (0=disable, 1=enable)</DIV>
<DIV> </DIV>
<DIV>##########################################################################################<BR>#
Error Resilience /
Slices<BR>##########################################################################################</DIV>
<DIV> </DIV>
<DIV>SliceMode
= 0 # Slice mode (0=off 1=fixed #mb in slice 2=fixed #bytes in
slice 3=use callback
4=FMO)<BR>SliceArgument =
50 # Slice argument (Arguments to modes 1 and 2
above)<BR>num_slice_groups_minus1 = 0 # Number of Slice Groups Minus 1, 0
== no FMO, 1 == two slice groups,
etc.<BR>FmoType
= 0 # 0: Slice interleave, 1: Scatter, 2: fully
flexible, data in FmoConfigFileName,
<BR>
# 3: rectangle defined by FmoTopLeftMB and
FmoBottomRightMB,<BR>
# (only one rectangular slice group supported currently,
i.e. FmoNumSliceGroups =
1)<BR>
# 4-6:evolving slice groups, FmoNumSliceGroups = 1, the evolving method is
defined by
<BR>
# FmoChangeDirection and
FmoChangeRate.<BR>FmoTopLeftMB
= 24 # the top left MB of the rectangular shape for slice groups, MB
counted in raster scan order<BR>FmoBottomRightMB =
74 # the bottom right MB of the rectangular shape for slice
groups<BR>FmoChangeDirection = 1 # 0:
box-out clockwise, raster scan or wipe right,
<BR>
# 1: box-out counter clockwise, reverse raster scan or wipe
left<BR>FmoChangeRate =
4 # SLICE_GROUP_CHANGE_RATE minus 1</DIV>
<DIV> </DIV>
<DIV>FmoConfigFileName = "fmoconf.cfg" # not
yet used, for future fully flexible MBAmaps</DIV>
<DIV> </DIV>
<DIV>UseRedundantSlice = 0 # 0: not
used, 1: one redundant slice used for each slice (other modes not supported
yet)</DIV>
<DIV> </DIV>
<DIV>##########################################################################################<BR>#
B
Frames<BR>##########################################################################################</DIV>
<DIV> </DIV>
<DIV>NumberBFrames =
1 # Number of B frames inserted (0=not used)
<BR>QPBPicture
= 26 # Quant. param for B frames
(0-51)<BR>DirectModeType =
0 # Direct Mode Type (0:Temporal 1:Spatial)</DIV>
<DIV> </DIV>
<DIV>##########################################################################################<BR>#
SP
Frames<BR>##########################################################################################</DIV>
<DIV> </DIV>
<DIV>SPPicturePeriodicity = 0 # SP-Picture Periodicity (0=not
used)<BR>QPSPPicture
= 28 # Quant. param of SP-Pictures for Prediction Error
(0-51)<BR>QPSP2Picture =
27 # Quant. param of SP-Pictures for Predicted Blocks (0-51)</DIV>
<DIV> </DIV>
<DIV><BR>##########################################################################################<BR>#
Output Control,
NALs<BR>##########################################################################################</DIV>
<DIV> </DIV>
<DIV>SymbolMode
= 1 # Symbol mode (Entropy coding method: 0=UVLC,
1=CABAC)<BR>OutFileMode
= 0 # Output file mode, 0:Annex B,
1:RTP<BR>PartitionMode
= 0 # Partition Mode, 0: no DP, 1: 3 Partitions per Slice</DIV>
<DIV> </DIV>
<DIV>##########################################################################################<BR>#
Search Range Restriction / RD Optimization
<BR>##########################################################################################</DIV>
<DIV> </DIV>
<DIV>RestrictSearchRange = 2 # restriction for (0: blocks and
ref, 1: ref, 2: no
restrictions)<BR>RDOptimization =
0 # rd-optimized mode decision (0:off, 1:on, 2: with
losses)<BR>LossRateA
= 10 # expected packet loss rate of the channel for the first partition,
only valid if RDOptimization =
2<BR>LossRateB
= 0 # expected packet loss rate of the channel for the second
partition, only valid if RDOptimization =
2<BR>LossRateC
= 0 # expected packet loss rate of the channel for the third
partition, only valid if RDOptimization =
2<BR>NumberOfDecoders = 30 # Numbers of decoders
used to simulate the channel, only valid if RDOptimization =
2<BR>RestrictRefFrames = 0 # Doesnt allow
reference to areas that have been intra updated in a later frame.</DIV>
<DIV> </DIV>
<DIV>##########################################################################################<BR>#
Additional
Stuff<BR>#########################################################################################</DIV>
<DIV> </DIV>
<DIV>UseConstrainedIntraPred = 0 # If 1, Inter pixels are not
used for Intra macroblock
prediction.<BR>LastFrameNumber
= 0 # Last frame number that have to be coded (0: no
effect)<BR>ChangeQPP
= 16 # QP (P-frame) for second part of sequence
(0-51)<BR>ChangeQPB
= 18 # QP (B-frame) for second part of sequence
(0-51)<BR>ChangeQPStart
= 0 # Frame no. for second part of sequence (0: no second
part)</DIV>
<DIV> </DIV>
<DIV>NumberofLeakyBuckets =
8
# Number of Leaky Bucket
values<BR>LeakyBucketRateFile =
"leakybucketrate.cfg" # File from which encoder derives rate
values<BR>LeakyBucketParamFile =
"leakybucketparam.cfg" # File where encoder stores leakybucketparams</DIV>
<DIV> </DIV>
<DIV>PicInterlace
= 0 # Picture AFF (0: frame coding, 1: field
coding, 2:adaptive frame/field
coding)<BR>MbInterlace
= 0 # Macroblock AFF (0: frame coding, 1: field coding, 2:adaptive
frame/field coding)</DIV>
<DIV> </DIV>
<DIV>NumberFramesInEnhancementLayerSubSequence = 0 # number of
frames in the Enhanced Scalability Layer(0: no Enhanced
Layer)<BR>NumberOfFrameInSecondIGOP
= 0 # Number of frames to be coded in the second IGOP</DIV>
<DIV> </DIV>
<DIV>WeightedPrediction =
0 # P picture Weighted Prediction (0=off, 1=explicit mode)
<BR>WeightedBiprediction = 0 # B
picture Weighted Prediciton (0=off, 1=explicit mode, 2=implicit
mode)
<BR>StoredBPictures
= 0 # Stored B pictures (0=off, 1=on)</DIV>
<DIV> </DIV>
<DIV>SparePictureOption =
0 # (0: no spare picture info, 1: spare picture
available)<BR>SparePictureDetectionThr = 6 # Threshold
for spare reference pictures detection<BR>SparePicturePercentageThr =
92 # Threshold for the spare macroblock percentage</DIV>
<DIV> </DIV>
<DIV>PicOrderCntType
= 0 # (0: POC mode 0, 1: POC mode 1, 2: POC mode 2)</DIV>
<DIV> </DIV>
<DIV>##########################################################################################<BR>#
Loop filter
parameters<BR>##########################################################################################</DIV>
<DIV> </DIV>
<DIV>LoopFilterParametersFlag = 0 # Configure loop filter (0=parameter
below ingored, 1=parameters
sent)<BR>LoopFilterDisable = 1 #
Disable loop filter in slice header (0=Filter, 1=No
Filter)<BR>LoopFilterAlphaC0Offset = 0 # Alpha & C0 offset div.
2, {-6, -5, ... 0, +1, .. +6}<BR>LoopFilterBetaOffset =
0 # Beta offset div. 2, {-6, -5, ... 0, +1, .. +6}</DIV>
<DIV> </DIV>
<DIV><BR>##########################################################################################<BR>#
CABAC context
initialization<BR>##########################################################################################</DIV>
<DIV> </DIV>
<DIV>ContextInitMethod = 0 # Context init (0: fixed, 1:
adaptive)<BR>FixedModelNumber = 0 # model number
for fixed decision for inter slices ( 0, 1, or 2 )</DIV>
<DIV> </DIV>
<DIV>########################################################################################<BR>#Rate
control<BR>########################################################################################</DIV>
<DIV> </DIV>
<DIV>RateControlEnable =
1 # 0 Disable, 1
Enable<BR>Bitrate
= 716800 #
Bitrate(bps)<BR>InitialQP
= 24 # Initial Quantization Parameter for
the first I
frame<BR>
# InitialQp depends on two values: Bits Per
Picture,<BR>
# and the GOP
length<BR>BasicUnit
= 11 # Number of MBs in the basic
unit<BR>
# should be a fractor of the total number
<BR>
# of MBs in a
frame<BR>ChannelType
= 0 # type of channel( 1=time varying
channel; 0=Constant channel)</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><BR>Also, here is an output of mplayer w/ -v:</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><BR>MPlayer dev-CVS-040219-08:04-3.2.3 (C) 2000-2004 MPlayer Team</DIV>
<DIV> </DIV>
<DIV>CPU: Intel Pentium 4/Xeon/Celeron Foster 1520 MHz (Family: 8, Stepping:
4)<BR>Detected cache-line size is 64 bytes<BR>CPUflags: MMX: 1 MMX2: 1
3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0<BR>Compiled for x86 CPU with extensions: MMX
MMX2 SSE SSE2</DIV>
<DIV> </DIV>
<DIV>Reading config file /usr/local/etc/mplayer/mplayer.confReading config file
C:/Video/mplayer/mplayer/config<BR>Reading C:/Video/mplayer/mplayer/codecs.conf:
Reading /usr/local/etc/mplayer/codecs.conf: Using built-in default
codecs.conf.<BR>CommandLine: 'C:\Documents and
Settings\Owner\Desktop\h.264-jm75b-notworking.avi'
'-v'<BR>get_path('font/font.desc') ->
'C:/Video/mplayer/mplayer/font/font.desc'<BR>font: can't open file:
C:/Video/mplayer/mplayer/font/font.desc<BR>font: can't open file:
/usr/local/share/mplayer/font/font.desc<BR>Using MMX (with tiny bit MMX2)
Optimized OnScreenDisplay<BR>Using usleep() timing<BR>get_path('input.conf')
-> 'C:/Video/mplayer/mplayer/input.conf'<BR>get_path('C:\Documents and
Settings\Owner\Desktop\h.264-jm75b-notworking.avi.conf') ->
'C:/Video/mplayer/mplayer/C:\Documents and
Settings\Owner\Desktop\h.264-jm75b-notworking.avi.conf'</DIV>
<DIV> </DIV>
<DIV>Playing C:\Documents and
Settings\Owner\Desktop\h.264-jm75b-notworking.avi.<BR>WINSOCK2 init: 0<BR>[file]
File size is 1965056 bytes<BR>STREAM: [file] C:\Documents and
Settings\Owner\Desktop\h.264-jm75b-notworking.avi<BR>STREAM: Description:
File<BR>STREAM: Author: Albeu<BR>STREAM: Comment: based on the code from ???
(probably Arpi)<BR>AVI file format detected.<BR>list_end=0xD8<BR>======= AVI
Header =======<BR>us/frame: 43478 (fps=23.000)<BR>max bytes/sec:
145429<BR>padding: 0<BR>MainAVIHeader.dwFlags: (2064) HAS_INDEX
TRUST_CKTYPE<BR>frames total: 499 initial: 0<BR>streams:
1<BR>Suggested BufferSize: 19119<BR>Size: 704 x
304<BR>==========================<BR>list_end=0xD8<BR>==> Found video stream:
0<BR>====== STREAM Header =====<BR>Type: vids FCC: H264
(34363248)<BR>Flags: 0<BR>Priority: 0 Language: 0<BR>InitialFrames:
0<BR>Rate: 23/1 = 23.000<BR>Start: 0 Len: 499<BR>Suggested
BufferSize: 19119<BR>Quality -1<BR>Sample size:
0<BR>==========================<BR>found 'bih', 44 bytes of 40<BR>======= VIDEO
Format ======<BR> biSize 40<BR> biWidth 704<BR> biHeight
304<BR> biPlanes 1<BR> biBitCount 0<BR> biCompression
875967048='H264'<BR> biSizeImage
0<BR>===========================<BR>Broken chunk? chunksize=1812
(id=JUNK)<BR>list_end=0x1DDB36<BR>Found movie at 0x800 - 0x1DDB36<BR>Reading
INDEX block, 499 chunks for 499 frames (fpos=001DDB3E)<BR>stream_seek: WARNING!
Can't seek to 0x755B32BE !<BR>AVI index offset: 0x7FC (movi=0x800 idx0=0x4
idx1=0x42A0)<BR>Auto-selected AVI video ID = 0<BR>AVI_NI: No audio stream found
-> no sound.<BR>AVI: Searching for audio stream (id:-1)<BR>AVI: No audio
stream found -> no sound.<BR>AVI video size=1950367 (499) audio size=0
(0)<BR>VIDEO: [H264] 704x304 0bpp 23.000 fps 719.2
kbps (87.8 kbyte/s)<BR>[V] filefmt:3 fourcc:0x34363248
size:704x304 fps:23.00 ftime:=0.0435<BR>get_path('sub/') ->
'C:/Video/mplayer/mplayer/sub/'<BR>get_path('default.sub') ->
'C:/Video/mplayer/mplayer/default.sub'<BR>==========================================================================<BR>Opening
video decoder: [ffmpeg] FFmpeg's libavcodec codec family<BR>INFO: libavcodec
init OK!<BR>Selected video codec: [ffh264] vfm:ffmpeg (FFmpeg
H.264)<BR>==========================================================================<BR>Audio:
no sound<BR>Freeing 0 unused audio chunks<BR>Starting playback...<BR>[ffmpeg]
aspect_ratio: -1.#IND00<BR>VDec: vo config request - 704 x 304 (preferred csp:
Planar YV12)<BR>Trying filter chain: vo<BR>Could not find matching colorspace -
retrying with -vf scale...<BR>Opening video filter: [scale]<BR>SwScale params:
-1 x -1 (-1=no scaling)<BR>Trying filter chain: scale vo<BR>VDec: using Planar
YV12 as output csp (no 0)<BR>Movie-Aspect is undefined - no prescaling
applied.<BR>VO Config
(704x304->704x304,flags=0,'MPlayer',0x32315659)<BR>SwScaler: using unscaled
Planar YV12 -> BGR 24-bit special converter<BR>REQ: flags=0x7
req=0x0 <BR>VO: [gl2] 704x304 => 704x304 BGR 24-bit <BR>VO:
Description: X11 (OpenGL) - multiple textures version<BR>VO: Author: Arpad
Gereoffy & Sven Goethel<BR>vo: win32: running at 1024x768 with depth
32<BR>[gl2] OpenGL Driver Information:<BR> vendor: ATI Technologies
Inc.,<BR> renderer Radeon 7500 DDR x86/SSE2,<BR> version 1.3.3143
WinXP Release<BR>[gl2] You have OpenGL >= 1.2 capable drivers, GOOD (16bpp
and BGR is ok!)<BR>[gl2] Creating 1x1 textures of size 1024x512 ...<BR>[gl2]
antialiasing off<BR>[gl2] bilinear linear<BR>[gl2] Using image_bpp=24,
image_bytes=3, isBGR=1, <BR> gl_bitmap_format=GL_BGR,
gl_bitmap_type=GL_UNSIGNED_BYTE, <BR> gl_alignment=8, rgb_size=24 (8,8,8),
a_sz=8, <BR> gl_internal_format=GL_RGBA8<BR>[gl2] Resize: 704x304<BR>***
[scale] Allocating mp_image_t, 704x304x12bpp YUV planar, 321024 bytes<BR>***
[vo] Allocating mp_image_t, 704x304x24bpp BGR packed, 642048
bytes<BR>V: 0.0 1 0% 0%
0.0% 0 0 0%<BR>*** [scale] Allocating mp_image_t, 704x304x12bpp YUV planar,
321024 bytes<BR>uninit video: ffmpeg<BR>DEMUXER: freeing demuxer at
02F45978 <BR>WINSOCK2 uninit<BR>vo: win32:
uninit<BR></FONT></DIV></BODY></HTML>