View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 184 posts ] 
Go to page Previous  1 ... 6, 7, 8, 9, 10, 11, 12, 13  Next

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject:
PostPosted: Tue Jan 17, 2006 1:59 am 
Offline
Joined: Sat Jun 04, 2005 3:26 pm
Posts: 16
wififun wrote:
UPDATE: well it looks like I still have not found a working encoding line for the firmware update on the 60gig ipods. Anyway, at this point I am going to revert to v. 1.0 and deal with this later. Maybe 1.2 will fix what 1.1 broke.


Yeah, I think everybody is just reverting back to 1.0 or waiting at 1.0 to begin with. Lets hope apple gets out a remidy for this sooner than later. But I guess we'll just have to wait and see. In the meantime I'm reverting back too.

http://forums.ilounge.com/showthread.ph ... did=143446


Top
 Profile  
 
 Post subject: rrs feed wont work
PostPosted: Thu Jan 19, 2006 10:39 pm 
Offline
Joined: Tue Oct 04, 2005 3:14 pm
Posts: 21
I cant seem to get the RSS feed to work. Im running R5A30.1 which could be the problem.

The feed does create itself in /myth/ipod/feed.php
The variable for the web address is correct at /var/www/

Im do not know much perl but the rest of the myth2ipod script works just fine. I have tried making a symbolic link of the feed to /var/www/mythweb. While this allows me to load the file it doesnt have any info for itunes.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 20, 2006 11:04 am 
Offline
Joined: Sat Oct 29, 2005 1:22 pm
Posts: 11
Take a look inside feed.php and make sure there's reference to the .mov.

I've recently performed a fresh install of 30.1 and when I run myth2ipod the feed file is created successfully first time. But when I run the script again on a different programme the nuv is correctly converted to a .mov and .xml but feed.php isn't updated with the new video.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 20, 2006 10:16 pm 
Offline
Joined: Mon Jun 21, 2004 11:25 am
Posts: 291
Location: Ontario, CA
I am still at A22, so I am not sure if this is a A30.1 thing or not. But, a little explanation of how the feed.php file works... The feed.php file dynamically generates the feed by collecting up all the .xml files representing each feed item, then generating a valid rss feed with each of these items in listed in it. Open the feed.php file in a text editor "nano feed.php" make sure it is looking for the right file name. At line 30, you should see something like:
Code:
<? foreach (glob($title."*.ipod.xml") as $file) {include $file;} ?>
This tells it to include every .ipod.xml file it sees in the same location as the feed.php file. If you change the $portable variable at the top of the myth2ipod script after generating a feed.php file, then your php file is looking for the old $portable (ipod) instead of psp, or ppc etc... In that case, regenerate the feed file by running myth2ipod -rebuild. This will generate a new php file.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 23, 2006 6:28 am 
Offline
Joined: Sat Oct 29, 2005 1:22 pm
Posts: 11
Although the scipt runs sucessfully feed.php isn't updated, also the .mov and .xml files have a zero file length. here's the output from the myth2ipod script and a directory listing.

mythtv@mythtv:~$ ll /usr/share/mythtv/mythweb/ipodfeed/
total 109456
-rw-r--r-- 1 mythtv mythtv 6165453 Jan 21 20:46 1_(BBC_ONE)-Sat_Jan_21_20:30:00_2006-20060121.ipod.mov
-rw-r--r-- 1 mythtv mythtv 574 Jan 21 20:46 1_(BBC_ONE)-Sat_Jan_21_20:30:00_2006-20060121.ipod.xml
-rw-r--r-- 1 mythtv mythtv 0 Jan 21 11:42 A_Place_In_The_Sun--20060120.ipod.mov
-rw-r--r-- 1 mythtv mythtv 0 Jan 21 13:36 A_Place_In_The_Sun--20060120.ipod.xml
-rw-r--r-- 1 mythtv mythtv 105775605 Jan 18 23:52 Gadgets_Gadgets_Gadgets--20060117.ipod.mov
-rw-r--r-- 1 mythtv mythtv 710 Jan 18 23:52 Gadgets_Gadgets_Gadgets--20060117.ipod.xml
-rw-r--r-- 1 mythtv mythtv 0 Jan 21 21:58 Gadgets_and_Stuff--20060121.ipod.mov
-rw-r--r-- 1 mythtv mythtv 0 Jan 21 23:05 Gadgets_and_Stuff--20060121.ipod.xml
-rw-r--r-- 1 mythtv mythtv 0 Jan 22 21:26 Gadgets_and_Stuff--20060122.ipod.mov
-rw-r--r-- 1 mythtv mythtv 0 Jan 22 22:34 Gadgets_and_Stuff--20060122.ipod.xml
-rw-r--r-- 1 mythtv mythtv 1401 Jan 21 09:46 feed.php
mythtv@mythtv:~$


uvthtv@mythtv:~$ /usr/local/bin/myth2ipod /mnt/lacie/mythtv 1039_20060122190000_20060122193000.n
Starting pass 1 of 2...
/usr/local/bin/ffmpeg -i /mnt/lacie/mythtv/1039_20060122190000_20060122193000.nuv -comment '1039_2
.nuv' -title 'Gadgets and Stuff' -author 'MythTV - myth2ipod' -timestamp 'Sun Jan 22 20:21:49 UTC
' -y -cropleft 10 -cropright 10 -croptop 8 -cropbottom 8 -deinterlace -vcodec xvid -s 320x240 -r 2
-bufsize 4096 -acodec aac -ab 96 -g 300 -pass 1 -passlogfile /tmp/myth2ipod_log -f mov /usr/share/
gets_and_Stuff--20060122'.pass1
FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --enable-xvid --enable-gpl --enable-faac
libavcodec version: 51.1.0
libavformat version: 50.0.0
built on Jan 16 2006 22:56:25, gcc: 3.3.5 (Debian 1:3.3.5-12)
Input #0, mpeg, from '/mnt/lacie/mythtv/1039_20060122190000_20060122193000.nuv':
Duration: 00:29:54.6, start: 13126.107256, bitrate: 2451 kb/s
Stream #0.0[0x1e0], 25.00 fps(r): Video: mpeg2video, yuv420p, 720x576, 15000 kb/s
Stream #0.1[0x1c1]: Audio: mp2, 48000 Hz, mono, 64 kb/s
Stream #0.2[0x1c0]: Audio: mp2, 48000 Hz, stereo, 192 kb/s
Output #0, mov, to '/usr/share/mythtv/mythweb/ipodfeed/Gadgets_and_Stuff--20060122.pass1':
Stream #0.0, 29.97 fps(c): Video: xvid, yuv420p, 320x240, q=2-5, pass 1, 384 kb/s
Stream #0.1: Audio: aac, 48000 Hz, stereo, 96 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop encoding
[mpeg2video @ 0x83b5640]Warning MVs not availablerate=1359.0kbits/s
[mpeg2video @ 0x83b5640]concealing 0 DC, 0 AC, 0 MV errors
[mpeg2video @ 0x83b5640]concealing 810 DC, 810 AC, 810 MV errorss/s
frame=53784 q=2.0 Lsize= 290264kB time=1794.2 bitrate=1325.3kbits/s
video:218968kB audio:18037kB global headers:0kB muxing overhead 22.471823%
Pass 1 competed, starting pass 2 of 2...
/usr/local/bin/ffmpeg -i /mnt/lacie/mythtv/1039_20060122190000_20060122193000.nuv -comment '1039_2
.nuv' -title 'Gadgets and Stuff' -author 'MythTV - myth2ipod' -timestamp 'Sun Jan 22 20:21:49 UTC
' -y -cropleft 10 -cropright 10 -croptop 8 -cropbottom 8 -deinterlace -vcodec xvid -s 320x240 -r 2
-bufsize 4096 -acodec aac -ab 96 -g 300 -pass 2 -passlogfile /tmp/myth2ipod_log -f mov /usr/share/
gets_and_Stuff--20060122'.pass2
FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --enable-xvid --enable-gpl --enable-faac
libavcodec version: 51.1.0
libavformat version: 50.0.0
built on Jan 16 2006 22:56:25, gcc: 3.3.5 (Debian 1:3.3.5-12)
Input #0, mpeg, from '/mnt/lacie/mythtv/1039_20060122190000_20060122193000.nuv':
Duration: 00:29:54.6, start: 13126.107256, bitrate: 2451 kb/s
Stream #0.0[0x1e0], 25.00 fps(r): Video: mpeg2video, yuv420p, 720x576, 15000 kb/s
Stream #0.1[0x1c1]: Audio: mp2, 48000 Hz, mono, 64 kb/s
Stream #0.2[0x1c0]: Audio: mp2, 48000 Hz, stereo, 192 kb/s
Output #0, mov, to '/usr/share/mythtv/mythweb/ipodfeed/Gadgets_and_Stuff--20060122.pass2':
Stream #0.0, 29.97 fps(c): Video: xvid, yuv420p, 320x240, q=2-5, pass 2, 384 kb/s
Stream #0.1: Audio: aac, 48000 Hz, stereo, 96 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop encoding
[mpeg2video @ 0x83b5640]Warning MVs not availablerate=1345.2kbits/s
[mpeg2video @ 0x83b5640]concealing 0 DC, 0 AC, 0 MV errors
[mpeg2video @ 0x83b5640]concealing 810 DC, 810 AC, 810 MV errorss/s
frame=53784 q=2.0 Lsize= 287363kB time=1794.2 bitrate=1312.1kbits/s
video:216613kB audio:18037kB global headers:0kB muxing overhead 22.464028%
Pass 2 competed, building video XML file
"Gadgets_and_Stuff--20060122" has been added to the feed.
XML file created for "Gadgets_and_Stuff--20060122" : Cleaning up temporary files
mv -f /usr/share/mythtv/mythweb/ipodfeed/'Gadgets_and_Stuff--20060122'.pass2 /usr/share/mythtv/myt
tuff--20060122'.ipod.mov
rm -f /tmp/myth2ipod_log*
rm -f /usr/share/mythtv/mythweb/ipodfeed/'Gadgets_and_Stuff--20060122'.pass1
Gadgets and Stuff is ready for your ipod
mythtv@mythtv:~$


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 23, 2006 9:26 am 
Offline
Joined: Sat Jan 21, 2006 8:07 pm
Posts: 11
I have a few questions about the scrpit.

