Problem getting Broadcom Crystal HD BMC70015 to work with XBMC

  Thread Rating:
  • 4 Votes - 4.75 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
vajonam Offline
Donor
Posts: 359
Joined: Sep 2008
Reputation: 0
Location: Toronto, Canada
Post: #46
davilla,

i just finally managed to get build over on to my appletv of the tip of the Dharma branch.

http://trac.xbmc.org/ticket/10177 is fixed and that video plays back now. thanks for that.

I still see a large delay on the startup of the next 1080p. What is delay i should expect after i click on start to when i see the picture?

I have 1080p sample that will take close to 1-2 minutes to start playing correctly, is this expected? 720p plays flawlessly. I am uploading this video now will send you a PM when its done.

also i have annotated the following logs with times where i I am not sure what xbmc is doing? this is reading files off a nfs share. Dharma smb seems very flaky on hardy!


Code:
21:26:27 T:2839260048 M: 56999936   DEBUG: Open - av_find_stream_info finished
21:26:27 T:2839260048 M: 57040896    INFO: ffmpeg[A93BAB90]: Input #0, matroska, from '/net/kalahari/Video/English/Movies/HD/A Passage to India.mkv':
21:26:27 T:2839260048 M: 57040896    INFO: ffmpeg[A93BAB90]:   Duration: 02:43:57.85, start: 0.000000, bitrate: 1606 kb/s
21:26:27 T:2839260048 M: 57040896    INFO: ffmpeg[A93BAB90]:     Stream #0.0(eng): Video: h264, yuv420p, 1792x1080 [PAR 1:1 DAR 224:135], 23.98 fps, 24 tbr, 1k tbn, 47.95 tbc
21:26:27 T:2839260048 M: 57040896    INFO: ffmpeg[A93BAB90]:     Stream #0.1(eng): Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s
21:26:27 T:2839260048 M: 57040896  NOTICE: Opening video stream: 0 source: 256
21:26:27 T:2839260048 M: 57040896  NOTICE: Creating video codec with codec id: 28
21:26:27 T:2839260048 M: 57040896   DEBUG: CDVDFactoryCodec: compiled in hardware support: CrystalHD:yes OpenMax:no VDPAU:yes VAAPI:no
21:26:27 T:2839260048 M: 57040896    INFO: Trying Broadcom Crystal HD Decoder...
21:26:27 T:2839260048 M: 57040896   DEBUG: FactoryCodec - Video:  - Opening
21:26:27 T:2839260048 M: 57040896   DEBUG: CrystalHD: profile 640029
21:26:27 T:2839260048 M: 57040896   DEBUG: CrystalHD: nal size 4
21:26:27 T:2839260048 M: 57040896   DEBUG: CrystalHD: num sps 1
21:26:27 T:2839260048 M: 57040896   DEBUG: CrystalHD: data size at end = 0
21:26:28 T:2797591440 M: 57131008   DEBUG: thread start, auto delete: 0
21:26:28 T:2797591440 M: 57131008   DEBUG: CrystalHD: Output Thread Started...
21:26:28 T:2839260048 M: 57131008    INFO: DVDVideoCodecCrystalHD: Opened Broadcom Crystal HD Codec
21:26:28 T:2839260048 M: 57131008   DEBUG: FactoryCodec - Video: chd-h264 - Opened
21:26:28 T:2839260048 M: 57131008  NOTICE: Creating video thread
21:26:28 T:2789198736 M: 57106432   DEBUG: thread start, auto delete: 0
21:26:28 T:2839260048 M: 57106432  NOTICE: Opening audio stream: 1 source: 256
21:26:28 T:2839260048 M: 57106432  NOTICE: Finding audio codec for: 86020
21:26:28 T:2839260048 M: 57106432   DEBUG: FactoryCodec - Audio: PassthroughFFmpeg - Opening
21:26:28 T:2839260048 M: 57106432    INFO: CDVDAudioCodecPassthroughFFmpeg::Open - Won't transcode for HDMI
21:26:28 T:2839260048 M: 57106432   DEBUG: FactoryCodec - Audio: PassthroughFFmpeg - Failed
21:26:28 T:2839260048 M: 57106432   DEBUG: FactoryCodec - Audio: FFmpeg - Opening
21:26:28 T:2789198736 M: 57106432   DEBUG: LinuxRendererGL: Cleaning up GL resources
21:26:28 T:2789198736 M: 57106432  NOTICE: running thread: video_thread
21:26:28 T:2839260048 M: 57106432   DEBUG: FactoryCodec - Audio: FFmpeg - Opened
21:26:28 T:2839260048 M: 57106432  NOTICE: Creating audio thread
21:26:28 T:2771385232 M: 57106432   DEBUG: thread start, auto delete: 0
21:26:28 T:2771385232 M: 57106432  NOTICE: running thread: CDVDPlayerAudio::Process()
21:26:28 T:2839260048 M: 57106432   DEBUG: ReadEditDecisionLists - Adjusting detected frame rate by half assuming 1080i (interlaced): 24.000
21:26:28 T:2839260048 M: 57106432   DEBUG: ReadEditDecisionLists - Checking for edit decision lists (EDL) on local drive or remote share for: /net/kalahari/Video/English/Movies/HD/A Passage to India.mkv
21:26:28 T:2839260048 M: 57106432   DEBUG: Process - Start position set
to last stopped position: 596000

What is it doing here??? for about 20 seconds

21:26:41 T:2856299408 M: 59068416   DEBUG: Thread 2856299408 terminating (autodelete)
21:26:45 T:2900536208 M: 59375616   DEBUG: Thread 2900536208 terminating (autodelete)
21:26:45 T:2814376848 M: 59375616   DEBUG: Thread 2814376848 terminating (autodelete)
21:26:46 T:2885294992 M: 59260928   DEBUG: Thread 2885294992 terminating (autodelete)

Again whats the delay for?

21:27:26 T:2839260048 M: 59654144   DEBUG: SeekTime - seek ended up on time 599641
21:27:26 T:2839260048 M: 59654144   DEBUG: Process - starting demuxer from: 596000
21:27:26 T:2839260048 M: 59654144   DEBUG: CDVDPlayer::SetCaching - caching state 2
21:27:26 T:2789198736 M: 59645952   DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_SYNCHRONIZE
21:27:26 T:2789198736 M: 59645952   DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_RESYNC(599641000.000000, 1)
21:27:26 T:2789198736 M: 59645952    INFO: CDVDPlayerVideo - Stillframe left, switching to normal playback
21:27:26 T:2771385232 M: 59645952   DEBUG: CDVDPlayerAudio - CDVDMsg::GENERAL_RESYNC(599808000.000000, 0)
21:27:26 T:2771385232 M: 59645952  NOTICE: Creating audio device with codec id: 86020, channels: 6, sample rate: 48000, no pass-through
21:27:26 T:2771385232 M: 59645952    INFO: AudioRendererFactory:  not a explicit device, trying to autodetect.
21:27:26 T:2789198736 M: 59613184 WARNING: CDVDMessageQueue(video)::Get - asked for new data packet, with nothing available
21:27:26 T:3043235680 M: 59613184   DEBUG: CGUIAudioManager::DeInitialize
21:27:26 T:2789198736 M: 59527168 WARNING: CDVDMessageQueue(video)::Get - asked for new data packet, with nothing available
21:27:26 T:2771385232 M: 59547648 WARNING: Previous line repeats 1 times.
21:27:26 T:2771385232 M: 59547648    INFO: CPCMRemap: Configured speaker layout: 2.0
21:27:26 T:2771385232 M: 59547648    INFO: CPCMRemap: I channel map: FL,FR,CE,LFE,SL,SR
21:27:26 T:2771385232 M: 59547648   DEBUG: CPCMRemap: Forcing side channel map to back channels
21:27:26 T:2771385232 M: 59547648    INFO: CPCMRemap: O channel map: FL,FR
21:27:26 T:2771385232 M: 59547648   DEBUG: CPCMRemap: Downmix normalization is disabled
21:27:26 T:2771385232 M: 59547648   DEBUG: CPCMRemap: FL = FL(1.000000) CE(0.707107) LFE(0.707107) BL(1.000000)
21:27:26 T:2771385232 M: 59547648   DEBUG: CPCMRemap: FR = FR(1.000000) CE(0.707107) LFE(0.707107) BR(1.000000)
21:27:26 T:2771385232 M: 59547648   DEBUG: CPulseAudioDirectSound::CPulseAudioDirectSound - Requested channels changed from 6 to 2
21:27:26 T:2771385232 M: 59547648   DEBUG: RemoveActiveDevice - Removing device 1
21:27:27 T:3043235680 M: 58494976   DEBUG: CAnnouncementManager - Announcement: PlaybackStarted from xbmc
21:27:27 T:2771385232 M: 58507264   DEBUG: SetActiveDevice - SetActiveDevice from 0 to 2
21:27:27 T:2771385232 M: 58507264   DEBUG: RemoveActiveDevice - Removing device 0
21:27:27 T:3043235680 M: 57982976   DEBUG: CGUIInfoManager::SetCurrentMovie(/net/kalahari/Video/English/Movies/HD/A Passage to India.mkv)
21:27:27 T:3043235680 M: 57835520   DEBUG: SECTION:UnloadDelayed(SECTION: LCODE)
21:27:27 T:3043235680 M: 57835520   DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/ImageLib-i486-linux.so)
21:27:27 T:3043235680 M: 57835520   DEBUG: Unloading: ImageLib-i486-linux.so
21:27:27 T:2797591440 M: 57843712   DEBUG: CrystalHD: Format Change Detected. Flags: 0x00030000
21:27:27 T:2797591440 M: 57843712   DEBUG: ----------------------------------
21:27:27 T:2797591440 M: 57843712   DEBUG:     TimeStamp: 0
21:27:27 T:2797591440 M: 57843712   DEBUG:     Picture Number: 0
21:27:27 T:2797591440 M: 57815040   DEBUG:     Width: 1792
21:27:27 T:2797591440 M: 57815040   DEBUG:     Height: 1080
21:27:27 T:2797591440 M: 57815040   DEBUG:     Chroma: 0x001
21:27:27 T:2797591440 M: 57815040   DEBUG:     Pulldown: 9
21:27:27 T:2797591440 M: 57815040   DEBUG:     Flags: 0x00000000
21:27:27 T:2797591440 M: 57815040   DEBUG:     Frame Rate/Res: 0
21:27:27 T:2797591440 M: 57815040   DEBUG:     Aspect Ratio: 1
21:27:27 T:2797591440 M: 57815040   DEBUG:     Color Primaries: 33686016
21:27:27 T:2797591440 M: 57815040   DEBUG:     MetaData: 0
21:27:27 T:2797591440 M: 57815040   DEBUG:     Session Number: 0
21:27:27 T:2797591440 M: 57815040   DEBUG:     TimeStamp: 0
21:27:27 T:2797591440 M: 57815040   DEBUG:     Custom Aspect: 0
21:27:27 T:2797591440 M: 57815040   DEBUG:     Frames to Drop: 0
21:27:27 T:2797591440 M: 57815040   DEBUG:     H264 Valid Fields: 0x00000000
21:27:27 T:2797591440 M: 57815040   DEBUG: CrystalHD: dec_par x = 1, dec_par y = 1
21:27:27 T:2797591440 M: 57815040   DEBUG: CrystalHD: resolution = 0  interlace = 0
21:27:27 T:2797591440 M: 57815040   DEBUG: CrystalHD: No timestamp detected: 0
21:27:27 T:2789198736 M: 46026752  NOTICE:  fps: 24.000000, pwidth: 1792, pheight: 1080, dwidth: 1791, dheight: 1080
21:27:27 T:2789198736 M: 46026752   DEBUG: OutputPicture - change configuration. 1792x1080. framerate: 24.00. format: YUY2
21:27:27 T:3043235680 M: 46026752   DEBUG: ------ Window Deinit (DialogBusy.xml) ------
21:27:27 T:2789198736 M: 40136704 WARNING: CRenderManager::Configure - timeout waiting for previous frame
21:27:27 T:2789198736 M: 38289408  NOTICE: Display resolution DESKTOP : 1024x768 @ 60.00 - Full Screen (12)
21:27:27 T:3043235680 M: 38289408   DEBUG: Activating window ID: 12005
21:27:27 T:3043235680 M: 38289408   DEBUG: Checking if window ID 12005 is locked.
21:27:27 T:3043235680 M: 38289408   DEBUG: ------ Window Deinit (MyVideoNav.xml) ------
21:27:27 T:2839260048 M: 38289408   DEBUG: CDVDPlayer::HandleMessages - player started 2
(This post was last modified: 2010-09-17 03:34 by vajonam.)
find quote
vajonam Offline
Donor
Posts: 359
Joined: Sep 2008
Reputation: 0
Location: Toronto, Canada
Post: #47
davilla Wrote:1792 x 1080, geez. where do you get these odd sized videos Smile

