[mythtv-users] MythTV for iPhone
Marc Tousignant
drayson at net1plus.com
Thu Apr 23 02:20:38 UTC 2009
I ended up editing /usr/local/bin/mythipod.sh and using nuvexport instead of
ffmpeg to convert the recordings with the command below.
/usr/bin/nuvexport --infile=$directory/$file --mode=mp4 --ipod!
--mp4_codec=mpeg4 --width=$width --height=$height --nice=19 -
-cutlist --nodenoise --nodeinterlace --nomultipass --filename=$file
--path=$directory
_______________________________________________
Thanks, this worked for me too.
I also found out that I had done something wrong? Maybe.
I had put a symlink to the recordings directory inside mythiphone and
adjusted the i_settings.php to reflect this.
However, it kept looking for the png/mp4 files in the base folder. So I had
to move the symlink.
The PNG's display and the MP4's play now too.
I only have 1 issue now.
When I go to a recording that has not been converted, I can click on the
convert button. I get the page that says it is being converted, but it is
not.
$g_recordings_folder = "/var/www/localhost/htdocs/recordings/";
$g_transcode_script_path = "/usr/local/bin/mythipod.sh";
If I manually kick off a conversion "/usr/local/bin/mythipod.sh
/var/www/localhost/htdocs/mythiphone/recordings 2804_20090416205500.mpg" it
works.
But when clicking on the convert button
if ($action == "convert") exec($g_transcode_script_path . " " .
$g_recordings_folder . $filename . " > /dev/null 2> /dev/null & echo $!");
seems to do nothing.
More information about the mythtv-users
mailing list