Author |
Message |
itsmebcc
|
Posted: Sun Feb 26, 2006 1:02 pm |
|
Joined: Thu Feb 02, 2006 6:35 pm
Posts: 23
|
jimhayes wrote: itsmebcc
It's failing on the mplex command, but it's not telling you why. Have a look in /scripts/remplex.sh, wherever mplex is called add the verbose option ( -v 0 ) to the line, it should then give you more info in the log as to why it's failing.
EG change
mplex -o $dst -f 8 ${base}.m2v ${audio} 2> /dev/null
to
mplex -v 0 -o $dst -f 8 ${base}.m2v ${audio} 2> /dev/null
that should help, but I have to admit I've not actually tested it yet
I made the changes that you suggested, but it still does not give me any more info. However I grabbed the last command that was sent and try and run it manually and this is what I get.
Code: mplex -v 0 -o /data/mythtv/mythburn/temp/2513_20060128013000.mpg -f 8 2513_20060128013000.m2v ./2513_20060128013000.mp2 ++ WARN: [mplex] Stream e0: data will arrive too late sent(SCR)=1286729 required(DTS)=13019 ++ WARN: [mplex] Video e0: buf= 189635 frame=000453 sector=00001891 ++ WARN: [mplex] Audio c0: buf= 2097 frame=000593 sector=00000141 ++ WARN: [mplex] Stream e0: data will arrive too late sent(SCR)=2855643 required(DTS)=2853857 ++ WARN: [mplex] Video e0: buf= 226439 frame=000943 sector=00004555 ++ WARN: [mplex] Audio c0: buf= 3077 frame=001321 sector=00000314 ++ WARN: [mplex] Stream e0: data will arrive too late sent(SCR)=7426194 required(DTS)=7425924 ++ WARN: [mplex] Video e0: buf= 219469 frame=002464 sector=00010995 ++ WARN: [mplex] Audio c0: buf= 3457 frame=003438 sector=00000817 ++ WARN: [mplex] Stream e0: data will arrive too late sent(SCR)=16962121 required(DTS)=16960449 ++ WARN: [mplex] Video e0: buf= 229053 frame=005573 sector=00024140 ++ WARN: [mplex] Audio c0: buf= 3237 frame=007852 sector=00001866 ++ WARN: [mplex] Stream e0: data will arrive too late sent(SCR)=23203840 required(DTS)=23203686 ++ WARN: [mplex] Video e0: buf= 223753 frame=007648 sector=00034431 ++ WARN: [mplex] Audio c0: buf= 1757 frame=010739 sector=00002552 **ERROR: [mplex] MUX STATUS: Frame data under-runs detected!
Not sure what is going on here.
Also.. On the one dvd that I did successfully create the 2.5 gig movie ended up only 80 megs and when played took only 20seconds and skipped thru the entire movie very quickly. Like it was the 1st pass to test encoding or something. I am using a nexus-s so I do not have nuv files, only mpg files. Not sure if this has anything to do with is.
|
|
Top |
|
 |
itsmebcc
|
Posted: Sun Feb 26, 2006 4:00 pm |
|
Joined: Thu Feb 02, 2006 6:35 pm
Posts: 23
|
Looks like I had tonew aversion of mjpegtools installed. I uninstalled and user an older version and I got past that error. I will follow up with this after the burn .
B
|
|
Top |
|
 |
jimhayes
|
Posted: Sun Feb 26, 2006 4:37 pm |
|
Joined: Sat Feb 04, 2006 2:53 pm
Posts: 32
|
> mplex -v 0 -o $dst -f 8 ${base}.m2v ${audio} 2> /dev/null
err, sorry, I think the lack of output just *might* be something to do with the 2> /dev/null at the end.
i'd be dangerous if i had a brain.
hangs head in shame ....
Like you, though, I had problems getting everything working, especially in regard of mjpeg tools and getting a version that worked ok.
Good luck.
|
|
Top |
|
 |
