LinHES Forums http://forums.linhes.org/ |
|
Q How to export Video http://forums.linhes.org/viewtopic.php?f=17&t=7797 |
Page 1 of 1 |
Author: | kcossabo [ Mon Jan 09, 2006 7:37 pm ] |
Post subject: | Q How to export Video |
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. |
Author: | gr8nash [ Mon Jan 09, 2006 9:01 pm ] |
Post subject: | |
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.. |
Author: | kcossabo [ Tue Jan 10, 2006 5:55 am ] |
Post subject: | |
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 |
Author: | Xsecrets [ Tue Jan 10, 2006 8:44 am ] |
Post subject: | |
the mythtv source should be in /usr/src you'll need to unpack it and the contrib dir should be there. |
Author: | kcossabo [ Thu Jan 12, 2006 7:48 pm ] |
Post subject: | |
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? |
Author: | wififun [ Sat Jan 14, 2006 2:01 am ] |
Post subject: | |
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.
|
Author: | eellektron [ Mon Jan 23, 2006 12:47 pm ] |
Post subject: | SOLVED: Q How to export Video |
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! |
Author: | kcossabo [ Wed Jan 25, 2006 5:23 pm ] |
Post subject: | getting closser |
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. |
Author: | eellektron [ Wed Jan 25, 2006 9:50 pm ] |
Post subject: | Re: getting closser |
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! |
Author: | splashd [ Sun Feb 26, 2006 6:04 pm ] |
Post subject: | |
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 |
Author: | eellektron [ Sun Feb 26, 2006 6:20 pm ] |
Post subject: | Re: splashd problem |
[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. |
Author: | scanman717 [ Tue Feb 28, 2006 10:06 am ] |
Post subject: | |
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= |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |