CrystalHD issues with WMV/VC-1 Files - Trexx - 2010-09-19 01:39
I am very new to the AppleTV & CrystalHD scene so bear with me.
Any files that are WMV Files (WMV Pro/VC-1) 720p or 1080p only give audio when played, but no video.
AppleTV 3.02
XBMC svn r33778
CrystalHD version r156
XBMC Log file http://pastebin.com/3BTw8Psf
MediaInfo
http://pastie.org/pastes/1167376
Thanks for everyones hard work on XBMC & CrystalHD.
T.
- mr.ezrider - 2010-09-19 20:59
here is what I can find
http://www.prgomet.net/Logs.zip
hope this helps
if I can do anything else, ask
thank you!
- vajonam - 2010-09-20 05:07
the following avi, which i have ripped from a dvd using handbrake, at the time i did it so that i could play it on my xbox, doesn't seem to work on Dharma tip since
http://trac.xbmc.org/changeset/33908
I have the a number of videos with same encoding.
PM-ed you the link, this is just for the forums so other folks may face the same issue.
Code:
Complete name : Bourne Supremacy.avi
Format : AVI
Format/Info : Audio Video Interleave
Format profile : OpenDML
File size : 1.25 GiB
Duration : 1h 48mn
Overall bit rate : 1 653 Kbps
Writing application : MEncoder 2:1.0~rc2-0ubuntu13+medibuntu1
Writing library : MPlayer
Video
ID : 0
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L3.0
Format settings, CABAC : No
Format settings, ReFrames : 5 frames
Codec ID : H264
Duration : 1h 48mn
Bit rate : 1 200 Kbps
Width : 720 pixels
Height : 368 pixels
Display aspect ratio : 2.35:1
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.189
Stream size : 931 MiB (73%)
Writing library : x264 core 64
Encoding settings : cabac=0 / ref=5 / deblock=1:2:4 / analyse=0x1:0x111 / me=umh / subme=7 / psy_rd=1.0:0.0 / brdo=0 / mixed_ref=0 / me_range=64 / chroma_me=1 / trellis=0 / 8x8dct=0 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-2 / threads=3 / nr=0 / decimate=1 / mbaff=0 / bframes=3 / b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=3 / wpredb=1 / bime=1 / keyint=240 / keyint_min=24 / scenecut=40(pre) / rc=2pass / bitrate=1200 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=2600 / vbv_bufsize=768 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:0.50
Color primaries : BT.601-6 525, BT.1358 525, BT.1700 NTSC, SMPTE 170M
Transfer characteristics : BT.709-5, BT.1361
Matrix coefficients : BT.601-6 525, BT.1358 525, BT.1700 NTSC, SMPTE 170M
Audio
ID : 1
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Codec ID : 2000
Duration : 1h 48mn
Bit rate mode : Constant
Bit rate : 448 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Stream size : 348 MiB (27%)
Alignment : Split accross interleaves
Interleave, duration : 500 ms (11.99 video frames)
Interleave, preload duration : 500 ms
- vajonam - 2010-09-20 18:04
dan1son Wrote:The video height has to be at least 700 pixels (I think that's the magic number) before the CrystalHD card kicks in. dvd rips will use the internal software decoder.
well. i see the chd-h264 in the Video OSD. i will attach a log file
Code:
22:07:19 T:3043034976 M:110440448 NOTICE: DVDPlayer: Opening: /net/atacama/Video/English/Movies/Bourne Supremacy/Bourne Supremacy.avi
22:07:19 T:3043034976 M:110440448 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
22:07:19 T:2874944400 M:110440448 DEBUG: thread start, auto delete: 0
22:07:19 T:2874944400 M:110440448 NOTICE: Creating InputStream
22:07:19 T:2874944400 M:110444544 INFO: CDVDFactorySubtitle::GetSubtitles, searching subtitles
22:07:19 T:2874944400 M:110383104 DEBUG: CacheSubtitles: START
22:07:19 T:2874944400 M:110383104 DEBUG: CacheSubtitles: Checking for common subdirs...
22:07:19 T:2874944400 M:110383104 DEBUG: CacheSubtitles: Done (time: 22 ms)
22:07:19 T:2874944400 M:110383104 DEBUG: CacheSubtitles: Searching for subtitles...
22:07:19 T:2874944400 M:110383104 DEBUG: CacheSubtitles: Done (time: 10 ms)
22:07:19 T:2874944400 M:110321664 DEBUG: CacheSubtitles: END (total time: 39 ms)
22:07:19 T:2874944400 M:110321664 INFO: CDVDFactorySubtitle::GetSubtitles, searching subtitles done
22:07:19 T:2874944400 M:110321664 NOTICE: Creating Demuxer
22:07:19 T:2874944400 M:110313472 DEBUG: SECTION:LoadDLL(special://xbmcbin/system/players/dvdplayer/avformat-52-i486-linux.so)
22:07:19 T:2874944400 M:110313472 DEBUG: Loading: /usr/lib/xbmc/system/players/dvdplayer/avformat-52-i486-linux.so
22:07:19 T:3043034976 M:110247936 DEBUG: ------ Window Init (DialogBusy.xml) ------
22:07:19 T:3043034976 M:110247936 DEBUG: Alloc resources: 0.01ms (0.01 ms skin load)
22:07:19 T:2874944400 M:109080576 DEBUG: Open - probing detected format [avi]
22:07:20 T:2874944400 M:108699648 INFO: ffmpeg[AB5C2B90]: [avi] non-interleaved AVI
22:07:20 T:2874944400 M:108699648 DEBUG: Open - av_find_stream_info starting
22:07:20 T:2874944400 M:107806720 DEBUG: ffmpeg[AB5C2B90]: [avi] max_analyze_duration reached
22:07:20 T:2874944400 M:107806720 DEBUG: Open - av_find_stream_info finished
22:07:20 T:2874944400 M:107806720 INFO: ffmpeg[AB5C2B90]: Input #0, avi, from '/net/atacama/Video/English/Movies/Bourne Supremacy/Bourne Supremacy.avi':
22:07:20 T:2874944400 M:107806720 INFO: ffmpeg[AB5C2B90]: Metadata:
22:07:20 T:2874944400 M:107806720 INFO: ffmpeg[AB5C2B90]: ISFT : MEncoder 2:1.0~rc2-0ubuntu13+medibuntu1
22:07:20 T:2874944400 M:107745280 INFO: ffmpeg[AB5C2B90]: Duration: 01:48:32.50, start: 0.000000, bitrate: 1653 kb/s
22:07:20 T:2874944400 M:107745280 INFO: ffmpeg[AB5C2B90]: Stream #0.0: Video: h264, yuv420p, 720x368 [PAR 289:240 DAR 867:368], 23.98 fps, 23.98 tbr, 23.98 tbn, 47.95 tbc
22:07:20 T:2874944400 M:107745280 INFO: ffmpeg[AB5C2B90]: Stream #0.1: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s
22:07:20 T:2874944400 M:107745280 NOTICE: Opening video stream: 0 source: 256
22:07:20 T:2874944400 M:107745280 NOTICE: Creating video codec with codec id: 28
22:07:20 T:2874944400 M:107683840 DEBUG: CDVDFactoryCodec: compiled in hardware support: CrystalHD:yes OpenMax:no VDPAU:yes VAAPI:no
22:07:20 T:2874944400 M:107683840 INFO: Trying Broadcom Crystal HD Decoder...
22:07:20 T:2874944400 M:107683840 DEBUG: FactoryCodec - Video: - Opening
22:07:21 T:2874944400 M: 48918528 DEBUG: CrystalHD(new API): device opened
22:07:21 T:2771385232 M: 49008640 DEBUG: thread start, auto delete: 0
22:07:21 T:2771385232 M: 49049600 DEBUG: CrystalHD: Output Thread Started...
22:07:21 T:2874944400 M: 49049600 INFO: DVDVideoCodecCrystalHD: Opened Broadcom Crystal HD Codec
22:07:21 T:2874944400 M: 49049600 DEBUG: FactoryCodec - Video: chd-h264 - Opened
22:07:21 T:2874944400 M: 49008640 NOTICE: Creating video thread
22:07:21 T:2751462288 M: 49049600 DEBUG: thread start, auto delete: 0
22:07:21 T:2874944400 M: 49049600 NOTICE: Opening audio stream: 1 source: 256
22:07:21 T:2874944400 M: 49049600 NOTICE: Finding audio codec for: 86020
22:07:21 T:2874944400 M: 49049600 DEBUG: FactoryCodec - Audio: PassthroughFFmpeg - Opening
22:07:21 T:2874944400 M: 48988160 INFO: CDVDAudioCodecPassthroughFFmpeg::Open - Won't transcode for HDMI
22:07:21 T:2874944400 M: 49049600 DEBUG: FactoryCodec - Audio: PassthroughFFmpeg - Failed
22:07:21 T:2874944400 M: 49049600 DEBUG: FactoryCodec - Audio: FFmpeg - Opening
22:07:21 T:2751462288 M: 49049600 DEBUG: LinuxRendererGL: Cleaning up GL resources
22:07:21 T:2874944400 M: 49045504 DEBUG: FactoryCodec - Audio: FFmpeg - Opened
22:07:21 T:2874944400 M: 48984064 NOTICE: Creating audio thread
22:07:21 T:2751462288 M: 48984064 NOTICE: running thread: video_thread
22:07:21 T:2734676880 M: 49012736 DEBUG: thread start, auto delete: 0
22:07:21 T:2734676880 M: 49012736 NOTICE: running thread: CDVDPlayerAudio::Process()
22:07:21 T:2874944400 M: 48996352 DEBUG: ReadEditDecisionLists - Checking for edit decision lists (EDL) on local drive or remote share for: /net/atacama/Video/English/Movies/Bourne Supremacy/Bourne Supremacy.avi
22:07:21 T:2874944400 M: 48934912 DEBUG: CDVDPlayer::SetCaching - caching state 2
22:07:21 T:2751462288 M: 48975872 DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_SYNCHRONIZE
22:07:21 T:2751462288 M: 49000448 DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_RESYNC(41708.333333, 0)
22:07:21 T:2771385232 M: 49000448 DEBUG: CrystalHD: Format Change Detected. Flags: 0x00030000
22:07:21 T:2771385232 M: 49000448 DEBUG: ----------------------------------
22:07:21 T:2771385232 M: 48939008 DEBUG: TimeStamp: 0
22:07:21 T:2771385232 M: 48939008 DEBUG: Picture Number: 0
22:07:21 T:2771385232 M: 48939008 DEBUG: Width: 720
22:07:21 T:2771385232 M: 48939008 DEBUG: Height: 368
22:07:21 T:2771385232 M: 48939008 DEBUG: Chroma: 0x001
22:07:21 T:2771385232 M: 48877568 DEBUG: Pulldown: 9
22:07:21 T:2771385232 M: 48918528 DEBUG: Flags: 0x00000000
22:07:21 T:2771385232 M: 48918528 DEBUG: Frame Rate/Res: 0
22:07:21 T:2771385232 M: 48918528 DEBUG: Aspect Ratio: 255
22:07:21 T:2771385232 M: 48918528 DEBUG: Color Primaries: 101056768
22:07:21 T:2771385232 M: 48877568 DEBUG: MetaData: 0
22:07:21 T:2771385232 M: 48947200 DEBUG: Session Number: 0
22:07:21 T:2771385232 M: 48947200 DEBUG: TimeStamp: 0
22:07:21 T:2771385232 M: 48947200 DEBUG: Custom Aspect: 0
22:07:21 T:2771385232 M: 48947200 DEBUG: Frames to Drop: 0
22:07:21 T:2771385232 M: 48906240 DEBUG: H264 Valid Fields: 0x00000000
22:07:21 T:2771385232 M: 48947200 DEBUG: CrystalHD: dec_par x = 1, dec_par y = 1
22:07:21 T:2771385232 M: 48947200 DEBUG: CrystalHD: resolution = 0 interlace = 0
22:07:21 T:2771385232 M: 48947200 DEBUG: CrystalHD: No timestamp detected: 48515950560000
22:07:21 T:2751462288 M: 48947200 DEBUG: Previous line repeats 3 times.
22:07:21 T:2751462288 M: 48947200 NOTICE: fps: 23.976025, pwidth: 720, pheight: 368, dwidth: 720, dheight: 368
22:07:21 T:2751462288 M: 48947200 DEBUG: OutputPicture - change configuration. 720x368. framerate: 23.98. format: YUY2
- davilla - 2010-09-20 18:09
vajonam Wrote:well. i see the chd-h264 in the Video OSD. i will attach a log file
It's width not height that determines the choice.
- vajonam - 2010-09-20 18:13
davilla Wrote:It's width not height that determines the choice.
that is what i thought, with the "throwing of the atv users a bone" :-)
- davilla - 2010-09-20 20:59
I'll be moving some threads, this topic is for reporting a crystalhd problem, not discussion.
- vajonam - 2010-09-21 05:34
davilla,
while playing an mkv got this freeze, its about 1h43m into the video of a 1080p how do i get the video over to you?
http://dl.dropbox.com/u/14162/xbmc.freeze.1080p.7z
is it a problem due to a corrupt mkv? this also plays okay on my VDPAU box.
thanks
- vajonam - 2010-09-24 01:23
after recompiling the crystalhd drivers to use 8 DMA buffers, the test.mkv that I have PM-ed you plays audio in 2X
should be easy to re-pro
here is the debug log
- sgangwisch - 2010-09-24 13:36
I am having trouble playing all VC-1 codecs in XBMC using the Broadcom Crystal HD decoder. All of my movies are 1080p bluray rips in an MKV container.
- LOG: http://pastebin.com/3PSAyWXx
I can watch H.264 encoded blurays just fine the issue only occurs with the VC-1 codec. I can play the VC-1 encoded movies through VLC player just fine but CPU usage is at 100+%. XBMC also plays the VC-1 encoded movies fine without Hardware acceleration turned on.
I have a MacMini 1.83GHz, 4GB ram (3GB addressable), Broadcom Crystal HD 70012 I believe. Using 3.6.0 drivers and running Dharma Beta 2. OS 10.6.4
Update
Looks like this might be an issue with the MKV container and VC-1 codec. I have muxed it into an m2ts container (using tsMuxer) it the VC-1 encoded files are performing just fine now.
|