itsmebcc
|
Posted: Sun Feb 26, 2006 5:29 pm |
|
Joined: Thu Feb 02, 2006 6:35 pm
Posts: 23
|
Yea that worked. I have a fully working DVD now. I used
mjpegtools 1.6.2 to get everything working. I do have green images instead of jpg's of the movie, but no biggie, I will figure it out eventually.
|
|
Top |
|
 |
jimhayes
|
Posted: Sun Feb 26, 2006 5:38 pm |
|
Joined: Sat Feb 04, 2006 2:53 pm
Posts: 32
|
|
Top |
|
 |
jimhayes
|
Posted: Sun Feb 26, 2006 7:01 pm |
|
Joined: Sat Feb 04, 2006 2:53 pm
Posts: 32
|
paulh
Many thanks for your work to get it working in 0.19, I'm not bothered if it's not finished, just very grateful to you for enabling an install that burns the disk, niceties aside.
I've had a good poke through the new mythweb, trying to get a couple of simple things done with mythburn, and can now appreciate that it was a far from trivial update to get to where you are with the current CVS version.
Suffice to say that I've failed so far, though I do have a better idea of how it works now. i'll drop you line if I do get anywhere and get something useful working.
Had a look at version 2 in the CVS as well, much prefer the python version even if I have never used python before. It's a bit easier to get into as a newbie than the shell scripts.
looking forward to the next cvs update of that, I made a few mods and very nearly got it to complete a disk. i'll get back to it later, but I did find it quite easy to work with so i'm confident the move to python will prove to be a good one.
regards,
Jim.
|
|
Top |
|
 |
itsmebcc
|
Posted: Sun Feb 26, 2006 9:26 pm |
|
Joined: Thu Feb 02, 2006 6:35 pm
Posts: 23
|
Well I amnot sure what the problems seems to be but, I burned the one DVD and it went fine, minus the green images, which is not that big of a deal to me. But I cannot seem to burn another DVD. Everytime I try and burn something I get an error.
Code: (ioaux.c) invalid file "/data/mythtv/mythburn/temp/1172_20060226091420.mpg" *********************************** MythTV BurnDVD stopped due to error ***********************************
I go and look and indeed that file is not there. I am not sure where to look to track this down.
|
|
Top |
|
 |
red321
|
Posted: Tue Feb 28, 2006 12:18 pm |
|
Joined: Sun Mar 07, 2004 5:34 am
Posts: 116
Location:
UK
|
Not sure if I am completely missing somthing, but do the current CVS mythtvburn scripts require an updated project x ? I have been upgrading Mythtv with SVN, so am now at 0.19, and lost mythburn allong the way.
I have checked out the current cvs of project x, but I cannot get it to compile cleanly, and as I know less than nothing about Java, I am kind of stuck. 
|
|
Top |
|
 |
paulh
|
Posted: Tue Feb 28, 2006 1:07 pm |
|
Joined: Sat Nov 12, 2005 3:52 pm
Posts: 65
|
red321 wrote: Not sure if I am completely missing somthing, but do the current CVS mythtvburn scripts require an updated project x ? I have been upgrading Mythtv with SVN, so am now at 0.19, and lost mythburn allong the way. I have checked out the current cvs of project x, but I cannot get it to compile cleanly, and as I know less than nothing about Java, I am kind of stuck. 
The version of mythburn in cvs requires ProjectX 0.90.3 it may work with any 0.90.x version. Not sure exactly when they changed the command line options and cut list file format.
|
|
Top |
|
 |
red321
|
Posted: Tue Feb 28, 2006 3:01 pm |
|
Joined: Sun Mar 07, 2004 5:34 am
Posts: 116
Location:
UK
|
Thanks,
For the hard of thinking like myself :
1) Mythburn from CVS needs 0.90.3.x projectx , as paulh says
2) It is only available as source, so you need the sdk invironment, or you need to find a binary floating in webspace somewhere.
3) You need to make sure the SUN version of JAVA is installed, or else everything goes horribly wrong. I had inoccently tried an apt-get install javasomthing, which installs the gnu java package, and that truelly fouls everything up 
|
|
Top |
|
 |
