Your Digital Media Has Never Looked So Good

 
Coldspring
Posts: 37
Joined: Fri Sep 23, 2005 8:35 pm

Wed Oct 15, 2008 8:32 pm

Jim

I just figured it out. the tmp directory did not have write permission.

I have two HD1000 and I can book mark on one and then jump to that bookmark on the other.

Very cool.

Chris
 
300zx
Posts: 19
Joined: Thu Dec 15, 2005 12:52 am

Sun Oct 19, 2008 12:19 am

Thanks Jim! I have loaded 0.82p on my daily roku. I will see if i can give rew/ff a beating ;) thanks for the great work.

ps: Does anyone else find that notifications of new posts to this thread is broken? i have "Always notify me of replies" enabled in my profile for these forums, but I'm not getting any email :(

Donn

jm_maclaren wrote:
I have uploaded 0.82p which has a more stable FF/RW algorithm. I haven't seen any issues but have not tested on many reordings.
Enjoy!
James

PS out of interest has anyone watched livetv via firewire from mythroku successfully. I tried when I finally got a stable firewire connection from my cable box. Recordings are fine but livetv hangs somewhere. I haven't tried debugging yet as weekend time has been limited.

PPS I have not added the skip +/- n minutes mapped to zoom in/out but will in the next release
 
300zx
Posts: 19
Joined: Thu Dec 15, 2005 12:52 am

Sun Oct 19, 2008 1:11 am

Hey Jim,
I exercised ff/rew on my saved recording of the Olympics opening ceremonies. I gave it a pretty good beating for over 30 mins (mixing ff and rew and various speeds) and did not experience any problems with rew/ff that I've seen in the past.

Nice work! and thank you

Donn
 
ecronin
Posts: 5
Joined: Thu Nov 29, 2007 10:34 am

Remote button mapping

Sat Nov 22, 2008 4:55 pm

I haven't taken a look at the mythroku code to determine how modular the remote event handlers are, but perhaps adding a configuration file which maps each of the 14 buttons to an operation during playback would be the way to go. A default map with the current behavior would then look something like:

menu = show_guide
exit = main_menu
west = jump -10
east = jump 30
ff = speed 2
rw = speed -2

That way people can customize both the function and the particular value for things like skipping, and even have different mappings for different types of viewing.
 
tpearsall
Posts: 10
Joined: Tue Jun 13, 2006 5:10 pm

Tue Jan 06, 2009 7:11 am

So where do we go to chip in to get Jim a Roku digital video player? ;) MythRoku is out living my hardware!!

Keep up the great work and thanks!!

- Todd
 
300zx
Posts: 19
Joined: Thu Dec 15, 2005 12:52 am

Sat Jan 24, 2009 2:42 pm

I would like to reboot my roku once a night, like at 3am. It sometimes freezes and requires a hard poweroff (pull the plug). I'd like to see if a regular reboot fixes this.

Does anyone know if it's as simple as cron'ing /usr/bin/shutdown? or something like that?

thanks
 
jm_maclaren
Topic Author
Posts: 329
Joined: Mon Oct 16, 2006 9:03 am

Mon Jan 26, 2009 6:04 pm

300zx wrote:
I would like to reboot my roku once a night, like at 3am. It sometimes freezes and requires a hard poweroff (pull the plug). I'd like to see if a regular reboot fixes this.

Does anyone know if it's as simple as cron'ing /usr/bin/shutdown? or something like that?

thanks


you should be able to use cron and /sbin/reboot


My roku doesn't crash really. Sometimes mythroku doesn't respond quickly to program deletion.
James
 
satz
Posts: 51
Joined: Sun Feb 05, 2006 12:30 am

Sun Feb 22, 2009 2:30 pm

Hopefully this forum will stay up long enough to report a crash in MythRoku. Here is the log. I tried playing a few files with and without comm flagging. The last show crashes MythRoku.

FwIrqRetrievalThread (Queue entry 0x373c51b4) started, Synchronization Mutex released
AtiCore_NotificationMsgActivate(1, ATI_MSG_TYPE_INTERRUPT_OCCURRED) returns 0x0
FwIrq_QueueCreate: Thread Synchronization Mutex 29 passed
FwHkdCommunicationThread started, Synchronization Semaphore released
AtiCore_NotificationMsgActivate(ATI_MSG_TYPE_FROM_HKD) returns 0x0
FwHkdInit: Thread Synchronization Semaphore 29 passed
Creating Message Event 0x1 for HKD Message Tag 0x5
Waiting for the Message Event 0x1
HkdCommunicationThread: AtiCore_NotificationMsgWait() returns a message 2 of length 8
FwHkdCommunicationThread: FROM_HKD Message 0xa8086421 (Tag = 0x5) received
Signalling the Message Event 0x1
Message Event 0x1 is received with coreResult = 0x0
Deleting Message Event 0x1
FwHkdInit() success

application directory = ./
default application directory = ./
default temp directory = ./tmp
default theme directory = ./Themes/mythroku/
opening file./Themes/mythroku//defaults.txt
Reading List Font Information
system
26
hl_sel_color=242,244,79
nohl_sel_color=255,255,255
nohl_nosel_color=150,150,150
Reading Title Font Information
system
40
title_color=255,255,255
Reading Menu Font Information
system
26
title_color=255,255,255
Reading TVGuide Font Information
system
24
tvguide_sel_color=242,244,79
system
24
tvguide_nosel__color0,0,0
system
24
tvguide_program_color255,255,255
application directory = ./
temp directory = ./cache
temp directory = ./Themes/mythroku/
db_user = roku
db_pass =
mythbrowser rect0,0,1024,576
mythbrowser rect0,0,1024,576
mythbrowser rect0,0,1024,576
mythbrowser rect0,0,1024,576
Utils::LoadBitmap() - ./Themes/mythroku//option-win.png
mythbrowser rect0,0,1024,576
Utils::LoadBitmap() - ./Themes/mythroku//option-win.png
Utils::LoadBitmap() - ./Themes/mythroku//option-win.png
Utils::LoadBitmap() - ./Themes/mythroku//option-win.png
ButtonStateChgCB:0
in MPLAY:: actionOpenProgInfo
m_frames =6058
MDecoder: Before Resume Streaming
In MDecoder::ResumeStreaming
MDECODER nBuffSize = 393216|16508658
done callback action
mythbrowser rect0,0,1024,576
mythbrowser rect0,0,1024,576
mythbrowser rect0,0,1024,576
got exit key
got exit key
WriteFileSettings0
Can not open settings file for writing
Showing menu
mythbrowser rect0,0,1024,576
mythbrowser rect0,0,1024,576
Utils::LoadBitmap() - ./Themes/mythroku//option-win.png
mythbrowser rect0,0,1024,576
Utils::LoadBitmap() - ./Themes/mythroku//option-win.png
Utils::LoadBitmap() - ./Themes/mythroku//option-win.png
Utils::LoadBitmap() - ./Themes/mythroku//option-win.png
ButtonStateChgCB:0
in MPLAY:: actionOpenProgInfo
m_frames =2719
MDecoder: Before Resume Streaming
In MDecoder::ResumeStreaming
done callback action
mythbrowser rect0,0,1024,576
mythbrowser rect0,0,1024,576
mythbrowser rect0,0,1024,576
got exit key
got exit key
WriteFileSettings0
Can not open settings file for writing
Showing menu
mythbrowser rect0,0,1024,576
Utils::LoadBitmap() - ./Themes/mythroku//option-win.png
mythbrowser rect0,0,1024,576
Utils::LoadBitmap() - ./Themes/mythroku//option-win.png
Utils::LoadBitmap() - ./Themes/mythroku//option-win.png
Utils::LoadBitmap() - ./Themes/mythroku//option-win.png
ButtonStateChgCB:1
in MPLAY:: actionOpenProgInfo
m_frames =2719
MDecoder: Before Resume Streaming
In MDecoder::ResumeStreaming
done callback action
mythbrowser rect0,0,1024,576
mythbrowser rect0,0,1024,576
mythbrowser rect0,0,1024,576
got exit key
WriteFileSettings0
Can not open settings file for writing
Showing menu
mythbrowser rect0,0,1024,576
mythbrowser rect0,0,1024,576
Utils::LoadBitmap() - ./Themes/mythroku//option-win.png
mythbrowser rect0,0,1024,576
Utils::LoadBitmap() - ./Themes/mythroku//option-win.png
Utils::LoadBitmap() - ./Themes/mythroku//option-win.png
Utils::LoadBitmap() - ./Themes/mythroku//option-win.png
ButtonStateChgCB:1
in MPLAY:: actionOpenProgInfo
m_frames =7297
MDecoder: Before Resume Streaming
In MDecoder::ResumeStreaming
justcommskipped=1 nextrabufffers = 13
justcommskipped=2 nextrabufffers = 13
justcommskipped=3 nextrabufffers = 13
justcommskipped=4 nextrabufffers = 13
justcommskipped=5 nextrabufffers = 13
justcommskipped=6 nextrabufffers = 13
justcommskipped=7 nextrabufffers = 13
TSPF: Reserving PID filters for PS stream
done callback action
mythbrowser rect0,0,1024,576
justcommskipped=8 nextrabufffers = 13
justcommskipped=9 nextrabufffers = 13
justcommskipped=10 nextrabufffers = 13
justcommskipped=11 nextrabufffers = 13
mythbrowser rect0,0,1024,576
mythbrowser rect0,0,1024,576
justcommskipped=12 nextrabufffers = 13
justcommskipped=13 nextrabufffers = 13
OnFillBuffer : sending message through wormhole
MPlayApp::OnWormholeMessage DEADBEAD
In MDecoder::ResumeStreaming
TSPF: Reserving PID filters for PS stream
got exit key
WriteFileSettings0
Can not open settings file for writing
Showing menu
mythbrowser rect0,0,1024,576
mythbrowser rect0,0,1024,576
mythbrowser rect0,0,1024,576
Utils::LoadBitmap() - ./Themes/mythroku//option-win.png
mythbrowser rect0,0,1024,576
Utils::LoadBitmap() - ./Themes/mythroku//option-win.png
Utils::LoadBitmap() - ./Themes/mythroku//option-win.png
Utils::LoadBitmap() - ./Themes/mythroku//option-win.png
ButtonStateChgCB:1
in MPLAY:: actionOpenProgInfo
m_frames =6058
MDecoder: Before Resume Streaming
In MDecoder::ResumeStreaming
 
jm_maclaren
Topic Author
Posts: 329
Joined: Mon Oct 16, 2006 9:03 am

Mon Feb 23, 2009 7:57 am

Satz, If I understand you correctly, mythroku will play files back but you have had a crash.
Is it after you exit from playing?
Is this a new problem, and if so did you change anything, like the machine/directory where the app is?

I see one issue from your log that there is a file writing problem. WriteFileSettings failed. This writes bookmarks, zoom settimg, etc. You should see if tmp directory where all of the .settings files are is writable on the roku. To do this telnet to the roku and cd to the directory (df should show your mounted shares/directories). Then see of vi lets you write. I am not sure if this would cause a crash, but let's fix that 1st and see if the issue goes away

WriteFileSettings0
Can not open settings file for writing


my log shows
WriteFileSettings1



James

and no crash!
 
satz
Posts: 51
Joined: Sun Feb 05, 2006 12:30 am

Mon Feb 23, 2009 10:38 am

Well making my cache directory writable fixed it. Thanks for spotting that. The show I was trying to play now plays with and without commflagging just like it should. I do notice that playing either commflagged or not there is lip syncing problems. Checking older recordings of the same show I now get the following crash:

ButtonStateChgCB:1
in MPLAY:: actionOpenProgInfo
m_frames =6058
Found 0 commercial breaks for current program.
Found 6 commercial breaks for current program.
libdvbpsi error (PSI decoder): TS discontinuity (received 14, expected 0)
libdvbpsi error (PSI decoder): TS discontinuity (received 2, expected 0)
MDecoder: Before Resume Streaming
In MDecoder::ResumeStreaming
MDECODER nBuffSize = 393216|16480969
0|start,stop1155372195766075768,2351864208
1|start,stop269005956,6144085528
2|start,stop269005956,6144085528
3|start,stop7093262748,9884038712
Segmentation fault


