Page 15 of 22 FirstFirst ... 51314151617 ... LastLast
Results 141 to 150 of 212

Thread: HOWTO: Auto transcode MYTHTV recorded shows to DVD, XVID or DIVX cutting out the co

  1. #141
    Join Date
    Apr 2005
    Location
    Petoskey, MI
    Beans
    346
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HOWTO: Auto transcode MYTHTV recorded shows to DVD, XVID or DIVX cutting out the

    this is exactly what i've been looking for. I'm now converting test nuv tv recording to xvid to see how it looks with just the defaults.

    thank you very much for this how to!
    -user error

    | I enjoy Linux! | Using 64bit Ubuntu! |

  2. #142
    Join Date
    Feb 2005
    Beans
    126
    Distro
    Ubuntu 13.04 Raring Ringtail

    Question Re: HOWTO: Auto transcode MYTHTV recorded shows to DVD, XVID or DIVX cutting out the

    I believe I have everything in order, thanks for the guide!

    I wish I could create a decent divx file though. Every divx file has massive artifact attack. I'd like a decent divx file for the ps3 to be able to read.

  3. #143
    Join Date
    May 2006
    Beans
    8

    Re: HOWTO: Auto transcode MYTHTV recorded shows to DVD, XVID or DIVX cutting out the

    I'm sorry to dig up an old topic like this, but I am at a loss. I've tried it with the default nuvexport config, and I've tried it with the one provided in this thread, and I cannot make it work!

    The nuvexport-xvid debug information is here: http://pastebin.com/m5ca42340 (and yes, I'm aware that the debug information is for a different show, none of them will encode)

    From /var/log/mythtv/mythbackend.log

    ...
    Loading MythTV recording info.
    91%
    Default resolution based on requested dimensions.

    Now encoding: According to Jim (Manual Record): Mon Mar 10 22:30:00 2008
    Encode started: Tue Mar 11 21:27:30 2008
    2008-03-11 21:27:31.126 Using runtime prefix = /usr, libdir = /usr/lib
    2008-03-11 21:27:31.136 Empty LocalHostName.
    2008-03-11 21:27:31.147 New DB connection, total: 1
    2008-03-11 21:27:31.154 Closing DB connection named 'DBManager0'
    2008-03-11 21:27:31.158 New DB connection, total: 2
    Use of uninitialized value in concatenation (.) or string at /usr/local/share/nuvexport/export/ffmpeg.pm line 254.
    Use of uninitialized value in concatenation (.) or string at /usr/local/share/nuvexport/export/ffmpeg.pm line 254.
    2008-03-11 21:27:31.395 MainServer::HandleAnnounce Monitor
    2008-03-11 21:27:31.411 adding: ocho as a client (events: 0)
    2008-03-11 21:27:31.413 MainServer::HandleAnnounce Monitor
    2008-03-11 21:27:31.414 adding: ocho as a client (events: 1)
    Waiting for mythtranscode to set up the fifos.
    Starting ffmpeg.
    processed: 0 of -13845 frames at 0 fps (~%, eta: unknown)
    ffmpeg finished.
    processed: 0 of -13845 frames at 0 fps (~%, eta: unknown) 2008-03-11 21:27:40.097 AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min
    processed: 0 of 36443 frames at 0 fps (~%, eta: unknown)

    ffmpeg died early.Please use the --debug option to figure out what went wrong.


    Cleaning up temp files.
    Cleaning up child processes.
    2008-03-11 21:28:03.129 JobQueue: Finished "Transcode to XviD" for "According to Jim (Manual Record)" recorded from channel 1060 at Mon Mar 10 22:30:00 2008.
    -EOF-

    When I try to run it manually, using the command 'nuvexport-xvid --nice 10 --input="/media/myth/1060_20080310223000.mpg"' I get the following:

    Cleaning up temp files.
    Loading MythTV recording info.
    91%
    Default resolution based on requested dimensions.
    Now encoding: According to Jim (Manual Record): Mon Mar 10 22:30:00 2008
    Encode started: Tue Mar 11 21:35:17 2008
    2008-03-11 21:35:17.282 Using runtime prefix = /usr, libdir = /usr/lib
    2008-03-11 21:35:17.283 Empty LocalHostName.
    2008-03-11 21:35:17.292 New DB connection, total: 1
    2008-03-11 21:35:17.297 Closing DB connection named 'DBManager0'
    2008-03-11 21:35:17.301 New DB connection, total: 2
    Use of uninitialized value in concatenation (.) or string at /usr/local/share/nuvexport/export/ffmpeg.pm line 254.
    Use of uninitialized value in concatenation (.) or string at /usr/local/share/nuvexport/export/ffmpeg.pm line 254.
    Waiting for mythtranscode to set up the fifos.
    Starting ffmpeg.
    processed: 0 of -13845 frames at 0 fps (~%, eta: unknown)
    ffmpeg finished.
    processed: 0 of -13845 frames at 0 fps (~%, eta: unknown)
    processed: 0 of -13845 frames at 0 fps (~%, eta: unknown)
    processed: 0 of -13845 frames at 0 fps (~%, eta: unknown)
    Cleaning up temp files.
    Cleaning up child processes.

    I can write to the destination... and I'm mystified... the same nuvexport that I tried on this worked with knoppmyth for months before...

    This is on Mythbuntu 8.04 Beta 3, yes, I'm aware that it's a beta, however, I recompiled ffmpeg as per the instructions here.
    Last edited by Canada3332; March 12th, 2008 at 02:40 AM.

  4. #144
    Join Date
    Dec 2006
    Beans
    28

    Re: HOWTO: Auto transcode MYTHTV recorded shows to DVD, XVID or DIVX cutting out the

    Hi There. I have a mythtv newb question. I've just installed nuvexport and have ieved the following error:

    ---
    myth@myth-desktop:~$ nuvexport
    Couldn't communicate with 192.168.0.54 on port 6543: IO::Socket::INET::MythTV: connect: No route to host

    Cleaning up temp files.
    ---

    192.168.0.54 was my DHCP given IP address at one stage.. But now it's giving out 192.168.0.58.

    What config file is it using to grab this Ip address? I can't find the IP in any config file under /etc/mythtv.

    At the same time my mythtv frontend has also lost access to the backend. So I assume this is not nuvexport specific.

    Any help apprecieted!

    Mick

  5. #145
    Join Date
    May 2005
    Beans
    352

    Re: HOWTO: Auto transcode MYTHTV recorded shows to DVD, XVID or DIVX cutting out the

    You really ought to start a new thread... Have you tried running mythtv-setup?

  6. #146
    Join Date
    Dec 2006
    Beans
    28

    Re: HOWTO: Auto transcode MYTHTV recorded shows to DVD, XVID or DIVX cutting out the

    Hi guys. Wouldlike to say thanks forthis Howto. It's been really helpful. It looks to my like there is a gap in MythaTV which is how to auto-shrink your HD recordings so something like mp4 or avi that it seems only this script currently fills. I'mrelatively new to myth so letme know if I'm wrong.

    I have followed the guide and can get this to work great from the command ling. However.. Running as a user job I get the following in my logs. What they hey is calling config.xml????

    ---
    2008-03-26 20:31:44.252 JobQueue: Started "export recording to divx test settings" for "Veronica Mars" recorded from channel 1001 at Tue Mar 25 22:59:00 2008
    No config found; attempting to find mythbackend via UPnP.
    No backends found. Please copy /home/mythtv/.mythtv/config.xml from a working MythTV installation instead.
    Compilation failed in require at /usr/local/bin/nuvexport-divx line 36.
    BEGIN failed--compilation aborted at /usr/local/bin/nuvexport-divx line 36.
    2008-03-26 20:31:48.818 JobQueue: Finished "export recording to divx test settings" for "Veronica Mars" recorded from channel 1001 at Tue Mar 25 22:59:00 2008.
    ---

    Mythtv uses the sql database for its config. nuvexport uses /etc/nuvexportrc.

    I've gone to line 36 of nuvexport.. and it is asfollows:
    ---
    # Load the MythTV object
    use MythTV; <-- I think its this line
    our $Myth = new MythTV();
    ---

    Bit MythtV aint an obnect in the script so I'm at the end of my skills here..

    Please help!

    Mick

  7. #147
    Join Date
    Dec 2006
    Beans
    28

    Re: HOWTO: Auto transcode MYTHTV recorded shows to DVD, XVID or DIVX cutting out the

    OK I've fixed that. Just needed to run mythfrontent. It seems to log it's DC config.xml into /home/username/.myth/xonfig.xml.

    Heres mine:
    ---
    <Configuration>
    <UPnP>
    <UDN>
    <MediaRenderer>49ba9e33-7fd4-4511-bf34-7f9d5ccd907c</MediaRenderer>
    </UDN>
    <MythFrontend>
    <DefaultBackend>
    <DBHostName>localhost</DBHostName>
    <DBUserName>mythtv</DBUserName>
    <DBPassword>0q2bYU4v</DBPassword>
    <DBName>mythconverg</DBName>
    <DBPort>0</DBPort>
    </DefaultBackend>
    </MythFrontend>
    </UPnP>
    </Configuration>
    ---

    I didn't create that filebut I did check it. The usernameand password are correct. Note though that the port is 0. Which is not correct it should be 3306. I guess 0 means default though, as from the output bellow,it's using the correct port.

    ---
    2008-03-26 22:15:32.148 JobQueue: Started "export recording to divx test settings" for "Veronica Mars" recorded from channel 1001 at Tue Mar 25 22:59:00 2008
    OSPEED was not set, defaulting to 9600 at /usr/local/share/nuvexport/nuv_export/shared_utils.pm line 61
    DBI connect('database=mythconverg:host=localhost;port= 3306','mythtv',...) failed: Access denied for user 'mythtv'@'localhost' (using password: YES) at /usr/share/perl5/MythTV.pm line 337
    Cannot connect to database:


    Cleaning up temp files.
    2008-03-26 22:15:32.737 JobQueue: Finished "export recording to divx test settings" for "Veronica Mars" recorded from channel 1001 at Tue Mar 25 22:59:00 2008.
    ---

    Any tips on why it's failing to connect via localhost?? I Access Denied imples myth-backend is rejecting it. But there is not log event of this occuring???

    Is there a config variable I'm missing??

    Mick

  8. #148
    Join Date
    Apr 2006
    Beans
    Hidden!

    Re: HOWTO: Auto transcode MYTHTV recorded shows to DVD, XVID or DIVX cutting out the

    Quote Originally Posted by ehula View Post
    I have asked a couple of times...let me try again.

    1. I would like to automatically transcode my recordings to xvid, place them in the recordings directory, delete the original .mpg file and be able to play the xvid through mythfrontend. Is this possible? How do you get around the fact that the database will be pointing at the .mpg file which will no longer be there?

    2. Is anyone willing to tackle the following? (Assuming you are transcoding to save space on your hard drive) Because automatically transcoding every recording is taxing on the CPU, wouldn't it be great if there was a way to transcode only files that are some prescribed age or older (say one week)? In other words, if you watch the show and delete it within that time period, you watch the original .mpg, but if it sits around for longer than that, it gets transcoded to save space! Any takers? The solution will have to allow for reboots and restarts of myth-backend.

    I know the second request is probably quite complicated, but I would love someone to at least comment on the first request.

    Thanks.
    Bump...

    Can you use the method in this thread to transcode a recording and update the recordings database to point to the transcoded file?

    I have asked this many times, but can't get an answer. I don't know how else to word it.

  9. #149
    Join Date
    May 2007
    Beans
    42

    Re: HOWTO: Auto transcode MYTHTV recorded shows to DVD, XVID or DIVX cutting out the

    I have had nuvexport setup for a while and I have been really happy as it works great.

    But I have a slight problem with one recording, when I convert the video to Xvid the video is perfect and there are no problems, but the video is completely distorted, it sounds like it is being stretched. The original doesn't have this problem.

    Does anyone have any idea why this could be happening?

    I am using the settings that the majority of people use on here.

    Thanks

  10. #150
    Join Date
    Feb 2005
    Beans
    126
    Distro
    Ubuntu 13.04 Raring Ringtail

    Red face Re: HOWTO: Auto transcode MYTHTV recorded shows to DVD, XVID or DIVX cutting out the



    filename=%t_-_%s_(%m)

    nuvexport-xvid --nice 19 --input="%FILE%"

    resulting filename: %t_-__00_(02).avi

Page 15 of 22 FirstFirst ... 51314151617 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •