• 1
  • 2
  • 3
  • 4(current)
  • 5
  • 6
  • 8
Testing help needed for Myth 0.25 support
#46
See post #35
Reply
#47
Thanks for helping a total beginner, I had actually even read that post.

So now that I have installed it, is it right that there is no PVR functionality? No enable LIve tv under settings and I need too add a myth source which I have done or am I able to install a pvr add on?
Reply
#48
Yes, it's not the pvr branch. I think the plan is to get cmyth working, then send the changes back to the main source, then that will get merged into the pvr branch.
Reply
#49
(2012-04-19, 23:52)rdoac Wrote: Yup, that switch fixed everything. Still had to patch it slightly for libpng15 but it now more or less works.. Mythbox isn't working so I guess it's not using libcmyth?

I'm not sure how MythBox communicates with mythbackend. For a while it used to use some of the internal myth:// protocol handling, but perhaps not any longer.

Use MythTV for recording TV? Try the integrated MythTV support in XBMC Media Center. Now with commercial skip support built-in and integration with the Movie database!
Reply
#50
@mzanetti - did you manage to find the configuration setting to check that delete is working as expected?

@ixian - have you been able to get anything working?

@cspack - have you been able to get anything working?

@pyrodex - can you confirm that things appear to be working?

@takiaine - did you manage to get playback of recordings to work?

@rdoac - can you please post a debug log and make sure you open the Live TV folder for myth:// and I'll see if there is anything obvious that might be related to some channels not appearing.

In general it doesn't seem like anything is horribly broken. Live TV has never had seeking support through the myth:// protocol which explains why people are not seeing that functionality with the Myth 0.25 support related changes. I will check some of the Live TV areas some more to see if there is something that has been missed though.
Use MythTV for recording TV? Try the integrated MythTV support in XBMC Media Center. Now with commercial skip support built-in and integration with the Movie database!
Reply
#51
I've set up a Myth video source and things seem to be working from a UI standpoint, but I'm having issues with playback. It stutters and eventually freezes. This happens with both Live TV and recordings. I have no issues playing other sources and playback is smooth with mythfrontend. Here is some of the log file.

