Author |
Message |
rteichman
|
Posted: Mon Mar 06, 2006 4:22 pm |
|
Joined: Wed Feb 02, 2005 4:07 pm
Posts: 141
|
wififun wrote: ...can't take credit. I was playing with Apple's new iWeb app...
Just curious are you using a Mac frontend? If yes where did you get the OS X version of MythTV 0.19?
|
|
Top |
|
|
wififun
|
Posted: Mon Mar 06, 2006 4:45 pm |
|
Joined: Mon Jun 21, 2004 11:25 am
Posts: 291
Location:
Ontario, CA
|
|
Top |
|
|
arriflex
|
Posted: Tue Mar 07, 2006 1:11 am |
|
Joined: Thu Feb 23, 2006 2:41 pm
Posts: 68
|
As always, thanks for continuing to develop this tool wififun! I have a feeling we may some day see it as part of the Knoppmyth release.
I'm having trouble with the .pm file I think, the description file for exporter mode doesn't seem to be making it into nuvexporter. I'm pretty sure it's in the directory where it belongs based on your instructions. Is there a way for me to check nuvexporter with other files and make sure it's working properly? I'm sure this is a newbie question, and thanks for the improvement in your instructions, I feel like I'm starting to learn some this...
Code: mythtv@mythtv:/myth/ipodfeed$ myth2ipod "/myth/tv" "1034_20060305003000_20060305033000.nuv" Starting nuvexport... /usr/local/bin/nuvexport --chanid=1034 --start=20060305003000 --mode=iPod --nice=19 --cutlist --nodenoise --nodeinterlace --nomultipass --filename=1034_20060305003000.temp --path=/myth/ipodfeed/ Loading MythTV recording info. DBD::mysql::st execute failed: Unknown column 'basename' in 'field list' at /usr/local/share/nuvexport/mythtv/recordings.pm line 65. 93% Unknown exporter mode: iPod Nuvexport encoding seems to have failed /usr/local/bin/MP4Box -add /myth/ipodfeed/1034_20060305003000.temp.mp4 /myth/ipodfeed/1034_20060305003000.ipod.mp4 Unknown input file type Error: Feature Not SupportedError importing /myth/ipodfeed/1034_20060305003000.temp.mp4: Feature Not Supported MP4Box cleanup seems to have failed Nuvexport completed, starting xml generation... "The_Grateful_Dead_Movie--20060305" has been added to the feed. XML file created for "The_Grateful_Dead_Movie--20060305" : Yipeee Cleaning up temporary files rm -f /myth/ipodfeed/1034_20060305003000.temp.mp4 The Grateful Dead Movie is ready for your ipod
my ffmpeg version, in case it helps... Code: mythtv@mythtv:/myth/ipodfeed$ ffmpeg -version ffmpeg version 0.4.9-pre1, build 4747, Copyright (c) 2000-2004 Fabrice Bellard configuration: --build i486-linux-gnu --enable-gpl --enable-pp --enable-zlib --enable-vorbis --enable-libogg --enable-theora --enable-a52 --enable-dts --enable-libgsm --disable-debug --enable-xvid --enable-faac --prefix=/usr built on Mar 6 2006 21:50:42, gcc: 3.3.5 (Debian 1:3.3.5-12) ffmpeg 0.4.9-pre1 libavcodec 4747 libavformat 4622
and for completeness, nuvexport Code: mythtv@mythtv:/myth/ipodfeed$ nuvexport -version nuvexport version: 0.2 0.20050922.svn
|
|
Top |
|
|
steff
|
Posted: Tue Mar 07, 2006 3:12 am |
|
Joined: Wed Nov 02, 2005 3:47 am
Posts: 10
|
You have to modify /usr/bin/nuvexport as well, to make it include the new .pm file. I was explaining all this way back in page 5-6 of this thread. There's a link to a ticket on nuvexport's Trac where all this is explained in detail.
But anyway, you shouldn't have to do this manually any more, as the ipod.pm module was included as standard in nuvexport a while back I believe.
|
|
Top |
|
|
rteichman
|
Posted: Tue Mar 07, 2006 8:15 am |
|
Joined: Wed Feb 02, 2005 4:07 pm
Posts: 141
|
wififun wrote: I am have prebuffer pauses on everything ....Please let me know if you have better success.
Yeah I ran into this problem, but as I bought the Mini to be my main front-end (I wanted to have a totally quiet front-end and thus moved my backend box to the basement) I had to find a way around it. What I did was lower the video quality and forced the aspect ration to 4:3 even though the mini is connected via HDMI to a 16x9 32" monitor.
|
|
Top |
|
|
wififun
|
Posted: Tue Mar 07, 2006 9:38 am |
|
Joined: Mon Jun 21, 2004 11:25 am
Posts: 291
Location:
Ontario, CA
|
arriflex, as steff said, if you are using an older version you will need to edit /usr/bin/nuvexport also. Check back to his posts earlier on for instructions. The next beta release of Knoppmyth will have nuvexport .3 anyway, so it should just work out of the box. (Once you replace the pm with the new one.)
|
|
Top |
|
|
arriflex
|
Posted: Tue Mar 07, 2006 7:18 pm |
|
Joined: Thu Feb 23, 2006 2:41 pm
Posts: 68
|
Thanks for the advice, I had forgotten that info previously appeared in this post. I just installed the newer nuvexport and it seems to be working now, hard to say until it finishes transcoding.
Seems to run at about 28fps, love the readout, on my duron 1400 with 380mb ram... anybody have a comparison with more ram or different speed processor?
arri
|
|
Top |
|
|
wififun
|
Posted: Tue Mar 07, 2006 8:39 pm |
|
Joined: Mon Jun 21, 2004 11:25 am
Posts: 291
Location:
Ontario, CA
|
with the default settings used in myth2ipod, I get just about 60fps on my ol' XMD XP3000. I am however going to torun on fast-denoise, if it only eats a bit off this number. Some of my stuff could look better. I am also playing with bitrates. I will update the script if I dial in something tight.
|
|
Top |
|
|
FunkyELF
|
Posted: Thu Mar 16, 2006 5:27 pm |
|
Joined: Mon Dec 26, 2005 4:54 pm
Posts: 7
|
Okay, it has been a while since I have used myth2ipod. I'm glad to see that it uses nuvexport now and can skip commercials.
This may be a little off topic but I noticed in the script something about MP4Box and compatibility with upgraded iPods. I did not upgrade my iPod because I heard about some incompatibility before. Now that it seems that this script can handle this, does anyone know if movies transcoded with videora or 3GP are compatible with the new firmware ?
What does the new firmware do besides break compatibility?...any new features?
Thanks,
~Eric
|
|
Top |
|
|
FunkyELF
|
Posted: Thu Mar 16, 2006 5:34 pm |
|
Joined: Mon Dec 26, 2005 4:54 pm
Posts: 7
|
Okay,
Probably not a bug on Knoppmyth systems but anyway....
My nuvexport does not generate .mp4 files but instead .mov files.
So the MP4Box command fails because the input file is wrong.
I manually ran the command with the correct filename as an input and it did not delete the original.
So this is also the problem when cleaning up the temp files.
I guess I will just change the .mp4 to the .mov everywhere I see it needed.
~Eric
|
|
Top |
|
|
wififun
|
Posted: Thu Mar 16, 2006 6:30 pm |
|
Joined: Mon Jun 21, 2004 11:25 am
Posts: 291
Location:
Ontario, CA
|
Try reading the directions on the myth2ipod site. It covers this. In fact I supplied a modified iPod.pm nuvexport plugin.
The biggest advantage I see in the new firmware is the fast-forward and rewind features while holding down the left and right arrows is greatly improved. As is scrubbing through a video. This alone, for me, makes the upgrade very worth it.
|
|
Top |
|
|
FunkyELF
|
Posted: Tue Mar 21, 2006 12:19 pm |
|
Joined: Mon Dec 26, 2005 4:54 pm
Posts: 7
|
wififun wrote: The biggest advantage I see in the new firmware is the fast-forward and rewind features while holding down the left and right arrows is greatly improved. As is scrubbing through a video. This alone, for me, makes the upgrade very worth it.
Is there a way to revert to the old firmware should other tools not work with it like Videora or 3GP?
These are very handy windows programs for clips that you download or take with your digital camera.
|
|
Top |
|
|
DustSmoke
|
Posted: Sat Apr 01, 2006 2:20 pm |
|
Joined: Sat Jun 04, 2005 3:26 pm
Posts: 16
|
So now that 1.1.1 is out, and those old original ffmpeg transcodes work with the 5g ipods again. Do we really need to do anything with this other application? (MP4Box)
|
|
Top |
|
|
DustSmoke
|
Posted: Sat Apr 01, 2006 8:11 pm |
|
Joined: Sat Jun 04, 2005 3:26 pm
Posts: 16
|
BTW, if anybody liked the subscribe by show thing and wants it to work again. Here is my modified feed.php file.
Code: <?php header("Content-Type: text/xml"); echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"; ?> <rss xmlns:itunes="http://www.itunes.com/DTDs/Podcast-1.0.dtd" version="2.0"> <channel> <title>MythTV - <?php if (!$_GET['title']) { $title = "*"; echo "Recorded Programs"; } else { $title = $_GET['title']; echo str_replace("_"," ",$_GET['title']); } ?> </title> <itunes:author>MythTV - myth2ipod</itunes:author> <link>http://192.168.1.20/ipodfeed/</link> <itunes:subtitle>Transcoded recording for your iPod Video.</itunes:subtitle> <itunes:summary>Myth TV Recorded Programs for the iPod v.1</itunes:summary> <description>Myth TV Recorded Programs for the iPod v.1</description> <itunes:owner> <itunes:name>MythTV</itunes:name> <itunes:email>mythtv@localhost</itunes:email> </itunes:owner> <itunes:explicit>No</itunes:explicit> <language>en-us</language> <copyright>Copyright 2005.</copyright> <webMaster>mythtv@localhost</webMaster> <itunes:image href="http://myth2ipod.com/mythipod_200.jpg" /> <itunes:category text="TV Shows"></itunes:category> <category>TV Shows</category> <itunes:image href="http://myth2ipod.com/mythipod_200.jpg"/><image><url>http://myth2ipod.com/mythipod_200.jpg</url> <title>MythTV 2 iPod</title> <link>http://192.168.1.20/ipodfeed/</link> <width>200</width> <height>200</height> </image> <?php
if ($title != "*") {
$found = 0; $xml_title = "";
function startElement($parser, $name) { global $found; if ($name == "TITLE") { $found = 1; } }
function endElement($parser, $name) { global $found; if ($name == "TITLE") { $found = 0; } }
function characterData($parser, $data) { global $found; global $xml_title; if ($found == 1) { $xml_title = $data; } } foreach (glob("*.ipod.xml") as $file) { $xml_parser = xml_parser_create(); xml_parser_set_option($xml_parser, XML_OPTION_CASE_FOLDING, true); xml_set_element_handler($xml_parser, "startElement", "endElement"); xml_set_character_data_handler($xml_parser, "characterData");
if (!($fp = fopen($file, "r"))) { die("could not open XML input"); }
while ($data = fread($fp, 4096)) { if (!xml_parse($xml_parser, $data, feof($fp))) { die(sprintf("XML error: %s at line %d", xml_error_string(xml_get_error_code($xml_parser)), xml_get_current_line_number($xml_parser))); } }
xml_parser_free($xml_parser); if (preg_match("/" . str_replace("_"," ",$title) . "/i", $xml_title)) { include $file; } } } else {
foreach (glob("*.ipod.xml") as $file) { include $file; } }
?> </channel> </rss>
I'm not that good at xml parsing so I'd have to think there is better ways of doing this...... But whatever, this works for me. If you want to use this you can just copy and paste the second php part over the second php part in your feed.php. (Or just modify my XML values by hand and past this one over the one you have)
I also want to make a suggestion that "mythcommflag" gets a user variable for binary path rather than being hard coded in the functions. (for those of us that don't use knoppmyth.)
|
|
Top |
|
|
avocade
|
Posted: Mon Apr 10, 2006 2:14 pm |
|
Joined: Sat Jun 18, 2005 7:47 am
Posts: 73
Location:
Sweden
|
quick question: these shows made with myth2ipod clutter up my drive pretty good, and I have no automated way of removing them (say, like the way MythTV autoexpires its recordings). How could I add this to either crontab or to the script itself? possible?
also, if possible, since I only use the ipod-converted shows (i.e. I don't watch the .nuv files) it would be great to just auto-delete the .nuv/.mpg files in /myth/tv when it's done converting to ipod.
Edit: I tried running these scripts as cron jobs, but they don't seem to work......
20 17 5,20 * * rm -rf 'ls /myth/ipodfeed/*.mp4* -1t | tail -20'
20 19 5,20 * * rm -rf 'ls /myth/ipodfeed/*.xml* -1t | tail -30'
|
|
Top |
|
|