View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 48 posts ] 
Go to page 1, 2, 3, 4  Next

Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sun Nov 06, 2005 4:53 am 
Offline
Joined: Tue Oct 21, 2003 11:30 am
Posts: 188
Location: UK
Hi all.

Theres some new features and bug fixes in Mythburn for A22 release of Knoppmyth. These may work with older versions and other Linux distros but I havent tested it!

Latest features are:

    If a DVD is going to be larger than a DVD-R then the MPEG files are automatically requantised (using tcrequant) to make them smaller.
    If you dont want the scene menus, build time is now quicker
    If you switch off the scene menus then a short intro is given to each recording with date,time and description

Can someone update the wiki on my behalf as I dont have much time at the moment!

To install you need to get the code from CVS, if you are using R5A22 then...

Code:
apt-get install cvs
cd /myth
rm -dfr /myth/mythburn
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/mythburn co -P mythburn
cd /myth/mythburn
./install.sh -d

I'd be grateful to hear from anyone who could create a fancy animated splash intro movie for Mythburn to replace the black & white one currently there, we would need both 720x576 (PAL 25fps) and 720x480 (NTSC 29.99fps) resolutions.

Thanks

spit2k1


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 06, 2005 8:05 am 
Offline
Joined: Fri Aug 26, 2005 9:54 pm
Posts: 617
There is a problem with your install routine.

After compleating the instructions above do the following:

Code:
mkdir images/backgrounds/thumbnails
./createbackgroundthumbs.sh /myth/mythburn


I think that should fix it.


Top
 Profile  
 
PostPosted: Sun Nov 06, 2005 2:26 pm 
Offline
Joined: Fri Apr 02, 2004 10:08 am
Posts: 1637
Location: Virginia, USA
spit2k1 wrote:
I'd be grateful to hear from anyone who could create a fancy animated splash intro movie for Mythburn to replace the black & white one currently there, we would need both 720x576 (PAL 25fps) and 720x480 (NTSC 29.99fps) resolutions.


I could help with that. How long? 5 sec? 10 sec? And you want them in MPEG2, right? If so, what target bitrate; if not, what codec?


Top
 Profile  
 
PostPosted: Mon Nov 07, 2005 5:09 am 
Offline
Joined: Tue Oct 21, 2003 11:30 am
Posts: 188
Location: UK
ceenvee703 wrote:
spit2k1 wrote:
I'd be grateful to hear from anyone who could create a fancy animated splash intro movie for Mythburn to replace the black & white one currently there, we would need both 720x576 (PAL 25fps) and 720x480 (NTSC 29.99fps) resolutions.


I could help with that. How long? 5 sec? 10 sec? And you want them in MPEG2, right? If so, what target bitrate; if not, what codec?


The current one is about 3 seconds, but 5 would probably be okay. They need to be MPEG2 and as small as possible - probably less than 3Mb each. MPEG2 obviously needs to be DVD specs.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 07, 2005 11:47 am 
Offline
Joined: Tue Oct 21, 2003 11:30 am
Posts: 188
Location: UK
ryanpatterson wrote:
There is a problem with your install routine.

After compleating the instructions above do the following:

Code:
mkdir images/backgrounds/thumbnails
./createbackgroundthumbs.sh /myth/mythburn


I think that should fix it.


Thanks, fixed this!


Top
 Profile  
 
PostPosted: Mon Nov 07, 2005 12:21 pm 
Offline
Joined: Tue Oct 21, 2003 11:30 am
Posts: 188
Location: UK
ceenvee703 wrote:
spit2k1 wrote:
I'd be grateful to hear from anyone who could create a fancy animated splash intro movie for Mythburn to replace the black & white one currently there, we would need both 720x576 (PAL 25fps) and 720x480 (NTSC 29.99fps) resolutions.


I could help with that. How long? 5 sec? 10 sec? And you want them in MPEG2, right? If so, what target bitrate; if not, what codec?


Thank you very much for the new splash movies - very professional!

They are in CVS now.

