Author |
Message |
rkhanso
|
Posted: Fri Jul 21, 2006 4:15 am |
|
Joined: Thu May 12, 2005 9:45 pm
Posts: 95
Location:
Minneapolis area
|
I have a nicely working Knoppmyth R5A22 box but am trying to make the Xvid transcoding to work. At least I think it's R5A22 - it's the one that couldn't be upgrade for a long time due to some incompatibilities.
Looking at the instructions at http://wiki.knoppmyth.net/index.php?page=XviDEncoding I am wondering if I'll break things running the apt-get update command? I definitely don't want a broken box - I can live without Xvid...
I saw on 1 post that an apt-get update is safe, but doing an apt-get upGRADE is not.
My end goal is to change the Video I put on Myth from my analog video camera that the PVR-350 recorded to .mpg to .avi so it's editable by the video editing/authoring software I have and to make a DVD of my home movies.
|
|
Top |
|
 |
spalVl
|
Posted: Fri Jul 21, 2006 6:03 am |
|
Joined: Mon Aug 29, 2005 4:04 pm
Posts: 729
Location:
Philadelphia, PA US
|
Quote: At least I think it's R5A22 Code: cat /etc/KnoppMyth-version to find version you are running Quote: I am wondering if I'll break things running the apt-get update command? It shouldn't hurt, do NOT do apt-get upgrade that WILL break it. If you want to be safe and not update ffmpeg you can try using transcode over ffmpeg will be slower but produces a more standard XviD file. Transcode doesn't require anything to be updated or installed either. To use transcode. From WIKI skip step 1-10 Step 14 change line 19 to Code: my $nuvoptions ="--transcode --mode=XviD --nice=19 --cutlist --nodenoise --nodeinterlace --crop --multipass";
That's it...
BTW you can upgrade R5A22 but you can only upgrade to R5B7 or R5C7 though, cannot upgrade to R5A26-R5A30.2.
|
|
Top |
|
 |
rkhanso
|
Posted: Fri Jul 21, 2006 6:24 am |
|
Joined: Thu May 12, 2005 9:45 pm
Posts: 95
Location:
Minneapolis area
|
Yes, it's R5A22
I thought about upgrading to the latest, but I don't have a CD-ROM in the box right now - and it can't be upgraded w/o a CD-ROM. I may put one if I get ambitious, but again, I don't want to have to spend a lot of time fixing things that may break after an upgrade. With my track record, I'd have a bunch of problems. It's tempting, but it runs pretty good now.
I'll try your suggestion about using transcode and report the results.
Thanks for the help.
|
|
Top |
|
 |
rkhanso
|
Posted: Fri Jul 21, 2006 6:50 am |
|
Joined: Thu May 12, 2005 9:45 pm
Posts: 95
Location:
Minneapolis area
|
OK, when you say skip to step 11, I'm guessing I complete each step from there to the end of the guide? I'm also guessing I make all the changes as advised in the guide, except line 19 (in step 14), which you give in this thread?
Also, I know there's a way to show the line numbers, but can't find out how. Is there an easy way to find those lines in the guide to make the changes shown? I searched and found this:
Code: nano /usr/local/bin/myth2xvid +145
but my cursor stays at line 1. I want to make sure I'm changing the correct lines...
|
|
Top |
|
 |
spalVl
|
Posted: Fri Jul 21, 2006 10:39 am |
|
Joined: Mon Aug 29, 2005 4:04 pm
Posts: 729
Location:
Philadelphia, PA US
|
Quote: OK, when you say skip to step 11, I'm guessing I complete each step from there to the end of the guide? Yep 11 to the end. Quote: I'm also guessing I make all the changes as advised in the guide, except line 19 (in step 14), which you give in this thread? Yep Quote: Also, I know there's a way to show the line numbers, From nano Code: ctrl + c Quote: Is there an easy way to find those lines in the guide to make the changes shown? I searched and found this Code: ctrl + w then Code: ctrl + t then type line # within nano to goto line X.
Problaby is a way to do in automated fasion using sed command too.
I use WinSCP and it's editor to modify text files which show line numbers.
|
|
Top |
|
 |
rkhanso
|
Posted: Fri Jul 21, 2006 7:48 pm |
|
Joined: Thu May 12, 2005 9:45 pm
Posts: 95
Location:
Minneapolis area
|
OK, I went through the entire guide and I don't think it's working correctly.
I found a recorded show and told it to transcode to XviD. I expected it to take a while, even though it was just a 1/2 hour show. The logs show it started and finished - but it took a very short time, like a couple minutes or less before it said it finished transcoding. Additionally, I can't find any show /1008_20060716110000_20060716113000.avi, nor do I really know where to look, other than doing a
find / | grep .avi
and I didn't find the transcoded show.
Also, since the video's I put into Myth don't show up in the recorded programs (I got them in myth, off my analog video camera using the command line), I'm sure there'll have to be a different way of getting this transcoding done.
When I try a nuvexport, it still says that XviD is disabled.
Other suggestions? Things I need to try?
Go Twins!!!
|
|
Top |
|
 |
spalVl
|
Posted: Sat Jul 22, 2006 8:12 am |
|
Joined: Mon Aug 29, 2005 4:04 pm
Posts: 729
Location:
Philadelphia, PA US
|
Quote: I can't find any show shows are stored in /myth/video/archive Takes longgggg time to encode them, check again. I don't know where it gets logged. I typically verify it is doing something by running top. Should show nuvexport and mythtranscode running if it working. Quote: When I try a nuvexport, it still says that XviD is disabled.
Since your ffmpeg isn't compiled to use XviD from command line you have to run
Code: nuvexport --transcode
which will tell nuvexport to use the mythtranscode engine to proccess the file.
|
|
Top |
|
 |
rkhanso
|
Posted: Sat Jul 22, 2006 11:47 am |
|
Joined: Thu May 12, 2005 9:45 pm
Posts: 95
Location:
Minneapolis area
|
Code: nuvexport --transcode gets me there, but again, it only shows the shows I've recorded in myth, not the one I saved from the video camera. Since the show I recorded with the command line doesn't show up with the other shows, can I get it to show up there by running some database command, or something? Or is there an alternate way to get this other recording transcoded? Maybe to be a little more clear....to record off my video camera, I did this: Code: ivtvctl -p 6 dd if=/dev/video0 of=/myth/tv/myfile.mpg bs=64k
When I do this, what I recorded off my video camera onto Myth doesn't show up in the frontend list of recorded shows, nor on the mythweb list of recorded shows. The recorded program is in /myth/tv as seen in a SSH or SCP connection to Myth.
|
|
Top |
|
 |
spalVl
|
Posted: Sat Jul 22, 2006 12:37 pm |
|
Joined: Mon Aug 29, 2005 4:04 pm
Posts: 729
Location:
Philadelphia, PA US
|
Quote: Since the show I recorded with the command line doesn't show up with the other shows, can I get it to show up there by running some database command, or something? Or is there an alternate way to get this other recording transcoded?
Since it is recorded off command line the .mpg file won't show up in the MythTV database and therefore will not be able to be have myth2xvid scripts run against it.
I would suggest searching around the forums for threads on how to add the video input of your PVR 350 as a new channel within Myth that way you can hook up your camera record from channel X and then run the Myth2XviD scripts agains your recording in the MythDB. Other ways that may work is to search on how to import .mpg files as recording in the MythTV database. I am sure one of the 2 can be done.
Here is one post that may help.
|
|
Top |
|
 |