Spins right up for me.

let me see the output of "ifconfig" and dmesg when this happens.


i thought you'd say that after seeing the size! but anyway.. since i do have it..:-)

dmesg

Code:
[15471.141795] [FMT CH] DoneSz:0xa0, PIB:0 1 1 2020200 1 438 700 0 9 0
[15471.144894] [FMT CH] DoneSz:0xa0, PIB:0 1 1 2020200 1 438 700 0 9 0
[15471.148027] [FMT CH] DoneSz:0xa0, PIB:0 1 1 2020200 1 438 700 0 9 0
[15471.149933] [FMT CH] DoneSz:0xa0, PIB:0 1 1 2020200 1 438 700 0 9 0
[15520.351491] crystalhd 0000:02:00.0: number of rx success 198466 and failure 0

this is where i tried again.

[33973.642541] start_capture: pause_th:14, resume_th:3
[34035.606385] [FMT CH] DoneSz:0xa0, PIB:0 1 1 2020200 1 438 700 0 9 0

Code:
eth0      Link encap:Ethernet  HWaddr 64:b9:e8:ff:66:6f  
          inet addr:192.168.100.23  Bcast:192.168.100.255  Mask:255.255.255.0
          inet6 addr: fe80::66b9:e8ff:feff:666f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5952061 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3009731 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:151111235 (144.1 MB)  TX bytes:241263006 (230.0 MB)
          Interrupt:19 Base address:0x1000

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:303 errors:0 dropped:0 overruns:0 frame:0
          TX packets:303 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:23461 (22.9 KB)  TX bytes:23461 (22.9 KB)

