[mythtv-users] Is there an easy way to get recordings to my Droid?

Steve stevemyth at priorityelectronics.com
Mon Nov 22 21:10:47 UTC 2010


On 11/22/2010 12:06 PM, Richard Morton wrote:
> On 22 November 2010 20:02, Greg Oliver<oliver.greg at gmail.com>  wrote:
>    
>> On 11/22/2010 01:27 PM, Steve wrote:
>>      
>>> On 11/22/2010 10:58 AM, Steve wrote:
>>>        
>>>> On 11/20/2010 11:22 AM, Richard Morton wrote:
>>>>          
>>>>> You have to enable the user job in the settings... i use mythweb to
>>>>> do it abd i cant remember where the setting is in the main setup
>>>>> screens. I think you have to restart the backend for the change to
>>>>> take affect. Just open mythweb and the settings table, check both
>>>>> all-hosts and the specific backend name for all rows containing the
>>>>> text userjob. Youll find the job you have setup has a 0 rather than a 1
>>>>>
>>>>> R
>>>>>
>>>>> Please
>>>>>
>>>>>
>>>>>            
>>>> Ok, checked this twice, all jobs have a 1 in them for allow (which
>>>> usually means yes).
>>>>
>>>> What else could it be?
>>>> -Thanks
>>>> -Steve
>>>>
>>>>
>>>>
>>>>          
>>> Ok, looks like jobs are working, but mythexport does not. If i do a
>>> simple job like "touch ~/test", it works.
>>>
>>> The jobs i have tried that do not work are:
>>>
>>> ffmpeg -i %FILE% -mbd rd -flags +4mv+aic -trellis 2 -cmp 2 -subcmp 2 -g
>>> 300 -s 320x240 -bf 2 -flags qprd -flags mv0 -vcodec mpeg4 -b 192k
>>> -maxrate 192k -bufsize 1024kb -acodec libfaac -ac 1 -ar 64000 -ab 22100
>>> -ss 150 -t 30 -y /media/MythDroid/%TITLE%-%STARTTIME%-%SUBTITLE%.mp4
>>>        
>> Is it possible TITLE STARTTIME or SUBTITLE have an ' or " in the name ?
>>      
> shouldnt it be
>
> ffmpeg -i "%DIR/%FILE%" -mbd rd -flags +4mv+aic -trellis 2 -cmp 2 -subcmp 2 -g
> 300 -s 320x240 -bf 2 -flags qprd -flags mv0 -vcodec mpeg4 -b 192k
> -maxrate 192k -bufsize 1024kb -acodec libfaac -ac 1 -ar 64000 -ab 22100
> -ss 150 -t 30 -y "/media/MythDroid/%TITLE%-%STARTTIME%-%SUBTITLE%.mp4"
>
> note the DIR in the source and the " around both the source and
> destination to cope with spaces in the title
>
> R
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>
>    
OK, i got it to work by doing this:

ffmpeg -i "/media/750GB/TV/%FILE%" -mbd rd -flags +4mv+aic -trellis 2 
-cmp 2 -subcmp 2 -g 300 -s 320x240 -bf 2 -flags qprd -flags mv0 -vcodec 
mpeg4 -b 192k -maxrate 192k -bufsize 1024kb -acodec libfaac -ac 1 -ar 
64000 -ab 22100 -ss 150 -t 30 -y 
"/media/MythDroid/%TITLE%-%STARTTIME%-%SUBTITLE%.mp4"

Doing  %DIR or %/DIR just did not work. Either way, no biggie as I have 
it working. Now onto mythexport. For some reason it does nothing.
I went into mythexport's page and did the little wizard thingy to set it 
up. Any ideas what I'm missing?

I did see this in the log file for mythexport:
Can't locate .pm in @INC (@INC contains: /usr/share/mythexport/configs 
/usr/share/mythexport /etc/perl /usr/local/lib/perl/5.10.1 
/usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 
/usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at 
/usr/bin/mythexport-daemon line 428.

The userjob mythexport created is
mythexport_addjob starttime=%STARTTIME% chanid=%CHANID% 
config=PortableH264LowRes deleteperiod=7 podcastname=mythtv

Also, it seems that you have to stop the backend and restart it for 
mythweb user job changes to take effect.

-Thanks
-Steve



More information about the mythtv-users mailing list