Image


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 08, 2005 10:39 am 
Offline
Joined: Sun Jan 16, 2005 8:23 pm
Posts: 94
I updated from CVS last nigh according to your instructions. I did it after your fix for the createbackgroundthumbs.sh script. Update from CVS went great.

I have an 18GB program (3 hours) that I recorded with my HD-3000, so I decided to give the new requantization feature a try. I ran into some problems that I was hoping you could shed some light on. It seemed to make it through most of the stuff OK, but there was an error during the requantization, and (consequently?) at the end when it tried to burn the disc. The end of the log file is below. Let me know if you need any more iinfo from the logs.

Quote:
summary of created media files:

.Video (m2v): 518618 Frames 02:24:12.270 './1041_20051105185900_20051105220900.m2v'

Audio 0 (ac3): 46094 Frames 00:24:35.008 0/7/0/0 './1041_20051105185900_20051105220900.ac3'

=> 13970267994 bytes written...
Requantizing with factor 4.234884 to fit onto DVD
/usr/local/bin/tcrequant -i 1041_20051105185900_20051105220900.m2v.big -o 1041_20051105185900_20051105220900.m2v -d 2 -f 4.234884
[tcrequant] MPEG2 Requantiser by Makira.
[tcrequant] Using 4.234884 as factor.
Remultiplexing video
mplex -o /myth/mythburn/temp/1041_20051105185900_20051105220900.nuv -f 8 1041_20051105185900_20051105220900.m2v ./1041_20051105185900_20051105220900.ac3
INFO: [mplex] mplex version 1.6.2 (2.2.3 $Date: 2004/01/13 20:45:26 $)
INFO: [mplex] File 1041_20051105185900_20051105220900.m2v looks like an MPEG Video stream.
INFO: [mplex] File ./1041_20051105185900_20051105220900.ac3 looks like an AC3 Audio stream.
INFO: [mplex] Video stream 0: profile 8 selected - ignoring non-standard options!
INFO: [mplex] Found 1 audio streams and 1 video streams
INFO: [mplex] Selecting dvdauthor DVD output profile
INFO: [mplex] Multiplexing video program stream!
INFO: [mplex] Scanning for header info: Video stream e0 (1041_20051105185900_20051105220900.m2v)
INFO: [mplex] VIDEO STREAM: e0
INFO: [mplex] Frame width : 1280
INFO: [mplex] Frame height : 720
INFO: [mplex] Aspect ratio : 16:9 display
INFO: [mplex] Picture rate : 59.940 frames/sec
INFO: [mplex] Bit rate : 9800000 bits/sec
INFO: [mplex] Vbv buffer size : 999424 bytes
INFO: [mplex] CSPF : 0
INFO: [mplex] Scanning for header info: AC3 Audio stream 00 (./1041_20051105185900_20051105220900.ac3)
INFO: [mplex] AC3 frame size = 1536

INFO: [mplex] AC3 AUDIO STREAM:
INFO: [mplex] Bit rate : 49152 bytes/sec (384 kbit/sec)
INFO: [mplex] Frequency : 48000 Hz
INFO: [mplex] SYSTEMS/PROGRAM stream:
INFO: [mplex] rough-guess multiplexed stream data rate : 10403400
INFO: [mplex] target data-rate specified : 10080000
++ WARN: [mplex] Target data rate lower than computed requirement!
++ WARN: [mplex] N.b. a 20% or so discrepancy in variable bit-rate
++ WARN: [mplex] streams is common and harmless provided no time-outs will occur
INFO: [mplex] Run-in Sectors = 89 Video delay = 13019 Audio delay = 14520
INFO: [mplex] New sequence commences...
INFO: [mplex] Video e0: buf= 237568 frame=000000 sector=00000000
INFO: [mplex] Audio bd: buf= 16384 frame=000000 sector=00000000
++ WARN: [mplex] Stream e0: data will arrive too late sent(SCR)=106203 required(DTS)=106112
++ WARN: [mplex] Video e0: buf= 206276 frame=000062 sector=00000698
++ WARN: [mplex] Audio bd: buf= 15139 frame=000032 sector=00000025
++ WARN: [mplex] Stream e0: data will arrive too late sent(SCR)=150235 required(DTS)=145151
++ WARN: [mplex] Video e0: buf= 235543 frame=000088 sector=00000987
++ WARN: [mplex] Audio bd: buf= 16384 frame=000047 sector=00000036
++ WARN: [mplex] Stream e0: data will arrive too late sent(SCR)=194121 required(DTS)=176682
++ WARN: [mplex] Video e0: buf= 235543 frame=000109 sector=00001279
++ WARN: [mplex] Audio bd: buf= 16384 frame=000057 sector=00000044
++ WARN: [mplex] Stream e0: data will arrive too late sent(SCR)=238153 required(DTS)=209715
++ WARN: [mplex] Video e0: buf= 235543 frame=000131 sector=00001571
++ WARN: [mplex] Audio bd: buf= 16384 frame=000068 sector=00000052
++ WARN: [mplex] Stream e0: data will arrive too late sent(SCR)=282185 required(DTS)=236742
++ WARN: [mplex] Video e0: buf= 235543 frame=000149 sector=00001863
++ WARN: [mplex] Audio bd: buf= 16384 frame=000078 sector=00000060
++ WARN: [mplex] Stream e0: data will arrive too late sent(SCR)=326070 required(DTS)=271277
++ WARN: [mplex] Video e0: buf= 235543 frame=000172 sector=00002154
++ WARN: [mplex] Audio bd: buf= 16384 frame=000090 sector=00000069
++ WARN: [mplex] Stream e0: data will arrive too late sent(SCR)=370102 required(DTS)=302808
++ WARN: [mplex] Video e0: buf= 235543 frame=000193 sector=00002446
++ WARN: [mplex] Audio bd: buf= 16384 frame=000101 sector=00000077
++ WARN: [mplex] Stream e0: data will arrive too late sent(SCR)=414134 required(DTS)=334340
++ WARN: [mplex] Video e0: buf= 235543 frame=000214 sector=00002737
++ WARN: [mplex] Audio bd: buf= 16384 frame=000112 sector=00000086
++ WARN: [mplex] Stream e0: data will arrive too late sent(SCR)=458166 required(DTS)=370376
++ WARN: [mplex] Video e0: buf= 235543 frame=000238 sector=00003028
++ WARN: [mplex] Audio bd: buf= 16384 frame=000124 sector=00000095
++ WARN: [mplex] Stream e0: data will arrive too late sent(SCR)=502052 required(DTS)=401907
++ WARN: [mplex] Video e0: buf= 235543 frame=000259 sector=00003320
++ WARN: [mplex] Audio bd: buf= 16384 frame=000135 sector=00000103
++ WARN: [mplex] Stream e0: data will arrive too late sent(SCR)=546084 required(DTS)=436442
++ WARN: [mplex] Video e0: buf= 235543 frame=000282 sector=00003610
++ WARN: [mplex] Audio bd: buf= 16384 frame=000148 sector=00000113
**ERROR: [mplex] Too many frame drops -exiting
Cleaning up
----- datestamp=07-11-2005 22:34
Building MPEG2 GOP index files...
----- datestamp=07-11-2005 22:34
----- datestamp=07-11-2005 22:34
(seqinfo.c) 283 video frame(s) in unit 0 detected
There are 1 programmes to burn to DVD
----- datestamp=07-11-2005 22:34
******************************************************
starting createmenubackground.sh
******************************************************
Creating blank 720x480 menu page 1 of 1
-Overlay MythTV logo onto background
******************************************************
finished createmenubackground.sh
******************************************************
----- datestamp=07-11-2005 22:34
----- datestamp=07-11-2005 22:34
Creating previous and next buttons on menu page 1 of 1.
----- datestamp=07-11-2005 22:34
Loop through all the programmes that need to be recorded and build menu pages
----- datestamp=07-11-2005 22:34
There are 1 titles left to process
Processing MPEG2 1041_20051105185900_20051105220900.nuv onto page 1 as button 1
Programme is Catch Me if You Can and has 282 frames
******************************************************
starting createmenuitem.sh
******************************************************
Creating menu item 1....
Extracting thumbnail image from time frame 6-7
******************************************************
finished createmenubackground.sh
******************************************************
----- datestamp=07-11-2005 22:34
----- datestamp=07-11-2005 22:34
Building Scene Selection Menu for recording Catch Me if You Can submenus: no
******************************************************
starting createscenemenu.sh
******************************************************
Submenus: no
Commerical cutting enabled, not using cutlist as chapter marks
Current cutlist from MythTV
0
There are 1 cut points converted to chapters
Adding 8 chapter points to make total of 9
These frames will be converted to chapters....
0
31
62
93
124
155
186
217
248
Chapter list for this recording - should be 9 entries...
00:00:00.00,00:00:01.01,00:00:02.02,00:00:03.03,00:00:04.04,00:00:05.05,00:00:06.06,00:00:07.07,00:00:08.08******************************************************
finished createscenemenu.sh
******************************************************
----- datestamp=07-11-2005 22:34
******************************************************
starting createintro.sh
******************************************************
Create intro page using /myth/mythburn/images/backgrounds/grey.png as background
Convert intro image to JPG
Encode intro image to mpg movie
/myth/mythburn/scripts/createintro.sh: line 69: 29.97: syntax error in expression (error token is ".97")
**ERROR: [mpeg2enc] Could not read YUV4MPEG2 header: system error (failed read/write)!
***********************************
MythTV BurnDVD stopped due to error
***********************************

