Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Linux > Mandriva

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-02-2008, 10:49 PM
Alan Secker
 
Posts: n/a
ProjectX, mplex and svdauthor

I have been sporadically trying to master the conversion of an .m2t file
created by Kaffeine into a form that can be burned by k3b to DVD that in
turn can be played on a regular DVD player. However I am not sure the
stages that I have executed so far have been handled correctly. My test
file is a recording of The Bourne Supremacy, a 2.1GB .m2t file.

ProjectX generate:
The Bourne Supremacy[1[.mp 57.1 MB
The Bourne Supremacy[1[.$mpL$ 2.0 MB
The Bourne Supremacy[1].$mpR$ 0 MB
The Bourne Supremacy_log.txt 15.4 KB
The Bourne Supremacy.m2v 1.8 GB
The Bourne Supremacy,mp2 171.2 MB
The Bourne Supremacy.$ts$1.pts 225.8 KB
The Bourne Supremacy.$ts$3.pts 541.6 KB
The Bourne Supremacy.$ts$4 2.9 KB
The Bourne Supremacy.$ts$4,pts 0 MB

To run the mplex command line, I put the title name in quotes. i.e.
#mplex -f8 -o "The Bourne Supremacy.vob" ......

The resultant vob file was only 11.MB in size. Does that sound right?
Whether that is right or wrong, I cannot seem to format a dvdauthor command
line that does not give an error message, let alone, output files. Any
pointers will be mos welcome.



Reply With Quote
  #2 (permalink)  
Old 07-06-2008, 08:59 AM
Peter D.
 
Posts: n/a
Re: ProjectX, mplex and svdauthor

on Thursday 03 July 2008 08:49
in the Usenet newsgroup alt.os.linux.mandriva
Alan Secker wrote:

> I have been sporadically trying to master the conversion of an .m2t file
> created by Kaffeine into a form that can be burned by k3b to DVD that in
> turn can be played on a regular DVD player.


I've got part of the solution. .m2t files are a "broadcast" format.
They are expected to have noise, corruptions and missed frames, but
they do have extra information to re-sync things after a problem is
detected. .mpeg files are expected to be mathematically correct
even if some frames are severely degraded, or even completely black.

Kaffeine has an option to default to either format. If you have
already got .m2t files that you want to clean manually mencoder
can do the job. If you can't be bothered typing all of the
options create a shell script. This is what I use;


%cat clean
#! /bin/bash
# to clean errorss...
if [ 1 -ne $# ]
then
echo $0 takes exactly one parameter
exit 1
fi

if [ "$(file "$1")" != "$1: MPEG transport stream data" ]
then
echo $0 expects an MPEG transport stream data
echo \(.mt2\) file as input
exit 1
fi

echo cleaning $1
basename $1 .m2t
mencoder -forceidx -lavdopts er=4 -vc ffmpeg12 -of mpeg -oac copy -ovc
copy "$(basename "$1")" -o "$(basename "$1" .m2t).mpeg"


Next you need something to edit out the ads, change the
resolution, etc. I'm not so sure about all of that.

> However I am not sure the
> stages that I have executed so far have been handled correctly. My test
> file is a recording of The Bourne Supremacy, a 2.1GB .m2t file.

[snip]

Depending on where you live you might or might not have problems
with copyright there.

> The resultant vob file was only 11.MB in size. Does that sound right?

[snip]

11 MB for a movie? Not even close.


--
sig goes here...
Peter D.
Reply With Quote
  #3 (permalink)  
Old 07-06-2008, 12:19 PM
Alan Secker
 
Posts: n/a
Re: ProjectX, mplex and svdauthor

Peter D. wrote:

//

Thanks Peter. I tried your script as below but that generaed the
error message:

[root@localhost Videos]# cleanm2t The_Bourne_Supremacy.m2t
cleaning The_Bourne_Supremacy.m2t
The_Bourne_Supremacy
MEncoder 1.0-1.rc2.10plf2008.1-4.2.2 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) 64 Processor 3700+ (Family: 15, Model: 39, Stepping: 1)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Error parsing option on the command line: -ovc

Regards

Alan

Reply With Quote
  #4 (permalink)  
Old 07-06-2008, 02:44 PM
Peter D.
 
Posts: n/a
Re: ProjectX, mplex and svdauthor

on Sunday 06 July 2008 22:19
in the Usenet newsgroup alt.os.linux.mandriva
Alan Secker wrote:

> Peter D. wrote:
>
> //
>
> Thanks Peter. I tried your script as below but that generaed the
> error message:
>
> [root@localhost Videos]# cleanm2t The_Bourne_Supremacy.m2t
> cleaning The_Bourne_Supremacy.m2t
> The_Bourne_Supremacy
> MEncoder 1.0-1.rc2.10plf2008.1-4.2.2 (C) 2000-2007 MPlayer Team
> CPU: AMD Athlon(tm) 64 Processor 3700+ (Family: 15, Model: 39, Stepping:
> 1) CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
> Compiled with runtime CPU detection.
> Error parsing option on the command line: -ovc


There is not supposed to be a newline after the "-ovc".
Check that "copy" etc. is on the same line as "-ovc".

If that does not work try all of this (as one line);
mencoder -forceidx -lavdopts er=4 -vc ffmpeg12 -of mpeg -oac copy
-ovc copy The_Bourne_Supremacy.m2t -o The_Bourne_Supremacy.mpeg"


--
sig goes here...
Peter D.
Reply With Quote
  #5 (permalink)  
Old 07-07-2008, 09:27 PM
Alan Secker
 
Posts: n/a
Re: ProjectX, mplex and svdauthor

Peter D. wrote:

> on Sunday 06 July 2008 22:19
> in the Usenet newsgroup alt.os.linux.mandriva
> Alan Secker wrote:
>
>> Peter D. wrote:
>>
>> //
>>
>> Thanks Peter. I tried your script as below but that generaed the
>> error message:
>>
>> [root@localhost Videos]# cleanm2t The_Bourne_Supremacy.m2t
>> cleaning The_Bourne_Supremacy.m2t
>> The_Bourne_Supremacy
>> MEncoder 1.0-1.rc2.10plf2008.1-4.2.2 (C) 2000-2007 MPlayer Team
>> CPU: AMD Athlon(tm) 64 Processor 3700+ (Family: 15, Model: 39, Stepping:
>> 1) CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
>> Compiled with runtime CPU detection.
>> Error parsing option on the command line: -ovc

>
> There is not supposed to be a newline after the "-ovc".
> Check that "copy" etc. is on the same line as "-ovc".
>
> If that does not work try all of this (as one line);
> mencoder -forceidx -lavdopts er=4 -vc ffmpeg12 -of mpeg -oac copy
> -ovc copy The_Bourne_Supremacy.m2t -o The_Bourne_Supremacy.mpeg"
>
>

Thanks Peter. It certainly generates an mpeg file but I am just as far away
as ever. I can now generate .mpeg files and .vob files but I cannot seem to
get from eithe of those to something the k3b will burn. I've fiddled with
qdvdauthor but cannot get it to do what I want. The real problem is that I
don't know what I am doing. It's a black art to me.

Regards, Alan


Reply With Quote
  #6 (permalink)  
Old 07-14-2008, 02:50 AM
Peter D.
 
Posts: n/a
Re: ProjectX, mplex and svdauthor

on Tuesday 08 July 2008 07:27
in the Usenet newsgroup alt.os.linux.mandriva
Alan Secker wrote:

[snip]
> Thanks Peter. It certainly generates an mpeg file but I am just as far
> away as ever.


No, you are one small step towards your target. Unfortunately I'm
not an expert. I'm not certain about what comes next, so when you
work it out post a HOWTO here. I think that the next step is to
edit out the ads.

> I can now generate .mpeg files and .vob files but I cannot
> seem to get from eithe of those to something the k3b will burn. I've
> fiddled with qdvdauthor but cannot get it to do what I want. The real
> problem is that I don't know what I am doing. It's a black art to me.
>
> Regards, Alan


--
sig goes here...
Peter D.
Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Linux > Mandriva


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 05:08 AM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109