i have set the max cstate as well to 2.

what are you running this mkv? off the local disk or smb or other file sharing protocols?
find quote
vajonam Offline
Donor
Posts: 359
Joined: Sep 2008
Reputation: 0
Location: Toronto, Canada
Post: #48
curlyjs Wrote:Not sure if related, but I've seen a difference in start time if you use the library vs file manager. File manager open quickly vs library could take 4-5min in my case. Only happened to me with bbc rips.

I can give it a test from FM to see what the spin up time time is there.

EDIT: here is the log as launching from the File manager. same for me.

Code:
09:03:37 T:2771385232 M: 76599296   DEBUG: thread start, auto delete: 0
09:03:37 T:2771385232 M: 76660736  NOTICE: running thread: CDVDPlayerAudio::Process()
09:03:37 T:2883124112 M: 76660736   DEBUG: ReadEditDecisionLists - Adjusting detected frame rate by half assuming 1080i (interlaced): 24.000
09:03:37 T:2883124112 M: 76660736   DEBUG: ReadEditDecisionLists - Checking for edit decision lists (EDL) on local drive or remote share for: /net/kalahari/Video/English/Movies/HD/A Passage to India.mkv
09:03:37 T:2883124112 M: 76685312   DEBUG: Process - Start position set to last stopped position: 652000
09:03:59 T:2789198736 M: 90279936   DEBUG: Thread 2789198736 terminating (autodelete)
09:04:00 T:2891516816 M: 90316800   DEBUG: Thread 2891516816 terminating (autodelete)
09:04:01 T:2856299408 M: 90488832   DEBUG: Thread 2856299408 terminating (autodelete)
09:04:02 T:2839260048 M: 90476544   DEBUG: Thread 2839260048 terminating (autodelete)
09:04:41 T:2883124112 M: 90501120   DEBUG: SeekTime - seek ended up on time 656573
09:04:42 T:2883124112 M: 90529792   DEBUG: Process - starting demuxer from: 652000
09:04:42 T:2883124112 M: 90529792   DEBUG: CDVDPlayer::SetCaching - caching state 2
09:04:42 T:2805984144 M: 90529792   DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_SYNCHRONIZE
09:04:42 T:2805984144 M: 90529792   DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_RESYNC(656573000.000000, 1)
09:04:42 T:2805984144 M: 90529792    INFO: CDVDPlayerVideo - Stillframe left, switching to normal playback
09:04:42 T:2771385232 M: 90525696   DEBUG: CDVDPlayerAudio - CDVDMsg::GENERAL_RESYNC(656640000.000000, 0)
09:04:42 T:2771385232 M: 90525696  NOTICE: Creating audio device with codec id: 86020, channels: 6, sample rate: 48000, no pass-through
09:04:42 T:3043235680 M: 90505216   DEBUG: CGUIAudioManager::DeInitialize
09:04:42 T:2771385232 M: 90632192    INFO: AudioRendererFactory:  not a explicit device, trying to autodetect.
(This post was last modified: 2010-09-17 15:05 by vajonam.)
find quote
Einkoro Offline
Junior Member
Posts: 24
Joined: Jun 2010
Reputation: 0
Location: Canada
Post: #49
davilla Wrote:The change is in both trunk and Dharma branch. Pastebin xbmc.log.

