Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

simple_player decode vc-1 video problem

zengmengqi
Beginner
283 Views

hi,all

I am running a test:

---------------------------------------------------------------------------------------------

C:Documents and SettingsmzengDesktop5.3.2ipp-samplesaudio-video-codecsapp
licationsimple_playerDebug>e:

E:>simple_player.exe Batman.Begins.HD-DVD.REMUX.1080p.VC-1.TrueHD.DD51.DualAudi
o.D1.ts
Audio Render : DSOUND

Stream Type : MPEG2T
Audio Info :
-Audio Type : AC3
-S.Frequency : 48000
-Num.Channel : 2
-BitPerSample: 16

---------------------------------------------------------------------------------------------

Problem: only audio(voice ),no video( pictures).However,the media file works well under other windows players(voice and pictures come out successfully).

Qestion:simple_playerdoes't workor media file is no pure video?

Thanks a lot.

mengqi.zeng@intel.com.

0 Kudos
5 Replies
Vladimir_Dudnik
Employee
283 Views

Looking at simple_player output I see that demuxer did not detect video track in your stream. This may be caused by several reasons, could you please share with us piece of that stream?

Regards,
Vladimir

0 Kudos
zengmengqi
Beginner
283 Views
hi,Vladimir,
Thank you for your reply.The video file is a little big(200M),I am wondering how I can share it with you(Maybe I'll open a ftp site later).
I think the reason of my question above is that the video file is not pure video supported by simple_player.Then I choose another way which is more important.I download pure YUV file ,and encode it to get a vc1 video file by umc_video_enc_con.exe as follows(I get the parameters by a player --"YUV Player Deluxe"):
--------------------------------------------------------------------------------------------------------
D:sharewin32_cl9>
umc_video_enc_con.exe vc1 -i blue_sky.yuv -n 217 -f 30 -w 1920 -h 1080 -o blsky.vc1

Starting MPEG2 encoding blue_sky.yuv to file blsky.vc1
Source video width = 1920, height = 1080, frameRate = 30.00
Max frames to encode = 217
Encoding bit rate = 5000000 bits per second
0.10.20.30.40.50.60.70.80.90.100.110.120.130.140.150.160.170.180.190.200.210.
Summary:
Num frames encoded = 217
Encoding Time = 4.99 sec, 43.45 fps
Overall Time = 5.90 sec, 36.80 fps
Average CPU usage = 49.60%
Encoded Size = 4553148 bytes
Compression Ratio = 148.24
EncodedSize/ExpectedSize = 1.01

-------------------------------------------------------------------------------------------------------

Further,I played the output video file "blsky.vc1" as follows:

-------------------------------------------------------------------------------------------------------
D:sharewin32_cl9>simple_player.exe blsky.vc1
nAllowedThreadNumber = 0
ThreadNum = 2
Video Render : BLT
-RenderFormat: YV12

Stream Type : VC1PV
Video Info :
-Video Type : VC1_VIDEO
-Resolution : 1920x1080
-Frame Rate : 2.00
nAllowedThreadNumber = 2
ThreadNum = 2
DecRate:26.56 fps(Dec 36.28ms/f + Conv 1.38ms/f = 37.65ms/f) RndrRate 0.00fps Au
dio Dec 0.00chnls
DecRate:219.42 fps(Dec 2.83ms/f + Conv 1.73ms/f = 4.56ms/f) RndrRate 4.97fps Aud
io Dec 0.00chnls
DecRate:302.83 fps(Dec 1.55ms/f + Conv 1.75ms/f = 3.30ms/f) RndrRate 4.98fps Aud
io Dec 0.00chnls

-------------------------------------------------------------------------------------------------------
The problem is:when playing the video "blsky.vc1" by simple_player.exe,the picture is not good as I expected-- so slow and not clear.
I am not sure whether the problem is(e.g. encode,or decode).
By the way,the yuv file "blue_sky.yuv" link: ftp://ftp.ldv.e-technik.tu-muenchen.de/dist/test_sequences/1080p/
I am doing a test about vc1 video and I need your help.


0 Kudos
zengmengqi
Beginner
283 Views
I solved one problem:I input the unproper parameters when I encode the yuv file to vc1 file.
The correct parameters should be(refers to http://www.microsoft.com/windows/windowsmedia/howto/articles/vc1techoverview.aspx):
----------------------------------------------------------------------------------------------
D:sharewin32_cl9>umc_video_enc_con.exe vc1 -i blue_sky.yuv -n 217 -f 30 -b 20
000000 -w 1920 -h 1080 -o blsky.vc1
-----------------------------------------------------------------------------------------------

Then, I get a clear picture now.
However, another problem ramains unsolved: The framerate when playing with simple_player is always 2.00, whatever framerate I input when encode the yuv file(Acctually,I usually input 30 as framerate to encode yuv file).
0 Kudos
zengmengqi
Beginner
283 Views
That is the piece of stream you wanted:
http://www.uploadbigfiles.net/download.php?file=67Batman.Begins.HD-DVD.REMUX.1080p.VC-1.TrueHD.DD51.DualAudio.D1.DISK3.DISK1.ts

By the way, my goal is to run a vc1 format video with simple_player successfully.
0 Kudos
Vladimir_Dudnik
Employee
283 Views

Hello,

if your problem was not solved yet you can submit your issue to Intel Premier Support.

Regards,
Vladimir

0 Kudos
Reply