LinHES Forums
http://forums.linhes.org/

HOWTO: Setup MythExport (for iPod) on R6
http://forums.linhes.org/viewtopic.php?f=25&t=20657
Page 4 of 5

Author:  ceenvee703 [ Mon Mar 01, 2010 3:48 am ]
Post subject: 

I haven't tried turning on external access: it's a single button setting on the server but it's labeled as "experimental." I'll give it a shot and see if it works via 3G as well.

Also haven't tried streaming a currently-recording file. Do those show up in the "pretty" folder? I'll see if I can try that too.

Author:  paulsid [ Tue Mar 02, 2010 12:12 pm ]
Post subject: 

christ wrote:
Got it!!!!

you need the myth config.xml in the /srv/http/.mythtv directory. Bloody hell! That sucker needs to be everywhere for mythexport!!!

I solved as follows:
Code:
ln -s /home/mythtv/.mythtv/config.xml config.xml

Just catching up on these forums... sorry! I knew about this step too and forgot about it because I'd done it long ago, when I first started playing with MythExport and couldn't get it working.

Edited the original post to add this step, and also fix the chmod folder per your other post. Thanks!

Author:  simonf [ Sun Apr 04, 2010 3:34 pm ]
Post subject:  Has anyone found a solution to the audio sync on the i-pod

Hi all

I have installed this and got it all to work other than the web side.

I get server 500 error every time it runs.

Also I had the problem with audio sync the first two recordings I tried it with.

I transcoded the first recording with the default transcoder first and when I then processed it, it seems to be in sync.

I am going to try the second recording (Using lossless Transcode first) And will let you know if that one works.

{edit} Yes the second recording is fine if too, so it seems if you lossless transcode the program first (and maybe remove the adverts) then use mythexport the audio is in sync. !!!!!!! This is great now the wife can put all her soaps onto her ipod touch herself and I don't need to watch them ....

I am using UK DVB-t and DVB-s sources I think the problem may be the way ffmpeg is handling the TS streams if I remember correctly transcoding converts it to a PS.

Author:  Big boy stan [ Wed May 12, 2010 2:04 pm ]
Post subject: 

This guy claims to have it all figured out.
http://www.braddiggs.com/2010/05/mythmobile-mythtv-streaming-for-mobile.html
I haven't tried it yet but he sounds confident.

Author:  simonf [ Mon May 17, 2010 7:01 am ]
Post subject:  Fixed Audio Sync Without needing to do lossless transcode

To get round the audio sync issues without having to do a lossless transcode . Add the following to the ffmpegArgs in your mythexport_settings.cfg file

-async 1
-vsync 1

This is mine for the IPOD Touch

Code:
dir=/myth/ipodfeed

[ipod]
removeCommercials=0
extension=
codec=libx264
sizeY=272
sizeX=480
aspect=16:9
videoBR=300000
threads=
device=ipod
podcastName=MythTV
deletePeriod=
audioBR=128000
ffmpegArgs=-y -async 1 -acodec libfaac -ab 128000 -ar 48000 -ac 2 -vsync 1 -vcodec libx264 -b 300000 -flags +loop -cmp +chroma -deblockalpha 0 -deblockbeta 0 -refs 1 -coder 0 -me_method umh -me_range 16 -subq 6 -partitions +parti4x4+parti8x8+partp8x8 -g 250 -keyint_min 25 -i_qfactor 0.71 -s 480x272 -deinterlace -aspect 16:9
audioChannels=2
deinterlace=1


Hope this helps you all...

PS this also works with BBC HD Recording other than it uses the 2 channel audio stream (With Audio Description for the blind) rather than the 6 channel AC3 stream. I think using the Map option I could fix this.

Author:  cullenp [ Tue Sep 21, 2010 7:14 pm ]
Post subject:  How do you delete the old files

Thanks to this thread I've got this all working. But how do I expire or delete the old content so that all the meta references are gone from the Podcast and the files are gone from the MythBackend. The deleteperiod does not seem to work.

Author:  Girkers [ Wed Sep 29, 2010 4:48 am ]
Post subject: 

I know these instructions are a little dated, but was wondering two things:

1. Has anyone lodge a feature request to have this included in LinHES so that we don't have to go through four (4) pages of posts to get it working?

AND

2. Would this be easily configurable to work with an iPad, I got one with my work and would love to be able to take my stuff with me easily enough. Anyt thoughts on this?

