Author |
Message |
kcossabo
|
Posted: Mon Jan 09, 2006 7:37 pm |
|
Joined: Sun Oct 23, 2005 10:15 am
Posts: 19
|
Myth is up and running, recording programs, and they playback fine.
I would like to take some of these files on the road with me.
Is there an easy way to
1) find the file? the menus has 'lost - Collision', but the files are an encriptic name. Is there a simple export file to mpg? (I use PVR250, so the files should be mpg2, right?)
2) tell myth to make a xvid of the file (with no comercials) and then save the file?
Thanks.
_________________ Kevin Cossaboon
www.cossaboon.net
|
|
Top |
|
 |
gr8nash
|
Posted: Mon Jan 09, 2006 9:01 pm |
|
Joined: Thu Apr 01, 2004 10:44 am
Posts: 677
Location:
WA
|
Quote: 1) find the file? the menus has 'lost - Collision', but the files are an encriptic name. Is there a simple export file to mpg? (I use PVR250, so the files should be mpg2, right?) there is a script that renames the files directly.. not like mythpretty that creates symbolic links to it.. its in the contrib directory.. i think its something like mythtv-rename.pl (run it with no commandline arguments) just look around in there for some perl script similar to that name. It actually changes the name in the mythconverg database. yes.. if you have a pvr250 you have mpeg files with a .nuv extentsion.. the new (upcoming) myth actaully lets you use .mpg when it records. Quote: 2) tell myth to make a xvid of the file (with no comercials) and then save the file?
nuvexport does that..
|
|
Top |
|
 |
kcossabo
|
Posted: Tue Jan 10, 2006 5:55 am |
|
Joined: Sun Oct 23, 2005 10:15 am
Posts: 19
|
gr8nash wrote: there is a script that renames the files directly.. not like mythpretty that creates symbolic links to it.. its in the contrib directory.. i think its something like mythtv-rename.pl (run it with no commandline arguments) just look around in there for some perl script similar to that name. It actually changes the name in the mythconverg database.
Does the Knoppik distribution of MythTV have the contrib directory? I have been doing my novic searches of
locate contrib | grep myth .....
and can not find the directory or files.
Thanks
_________________ Kevin Cossaboon
www.cossaboon.net
|
|
Top |
|
 |
Xsecrets
|
Posted: Tue Jan 10, 2006 8:44 am |
|
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location:
Nashville, TN
|
the mythtv source should be in /usr/src you'll need to unpack it and the contrib dir should be there.
_________________ Have a question search the forum and have a look at the KnoppMythWiki.
Xsecrets
|
|
Top |
|
 |
kcossabo
|
Posted: Thu Jan 12, 2006 7:48 pm |
|
Joined: Sun Oct 23, 2005 10:15 am
Posts: 19
|
mythname.pl seems to be the file, but it dies
I tried nuvexport and it errors after selecting the file to convert with
'x' outside of string in unpack at /usr/local/share/nuvexport/mythtv/nuvinfo.pm line 49, <STDIN> line 3.
any thoughts?
_________________ Kevin Cossaboon
www.cossaboon.net
|
|
Top |
|
 |
wififun
|
Posted: Sat Jan 14, 2006 2:01 am |
|
Joined: Mon Jun 21, 2004 11:25 am
Posts: 291
Location:
Ontario, CA
|
i am getting nearly the same error while trying to get some updates done to the ipod script using nuvexport. Every nuvexport I try ends with this.
Code: 'x' outside of string in unpack at /usr/local/share/nuvexport/mythtv/nuvinfo.pm line 34, <STDIN> line 2.
|
|
Top |
|
 |