http://janpingel.com/misc/files/xbmc.log

Just noticed:
18:43:27 T:2684407808 M:113786880 NOTICE: Starting XBMC, Platform: Mac OS X (8.8.2 i386). Built on Sep 10 2010 (SVN:33654M)

The Info.plist in the application bundle says r33913. Buggered build from sshcs?
find quote
n8op8o Offline
Junior Member
Posts: 9
Joined: Jul 2010
Reputation: 0
Post: #50
davilla Wrote:what crystalhd card ? xbmc.log ?

Sorry for the bit in delay.

CrystalHD Model#: BCM970015
XBMC Log: http://pastebin.com/reC1JSeb

When i start playing the file the audio comes through just fine but no picture. the xbmc hud is up too. once i click or press esc to hide the hud everything starts freezing up. if i drag the mouse around the screen i see a bunch of mouse cursors that don't get refreshed.

again this happens when playing VC-1 or MPEG2 content using the crystalhd decoder.

Thanks! hope this info helps.
find quote
Trexx Offline
Junior Member
Posts: 41
Joined: Sep 2010
Reputation: 0
Post: #51
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.
find quote
mr.ezrider Offline
Junior Member
Posts: 5
Joined: Sep 2010
Reputation: 0
Location: Croatia
Post: #52
here is what I can find
http://www.prgomet.net/Logs.zip

hope this helps
if I can do anything else, ask

thank you!
find quote
vajonam Offline
Donor
Posts: 359
Joined: Sep 2008
Reputation: 0
Location: Toronto, Canada
Post: #53
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
find quote
vajonam Offline
Donor
Posts: 359
Joined: Sep 2008
Reputation: 0
Location: Toronto, Canada
Post: #54
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
find quote
davilla Offline
Retired-Team-XBMC Developer
Posts: 11,508
Joined: Feb 2008
Reputation: 64
Post: #55
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.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
vajonam Offline
Donor
Posts: 359
Joined: Sep 2008
Reputation: 0
Location: Toronto, Canada
Post: #56
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" :-)
find quote
davilla Offline
Retired-Team-XBMC Developer
Posts: 11,508
Joined: Feb 2008
Reputation: 64
Post: #57
I'll be moving some threads, this topic is for reporting a crystalhd problem, not discussion.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
vajonam Offline
Donor
Posts: 359
Joined: Sep 2008
Reputation: 0
Location: Toronto, Canada
Post: #58
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
find quote
vajonam Offline
Donor
Posts: 359
Joined: Sep 2008
Reputation: 0
Location: Toronto, Canada
Post: #59
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
(This post was last modified: 2010-09-24 01:59 by vajonam.)
find quote
sgangwisch Offline
Junior Member
Posts: 1
Joined: Sep 2010
Reputation: 0
Post: #60
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.
(This post was last modified: 2010-09-25 22:51 by sgangwisch.)
find quote
Post Reply