[mythtv] [PATCH] MPEG2->MPEG2 commercial cut (myth patch)

DBakker at arrayasolutions.com DBakker at arrayasolutions.com
Fri Jan 2 10:22:43 EST 2004


I get errors when this trys to transcode my mpgs (see below). Im using the 
latest cvs plus your patch. I did a make distclean, updated my 
recodringprofile and the recording does have a cutlist. Anyt thoughts?

# mythtranscode  -c 1029 -s "2004-01-01 19:00"
2004-01-02 10:11:40 Transcoding from 
/var/video/1029_20040101190000_20040101193000.nuv to 
/var/video/1029_20040101190000_20040101193000.nuv.tmp
Input #0, mpeg, from '/var/video/1029_20040101190000_20040101193000.nuv':
  Stream #0.0: Video: mpeg2video, 720x480, 29.97 fps
  Stream #0.1: Audio: mp2, 48000 Hz, stereo, 224 kb/s
Input #0, mpeg, from '/var/video/1029_20040101190000_20040101193000.nuv':
  Stream #0.0: Video: mpeg2video, 720x480, 29.97 fps
  Stream #0.1: Audio: mp2, 48000 Hz, stereo, 224 kb/s
Output #0, vob, to 
'/var/video/1029_20040101190000_20040101193000.nuv.tmp':
  Stream #0.0: Video: mpeg2video, 720x480, 29.97 fps, q=2-31, 5048 kb/s
  Stream #0.1: Audio: mp2, 48000 Hz, stereo, 224 kb/s
Ran out of video buffers!
BUG: StackedConfigurationGroup::raise(): unrecognized child 0 on setting # 





"Geoffrey Hausheer" <ou401cru02 at sneakemail.com> 
Sent by: mythtv-dev-bounces at mythtv.org
01/01/2004 05:28 PM
Please respond to
Development of mythtv <mythtv-dev at mythtv.org>


To
mythtv-dev at mythtv.org
cc

Subject
[mythtv] [PATCH] MPEG2->MPEG2 commercial cut (myth patch)






Okay, now that I'm back from holidays, here is a new version of the
mpeg2->mpeg2 commercial cut code.

It is no longer self-sufficient, but instead is a patch against mythtv. 
You will need the latest CVS, as it is built on top of some
reorganization that I just committed.

This patch:
Reimplements the code in C++/Qt, and includes significant cleanups
Merges the code with mythtranscode
Hopefully does better A/V syncing


After compiling (you need to do a qmake in programs/mythtranscode), the
new code can be tested in two ways:

use the new '-i' switch to mythtranscode to specify an input file.  the
output will be <input>.tmp  This forces the new code to be used, and does
NOT support using a cutlist (so it is basically a NO-OP, but useful for
testing that it doesn't screw anything up).  Don't get too attached to
this method, I'm not sure I'll keep it.

OR...

change your transcoding profile in mysql to have videotype 'MPEG-2'. 
This command should do it:
update recordingprofiles set videocodec = "MPEG-2" where name = "MPEG2";

You can now use mythtranscode as usual (use -c and -s switches from
command-line, or 'X' from mythfrontend)  Any mpeg2 encodings will get run
through the new code.

There is no way to select this from the GUI, since it is still not well
tested.

I'd like any bug reports.  If I don't hear anything, it'll probably go
into CVS in about a week.

.Geoff
_______________________________________________
mythtv-dev mailing list
mythtv-dev at mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

-------------- next part --------------
A non-text attachment was scrubbed...
Name: transcode18.patch.gz
Type: application/octet-stream
Size: 9805 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20040102/4cdd0d0d/transcode18.patch.obj


More information about the mythtv-dev mailing list