Thanks

Author:  christ [ Wed Sep 29, 2010 5:53 am ]
Post subject: 

Girkers wrote:
Has anyone lodge a feature request to have this included in LinHES so that we don't have to go through four (4) pages of posts to get it working?

Better yet, it would be great if someone who has made this work could document it on the wiki (http://www.linhes.org/bugs/projects/linhes/wiki).

That way it will be concise, easy to follow, and maintained.

Author:  DoomedTX [ Thu Oct 14, 2010 6:08 pm ]
Post subject: 

christ wrote:
Better yet, it would be great if someone who has made this work could document it on the wiki (http://www.linhes.org/bugs/projects/linhes/wiki).

That way it will be concise, easy to follow, and maintained.


It's in the wiki now at: http://www.linhes.org/bugs/projects/linhes/wiki/HOWTO_Setup_MythExport_for_iPod. It's not exactly concise yet since it's basically the original post pasted in. Perhaps someone with more MythExport experience can help edit the page for accuracy.

Author:  turpie [ Thu Feb 17, 2011 5:26 pm ]
Post subject: 

Hi,
I've almost got this working but I'm getting an error when mythexport tries to mv/rename the temp file to its final name. Then I can't get the file via rss because its pointing to the final name which doesn't exist.

Code:
February 18 05:29:11 mythtv /usr/bin/mythexport-daemon[18627]: Exporting /myth/ipodfeed/ABC1-Catalyst--20110217200000.mp4
mv: target `/myth/ipodfeed/ABC1-Catalyst--20110217200000.mp4' is not a directory


If I rename the file manually then I can download it.
Code:
mv ABC1-Catalyst--20110217200000-temp-89970.mp4 ABC1-Catalyst--20110217200000.mp4


Any suggestions?

Author:  Martian [ Thu Feb 17, 2011 6:38 pm ]
Post subject: 

Guessing you haven't created the "ipodfeed" directory in /myth

Martian

Author:  turpie [ Thu Feb 17, 2011 6:57 pm ]
Post subject: 

Martian wrote:
Guessing you haven't created the "ipodfeed" directory in /myth

Thanks but no I have created the /myth/ipodfeed and the links to it from /usr/share/mythtv/mythexport/video

Author:  turpie [ Fri Feb 18, 2011 12:41 am ]
Post subject: 

SOLVED
turpie wrote:
Hi,
I've almost got this working but I'm getting an error when mythexport tries to mv/rename the temp file to its final name. Then I can't get the file via rss because its pointing to the final name which doesn't exist.
Code:
February 18 05:29:11 mythtv /usr/bin/mythexport-daemon[18627]: Exporting /myth/ipodfeed/ABC1-Catalyst--20110217200000.mp4
mv: target `/myth/ipodfeed/ABC1-Catalyst--20110217200000.mp4' is not a directory

If I rename the file manually then I can download it.
Code:
mv ABC1-Catalyst--20110217200000-temp-89970.mp4 ABC1-Catalyst--20110217200000.mp4

Any suggestions?

It turns out my problem was due to the simplistic method mythexport uses to rename the temp file. It assumes there will only ever be one tempfile at a time and does mv v $exportdir/*temp* $newfilename to correct the filename.
Somewhere along the line in stopping and starting the service it has created two tempfiles, then the rename would no longer work but it still went through the queue creating new files and failing to rename them.
I solved the problem by manually renaming every file.

Author:  kmkittre [ Wed Mar 23, 2011 11:31 am ]
Post subject: 

FYI, I had some errors getting this to work right. The feed was not showing up for me. I followed the instructions on how to get errors to show up in cgi and I saw that it was complaining that XML:RSS was not installed. I installed it via cpan and everything is working now:

Code:
perl -MCPAN -e shell


from cpan shell:
Code:
install XML:RSS
reload cpan
quit

Author:  mattbatt [ Tue Apr 05, 2011 8:33 pm ]
Post subject: 

one little thing that hung me up was that in the myth setup (alt s) you have to enable the "User Job #1" to actually do the transcoding on the backend. DUH! I didn't have it checked so the error I got in the log was
Code:
Couldn't communicate with 192.168.0.101 on port 6543:  IO::Socket::INET::MythTV: connect: Connection refused


Now that error code is searchable and I hope it helps one other person.

Page 4 of 5 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/