eellektron
|
Posted: Mon Jan 23, 2006 12:47 pm |
|
Joined: Thu Dec 01, 2005 4:51 am
Posts: 6
|
i too had the same error with nuvexport.
i found that, for an unknown reason, have an empty "basename" column in my "recorded" table of my "mythconverg" db.
you'll see what i mean:
Code: # mysql mythconverg mysql> SELECT title,basename FROM recorded; and nuvexport incorrectly thinks that its basename file search has succeeded and sets $file to NULL and crashes when it tries to do anything with a filename called "" so instead of populating the basename field in mysql i simply commented out that section and nuvexport happily works with its "# Older mythtv; scan for files" section so edit /usr/local/share/nuvexport/mythtv/recordings.pm and comment out line 64 through 75 and line 94 it should now look like this Code: # my $rows; # $sh = $dbh->prepare('SELECT *, basename FROM recorded'); # if ($sh) { # $rows = $sh->execute(); # } # if (defined $rows) { # while ($file = $sh->fetchrow_hashref()) { # push @files, $file; # } # } # # Older mythtv; scan for files # else { $sh->finish if ($sh); $sh = $dbh->prepare('SELECT * FROM recorded WHERE chanid=? AND starttime=?'); # Grab all of the video filenames opendir(DIR, $video_dir) or die "Can't open $video_dir: $!\n\n"; foreach $file (grep /\.nuv$/, readdir(DIR)) { next if ($file =~ /^ringbuf/); # Extract the file info my ($chanid, $starttime) = $file =~/^(\d+)_(\d{14})_/i; # Search the database $sh->execute($chanid, $starttime); my $ref = $sh->fetchrow_hashref(); next unless ($ref); # Add the basename, and add the file to the list $ref->{'basename'} = $file; push @files, $ref; } closedir DIR;
# }
and now im transcoding with nuvexport, yay!
|
|
Top |
|
 |
kcossabo
|
Posted: Wed Jan 25, 2006 5:23 pm |
|
Joined: Sun Oct 23, 2005 10:15 am
Posts: 19
|
Ok made the edits to nuvexport, and it no loger errors....THANK YOU!!!
but , now I get
Output Dir "."
Space needed: 8529336, Space available: 76685576
Last Frame 215535
Cutlist "1347-188476 215536-"
Finding the AV Offset to use with lvemux: 0 (not detected)
Indexing the file with avidemux2
Cutting out commercials with avidemux2
Remultiplexing video
GOP timestamps will be rebuild
ERROR: opening A/V streams (0/0)
Cleaning up
rm: cannot remove `/myth/tv/1503_20051126210000_20051126230000.nuv.idx': No such file or directory
rm: cannot remove `./1503_20051126210000_20051126230000.m2v': No such file or directory
rm: cannot remove `./1503_20051126210000_20051126230000.mp2': No such file or directory
rm: cannot remove `./1503_20051126210000_20051126230000.m2v.idx': No such file or directory
Encode finished: Wed Jan 25 18:20:54 2006
Encode lasted: 2s
root@mythtv:/myth/tv#
I assume there is some varriable that needs be set.
_________________ Kevin Cossaboon
www.cossaboon.net
|
|
Top |
|
 |
eellektron
|
Posted: Wed Jan 25, 2006 9:50 pm |
|
Joined: Thu Dec 01, 2005 4:51 am
Posts: 6
|
no idea but i know that when i use nuvexport it the output looks different.
however, im using the latest from the nuvexport site.
good luck!
|
|
Top |
|
 |
splashd
|
Posted: Sun Feb 26, 2006 6:04 pm |
|
Joined: Sat Apr 17, 2004 2:07 am
Posts: 36
|
wififun wrote: i am getting nearly the same error while trying to get some updates done to the ipod script using nuvexport. Every nuvexport I try ends with this. Code: 'x' outside of string in unpack at /usr/local/share/nuvexport/mythtv/nuvinfo.pm line 34, <STDIN> line 2.
I tried the edit fix to comment out the recordings.pm code section, but I ocontinue to get the same errror
|
|
Top |
|
 |
eellektron
|
Posted: Sun Feb 26, 2006 6:20 pm |
|
Joined: Thu Dec 01, 2005 4:51 am
Posts: 6
|
[quote="splashd"]I tried the edit fix to comment out the recordings.pm code section, but I ocontinue to get the same errror[/quote]
well, there's not enough info as to why yours is still failing. Your best bet would be to try the latest version of nuvexport and/or brush up on your perl debugging.
good luck.
|
|
Top |
|
 |
scanman717
|
Posted: Tue Feb 28, 2006 10:06 am |
|
Joined: Wed Dec 14, 2005 4:42 pm
Posts: 59
|
Kevin, check out the last post in this thread. This is what I do to take stuff with me.. I setup a "User Job" that outomatically encodes my recording to a portable 320x240 format.. It is fine on my Neuros442, but you can change the bitrate and size parameters to whatever you like... The only drawback is that it doesn't cut commercials, but that doesn't bother me too much.
http://mysettopbox.tv/phpBB2/viewtopic. ... highlight=
|
|
Top |
|
 |