itsmebcc
|
Posted: Wed Mar 01, 2006 10:14 am |
|
Joined: Thu Feb 02, 2006 6:35 pm
Posts: 23
|
red321 wrote: Thanks, For the hard of thinking like myself : 1) Mythburn from CVS needs 0.90.3.x projectx , as paulh says  2) It is only available as source, so you need the sdk invironment, or you need to find a binary floating in webspace somewhere. 3) You need to make sure the SUN version of JAVA is installed, or else everything goes horribly wrong. I had inoccently tried an apt-get install javasomthing, which installs the gnu java package, and that truelly fouls everything up 
Can you post what versions of "everything" you are using? What java version, projectx, mjpegtools, etc...
Thanks
|
|
Top |
|
 |
red321
|
Posted: Wed Mar 01, 2006 2:59 pm |
|
Joined: Sun Mar 07, 2004 5:34 am
Posts: 116
Location:
UK
|
for itsmebcc
ProjectX 0.90.3.00/31.12.2005
java.vm.version 1.5.0_06-b05
all the others are as required by the install checker.
I have a new problem though: When I run via the web interface then the Xvfb server is started as a process by user www-data, and mythburn runs. If I run mythburn-ui, then the
Xvfb server is started as a process by user mythtv, and then I get the dreaded
Exception in thread "main" java.lang.InternalError: Can't connect to X11 window
server using ':33.0' as the value of the DISPLAY variable.
Any ideas how to get mythburn-ui to run the scripts as www-data, or how to ensure the Xvfb process accepts connections when run as Mythtv ?
|
|
Top |
|
 |
itsmebcc
|
Posted: Wed Mar 01, 2006 5:10 pm |
|
Joined: Thu Feb 02, 2006 6:35 pm
Posts: 23
|
I am getting this to work very hit or miss. If I burn with mythweb I have to delete the mythburn.log manually before I can burn with myth-ui.
For Red321
You can do one of 2 things. You can start ProjectX with the [-gui] option, and if that doesnt work right you can start project x with something like this.
This is in the mythburn.conf
Code: projectx="java -Djava.awt.headless=true -jar /usr/share/projectx/ProjectX.jar" or Code: projectx="java -jar /usr/share/projectx/ProjectX.jar [-gui]"
I had some luck with both, and after changing a bunch of stuff around I use the first option.
|
|
Top |
|
 |
patman
|
Posted: Thu Mar 09, 2006 1:49 pm |
|
Joined: Fri Jan 27, 2006 11:56 pm
Posts: 25
|
Eventually got it all working, just found this:
http://knoppmythwiki.org/index.php?page ... ipts_HowTo
That has some nice troubleshooting info in it.
I do miss one thing...the ability to sort and filter the shows listed on the 'burn dvd' page. Looked briefly at the source, and it appears to be including the includes/sorting section, but for some reason it isn't happening. (The regular recorded shows page works fine using the same include.) On the burnDVD page I get a non-sortable list of all shows recorded. I played with the sort options in the source to force it into the order that I want most of the time, but...still miss the on-the-fly filtering (by show title) and sorting (by title, date, channel, size, etc.) that used to be there.
|
|
Top |
|
 |
paulh
|
Posted: Fri Mar 10, 2006 12:21 pm |
|
Joined: Sat Nov 12, 2005 3:52 pm
Posts: 65
|
patman wrote: Eventually got it all working, just found this: http://knoppmythwiki.org/index.php?page ... ipts_HowToThat has some nice troubleshooting info in it. I do miss one thing...the ability to sort and filter the shows listed on the 'burn dvd' page. Looked briefly at the source, and it appears to be including the includes/sorting section, but for some reason it isn't happening. (The regular recorded shows page works fine using the same include.) On the burnDVD page I get a non-sortable list of all shows recorded. I played with the sort options in the source to force it into the order that I want most of the time, but...still miss the on-the-fly filtering (by show title) and sorting (by title, date, channel, size, etc.) that used to be there.
Grab the latest mythburn source from cvs. The new 0.19 web interface has just had a makeover thanks to a patch from Jim Hayes. It now does the filtering and sorting just like the regular recorded shows page.
|
|
Top |
|
 |