1. Do i have to create the DIR /myth/ipod? or does the script create it?

2. When I make a show to run the script and it transcodes does it make a copy and the original file and format remain in my /myth/recordings directory so i can still watch it on my TV?

3. how do you delete files from the /myth/ipod DIR, via command line? or are they automatically deleted after podcasted?

lemme know if you need clarification

thank you


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 23, 2006 10:26 am 
Offline
Joined: Mon Jun 21, 2004 11:25 am
Posts: 291
Location: Ontario, CA
Quote:
1. Do i have to create the DIR /myth/ipod? or does the script create it?
You have to create the directories and make sure the permissions are correct.
Quote:
2. When I make a show to run the script and it transcodes does it make a copy and the original file and format remain in my /myth/recordings directory so i can still watch it on my TV?
It does not modify the original at all. Nothing gets touched.
Quote:
3. how do you delete files from the /myth/ipod DIR, via command line? or are they automatically deleted after podcasted?
You have to delete the files manually. You could always create something that deletes old files, but the script does not do this.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 23, 2006 10:38 am 
Offline
Joined: Mon Jun 21, 2004 11:25 am
Posts: 291
Location: Ontario, CA
Steve, a couple of questions. First, what tuner card were these episodes recorded on? Does the /myth/tv nuv file for them play correctly? How long does it take for the script to run on one of these? Can you open another ssh window or console and watch the size of the .pass files grow? This should help narrow this down.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 23, 2006 10:49 am 
Offline
Joined: Sat Jan 21, 2006 8:07 pm
Posts: 11
lets say i my database does not reside in /myth and it is /video. can i just go through the script and change any /myth/ipod in to /video/ipod? or will i just throw a wrench in the whole thing.

Code:
# User variables
   my $portable = "ipod";
   my $feedfile = "/myth/ipod/feed.php";
   my $feedpath = "/myth/ipod/";
   my $wwwloc = "/var/www/";
   my $feedurl = "http://www.yourhostnamehere.com/ipodfeed/";


those are the only 2 spots I found refference to the directory, so I would only have to change the DIR there, correct?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 23, 2006 12:21 pm 
Offline
Joined: Mon Jun 21, 2004 11:25 am
Posts: 291
Location: Ontario, CA
That is why those variables are set where they are at the top. This way you can change it to fit your environment without blasting through the whole script. Give it a shot.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 23, 2006 3:21 pm 
Offline
Joined: Sat Jan 21, 2006 8:07 pm
Posts: 11
alright I am going to try it when I get home. Now i just ssh'd in to my myth box and was tinkering with nuvexport and finally got it working and I was only getting 3fps(I only let it run for 2-3 minutes) and I will try and run it again when I go home and stop the front end to free up memory and my cpu a little bit. Now what have you seen in the way of specs vs preformance

I am running a 1ghz amd and 512mb ram. is that enough to encode and export or will I see very poor preformance and wait times.

Also what other user variables do we have to set for our system? do I need to make a directory in my /var/www for my ipodfeed?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 24, 2006 2:34 am 
Offline
Joined: Sat Oct 29, 2005 1:22 pm
Posts: 11
wififun wrote:
Steve, a couple of questions. First, what tuner card were these episodes recorded on? Does the /myth/tv nuv file for them play correctly? How long does it take for the script to run on one of these? Can you open another ssh window or console and watch the size of the .pass files grow? This should help narrow this down.