Sent UDP/XML packet to IP 255.255.255.255 and port: 6948


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 09, 2005 8:07 am 
Offline
Joined: Tue Oct 21, 2003 11:30 am
Posts: 188
Location: UK
The problem is with tcrequant, it has problems reducing the file sizes below a certain point your using a factor of 4.234884 to fit onto DVD - I think anything over 3 wont work.

The factor is calculated automatically based on a standard single layer DVD-R - about 4.3Gb.

Have a look at these threads for people with similar problems....

http://itdp.fh-biergarten.de/~itdp/html/transcode-users/2005-04/msg00123.html

I think the only real way around this is to re-encode the video from HDTV to a lower MPEG2 rate - something I've not done!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 09, 2005 10:25 am 
Offline
Joined: Sun Jan 16, 2005 8:23 pm
Posts: 94
That makes sense. It is a fairly high factor.

I'll try it with a smaller recording. Great script!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 09, 2005 2:17 pm 
Offline
Joined: Fri Aug 26, 2005 9:54 pm
Posts: 617
spit2k1 wrote:
The factor is calculated automatically based on a standard single layer DVD-R - about 4.3Gb.


I was thinking about this. Should there also be an option for dual layer DVD blanks (9GB)? I don't have one of these drives but I'm sure others would like this feature. And I would in the future :-)


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 10, 2005 12:15 am 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
Added to the next release!

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 11, 2005 2:18 am 
Offline
Joined: Thu Oct 13, 2005 9:18 am
Posts: 91
Location: Washington
I just tried the CVS version and ran into the same error as Red5. This was for a single 800MB file. It doesn't like 29.97 for some reason.

Code:
******************************************************
----- datestamp=11-11-2005 00:13
******************************************************
starting createintro.sh
******************************************************
Create intro page using /myth/mythburn/images/backgrounds/grey.png as background
Convert intro image to JPG
Encode intro image to mpg movie
/myth/mythburn/scripts/createintro.sh: line 69: 29.97: syntax error in expression (error token is ".97")
**ERROR: [mpeg2enc] Could not read YUV4MPEG2 header: system error (failed read/write)!
***********************************
MythTV BurnDVD stopped due to error
***********************************


Top
 Profile  
 
 Post subject: cvs install
PostPosted: Fri Nov 11, 2005 4:32 pm 
Offline
Joined: Wed Nov 09, 2005 1:21 pm
Posts: 161
Location: Manchester UK
Hi
I am a newbie here and this is my first post. I have been playing with Knoppmyth for a couple of months, i started using it as a way of recording all the mrs' programs whilst we were away on hols. The program is wonderfull and R22 worked first time with no tweeking even with my JETWAY kworld DVB-t Card, although i still havnt got the remote going YET. The backend still crashes if you try to watch a channel that is off air but other than that its bullet proof, recorded all the programs i wanted whilst i was on holiday for three weeks. I have somehow broke mythfilldatabase as it only seems to add data if i run it from the command line but i will try searching for a fix b4 i post for help on that

I tried to do the CVS upgrade to R22 a few days ago following the above instructions. unfortunately having deleted the mythburn directory the cvs would n't load :twisted: kept coming up with message saying 'connection refused'. I need the mythburn function so i can watch my recordings so i ended up doing a complete reinstall to get it back.

Anyhow tempted by the 'shrink' facility of the new mythburn i tried a reinstall today, with a little more success. this time i used my windose box through a samba share to rename the old mythburn directory to /myth/mythburnold. then i procceded to do the cvs install.

I selected three files totaling about 6GB to burn and set it running all went well for a while then it stopped i looked at the log and got a page segmentation fault from dvdauthor. Sorry i havnt got any more details i accidently deleted the log.

one thing i did notice was the shrink factor was 1.6... it seems this is calculated before the ads are cut out, in fact after the ads were removed the files were only 4GB so didnt need shrinking at all. would it not be possible to requatize the files aftes all the ads are removed ??? ie create all the mp2.big files and audio files add up the size of the audio etc and then reqantize.

ie

factor = Sum(mv2.bigs)/(4.3GB- sum(audio_sizes) - size_of_menus)

then requantize with this factor .

Anyhow i have renamed my mythburn old to mythbun and will use that for now i will use dvdshrink if the iso is to big.

A couple of other thing other things related to dvd writing

to get the dvd writer to write i used




Code:
chmod www-data:www-data /dev/hdc



now my myth front end wont use the drive i remember vaugely from my sco unix days that i should be able to add www-data to the same group as mythtv this should allow both programs to access the drive ??


And the last thing how do i re-use my +RW media from mythburn i tried errasing the disk with nero but mythburn still wont write to them it says there is an iso image on them. ??

Thanks all this is one of the best bits of software ive used.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 11, 2005 10:20 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
I didnt do anything special to erase RW media. I just put it in and mythburn wrote over the top.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 12, 2005 2:52 am 
Offline
Joined: Tue Oct 21, 2003 11:30 am
Posts: 188
Location: UK
jakep_82 wrote:
I just tried the CVS version and ran into the same error as Red5. This was for a single 800MB file. It doesn't like 29.97 for some reason.

Code:
******************************************************
----- datestamp=11-11-2005 00:13
******************************************************
starting createintro.sh
******************************************************
Create intro page using /myth/mythburn/images/backgrounds/grey.png as background
Convert intro image to JPG
Encode intro image to mpg movie
/myth/mythburn/scripts/createintro.sh: line 69: 29.97: syntax error in expression (error token is ".97")
**ERROR: [mpeg2enc] Could not read YUV4MPEG2 header: system error (failed read/write)!
***********************************
MythTV BurnDVD stopped due to error
***********************************


Fixed this one, get latest version from CVS again!

Thanks.

Code:
Index: createintro.sh
===================================================================
RCS file: /cvsroot/mythburn/mythburn/scripts/createintro.sh,v
retrieving revision 1.1
diff -r1.1 createintro.sh
68,69c68,69
< #Create 30 frames for the menu page: -a is aspect ratio 2=4:3 3=16:9 4=2.21:1
< nice jpeg2yuv -v 0 -n $((framerate * 8)) -I p -f $framerate -j \
---
> #Create 200 frames for the menu page: -a is aspect ratio 2=4:3 3=16:9 4=2.21:1
> nice jpeg2yuv -v 0 -n 200 -I p -f $framerate -j \


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 48 posts ] 
Go to page 1, 2, 3, 4  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 16 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu