Author |
Message |
paulsid
|
Posted: Mon Feb 01, 2010 9:06 am |
|
Joined: Thu Apr 03, 2008 11:42 pm
Posts: 114
Location:
Calgary, Canada
|
Well I think that's narrowed it down to runsv but I'm not familiar enough with it to know how to troubleshoot it. runit/runsv does not seem to be in wide use... I had difficulty finding info on it when learning how to make mythexport into a service. The docs on the home page were about all I could find.
Since the daemon itself looks like it's working you could run it instead from a startup script, at the expense of losing the runsv monitoring. I've seen forum threads discussing how to put other commands in startup scripts so that'd be the best place to look I think. (My first instinct would be to put it in /etc/rc.local but I'm not sure that's used under R6.)
|
|
Top |
|
|
ceenvee703
|
Posted: Mon Feb 01, 2010 11:42 am |
|
Joined: Fri Apr 02, 2004 10:08 am
Posts: 1637
Location:
Virginia, USA
|
Transcoding did seem to work: there's an MP4 file of about the right size in /myth/ipodfeed, haven't had a chance to see how it looks yet. (EDIT: looks fine)
Next problem is the URL for the RSS feed doesn't seem to be working for me. I enter http://192.168.1.30/mythexport/mythexportRSS.cgi while connected to my home network, and I get a "500 Internal Server Error."
I did add those three lines to the lighttpd.conf file, tried them both around line 170 where you suggested as well as the end of the file, neither with any success. Restarted lighttpd after each edit.
Thanks for the help.
|
|
Top |
|
|
Martian
|
Posted: Mon Feb 01, 2010 1:26 pm |
|
Joined: Wed Feb 08, 2006 6:13 pm
Posts: 480
Location:
IN
|
Check permissions on mythexportRSS.cgi
Martian
_________________ ABIT NF-M2 nView | Athlon 64 X2 3800+ | 2GB DDR2 800 | HDHomerun | GeForce 6150 (onboard) | WD 640 GB SATA HD | DVD-RW (sata) | StreamZap IR receiver with Logitech Harmony remote
Vizio 37" LCD HDTV (1080p)
|
|
Top |
|
|
ceenvee703
|
Posted: Mon Feb 01, 2010 2:32 pm |
|
Joined: Fri Apr 02, 2004 10:08 am
Posts: 1637
Location:
Virginia, USA
|
It's root:root but world-readable. I tried changing it to http:users with no apparent success. I'll keep playing with it.
|
|
Top |
|
|
paulsid
|
Posted: Mon Feb 01, 2010 2:47 pm |
|
Joined: Thu Apr 03, 2008 11:42 pm
Posts: 114
Location:
Calgary, Canada
|
Could also be a missing perl extension... try running the cgi in perl from the command line and see what it says. If it works there then it's either permissions, something isn't quite right with the lighttpd setup.
|
|
Top |
|
|
ceenvee703
|
Posted: Mon Feb 01, 2010 4:50 pm |
|
Joined: Fri Apr 02, 2004 10:08 am
Posts: 1637
Location:
Virginia, USA
|
I ran the CGI at the command line and got XML out of it (don't know if it's right or not), but Firefox displays a blank page when I use the URL, and iTunes gives me a "server error" error. Oy.
|
|
Top |
|
|
indolent
|
Posted: Mon Feb 01, 2010 7:58 pm |
|
Joined: Mon Feb 12, 2007 11:51 am
Posts: 9
|
Martian wrote: indolent wrote: I also have the audio sync issue that Martian has. Anyone have any ideas? I'm curious - Are you also using an HDHomerun as your source? I never was able to sort this one out. I planned to try other codecs to see if they share the audio sync problem or if it's only H.264 but got burnt out on the issue and moved to other projects. Do let me know if you have any success! Martian
No, not an HDHomerun. I have two digital tuners hooked up to an ota antenna. One is a dvico fusion 5 gold and the other is one I got off of craigslist that I can't remember the name at the moment. I got the same audio syncing problem with recordings from both of them.
I haven't tried any other codecs since, as far as I know, that's the only one that works on the Droid, which is what I'm trying to use this for.
|
|
Top |
|
|
Martian
|
Posted: Tue Feb 02, 2010 8:53 am |
|
Joined: Wed Feb 08, 2006 6:13 pm
Posts: 480
Location:
IN
|
Well I guess that confirms that the issue isn't with the source files then
Perhaps it's an issue with the version of ffmpeg-svn that ships with LinHES? When I get some free time I can try to compile the latest version from the Arch AUR on my test box and see how far into dependacy h3|| I must go...
Martian
_________________ ABIT NF-M2 nView | Athlon 64 X2 3800+ | 2GB DDR2 800 | HDHomerun | GeForce 6150 (onboard) | WD 640 GB SATA HD | DVD-RW (sata) | StreamZap IR receiver with Logitech Harmony remote
Vizio 37" LCD HDTV (1080p)
|
|
Top |
|
|
ceenvee703
|
Posted: Tue Feb 02, 2010 10:17 am |
|
Joined: Fri Apr 02, 2004 10:08 am
Posts: 1637
Location:
Virginia, USA
|
ffmpeg seems to be encoding fine, it's the CGI page I can't get working. It's similar to problems in this thread, which suggests some kind of perl binding issue, but heck if I know what to do about it, particularly with lighttpd
http://ubuntuforums.org/showpost.php?p=6872073
|
|
Top |
|
|
paulsid
|
Posted: Tue Feb 02, 2010 10:36 am |
|
Joined: Thu Apr 03, 2008 11:42 pm
Posts: 114
Location:
Calgary, Canada
|
Can you post your lighttpd.conf? I'll compare it to mine and see if something looks unusual.
BTW I've never been able to get the setup pages working. It's a perl error complaining about not being able to find what it needs in the include path. Luckily the RSS script doesn't have the same dependencies. Would be nice to get the other pages working but I haven't had time to look into it further.
|
|
Top |
|
|
Martian
|
Posted: Tue Feb 02, 2010 10:48 am |
|
Joined: Wed Feb 08, 2006 6:13 pm
Posts: 480
Location:
IN
|
I guess I'm a problem behind. So you aren't having sudio sync issues with the transcodes???
I never did get most of the cgi to work although I did get mythexportRSS.cgi to work. I think LinHES is missing some perl packages to get the rest working properly.
Using my brain's very temperamental "way back machine" I believe I remember needing to add :/usr/share/mythtv/mythexport to open_basedir = in /etc/php/php.ini [be sure to restart lighttpd - sv restart /etc/sv/lighttpd ]
I also have a symlink from /data/srv/httpd/htdocs/mythexport to /usr/share/mythtv/mythexport
Hope this helps.
Martian
_________________ ABIT NF-M2 nView | Athlon 64 X2 3800+ | 2GB DDR2 800 | HDHomerun | GeForce 6150 (onboard) | WD 640 GB SATA HD | DVD-RW (sata) | StreamZap IR receiver with Logitech Harmony remote
Vizio 37" LCD HDTV (1080p)
|
|
Top |
|
|
paulsid
|
Posted: Tue Feb 02, 2010 11:21 am |
|
Joined: Thu Apr 03, 2008 11:42 pm
Posts: 114
Location:
Calgary, Canada
|
Martian wrote: So you aren't having sudio sync issues with the transcodes???
Me? No, but I'm exporting to regular iPod (MP4) and not iPhone (H.264). Guess I should have made that clear earlier... I wasn't ignoring you, I just don't have the same problem!
However, I do have a possibly-related problem not involving MythExport: my recordings are made in H.264 (from a Hauppauge 1212 HD-PVR) and I am having audio sync and frame skip problems using mythtranscode to convert to MPEG. It's a known issue... haven't researched it much, but it might also be related to ffmpeg's evolving h264 support, so if you do get the svn working (a tall order to be sure) I'd be interested to know if it improves things.
If you use my config for regular iPod and play the resulting MP4 file on a PC do you still get audio issues?
EDIT: Oops, regular iPod video is MP4... AAC is for audio. Fixed above.
Last edited by paulsid on Tue Feb 02, 2010 12:16 pm, edited 2 times in total.
|
|
Top |
|
|
paulsid
|
Posted: Tue Feb 02, 2010 11:34 am |
|
Joined: Thu Apr 03, 2008 11:42 pm
Posts: 114
Location:
Calgary, Canada
|
Martian wrote: Using my brain's very temperamental "way back machine" I believe I remember needing to add :/usr/share/mythtv/mythexport to open_basedir = in /etc/php/php.ini [be sure to restart lighttpd - sv restart /etc/sv/lighttpd ]
I also have a symlink from /data/srv/httpd/htdocs/mythexport to /usr/share/mythtv/mythexport
Interesting, I don't have my mythexport directory in PHP's open_basedir, and I haven't made any modifications to that file. Mine is as follows:
Code: open_basedir = /data/srv/httpd/htdocs/:/home/:/tmp/:/usr/share/pear/:/data/srv/tmp: /usr/share/mythtv/mythweather/scripts/:/data/srv/httpd/htdocs/mythweb/data/video: /myth/ipodfeed:/data/srv/httpd/htdocs/archive:/etc
Might be picking it up from the aforementioned symlink in the first path, but it's odd that you had to add it in manually. BTW that symlink should have been added by the mythexport package.
Anyhow looks like we have some variance there so yes those would be good things to doublecheck. My R6 install was an upgrade from R5.5; perhaps there are some differences with a clean install and/or beta upgrades.
|
|
Top |
|
|
Martian
|
Posted: Tue Feb 02, 2010 12:05 pm |
|
Joined: Wed Feb 08, 2006 6:13 pm
Posts: 480
Location:
IN
|
My install was an upgrade from R5.5 as well.
I thought the mythexport symlink was created already but couldn't remember (it's been a little while).
I checked my php.ini and I had edited it but I can't remember if that actually fixed a problem or not. I just tried setting the open_basedir line back to default and reloading lighty and everything still worked so I guess at this point I'm just polluting the forum.
open_basedir has saved me in the past but apparently it's not my day...
Martian
_________________ ABIT NF-M2 nView | Athlon 64 X2 3800+ | 2GB DDR2 800 | HDHomerun | GeForce 6150 (onboard) | WD 640 GB SATA HD | DVD-RW (sata) | StreamZap IR receiver with Logitech Harmony remote
Vizio 37" LCD HDTV (1080p)
|
|
Top |
|
|
indolent
|
Posted: Tue Feb 02, 2010 12:53 pm |
|
Joined: Mon Feb 12, 2007 11:51 am
Posts: 9
|
Martian wrote: Well I guess that confirms that the issue isn't with the source files then Perhaps it's an issue with the version of ffmpeg-svn that ships with LinHES? When I get some free time I can try to compile the latest version from the Arch AUR on my test box and see how far into dependacy h3|| I must go... Martian
I put a couple recordings on a separate windows pc and encoded it using the winff gui. I would assume that came with the newest ffmpeg version?
It still had the same audio sync issue.
|
|
Top |
|
|