Code:
02:27:44 T:140439988082560   DEBUG: CGUIInfoManager::SetCurrentMovie(myth://mythtv:[email protected]/channels/553.ts)
02:27:44 T:140439696623360  NOTICE: Creating 1280x720 pixmap
02:27:44 T:140439696623360   DEBUG: Found 4 fbconfigs.
02:27:44 T:140439696623360   DEBUG: Using fbconfig index 0.
02:27:44 T:140439696623360  NOTICE:  (VDPAU) Total Output Surfaces Available: 4 of a max (tmp: 4 const: 4)
02:27:44 T:140439696623360  NOTICE:  (VDPAU) Creating the video mixer
02:27:45 T:140439988082560   DEBUG: CAnnouncementManager - Announcement: OnPlay from xbmc
02:27:45 T:140439988082560   DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnPlay
02:27:45 T:140439696623360  NOTICE:  fps: 59.940060, pwidth: 1280, pheight: 720, dwidth: 1280, dheight: 720
02:27:45 T:140439696623360   DEBUG: OutputPicture - change configuration. 1280x720. framerate: 59.94. format: VDPAU
02:27:45 T:140439696623360  NOTICE: Display resolution ADJUST : 1920x1080 @ 60.00 - Full Screen (12) (weight: 0.001)
02:27:45 T:140439988082560   DEBUG: Activating window ID: 12005
02:27:45 T:140439988082560   DEBUG: ------ Window Deinit (MyVideoNav.xml) ------
02:27:45 T:140439988082560   DEBUG: ------ Window Init (VideoFullScreen.xml) ------
02:27:45 T:140439988082560    INFO: Loading skin file: VideoFullScreen.xml
02:27:45 T:140439988082560   DEBUG: Load VideoFullScreen.xml: 5.10ms
02:27:45 T:140439988082560   DEBUG: Alloc resources: 5.29ms (5.29 ms skin load)
02:27:45 T:140439988082560   DEBUG: ------ Window Deinit (VideoOverlay.xml) ------
02:27:45 T:140439988082560  NOTICE: Using GL_TEXTURE_2D
02:27:45 T:140439988082560  NOTICE: GL: Using VDPAU render method
02:27:45 T:140439988082560  NOTICE: GL: NPOT texture support detected
02:27:45 T:140439988082560  NOTICE: GL: Using GL_ARB_pixel_buffer_object
02:27:45 T:140439988082560   DEBUG: ------ Window Deinit (DialogBusy.xml) ------
02:27:45 T:140439457888000   DEBUG: CDVDPlayer::HandleMessages - player started 2
02:27:45 T:140439457888000   DEBUG: CDVDPlayer::SetCaching - caching state 3
02:27:45 T:140439671441152   DEBUG: CDVDPlayerAudio:: Discontinuity - was:14702.132442, should be:46177.444441, error:31475.311999
02:27:45 T:140439457888000   DEBUG: CDVDPlayer::SetCaching - caching state 0
02:27:47 T:140439696623360   DEBUG: CPullupCorrection: detected pattern of length 1: 16683.33, frameduration: 16683.333333
02:27:52 T:140439987300096   DEBUG: Process - MythTV event UPDATE_FILE_SIZE: 1553 2012-04-22T02:27:26 38616516
02:27:53 T:140439671441152 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
02:27:54 T:140439671441152   ERROR: GetDelay - snd_pcm_delay, alsa error: -32 - Broken pipe
02:27:54 T:140439671441152   DEBUG: CDVDPlayerAudio:: Discontinuity - was:9428111.655441, should be:9262177.444442, error:-165934.210999
02:27:54 T:140439671441152   ERROR: GetDelay - snd_pcm_delay, alsa error: -32 - Broken pipe
02:27:55 T:140439671441152   DEBUG: CDVDPlayerAudio:: Discontinuity - was:9672434.758442, should be:9500232.392364, error:-172202.366078
02:27:55 T:140439671441152   DEBUG: CDVDPlayerAudio:: Discontinuity - was:9630443.852364, should be:9520396.955019, error:-110046.897345
02:27:55 T:140439671441152   ERROR: GetDelay - snd_pcm_delay, alsa error: -32 - Broken pipe
02:27:55 T:140439457888000   DEBUG: CDVDPlayer::SetCaching - caching state 2
02:27:55 T:140439457888000   DEBUG: CDVDPlayer::SetCaching - caching state 3
02:27:55 T:140439671441152   DEBUG: CDVDPlayerAudio:: Discontinuity - was:9810588.222019, should be:9774184.012924, error:-36404.209095
02:27:55 T:140439457888000   DEBUG: CDVDPlayer::HandleMessages - player started 1
02:27:55 T:140439457888000   DEBUG: CDVDPlayer::HandleMessages - player started 2
02:27:55 T:140439457888000   DEBUG: CDVDPlayer::SetCaching - caching state 0
02:27:55 T:140439671441152   DEBUG: CDVDPlayerAudio:: Discontinuity - was:9997834.717924, should be:9870177.444442, error:-127657.273482
02:27:56 T:140439671441152   ERROR: GetDelay - snd_pcm_delay, alsa error: -32 - Broken pipe
02:27:56 T:140439457888000   DEBUG: CDVDPlayer::SetCaching - caching state 2
02:27:56 T:140439457888000   DEBUG: CDVDPlayer::SetCaching - caching state 3
02:27:56 T:140439671441152   DEBUG: CDVDPlayerAudio:: Discontinuity - was:10394805.419442, should be:10286184.822919, error:-108620.596523
02:27:56 T:140439457888000   DEBUG: CDVDPlayer::HandleMessages - player started 1
02:27:56 T:140439457888000   DEBUG: CDVDPlayer::SetCaching - caching state 0
02:27:56 T:140439457888000   DEBUG: CDVDPlayer::HandleMessages - player started 2
02:27:56 T:140439671441152   DEBUG: CDVDPlayerAudio:: Discontinuity - was:10457547.840919, should be:10357159.131610, error:-100388.709309
02:27:56 T:140439671441152   ERROR: GetDelay - snd_pcm_delay, alsa error: -32 - Broken pipe
Reply
#52
(2012-04-22, 08:46)cspack Wrote: I've set up a Myth video source and things seem to be working from a UI standpoint, but I'm having issues with playback. It stutters and eventually freezes. This happens with both Live TV and recordings. I have no issues playing other sources and playback is smooth with mythfrontend. Here is some of the log file.

Can you please pastebin the full debug log.

Also, can you copy a recording that isn't working to a network location you can access from XBMC and try playing it directly over the network (or from the local filesystem) and let me know how that goes. That will help determine if it's a problem with playback within XBMC or the transmission of content via the myth:// protocol.

Use MythTV for recording TV? Try the integrated MythTV support in XBMC Media Center. Now with commercial skip support built-in and integration with the Movie database!
Reply
#53
@dteirney

Here is a full debug log when trying to seek in live tv.

http://xbmclogs.com/show.php?id=1821

In this example I also went into a recording and tested seeking which worked fine as expected.
HTPC(s): All running LibreELEC
  • AMD 2200G APU on Gigabyte AB350N-Gaming WIFI-CF
  • RPI3 x2 | RPI2 x2
NAS: FreeNAS (Latest Stable) | NFS/CIFS
Reply
#54
(2012-04-22, 04:29)dteirney Wrote: @takiaine - did you manage to get playback of recordings to work?

I have managed to solve couple errors, but I am still not able to get the recordings to play. The log file also looks a bit strange when I am trying to play recordings. Here are couple interesting parts of the log file.

Code:
18:15:06 T:140707994105600   DEBUG: GetImageHash - unable to stat url myth://mythtv:[email protected]/files/channels/nelonen4_tv.jpg
18:15:06 T:140707994105600   DEBUG: GetImageHash - unable to stat url myth://mythtv:[email protected]/files/channels/mtv3_finland.jpg
.
.
.
18:15:10 T:140707985712896    INFO:   msg: PICTURE::CreateThumbnail: Unable to open image: myth://mythtv:mythtv@[/files/1015_20120414210000.mpg.png Error:
18:15:10 T:140707985712896   ERROR: CacheImage Unable to create new image special://masterprofile/Thumbnails/Video/c/c5d5f856.tbn from image myth://mythtv:mythtv@[/files/1015_20120414210000.mpg.png
18:15:10 T:140708006188800   DEBUG: DoWork - trying to extract filestream details from video file myth://mythtv:mythtv@[/recordings/1015_20120414210000.mpg
18:15:10 T:140707985712896   DEBUG: AquireSession - Aquired existing MythTV session: 0x7ff8f0000f10
18:15:11 T:140707985712896   ERROR: (cmyth)cmyth_connect:- The specified host is unknown
18:15:11 T:140707985712896   ERROR: (cmyth)cmyth_conn_connect: cmyth_connect([, 6543, 16384) failed
18:15:11 T:140707985712896   ERROR: GetControl - unable to connect to server on [:6543

In the first part, cmyth is getting the channel icons which works correctly. In lower part, cmyth is trying to get the preview image for a recording and then tries to play the file. For some reason the ip address that cmyth is trying to contact when playing the file is "[" and not "127.0.0.1" as it should be. I am starting to run out of ideas that might cause this issue.

Full log.
http://pastebin.com/Wspu8fwe
Reply
#55
Here's a full debug log from playing a recording through the myth:// protocol: Pastebin. If I play the same file from a samba share over the network it plays without stuttering.

EDIT: I noticed this message in the mythbackend log file on my backend server. Not sure if it's important but it comes up before selecting a recording for playback, not during playback:

2012-04-22 14:20:08.018795 C [1765/2281] ProcessRequest mainserver.cpp:1259 (HandleVersion) - MainServer::HandleVersion - Client speaks protocol version 8 but we speak 72!
Reply
#56
(2012-04-22, 20:01)cspack Wrote: Here's a full debug log from playing a recording through the myth:// protocol: Pastebin. If I play the same file from a samba share over the network it plays without stuttering.

EDIT: I noticed this message in the mythbackend log file on my backend server. Not sure if it's important but it comes up before selecting a recording for playback, not during playback:

2012-04-22 14:20:08.018795 C [1765/2281] ProcessRequest mainserver.cpp:1259 (HandleVersion) - MainServer::HandleVersion - Client speaks protocol version 8 but we speak 72!

Thanks for the log. Can you also post a log file with playback over SMB so I can compare. I might need to make some changes to CMythFile for some new caching stuff that seems to have been implemented. Have you been able to playback some of these recordings fine with Myth 0.24 or are these recordings fresh with Myth 0.25?

That error message in the mythbackend.log file is fine. We use a protocol version 8 message to determine what protocol the server actually supports - hence the error message.

Use MythTV for recording TV? Try the integrated MythTV support in XBMC Media Center. Now with commercial skip support built-in and integration with the Movie database!
Reply
#57
(2012-04-22, 17:40)takiaine Wrote: In the first part, cmyth is getting the channel icons which works correctly. In lower part, cmyth is trying to get the preview image for a recording and then tries to play the file. For some reason the ip address that cmyth is trying to contact when playing the file is "[" and not "127.0.0.1" as it should be. I am starting to run out of ideas that might cause this issue.

That is mighty bizarre. I can't see how that is happening in the code either. Can you please try the actual IP address of the local machine and see if that changes anything. I'm only guessing that localhost is being treated strangely somewhere. Will need some time to sort it out though. If an IP address other than the loopback address works that will help narrow down the problem space.

Use MythTV for recording TV? Try the integrated MythTV support in XBMC Media Center. Now with commercial skip support built-in and integration with the Movie database!
Reply
#58
(2012-04-22, 17:40)takiaine Wrote: In the first part, cmyth is getting the channel icons which works correctly. In lower part, cmyth is trying to get the preview image for a recording and then tries to play the file. For some reason the ip address that cmyth is trying to contact when playing the file is "[" and not "127.0.0.1" as it should be. I am starting to run out of ideas that might cause this issue.

Also, try a "make clean" and then make everything again to make sure there aren't any stale built files floating around. That variable is only written to in one place. It's like the memory is being corrupted or something.


Use MythTV for recording TV? Try the integrated MythTV support in XBMC Media Center. Now with commercial skip support built-in and integration with the Movie database!
Reply
#59
Here is a log for my xbmc setup missing analog hvr1600 channels..

http://pastebin.com/4cxDWJ4z

As an added, digital channels are all things like 3.1, 3.2, 11.1 11.2 etc while analog channels are 3, 4, 5, 6 etc..

Only the digital ones show up in a list.
Reply
#60
Thanks for the help dteirney! I finally got the recordings working. The error had something to do with ipv6 protocol that was added in myth 0.25. I noticed that when I changed the ipv6 address in mythtv-setup also the error message in xbmc.log changed so that ip address that used to show as "[" now showed "[fe80:" that was also the beginning part of my ipv6 address in mythtv-setup. After that I disabled ipv6 complitely on my computer [link] and now I am able to play recordings correctly.

I did not configure ipv6 in anyway on my computer so I am not sure if it is even supposed to work. When I have some extra time I can try to configure ipv6 correctly on my machine and see if I am able to get the recordigns to play. Anyway, here is the information that you were after...

Quote:General listing of recordings.
OK. I tested different settings and everything seems to be working correctly.
Quote:Confirm that the recording information appears to be accurate.
OK. However there is this extra string after recording name "(x)". The same thing that mzanetti noticed previously.
Quote:File length is reported as expected (or at least not worse than it can sometimes be).
OK.
Quote:Playback works correctly.
OK.
Quote:Seeking works correctly.
OK.
Quote:Deleting recordings still works.
OK.
Quote:LiveTV works (or at least not worse than it can sometimes be)
I have the same problems as previously.
Reply
  • 1
  • 2
  • 3
  • 4(current)
  • 5
  • 6
  • 8

Logout Mark Read Team Forum Stats Members Help
Testing help needed for Myth 0.25 support1