The lip out-of-syncing for this show is consistent. All of the shows recorded by my over-the-air HD card have the same lip syncing issue. I can put a copy of the mpeg up for you to copy if that would help.

A little more clarification. It appears the lip sync is problematic clearly for one local channel. It is slightly off on one of the PBS channels and spot on for another local channel.

Thanks,
Greg
 
jm_maclaren
Topic Author
Posts: 329
Joined: Mon Oct 16, 2006 9:03 am

Mon Feb 23, 2009 11:12 am

lI see lip sync isssues with OTA HD when there is a drop or pixilation due to multipath issues. Pressing info twice resets the audio stream. Have you trued that?

There is no other solution that I know of.

You could try playing back one show that is bad via mplayer under linux to see if that has the same lip sybc problem.

As to the segmnetation fault seen below. Is after the show fiinishes or when you exit? If so, perhaps you could delete the ,settings file for it and retry.The files have the same name as in mythtv, so its a bit of an effort to find it. If you don'thave any bookmarks you want to save just tar up the directory (to be safe) and delete all the files in it (but not the directory). It will get recreated.

I will check back fro time to time today as its a holiday in New Orleans with Mardi Gras tomorrow and I am at home.



James
 
satz
Posts: 51
Joined: Sun Feb 05, 2006 12:30 am

Tue Feb 24, 2009 9:26 am

If I copy the file up to my Mac, the lip sync doesn't occur so I do believe it is something with the player in MythRoku.

The crash is repeatable and occurs when you first start up the show. I removed all the files in the settings directory and still get the following. Maybe something is messed up in the database?

Utils::LoadBitmap() - ./.mythroku/Themes/mythroku//option-win.png
Utils::LoadBitmap() - ./.mythroku/Themes/mythroku//option-win.png
Utils::LoadBitmap() - ./.mythroku/Themes/mythroku//option-win.png
ButtonStateChgCB:1
in MPLAY:: actionOpenProgInfo
m_frames =6058
Found 0 commercial breaks for current program.
Found 6 commercial breaks for current program.
libdvbpsi error (PSI decoder): TS discontinuity (received 14, expected 0)
libdvbpsi error (PSI decoder): TS discontinuity (received 2, expected 0)
MDecoder: Before Resume Streaming
In MDecoder::ResumeStreaming
MDECODER nBuffSize = 393216|16480969
0|start,stop1155372711162151288,2351864208
1|start,stop269006076,6144085528
2|start,stop269006076,6144085528
3|start,stop7093262748,9884038712
./MythRoku.roku: line 3: 5044 Segmentation fault ./.mythroku/mythroku.app -backend=myth -settingsdir=./.mythroku/cache -dbuser=roku -nolivetv -newestfirst


The settings directory is still empty after this crash.

Thanks,
Greg
 
jm_maclaren
Topic Author
Posts: 329
Joined: Mon Oct 16, 2006 9:03 am

Tue Feb 24, 2009 2:50 pm

For the file that has a-v sync problems on the roku
1. does it play ok in mplay
2. does pressing info twice in quick succession in mythroku when it is playing fix it?

For the file that crashes
1. try it in mplay (by browsing the mythtv recordings dir
2. try rebuilding the seek table

If these fail then I can upload a code with more info printed out, I never seem to have crashes with either sd or hd

Let me know.
James
 
satz
Posts: 51
Joined: Sun Feb 05, 2006 12:30 am

new mythroku for latest myth protocol?

Wed Dec 02, 2009 12:11 am

Is it possible to get a new mythroku for the latest myth protocol version? I upgraded my mythbuntu release and now find myself without a working mythroku. Thanks!
 
jm_maclaren
Topic Author
Posts: 329
Joined: Mon Oct 16, 2006 9:03 am

Sun Jan 17, 2010 9:18 am

see thread new website for mythroku for latest updates....

Who is online

Users browsing this forum: No registered users and 4 guests