I'm running a Nova-T. I don't play the recordings through the front end I use mdia player classic on XP, which plays the NUV files fine. It's only a P3 500 backup so it takes a good 5 hours to generate the .mov/.xml. The .pass file does grow (see below).

I did notice an error on the 2nd pass - see log at bottom.

ll /usr/share/mythtv/mythweb/ipodfeed/
-rw-r--r-- 1 root root 206791467 Jan 23 22:11 Living_in_the_Sun--20060123.pass1
-rwxrwxrwx 1 mythtv mythtv 1401 Jan 21 09:46 feed.php

ll /usr/share/mythtv/mythweb/ipodfeed/
-rw-r--r-- 1 root root 206936251 Jan 23 22:11 Living_in_the_Sun--20060123.pass1
-rwxrwxrwx 1 mythtv mythtv 1401 Jan 21 09:46 feed.php

-rw-r--r-- 1 root root 295612416 Jan 23 22:27 Living_in_the_Sun--20060123.pass1
-rwxrwxrwx 1 mythtv mythtv 1401 Jan 21 09:46 feed.php

ll /usr/share/mythtv/mythweb/ipodfeed/
-rw-r--r-- 1 root root 0 Jan 24 00:00 Living_in_the_Sun--20060123.ipod.mov
-rw-r--r-- 1 root root 688 Jan 24 00:00 Living_in_the_Sun--20060123.ipod.xml
-rwxrwxrwx 1 mythtv mythtv 1401 Jan 21 09:46 feed.php

root@mythtv:/home/mythtv# /usr/local/bin/myth2ipod /mnt/lacie/mythtv 1005_20060123100000_200601231
Starting pass 1 of 2...
/usr/local/bin/ffmpeg -i /mnt/lacie/mythtv/1005_20060123100000_20060123110100.nuv -comment '1005_2
.nuv' -title 'Living in the Sun' -author 'MythTV - myth2ipod' -timestamp 'Mon Jan 23 21:35:58 UTC
' -y -cropleft 10 -cropright 10 -croptop 8 -cropbottom 8 -deinterlace -vcodec xvid -s 320x240 -r 2
-bufsize 4096 -acodec aac -ab 96 -g 300 -pass 1 -passlogfile /tmp/myth2ipod_log -f mov /usr/share/
ing_in_the_Sun--20060123'.pass1
FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --enable-xvid --enable-gpl --enable-faac
libavcodec version: 51.1.0
libavformat version: 50.0.0
built on Jan 16 2006 22:56:25, gcc: 3.3.5 (Debian 1:3.3.5-12)
Input #0, mpeg, from '/mnt/lacie/mythtv/1005_20060123100000_20060123110100.nuv':
Duration: 01:00:55.1, start: 27758.255467, bitrate: 4583 kb/s
Stream #0.0[0x1e0], 25.00 fps(r): Video: mpeg2video, yuv420p, 720x576, 15000 kb/s
Stream #0.1[0x1c1]: Audio: mp2, 48000 Hz, mono, 64 kb/s
Output #0, mov, to '/usr/share/mythtv/mythweb/ipodfeed/Living_in_the_Sun--20060123.pass1':
Stream #0.0, 29.97 fps(c): Video: xvid, yuv420p, 320x240, q=2-5, pass 1, 384 kb/s
Stream #0.1: Audio: aac, 48000 Hz, mono, 96 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop encoding
[mpeg2video @ 0x83b5640]ac-tex damaged at 28 20bitrate=1767.7kbits/s
[mpeg2video @ 0x83b5640]Warning MVs not available
[mpeg2video @ 0x83b5640]concealing 720 DC, 720 AC, 720 MV errors
frame=109543 q=2.0 Lsize= 788665kB time=3654.9 bitrate=1767.7kbits/s
video:634003kB audio:1004kB global headers:0kB muxing overhead 24.197852%
Pass 1 competed, starting pass 2 of 2...
/usr/local/bin/ffmpeg -i /mnt/lacie/mythtv/1005_20060123100000_20060123110100.nuv -comment '1005_2
.nuv' -title 'Living in the Sun' -author 'MythTV - myth2ipod' -timestamp 'Mon Jan 23 21:35:58 UTC
' -y -cropleft 10 -cropright 10 -croptop 8 -cropbottom 8 -deinterlace -vcodec xvid -s 320x240 -r 2
-bufsize 4096 -acodec aac -ab 96 -g 300 -pass 2 -passlogfile /tmp/myth2ipod_log -f mov /usr/share/
ing_in_the_Sun--20060123'.pass2
FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --enable-xvid --enable-gpl --enable-faac
libavcodec version: 51.1.0
libavformat version: 50.0.0
built on Jan 16 2006 22:56:25, gcc: 3.3.5 (Debian 1:3.3.5-12)
Input #0, mpeg, from '/mnt/lacie/mythtv/1005_20060123100000_20060123110100.nuv':
Duration: 01:00:55.1, start: 27758.255467, bitrate: 4583 kb/s
Stream #0.0[0x1e0], 25.00 fps(r): Video: mpeg2video, yuv420p, 720x576, 15000 kb/s
Stream #0.1[0x1c1]: Audio: mp2, 48000 Hz, mono, 64 kb/s
Output #0, mov, to '/usr/share/mythtv/mythweb/ipodfeed/Living_in_the_Sun--20060123.pass2':
Stream #0.0, 29.97 fps(c): Video: xvid, yuv420p, 320x240, q=2-5, pass 2, 384 kb/s
Stream #0.1: Audio: aac, 48000 Hz, mono, 96 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
[xvid @ 0x83b5640]XviD: Cannot write to 2-pass pipe
Error while opening codec for output stream #0.0 - maybe incorrect parameters such as bit_rate, ra
Pass two failed
Pass 2 competed, building video XML file
"Living_in_the_Sun--20060123" has been added to the feed.
XML file created for "Living_in_the_Sun--20060123" : Cleaning up temporary files
mv -f /usr/share/mythtv/mythweb/ipodfeed/'Living_in_the_Sun--20060123'.pass2 /usr/share/mythtv/myt
_Sun--20060123'.ipod.mov
rm -f /tmp/myth2ipod_log*
rm -f /usr/share/mythtv/mythweb/ipodfeed/'Living_in_the_Sun--20060123'.pass1
Living in the Sun is ready for your ipod
root@mythtv:/home/mythtv#


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 24, 2006 10:20 am 
Offline
Joined: Mon Jun 21, 2004 11:25 am
Posts: 291
Location: Ontario, CA
tshontikidis, that system should be fine for trancoding. I do not use the nuvexport patch with my setup right now because nuvexport is not working, correctly with my A22. I will spend more time getting it working on my next knoppmyth upgrade. My backend / main frontend is a AMD XP 3000 box. When using the default script with ffmpeg, it encodes at about 60 fps. I would expect on your system to get at least 25 fps.

Steve, your only option may be to use nuvexport. I have no way of testing a Nova-T card, and I am pretty sure the only really successful use of the default script has been with recordings from the PVR-x50 cards. What you can do is play with ffmpee alone and see if you can get it to transcode a sample of one of your recordings. If you can get that to work, then use those settings and modify the script appropriately. Otherwise, use the nuvexport patch back in the topic, and give that a whirl. That should work for any one with different cards.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 26, 2006 3:03 pm 
Offline
Joined: Thu Jan 26, 2006 2:43 pm
Posts: 1
This may help those using the new 60gb ipod 1.1 firmware as it has helped me.

http://discussions.apple.com/thread.jsp ... ID=1546744

This link points to a discussion on the Apple site regarding Videora but since Videora also uses ffmpeg to do the encoding, these settings may fix the use of ffmpeg here.

Simply dropping the audio sample rate (adding the "-ar 24000" switch) and continuing to use the given bitrate "-ab 96" should remove the stopping/stuttereing of these videos with 1.1.

-chimp


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 26, 2006 11:40 pm 
Offline
Joined: Sat Jun 04, 2005 3:26 pm
Posts: 16
albinoChimp wrote:
This may help those using the new 60gb ipod 1.1 firmware as it has helped me.

http://discussions.apple.com/thread.jsp ... ID=1546744

This link points to a discussion on the Apple site regarding Videora but since Videora also uses ffmpeg to do the encoding, these settings may fix the use of ffmpeg here.

Simply dropping the audio sample rate (adding the "-ar 24000" switch) and continuing to use the given bitrate "-ab 96" should remove the stopping/stuttereing of these videos with 1.1.

-chimp


no luck, same issues exist with these options. Plays for about 30 seconds to a min, freezes and starts going again without sound.

Code:
my $encodeopt = "-y -cropleft 10 -cropright 10 -croptop 8 -cropbottom 8 -deinterlace -vcodec xvid -s 320x240 -r 29.97 -b 384 -qmin 2 -qmax 5 -bufsize 4096 -acodec aac -ab 96 -ar 24000 -g 300";


Now to revert it back to 1.0...........


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 184 posts ] 
Go to page Previous  1 ... 6, 7, 8, 9, 10, 11, 12, 13  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu