View Full Version : GPL command line M2V transcoder
Pages :
1
2
3
4
5
[
6]
7
8
9
10
11
12
13
timecop
3rd November 2003, 14:28
Originally posted by Eyes`Only
JvD: I'm trying to do this for you all but the ccedata files are being encoded at 70% which won't give you dvdr size. With Nic's help we can hopefully get thru that issue. Use Nic's build if you dont want that VC7 error stuff. Newer VC compilers require users to install extra crap! I thought you could statically compile the dlls with VC7 though...
yeah, great.
another free and simple tool taken over by the pirates, useless features added, just wait until bug reports for non-dvd pirating related bugs will start getting ignored, and then integrate this into another one of your one-click apps, and boom, another useful project down the drain.
For what I was going to use it for, I dont need ifo editing, dvd pirating decss library, reading vob files, er whatever other things that got added.
And it still doesn't properly demux .ts with mpeg2 + AAC
E-Male
3rd November 2003, 16:07
well, there always is someone that complains... no comment on that
IMO there are 3 main targets now [anyone correct me if i missed something ]
-the standalone m2v tarnscoder tool [we already have it, but there still can be some improvements]
-the dvd backup tool [Nic's current work clearly leads there]
-better integration [replacing CCE in DIF4U, NM4U and other tools, hope Nic and Eye's Only can fix the problems there]
lookign forward to what evoluting here, curiously watching this thread...
CU
E-Male
mmgrover
3rd November 2003, 16:13
I tried to link with static libs, But both VC6 and VC7 on my maching didn't like the libdvdcss.lib using static linking :-( and I don't have code for this.
mike
Nic
3rd November 2003, 16:25
@mmgrover: It's from videolan.org, you can download the source for libdvdcss from there :)
@timecop: Well as I said, until you came along, I only had access to one transport stream file. So my motivations for transport stream code isn't as high as yours...also remember at the top of the forum the title is:
"Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion."
Not everyone here is a pirate, and in your e-mail it sounded like you were quite capable of helping with the coding but couldn't be bothered. Didn't motivate me much. But I will eventually add full .ts support and thanks for the clips you offered.
(also thanks TEB for the email and offer of clips :) )
-Nic
mmgrover
3rd November 2003, 17:16
@nic
Would you by any chance have the VC6 project file for that?
mike
Eyes`Only
3rd November 2003, 17:40
timecop PM'd me in Doom9 with a quite hateful and foulmouthed message. Using the word f***<something> over and over doesn't really show me intelligence, BTW...
Great! My alternative was to calculate percentages, then call rejig one file at a time, but use of the ccedata.txt in a more complete fashion is a much more preferred solution than calling multiple instances of Rejig, IMHO.
echooff
3rd November 2003, 17:49
@Nic
Not everyone here is a pirate, and in your e-mail it sounded like you were quite capable of helping with the coding but couldn't be bothered. Didn't motivate me much.
Don't let it get you down. I can't do any of the coding stuff, but if I could , I would. I will, however, stand on my head and bounce up and down if you think it would help. :D :D :D Jsut a little lighthearted humor. The thread seems to be taking a ugly turn. I sure hope not. I am following this thread with great interest.
Rombaldi
3rd November 2003, 18:07
Originally posted by Eyes`Only
What do you mean, "forget it"? Doesn't it already work?
I meant 'don't forget to keep that feature in' as the transcoding quality improvements are added (grin)... Didn't want it to get lost in the wonders that the IFO parsing and other things that are being added (which are GOOD.. no arguement there).
Just sticking my head up as a reminder :D :D :D
Eyes`Only
3rd November 2003, 18:09
I figured that, but then again I was thinking, "What programmer ever removes a useful feature?" hehehe. I don't think you have to worry about this tool remaining multi-functional, bud.
Nic: forgot to add, "Get Well Soon!" :P
mmgrover
3rd November 2003, 18:18
@Eyes`Only
I been noticing another issue, The smaller the file size,
the less accurate the percentage is with ReJig.
I'm still looking at code to figure this out.
mike
for instance a just ReJigged a file that was
258,215,145 bytes and selected 50%.
File ended up 143,164,986 bytes.
Should of been closer to 129,107,572 bytes
It ended up being 55.4%
mike
Doom9
3rd November 2003, 19:21
@timecop: the great thing about the GPL is that at any point you can fork of your own branch and take it into any direction you want. Thus the only answer you'll get from open source developers when complaining about the direction a project is going in, is "so fire up Emacs and get coding if you want to change something" ;)
Quite obviously, the audience has a large influence on where tools are going. You may have noticed that we've established a number of non DVD related forums in the past few months, but so far the DVD crown is still in the large majority. If you're not into coding, maybe you could invest your energy in bringing people here and helping them out (the quality of help you'll get in a forum is a big factor to attracting people), so that the digi TV crowd will eventually have more influence here. Unfortunately, the TV we have at home can only be used to watch DVDs and VHS tapes because there's no cable and we don't have a satellite (and terrestrial TV is useless around here), so I don't have the resources to actually delve into the subject myself and help attract that crowd by writing a couple of guides.
Rombaldi
3rd November 2003, 19:54
Originally posted by Eyes`Only
I figured that, but then again I was thinking, "What programmer ever removes a useful feature?" hehehe.
Haven't worked with many Microsoft products have you :D :D :D :devil:
For what it's worth, I have a (tiny) wishlist in regards to the M2V stream transcoding....
1) drag/drop or open multiple files to the program as 'multiple files' not the file1+file2+file3 way it goes now (the effect may be the same but confused my brain :D ).
2) be able to set EITHER the compression percentage OR the desired output size and let it calculate the other value (ie, if I have a 1845mb file and want the final size to be 1700mb then all I do is enter 1700 and it shows the compression factor of 92% OR I can enter 95% and it shows a compressed size of 1752mb. Obviously if the file need to be demuxed, you can't [easily] set the output size in MB rather than % unless you did it in two passes, one to get the size of the M2V data and extract and the second one to actually ReJig/Demux the file... then again if the possibility of a two-pass ReJig to improve the quality happens, then that's easier to do..
3) being able to set a different compression factor/size on different files easily... the 'Jigger Stack' looking like this -
File Name Input Size Output Size %
--------- ---------- ----------- --
file 1 1845 1700 92
file 2 1845 1752 95
I hope that made sense :confused:
E-Male
3rd November 2003, 20:00
to add one thing: besize percentage and size, also the desired avarage framerate should be a posibilty to enter
hope Nic and the others don't get flooted with feature-requests to much, as this code is getting more and more interest
mmgrover
3rd November 2003, 21:44
Well, I'm proud of what nic and others have done with this program!
So, I bought a domain for it:
www.rejig.org
I'll set it up on the webserver when I get home....
mike
ps: nic, if you have no problem with this, I can post version updates, news, source code, etc etc...
on this site.
mike
E-Male
3rd November 2003, 23:35
nice :)
lighty
4th November 2003, 00:09
oh boy, oh boy, oh boy - I can hardly wait for more advanced feats... :) :) :)
mmgrover
4th November 2003, 00:33
www.rejig.org is up now :-)
mike
Eyes`Only
4th November 2003, 00:38
Nice! You have the downloads switched though.. the source download links to the compiled .exe and vice-versa :P
mmgrover
4th November 2003, 00:45
oops, I fixed it
mike
E-Male
4th November 2003, 01:17
things are taking shape
would it be ok (copyright-wise) to put up a (very) short clip from a DVD plus some transcoded versions, to show how gooŽd ReJig looks with certain sources and transcoding-precentages? (also compared to CCE)
if yes i'd volunteer to do some samples
mmgrover
4th November 2003, 01:36
Ok, there's a links page with a couple of plugs, hehehehe
mike
robshot
4th November 2003, 02:21
Hiya all,
greetings,
to: nic and all the good guys :)
great transcoder!
just tested it with a pal anamorphic dvb episode of Alias (mpg), at 4mbps. setting at 80% yields 706mb from the 990mb original file. and in garden/trees scenes, which should be difficult scenes, it still have nice result. haven't done much test, just this initial testing, and yes, with the combination of speed and quality, hands down all, the next best thing :)
sorry for no technical input, just haven't got enough tests.
cheers,
ps. has any progress achieved for .ts file transcoding? is it really "scary" to open the door for resizing? say, from HD to 720xPAL/NTSC of SD size?
dragongodz
4th November 2003, 03:58
mmgrover - more accuracy should come with measuring CompressionDone compared to CompressionWanted with monitored rate control. that is you measure how much has been done as you go and if it is either not enough or too much you adjust following compression to make it up.
this type of function is essential if the variable compression with payback is used such as i mentioned earlier.
nic - if you are interested in my opinion on that and how it should be implamented in the future let me know.
int 21h
4th November 2003, 04:43
Originally posted by E-Male
things are taking shape
would it be ok (copyright-wise) to put up a (very) short clip from a DVD plus some transcoded versions, to show how gooŽd ReJig looks with certain sources and transcoding-precentages? (also compared to CCE)
if yes i'd volunteer to do some samples
No, it wouldn't be ok... at least in the United States... but you could use movies from www.archive.org...
mrbass
4th November 2003, 06:18
Originally posted by Nic
[
Edit8: By the way, ill make a little GUI for Requant and make it so it can accept PS/TS/ES Streams as well (although it will only output ES) [/B]
MPEG-2 Streams
PS = Program Stream
ES = Elementary Stream
TS = Transport Stream
I was kinda not exactly following along when when people began discussing TS but now I understand. Here's a nice explantion PDF http://www.ismc.nima.mil/vwg/RP_0101_MPEG-2_Streams.pdf
jhmac
4th November 2003, 06:50
Why is there a link to DoItFast4U on the site?
E-Male
4th November 2003, 06:57
why shouldn't it be on the "links" site
mikegun
4th November 2003, 06:59
hi,
just downloaded rejig. I cannot add files. pressing the "add" button will open
another dialog. pressing add again and nothing happens :(
I'm sure this worked already with an older version !
regds.
mikegun
jhmac
4th November 2003, 07:25
@e-male
What does it have to do with Rejig?
E-Male
4th November 2003, 07:40
it's planed to use rejig with DIF4U instead of CCE
jhmac
4th November 2003, 07:58
A shameless plug for software that doesn't support Rejig yet, but no mention of the original author of the Requant software? I think none of this would be possible without the original code!!!
Eyes`Only
4th November 2003, 08:06
Wow, what's with the hostility?
I for one appreciate the mention, but I also agree there should be more links there (Nic's homepage, etc), and I'm sure the author will get to it in time.
Shameless? Well, yeah. Why would there be shame? ;)
jhmac
4th November 2003, 08:12
Oh well just my 2 cents... Back to the topic...
E-Male
4th November 2003, 11:03
Originally posted by jhmac
Back to the topic...
first usefull words today
mikegun
4th November 2003, 13:59
hi,
is my problem mentioned before related to the vb runtime files ?
if so, how do I correctly install them on my system (win98se) ?
rgds.
mikegun
mmgrover
4th November 2003, 14:07
Wow, I goto bed, get up and the sparks fly, ok, so they did't fly...
I added the DoItFast4U link because I currently use it with rejig :-)
Open up the ccedata.txt file pick my desired compression levels, and
wala, Resume with the rest of the big 3 :-)
@mikegun Did you click "Done" after you selected your video files to
close out the Add Dialog?
mike
ps: I am waiting for nic to get better so I can find out the
history of this product to give credit where credit is due...
mike
I plan to add some guides today :-)
mikegun
4th November 2003, 14:16
hi,
pressing "add" just opens another empty window with another "add" button. pressing this button again and nothing happens ?!
rgds.
mikegun
mmgrover
4th November 2003, 14:37
I started the first guide, I hav't resized the images or added text yet, But it should help newbies get started :-)
mike
mmgrover
4th November 2003, 15:58
I update the beginner's guide :-)
Please give me some feed back before I work on the others.
Added Nic's Home page to links page.
Added ReAuthorist to Links page.
I would like to add a "Coming features" page, just not sure what they are?
mike
Hope Nic is ok? Havn't heard from him in a bit...
mmgrover
4th November 2003, 17:13
I created a Windows Installer Setup Version that contains runtime files and is downloadable from Web Site.
(it contains the merge modules for Visual Studio 7)
mike
mikegun
4th November 2003, 17:29
hi,
I tried the installer (couldn't choose folder for installation).
selected typical then. still can not add files :(
rgds.
mikegun
mmgrover
4th November 2003, 17:40
List off what steps you are taking.
What is your OS, and Size of video file?
Nic
4th November 2003, 17:40
(I'm still alive and kicking and reading thru the posts, just busy with work :( )
mmgrover
4th November 2003, 17:42
@nic
Glad to hear that :-)
What are your feelings on web site?
(Let's face it, this is pretty much your baby!)
mike
mikegun
4th November 2003, 17:47
Originally posted by mmgrover
List off what steps you are taking.
What is your OS, and Size of video file?
My OS is 98se.
1) start rejig
2) klick "add"
3) a window/dialog comes up, "add file's" on top. top right I click "add" nothing happens...
mikegun
mmgrover
4th November 2003, 17:49
Sounds like he is not getting the File Open Dialog from the windows Common Controls...
let me look at code there...
mmgrover
4th November 2003, 18:59
@mikegun
download the Installer or the zipped exe and give it a try now :-)
mike
@nic
I forced the file open dialog to version 4 with
dlg.m_pOFN->lStructSize = OPENFILENAME_SIZE_VERSION_400;
in AddDlg.cpp
mikegun
4th November 2003, 19:07
hi,
thanks a lot for the fast response. it is working now :-)
regards,
mikegun
JvD
4th November 2003, 21:21
OK, tried using the DoItFast4U, ReAuthorist and Scenarist to make a movie. Followed the same steps I use to do when I use the "Big 3" but let Rejig do the encoding. Load the CCEdata.txt file in Rejig and get my files there, encode each on eof them and then started ReAuthorist ond pick the working directory. First, I miss one of the PGCs. Why? But hell, i was just going to try so i when on with reauthoring. Loaded the .scp-file created. After a while (when everything seems ready) I just go to layout tab (i think) and fired Scenarist away. Here is my dead end. I get Scenarist error saying something about layput bla bla bla. I doesnt even start author my dvd-files :-( Whats the trick? How do I do? What do I have to do DIFFERENT?
(Ill be back with some more specific info)
mmgrover
4th November 2003, 21:32
@JVD
what was the Scenarist error?
Earlier versions of rejig would miss the last file, what version
you have?
In scenarist, if a video file is missing, you will need to creat it
and select "PlaceHolder->data"
mike
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.