Opdenkamp-git and bluray-support - hoppel118 - 2011-08-23 14:01
Hey guys,
asked about the following in some other threads, but didn't get an answer:
http://forum.xbmc.org/showpost.php?p=861908&postcount=600
http://forum.xbmc.org/showpost.php?p=860995&postcount=39
http://forum.xbmc.org/showpost.php?p=865017&postcount=108
Compiled libbluray from videolan-git and xbmc from opdenkamp-git with libbluray enabled. If I mount my bluray-isos manual, I can watch the m2ts-files. The following isn't possible:
- automount bluray-iso (dvd-iso works fine)
- rewind/fastforward chapters
--> this should be possible with mario sitz ppa.
What is the problem? Are these features possible with opdenkamp-git or only with mario sitz ppa? Are there some special packets I need to install?
What about the standard xbmc-development-git? Is it possible with this?
Is it possible to combine the code from mario sitz ppa with the opdenkamp-git to get this working?
It is the only problem I have to solve with xbmc, everything else is working fine. Great job and thanx to the xbmc-developers for this absolutely great "media-center-gui".
Greetings
Hoppel
- opdenkamp - 2011-08-25 13:07
there's nothing special in the pvr tree that does anything with blueray. does it work on mainline xbmc (eden-pre?)
- hoppel118 - 2011-08-25 13:51
Hey dushmaniac,
don't know if that works on mainline xbmc, I only read that it should with mario sitz ppa. But I "need" pvr, so my question was how to get this working with your git?
Here you can see as chapter-rw/ff should look: http://forum.xbmc.org/showthread.php?tid=91143
Philmatic doesn't answer on a pm. My blurays are fully decrypted isos.
Greets
- hoppel118 - 2011-09-02 15:35
Hey guys,
here a complete log while opening "testbd.iso" with full bluray-structure:
http://pastebin.com/GGX8yHxL
I think these are the relevant ERROR-lines:
From the first part of the log we can see, that xbmc knows the medium to be not a DVD and starts testing for bluray. Then we can see a lot of such "ignored size"-messages:
Code:
23:02:43 T:140400190809856 ERROR: DVDFileSeekForce - ignored size of file indicated in UDF
After that phase, I think these ERRORs can be interesting:
Code:
23:02:44 T:140400190809856 ERROR: GetDirectory - Error getting /mnt/wd20ears/movies/Bluray/testbd/testbd.iso/BDMV/
23:02:44 T:140400190809856 ERROR: Open - error probing input format,
23:02:44 T:140400190809856 ERROR: OpenDemuxStream - Error creating demuxer
What do you think about these error-messages?
- hoppel118 - 2011-09-07 16:11
Hey guys,
I built another bluray-iso and with this the following features work:
- automount bluray-iso
- rewind/fastforward chapters
But not always, it works in round about 50% of starting this iso. Yehaa!!! Better than nothing! In the other 50% xbmc crashes completely.
Here are some xbmc-logs I made while starting this bluray-iso:
complete log: http://pastebin.com/BgvvBMxn
some errors I assembled from this log:
Code:
14:34:02 T:140667382638336 DEBUG: CDVDInputStreamBluray - Opening file udf iso file udf:///mnt/wd20ears/movies/Bluray/bluraytest/bluraytest.iso/BDMV/CLIPINF/00034.clpi... (0x416a370)
14:34:02 T:140667382638336 ERROR: DVDFileSeekForce - ignored size of file indicated in UDF
14:34:02 T:140667382638336 DEBUG: CDVDInputStreamBluray - Closed file (0x416a370)
14:34:02 T:140667382638336 DEBUG: CDVDInputStreamBluray - Opening file udf iso file udf:///mnt/wd20ears/movies/Bluray/bluraytest/bluraytest.iso/BDMV/STREAM/00001.m2ts... (0x416a370)
14:34:02 T:140667382638336 DEBUG: ScanForExternalSubtitles: Searching for subtitles...
14:34:02 T:140667382638336 ERROR: GetDirectory - Error getting /mnt/wd20ears/movies/Bluray/bluraytest/bluraytest.iso/BDMV/
14:34:03 T:140667382638336 ERROR: CDVDAudioCodecPassthroughFFmpeg::Open - FFmpeg SPDIF muxer does not support this codec
14:34:03 T:140667326908160 ERROR: ffmpeg[AA0D4700]: [dca] Not a valid DCA frame
14:34:03 T:140667326908160 ERROR: CDVDPlayerAudio::DecodeFrame - Decode Error. Skipping audio packet
With the message "CDVDPlayerVideo - video decoder was flushed" xbmc freezes completely and its (xbmc) service has to be restarted:
Code:
14:34:03 T:140668049463264 ERROR: GLX: Same window as before, refreshing context
14:34:03 T:140668049463264 INFO: GL: Maximum texture width: 8192
14:34:03 T:140668049463264 DEBUG: ------ Window Init (VideoFullScreen.xml) ------
14:34:03 T:140668049463264 INFO: Loading skin file: VideoFullScreen.xml
14:34:03 T:140668049463264 DEBUG: Load VideoFullScreen.xml: 7.39ms
14:34:03 T:140668049463264 DEBUG: Alloc resources: 7.72ms (7.49 ms skin load)
14:34:03 T:140668049463264 DEBUG: LIRC: Update - NEW at 375177:0000000080010069 00 KEY_LEFT devinput (KEY_LEFT)
14:34:03 T:140668049463264 DEBUG: OnKey: 169 (a9) pressed, action is StepBack
14:34:03 T:140668049463264 DEBUG: ------ Window Init (DialogSeekBar.xml) ------
14:34:03 T:140668049463264 DEBUG: Alloc resources: 0.08ms (0.00 ms skin load)
14:34:03 T:140668049463264 ERROR: VDPAU Device Preempted - attempting recovery
14:34:03 T:140668049463264 ERROR: (VDPAU) Error: The display was pre-empted, or a fatal error occurred.(2) at VDPAU.cpp:1351
14:34:03 T:140667335300864 NOTICE: Attempting recovery
14:34:03 T:140667335300864 NOTICE: (VDPAU) FiniVDPAUOutput
14:34:03 T:140668049463264 DEBUG: ------ Window Deinit (DialogBusy.xml) ------
14:34:03 T:140667335300864 NOTICE: vdp_device = 0x00000001 vdp_st = 0x00000000
14:34:03 T:140667335300864 DEBUG: CDVDPlayerVideo - video decoder was flushed
And here the complete xbmc-log when the bluray.iso is working fine: http://pastebin.com/1EDcHPqa
What about the vdpau-error and why xbmc still works, after message "CDVDPlayerVideo - video decoder was flushed"?
Code:
14:38:36 T:139732522264544 ERROR: GLX: Same window as before, refreshing context
14:38:36 T:139732522264544 INFO: GL: Maximum texture width: 8192
14:38:36 T:139732522264544 DEBUG: ------ Window Init (VideoFullScreen.xml) ------
14:38:36 T:139732522264544 INFO: Loading skin file: VideoFullScreen.xml
14:38:36 T:139732522264544 DEBUG: Load VideoFullScreen.xml: 6.81ms
14:38:36 T:139732522264544 DEBUG: Alloc resources: 7.11ms (6.92 ms skin load)
14:38:36 T:139732522264544 DEBUG: ------ Window Init (DialogSeekBar.xml) ------
14:38:36 T:139732522264544 DEBUG: Alloc resources: 0.07ms (0.00 ms skin load)
14:38:36 T:139732522264544 ERROR: VDPAU Device Preempted - attempting recovery
14:38:36 T:139732522264544 ERROR: (VDPAU) Error: The display was pre-empted, or a fatal error occurred.(2) at VDPAU.cpp:1351
14:38:36 T:139731805603584 NOTICE: Attempting recovery
14:38:36 T:139731805603584 NOTICE: (VDPAU) FiniVDPAUOutput
14:38:36 T:139732522264544 DEBUG: ------ Window Deinit (DialogBusy.xml) ------
14:38:36 T:139731857831680 DEBUG: CDVDPlayer::HandleMessages - player started 2
14:38:36 T:139731805603584 NOTICE: vdp_device = 0x00000001 vdp_st = 0x00000000
14:38:36 T:139731805603584 DEBUG: CDVDPlayerVideo - video decoder was flushed
14:38:36 T:139731805603584 NOTICE: (VDPAU) screenWidth:1920 vidWidth:1920
14:38:36 T:139731805603584 NOTICE: (VDPAU) screenHeight:1080 vidHeight:1080
14:38:36 T:139731805603584 NOTICE: (VDPAU) Total Output Surfaces Available: 2 of a max (tmp: 2 const: 4)
14:38:36 T:139731815307008 DEBUG: CVideoReferenceClock: Received RandR event 123
14:38:36 T:139731815307008 DEBUG: CVideoReferenceClock: output of nvidia-settings -nt -q RefreshRate3: 60,000 Hz
14:38:36 T:139731815307008 DEBUG: CVideoReferenceClock: Detected refreshrate by nvidia-settings: 60.000000 hertz, rounding to 60 hertz
14:38:38 T:139732124014336 DEBUG: AddOnLog: VDR XVDR Client: SendPing
14:38:39 T:139732522264544 DEBUG: LIRC: Update - NEW at 49492:00000000800100cf 00 KEY_PLAY devinput (KEY_PLAY)
14:38:39 T:139732522264544 DEBUG: OnKey: 234 (ea) pressed, action is Play
14:38:39 T:139731805603584 NOTICE: (VDPAU) Creating the video mixer
14:38:39 T:139732522264544 DEBUG: CAnnouncementManager - Announcement: OnPlay from xbmc
14:38:39 T:139732522264544 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnPlay
14:38:39 T:139731797210880 DEBUG: CDVDPlayerAudio:: Discontinuity - was:83605.750781, should be:95868.263366, error:12262.512586
14:38:39 T:139732522264544 DEBUG: ------ Window Deinit (DialogSeekBar.xml) ------
14:38:42 T:139731805603584 DEBUG: CPullupCorrection: detected pattern of length 1: 20854.17, frameduration: 20854.166667
14:38:43 T:139731805603584 DEBUG: CalcFrameRate framerate was:23.976024 calculated:47.952075
14:38:43 T:139731805603584 DEBUG: CVideoReferenceClock: Clock speed 100.099944%
14:38:43 T:139731805603584 NOTICE: fps: 47.952075, pwidth: 1920, pheight: 1080, dwidth: 1920, dheight: 1080
14:38:43 T:139731805603584 DEBUG: OutputPicture - change configuration. 1920x1080. framerate: 47.95. format: VDPAU
14:38:43 T:139731805603584 DEBUG: Resolution default: 1920x1080 @ 50.00Hz (13) not a very good match for fps 47.952 (weight: 0.043), trying 2:3 cadence
14:38:43 T:139731805603584 DEBUG: Resolution default: 1920x1080 @ 50.00Hz (13) not a very good match for fps 47.952 with 2:3 cadence (weight: 0.583), choosing 60 hertz
14:38:43 T:139731805603584 DEBUG: 60 hertz refreshrate not available, choosing highest
14:38:43 T:139731805603584 NOTICE: Display resolution ADJUST : default: 1920x1080 @ 58.00Hz (21) (weight: 0.210)
14:38:43 T:139732522264544 NOTICE: Using GL_TEXTURE_2D
14:38:43 T:139732522264544 NOTICE: GL: Using VDPAU render method
14:38:43 T:139732522264544 NOTICE: GL: NPOT texture support detected
14:38:43 T:139732522264544 NOTICE: GL: Using GL_ARB_pixel_buffer_object
some other errors, I found in the log about ffmpeg:
Code:
14:39:31 T:139731857831680 ERROR: ffmpeg[DBBFF700]: [mpegts] ignoring previously allocated packet on stream 0
14:40:32 T:139731797210880 ERROR: ffmpeg[D822F700]: [dca] Not a valid DCA frame
14:40:32 T:139731797210880 ERROR: CDVDPlayerAudio::DecodeFrame - Decode Error. Skipping audio packet
Isn't anybody here using bluray-isos with the opdenkamp-git? What could be my problem? vdpau, ffmpeg ...
Greetings
Hoppel
- FernetMenta - 2011-09-08 13:16
The crashes are probably related to changes of refresh rate and not necessarily related to bluray. This is a known bug (I am working on this)
- hoppel118 - 2011-09-08 13:23
In other threads I read that crashes caused by refresh rate changes could be related to x64. Is this true? Or, do this issues occur with x86, too?
- FernetMenta - 2011-09-09 08:36
hoppel118 Wrote:In other threads I read that crashes caused by refresh rate changes could be related to x64. Is this true? Or, do this issues occur with x86, too?
This issue can occur on 64 and 32 bit, even with other hardware decoders. Since this issue is related to timing it just might occur more often on 64 bit systems.
- hoppel118 - 2011-09-12 16:44
Ok, is it somehow possible to disable autorefresh refresh rate changes. I read about this to be possible in xorg.conf, but can't find the right command.
In this way it must be possible to start the bluray-iso without a complete crash of xbmc (with the information in mind stuttering to be there because of the wrong refresh rate).
What do you think?
- Jönke - 2011-09-17 08:33
My quick fix is to set xbmc gui @24hz as i prefer to watch 720/1080p . Mkv.
When i watch dvds it will crash sometimes but never on bluray / HDTV rips.
So you could manualy choose the refreshrate that matches your material in xbmc gui.
|