[mythtv-users] How To make a mpg into something the family DVD player can read

Christian Husemann Christian.Husemann at Sun.COM
Tue Apr 11 11:38:37 UTC 2006


Linux only :-)

Editing (cut points) with frontend, extracting with mythcommflag and 
feeding to projectx via cli, mplex and the miracle happened.

HTH

	Christian

A JM wrote:
> Christian, are you using a Windows machine to edit you recordings with 
> projectx or Linux?
> 
> Niels, Mythburn is what I would call the ultimate solution as it 
> incorporates itself into Myth but I've yet to get it to work with a DVB 
> recording all I get are errors this is abreviated from the log...
> 
> MythBurn Script is running as user apache
> Video format = ntsc
> Background image = /home/mythtv/mythburn/images/backgrounds/mythtv-logo.png
> Background music = /home/mythtv/mythburn/music/funky2.mp2
> Make ISO image = yes
> Burn to DVD-R = no
> Delete VIDEO_TS = no
> Highlight image = red_black_border.png
> Animated thumbnails = no
> Chapter Submenus = no
> Recode to AC3 = no
> MythTV files are in /video/recordings
> Creating DVD at 04-04-2006 21:07....
> Total file size of video files is 409 Mbytes
> mkdir: cannot create directory `/video/mythburn/temp/DVD': File exists
> Multiplexing MPEG2 video files to DVD format and applying cutlists
> ----- datestamp=04-04-2006 21:07
> ----- datestamp=04-04-2006 21:07
> 11096_20060404190000.mpg
> commerical cut disabled, remultiplexing for DVD format only
> Re-multiplexing file /video/recordings/11096_20060404190000.mpg
> Reading GUI-Switch...
> Reading Help Switch...
> Reading Config File Switch...
> Start without GUI...
> Loading last Config or Standard File...
> ini load error: java.io.FileNotFoundException: /video/mythburn/X.ini (No 
> such file or directory)
> Loading Language -> 'en'
> 
> ProjectX 0.90.4.00/30.03.2006 <http://0.90.4.00/30.03.2006> TEST PROJECT 
> ONLY , User: apache
> 
> 
> TERMS AND CONDITIONS:
> (1) this is a free Java based demux utility.
> (2) It is intended for educational purposes only, as a non-commercial 
> test project.
> (3) released under the terms of the GNU GPL.
> (4) there is NO WARRANTY of any kind attached to this software.
> (5) use it at your own risk and for your own education.
> 
> Java Environment
> April 4, 2006    9:07:56 PM EDT
> java.version    1.5.0_06
> java.vendor    Sun Microsystems Inc.
> java.home    /usr/java/jdk1.5.0_06/jre
> java.vm.version    1.5.0_06-b05
> java.vm.vendor    Sun Microsystems Inc.
> java.vm.name <http://java.vm.name/>    Java HotSpot(TM) Client VM
> java.class.vers    49.0
> java.class.path    /home/mythtv/ProjectX_Source_0.90.4/ProjectX.jar
> os.name <http://os.name/>    Linux
> os.arch    i386
> os.version    2.6.13-1.1532_FC4
> ini.file    /video/mythburn/X.ini
> ext.disk.access    disabled or library not found
> user.language    en
> user.name <http://user.name/>     apache
> user.home    /var/www
> 
> quick CL usage:
> Note: CL doesn't load the GUI components, except with switch [-gui]
> <without options>  ...starts the GUI
> switches and inputfiles can be in any order
> 
> options:
> [-ini <path + inifile>] ..use that specified iniFile instead of the standard
> [-dvx1] ..create a .d2v ProjectFile on demux
> [-dvx2] ..create a .d2v ProjectFile + .ac3.wav (RIFF WAVE Header)
> [-dvx3] ..create a .d2v ProjectFile + .mpa.wav (RIFF WAVE Header)
> [-dvx4] ..create a .d2v ProjectFile + .ac3.wav + mpa.wav (RIFF WAVE Header)
> [-out <path>] ..use that specified directory for output
> [-name <filename>] ..use that specified filename for output
> [-cut <file>] ..use that text based file as cutpoint list
> [-chp <file>] ..use that text based file as chapterpoint list
> [-id <tokens>] ..use only these (P)IDs, separated by comma ","
> [-gui] ..display the GUI using all given CLI options
> [-log] ..write the normal logfile
> [-saveini] ..save changes made bei CLI in active .ini
> [-split <xxx>] ..split output at xxx MB
> [-demux, -tom2p, -topva, -tovdr, -tots, -filter] ..action types
> 
> Loading Basic Classes...
> Reading CLI Switches...
> Checking Commons-Net library access...
> Loading AC3 frames...
> Starting Collection Process...
> preparing collection(s)...
> 1 %<<< session infos >>>
> 
> Tuesday, April 4, 2006  9:07:57 PM EDT
> ProjectX 0.90.4.00 <http://0.90.4.00/> (30.03.2006)
> 
> -> working with collection 0
>  
> -> save normal log file
> -> write all video data
> -> write all other data
> -> patch c.d.flagged infos of pictures
> -> add sequence end code
> -> set resolution in SDE
> -> PVA: strictly specs. for audio streams
> -> VOB: determine diff. Cell timelines
> -> TS: ignore scrambled packets
> -> TS: enhanced search for open packets
> -> TS: join file segments (of Dreambox?)
> -> TS: generate PMT stream dependent
> -> get only enclosed PES/TS packets
> -> concatenate different recordings
> -> ensure 1st PES-packet start with video
> -> generate PCR/SCR from PTS
>  
> -> write output files to: '.'
> 
> -> Input File 0:  '/video/recordings/11096_20060404190000.mpg' 
> (427,563,512 bytes)
> -> Filetype is TS (generic PES Container)
> -> demux
> -> Service ID 0x1
> -> PMT 0x1700 refers to these usable streams:
> Video:
> PID: 0x1122
> Audio:
> PID: 0x1123(eng)
> Teletext:
> n/a
> Subpict.:
> n/a
> 
> demuxing DVB MPEG-TS file 11096_20060404190000.mpg
> !> PID 0x0 (PAT) (0 #1) -> ignored
> !> PID 0x1700 (PMT) (188 #2) -> ignored
> ok> PID 0x1122 has PES-ID 0xE0 (MPEG Video) (376 #3)
> ok> PID 0x1123 has PES-ID 0xC0 (MPEG Audio) (18424 #99)
> -> video basics: 480*480 @ 29.97fps @ 0.6735 (4:3) @ 8000000bps, 
> vbvBuffer 112
> -> starting export of video data @ GOP# 0
> !> dropping useless B-Frames @ GOP# 0 / new Timecode 00:00:00.000
> 2 %
> 3 %
> ...
> 97 %
> 98 %
> 99 %
> 100 %!> 17 frame(s) (408ms) added @ 00:29:18.480
> audio frames: wri/pre/skip/ins/add 73287/0/0/0/17 @ 00:29:18.888 done...
> ---> new File: './11096_20060404190000.mp2'
> 101 %
> summary of created media files:
> .Video (m2v):    52714 Frames    00:29:18.890        
> './11096_20060404190000.m2v'
> Audio 0 (mp2):    73287 Frames    00:29: 18.888    0/0/0/17    
> './11096_20060404190000.mp2'
> => 377,466,279 bytes written...
> -> we have 84 warnings/errors.
> done...    1 collection(s) processed  @ 00:00: 48.091
>  
> mplex -o /video/mythburn/11096_20060404190000.mpg -f 8 
> 11096_20060404190000.m2v ./11096_20060404190000.mp2
> ***********************************
> MythTV BurnDVD stopped due to error
> ***********************************
> Sent UDP/XML packet to IP 255.255.255.255 <http://255.255.255.255/> and 
> port: 6948
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

-- 
____________________________________________________________________
Dipl. Phys. Christian Husemann
RSD EMEA Storage Engineer         	Phone : (+49) 2102 - 4511.633
Cluster                        		FAX   : (+49) 2102 - 4511.672
Sun Microsystems GmbH            	Phone : (+49) 2102 - 4511.0 Zentrale
Brandenburger Strasse 2            	mailto:Husemann at Sun.COM
D 40880 Ratingen            		http  : www.sun.de

Let's just say that if complete and utter chaos was lightning, he'd be 
the sort to stand on a hilltop in a thunderstorm wearing wet copper 
armour and shouting 'All gods are bastards'.



More information about the mythtv-users mailing list