PDA

View Full Version : RipBot264 v1.18.3 - Simple and easy to use GUI -> IPOD . PSP . CONSOLES . BLURAY


Pages : 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

Atak_Snajpera
19th January 2008, 13:36
LaPointe

Uninstall AviSynth , FFDShow , Haali Media Spliter and do reboot.

Download and install:
AviSynth 2.5.7
http://sourceforge.net/project/showfiles.php?group_id=57023&package_id=72557

FFDShow 2008-01-17
http://sourceforge.net/project/showfiles.php?group_id=173941

Haali Media Splitter
http://mirror01.x264.nl/x264/MatroskaSplitter.exe

survivant001
19th January 2008, 13:41
bug ?

I have 1.8.2. When I open a .avi video : xvid, audio ac3. even if I choose .mkv I only have ogg and AAC as audio options. THere is a icon AC3 over the audio listbox.

Audio #0
Codec : AC3
PlayTime : 30mn 4s
Bit rate : 448 Kbps
Bit rate mode : CBR
Channel(s) : 2 channels
Channel positions : L R
Sampling rate : 48 KHz

LaPointe
19th January 2008, 13:58
LaPointe

Uninstall AviSynth , FFDShow , Haali Media Spliter and do reboot.

Download and install:
AviSynth 2.5.7
http://sourceforge.net/project/showfiles.php?group_id=57023&package_id=72557

FFDShow 2008-01-17
http://sourceforge.net/project/showfiles.php?group_id=173941

Haali Media Splitter
http://mirror01.x264.nl/x264/MatroskaSplitter.exe
I've done it, but I've always the same problem... That's very strange !

Atak_Snajpera
19th January 2008, 14:13
I have 1.8.2. When I open a .avi video : xvid, audio ac3. even if I choose .mkv I only have ogg and AAC as audio options. THere is a icon AC3 over the audio listbox.

Temporary solution:
Use AC3Filter or demux audio using VirtualDubMod

Atak_Snajpera
19th January 2008, 14:19
I've done it, but I've always the same problem... That's very strange !

Once your job is ready to encode try to find RipBot264tmp directory. Inside there should be another folder Job1 with some files. Edit all .cmd files by adding pause in notepad. Manually execute those files and make a screenshot if you get an error message.

survivant001
19th January 2008, 14:26
Temporary solution:
Use AC3Filter or demux audio using VirtualDubMod

I have a workaround, but I posted a message to flag the bug :)

LaPointe
19th January 2008, 15:09
Once your job is ready to encode try to find RipBot264tmp directory. Inside there should be another folder Job1 with some files. Edit all .cmd files by adding pause in notepad. Manually execute those files and make a screenshot if you get an error message.
With this method, I had errors about an unfinded directory, so I've moved the Ripbot directory under the root of my C: disk, and then it works for the video encoding !
For the audio, I had one error at the launch of BePipe, but after few researches, I found that I just had to download and install the .NET Framework for BePipe.
It works very well finaly !

Thanks a lot for this usefull tool !

(sorry for my bad english, I'm French...)

Atak_Snajpera
19th January 2008, 15:16
I forgot that AviSynth doesn't like when path contains notional letter like ą,ń,ż,ź and so on.

sorry for my bad english, I'm French...
no worries :) I'm Polish...

In 1.8.3 audio will be automatically demuxed from AVI if AC3 is detected.

deets
19th January 2008, 23:32
would it be possible to add a little drop down for the priority, next to say the shut down when finished tick box, just to make it easier for us who like to have it on normal priority in case other apps load up and slow down the long encodes :)

Atak_Snajpera
19th January 2008, 23:35
no problem

weaver4
20th January 2008, 19:12
OK, tested latest version.

Can't seem to find how to do IVTC anymore so the framerate came out at 29.97Hz, not good.

Did a size comparison of Single Pass crf=21, audio 128khz cbr, the results are:

StaxRip: 834K
RipBot: 1535K (almost double)

Xvid Q3.0: 1022 (Just for comparison).

Atak_Snajpera
20th January 2008, 21:44
How come you get bigger size with AQ????
I always get about from 10% to 20% lower size with AQ than without!

source
http://video.stage6.com/1203891/.divx

1080p level 4.1 128 AAC

crf 20 with aq = 118 MB
crf 20 without = 131 MB

weaver4
20th January 2008, 21:48
I don't know; maybe the filesize would be be 1700K without it.

What is the deal with IVTC?

thundar
20th January 2008, 21:55
So where is the PAUSE button for this nice, little app?
Or am I missing something here?
:thanks:

Atak_Snajpera
20th January 2008, 21:56
What is the deal with IVTC?

http://img246.imageshack.us/img246/9231/new1ti3.th.png (http://img246.imageshack.us/my.php?image=new1ti3.png)

You have to select TDecimate -> 23.976 but remember this function is only enabled if source is 29.97 or 59.94.

froggy1
20th January 2008, 21:58
a bit off topic here, but when you IVTC a 59.94 fps video, which frame rate do you get after the IVTC?

brvalente
20th January 2008, 23:00
If encode a video with subtitles in the MKV container, and then use MKV2VOB to make it readable from the GAMEOS of PS3, the subtitles will appear?

Atak_Snajpera
20th January 2008, 23:04
the subtitles will appear?

nope...

Sudz
21st January 2008, 00:17
Thanks for the great program!
Been using it to move my DVDs to my PSP for a few weeks now and had a few comments you can of course take or leave...

- I hate that I have to sit around for 3-5 minutes while it demuxes the VOBs so you can determine the end file size. I don't care what the size is but I would like to be able to pick a bunch of files to batch without waiting every time. Make 'estimate size' an option.
- If there are already d2v files with the same name use them instead of recomputing them in the temp directory
- Even after I pick PSP I have to set the cropping and max bandwidth? There should be profiles for the video settings as well. For me I would make a 'TV -> PSP' and 'Movie -> PSP' profile.
- Switching jobs, pausing and or canceling would be nice!
- When you pick output.mp4 as the file to save it shouldn't change it to output.mp4.mp4
- Why doesn't it work from mp4 to mp4? May just be my install...

Thanks again!

weaver4
21st January 2008, 02:13
http://img246.imageshack.us/img246/9231/new1ti3.th.png (http://img246.imageshack.us/my.php?image=new1ti3.png)

You have to select TDecimate -> 23.976 but remember this function is only enabled if source is 29.97 or 59.94.

I have a source that is 29.97 but no TDecimate option is given the only options shown are:

>Do not Interlace
>Top Field First
>Bottom Field First

Atak_Snajpera
21st January 2008, 13:15
>Do not Interlace
>Top Field First
>Bottom Field First

Keep looking :)

Atak_Snajpera
21st January 2008, 13:29
- When you pick output.mp4 as the file to save it shouldn't change it to output.mp4.mp4

It will be easy to fix

- Why doesn't it work from mp4 to mp4? May just be my install...

Install new Haali Media Splitter , FFDShow ...

I hate that I have to sit around for 3-5 minutes while it demuxes the VOBs so you can determine the end file size. I don't care what the size is but I would like to be able to pick a bunch of files to batch without waiting every time. Make 'estimate size' an option.

Bad news. I'm not going to change that. If you are not satisfied use other tool. Simple...

Even after I pick PSP I have to set the cropping and max bandwidth?

You have automatic cropping. You have adaptive resize profiles and you still complaining. It's just few clicks...

weaver4
21st January 2008, 17:30
Keep looking :)

OK, very cute. I loaded RipBot264 onto another computer and the little arrows buttons on the bottom of the picture-properties page appeared. On my first computer they do NOT show up. It could be a resolution problem on that computer which push the buttons off the form. I will investigate more tonight.

weaver4
21st January 2008, 17:49
Personally I think it would be great that when you have everything ready to go that you could save the setup in a Template. I find myself setting up the same thing over and over again. Things I would include are:

> Video Profile
> Audio Profile
> Normalize
> Mode
> Kbps
> CRF
> Deinterlace
> Crop
> Resize
> Width
> Decimate
> Colors
> Output Speed

BTW: What version of Delphi are you using? I have written some code in Delphi, love the language.

Sudz
21st January 2008, 22:17
You have automatic cropping. You have adaptive resize profiles and you still complaining. It's just few clicks...
I thought the whole point was to save the clicks? That's all that RipBot actually does right? Save me clicks... :-p
I didn't know there was automatic cropping or resize profiles. I've been setting them every time I start another batch.

Not complaints. Just feedback. If you don't change it I'll either suck it up, find something else or write my own. Life is hard. :)
But not even asking for what I would want would be dumb!

Atak_Snajpera
22nd January 2008, 01:37
BTW: What version of Delphi are you using? I have written some code in Delphi, love the language.

I've been using Delphi 7. I will have to switch to 2005 because help is not working under Vista :(


> Deinterlace
> Decimate
> Colors
> Output Speed

As the matter of fact only those settings are not remembered . Try to guess why :)

thundar
22nd January 2008, 01:41
I ask where the PAUSE button is and the author ignores me. Strange. :confused: I guess he doesn't want (or can't) implement it?

Also, i encoded a divx movie to h.264 with external subs. The result- out of sync. Now, why would that be?

I'm beginning to think this app isn't so nice, afterall.

Atak_Snajpera
22nd January 2008, 01:48
I ask where the PAUSE button is and the author ignores me. Strange. I guess he doesn't want (or can't) implement it?

I will have to do some research so be patient

Also, i encoded a divx movie to h.264 with external subs. The result- out of sync. Now, why would that be?

Did you check synchronization in preview?

I'm beginning to think this app isn't so nice, afterall.

Nothing is perfect. Remember that :)

deets
22nd January 2008, 04:19
I ask where the PAUSE button is and the author ignores me. Strange. :confused: I guess he doesn't want (or can't) implement it?

Also, i encoded a divx movie to h.264 with external subs. The result- out of sync. Now, why would that be?

I'm beginning to think this app isn't so nice, afterall.

feel free to go make your own that you can release and allow people to critique :)

LaPointe
22nd January 2008, 06:42
Did you check synchronization in preview?

I've just encoded a mkv to mp4 for PS3 with an external subtitle file (*.srt), and they are out of synch too.

When I play the original mkv file in MediaPlayer Classic with these subtitles, there is no synch issues. (I'm using the VobSub DirectShow filter)

Atak_Snajpera
22nd January 2008, 12:28
Did you check synchronization in preview? (in RipBot)

http://img301.imageshack.us/img301/4935/new1sh2.th.png (http://img301.imageshack.us/my.php?image=new1sh2.png)

Change default 25 value to 23.976 or 29.97

LaPointe
22nd January 2008, 12:46
No, I didn't... and my video is at 23.976fps :rolleyes:
That explains the synch issue !

Thanks a lot !

LCtheDJ
23rd January 2008, 19:22
Hello guys !

I'm trying to convert one mkv file (x264 720p) with ripbot for my PS3 but I don't manage it...

I add a new job with the file, and when I press the start button, the job is immediatly indicated as *DONE* but nothing append in reality.
I really don't understand where is the problem...
It is the same when I try with a simple avi file !

Thanks in advance for your replies !

I had the same happen to me with RipBot264 v.1.8.3. It started working when I replaced the supplied version of x264.exe with one I had from another source.

Atak_Snajpera
23rd January 2008, 22:12
In his case the problem was related with notional characters

check this build
http://files.x264.nl/AQ/x264.721.dark.aq.rdrc.0.45.exe

LCtheDJ
23rd January 2008, 22:38
In his case the problem was related with notional characters

check this build
http://files.x264.nl/AQ/x264.721.dark.aq.rdrc.0.45.exe

Thank you! This one works.

Also, thanks for writing RipBot264 and making it available to us.

reckzeraw
24th January 2008, 08:45
Question... I've been running round n searching hundreds of forums and im just plain confused to the point that im just confused of being confused!

I have a dvdrip.mpg and i want to convert to ps3 retaining 5.1 audio. So i select the file, use profile (level 4.1 HD Ps3) Audio profile (5.1 CT AAC-HE 192kbps) Mode (2pass 1536kbps) Save as Mpeg4.

So this should output a mp4 with 5.1? Baring in mind i have to have a compatible aac sound system that can output this?
What is the best settings?? Fast-ish encode time with good picture keeping 5.1? Also if i dont have a receiver with AAC support can i keep the audio in its native 5.1 format and only encode/compress .mpg to mp4?

Cant thank you enough for an awesome prog!!!! Its the closest i've got to 5.1 mp4 sofar!!

weaver4
24th January 2008, 20:24
I've been using Delphi 7. I will have to switch to 2005 because help is not working under Vista :(


> Deinterlace
> Decimate
> Colors
> Output Speed

As the matter of fact only those settings are not remembered . Try to guess why :)

I wanted Templates because I use RipBot264 to make backups for my PopcornHour (HP@L4.1 640Width Q21) and for my iPod (BP@L3.0 320 Width, Q24). So with a template it could remember the settings for both.

Atak_Snajpera
24th January 2008, 22:14
reckzeraw
if you want 5.1 sound on PS3 you should leave original audio and use mkv container instead of mp4. Next step will be remuxing to vob. (mkv2vob)

arrarro
25th January 2008, 21:45
hi,
first of all thank you for this awesome prog!
I have a little problem: I upgraded ripbot from 1.8 to 1.8.3. I use ripbot mainly to convert divx tv episodes (like LOST, Prison Break etc) into mp4 (h264) files to be seen on my iPod touch. Since I am totally noob with these conversion programs I just select the ipod touch profile with 2 pass and 768 kbps bit rate. Now the problem is that using the latest versions of ripbot I have this message at the very beginning of the created video file: "Warning: Nothing to Output Bframe decoder Lag". What does this error mean? everything seems fine with the videos but this message is at the very start of every single video converted!

Moreover I would like to know if there is a ripbot extended guide to learn all the settings meaning.
Can you suggest how to set the program to get the best possible quality for ipod touch videos? (even if conversion process takes more time, I do not care...)

last question: I downloaded the new version of x264, the file is x264.721.dark.aq.0.47.exe, should I rename it x264.exe and overwrite the one in the TOOLS dir of ripbot to use it? is this enough to improve the overall quality of my converted videos?
thank you very much for your patience if you will be so kind to answer to my questions :thanks:

dish
25th January 2008, 22:19
Ahem. :)
RipBot stopped working.
Just tested:
1.6.3 & 1.6.4 - work (now I'm not sure if I've used 1.6.5+ versions to actually encode anything).
1.6.5-9 & 1.7.0 don't do =====>ISO after 2pass (i don't have file after encoding).
1.8.3
Can't transcode mp4 (preview don't work).
After audio encoding it writes that I don't have pthreadGC2.dll (should I?).
I don't know if 1.8.3 is doing =====>ISO.
I have AS 2.5.7, latest FFD 2008-01-18 & Haali (from CCCP).
Any ideas?

Atak_Snajpera
25th January 2008, 23:10
I downloaded the new version of x264, the file is x264.721.dark.aq.0.47.exe, should I rename it x264.exe and overwrite the one in the TOOLS dir of ripbot to use it?

Yes. Old file must be overwriten.

have this message at the very beginning of the created video file: "Warning: Nothing to Output Bframe decoder Lag"

replace old x264.exe with x264.721.dark.aq.0.47.exe and try again.

Can you suggest how to set the program to get the best possible quality for ipod touch videos?
There is no room for improvements. You get maximum what iPod supports.

Atak_Snajpera
25th January 2008, 23:19
After audio encoding it writes that I don't have pthreadGC2.dll (should I?).

replace old x264.exe with this
http://files.x264.nl/AQ/x264.721.dark.aq.rdrc.0.45.exe

Can't transcode mp4 (preview don't work).
Do not use codec packs! Uninstall CCCP.

Install generic build rev1805
http://sourceforge.net/project/showfiles.php?group_id=173941&package_id=199416

Reinstall Haali Media Splitter
http://haali.cs.msu.ru/mkv/MatroskaSplitter.exe

Furiousflea
26th January 2008, 02:57
Hi there, just discovered this superb program tonight. Thanks ever so much....:)

I have couple questions though...

1. Is it a good idea to use the "Normalize" function and pump it up to 200%? I ask because I haven't owned a PSP for ages and remember it had an awful problem in that the volume was limited and even at full it was way too quiet in busy places? (I've got a PSP Slim being delivered so can't test sorry)

2. I'm a little confused about encoding NTSC DVDs, I have some anime that is 29.97 interlaced. Before using this program I used nero recode and it always wanted to do ivtc and take it down to 23.976, however I found the resulting video would play very jerky with a kinda jerky feel on my PC and even worse on my Xbox 360. Kinda looked more like film when it should look like video with that "fluid" feeling missing?

Is there a solution to that? I would just like to know what the best way is for the PSP and also for the Xbox 360 so I can keep that fluid feeling? Do deinterlace? not deinterlace? keep 29.97fps? Double to 59.94fps?....

Sorry to go on ;) and thanks again for a great program and any help i may receive.

DJ_Price
26th January 2008, 07:54
Hi again, just updated to the latest version (1.8.3) & now I'm getting a problem which didn't happend with 1.7.0. When I try to open a video it shows "Video cannot be decoded" so I tried a video with AC3 in as it is automatically done & that loaded fine. All the other videos I tried have mp3 audio tracks. I've not changed anything else on my computer, just put the latest version on it & that is it.

dish
26th January 2008, 10:29
Thanks. DLL problem is no more.
Now I need to uninstall CCCP. :(

Atak_Snajpera
26th January 2008, 23:04
1. Is it a good idea to use the "Normalize" function and pump it up to 200%? I ask because I haven't owned a PSP for ages and remember it had an awful problem in that the volume was limited and even at full it was way too quiet in busy places? (I've got a PSP Slim being delivered so can't test sorry)


Use it only for PSP

. I'm a little confused about encoding NTSC DVDs, I have some anime that is 29.97 interlaced. Before using this program I used nero recode and it always wanted to do ivtc and take it down to 23.976, however I found the resulting video would play very jerky with a kinda jerky feel on my PC and even worse on my Xbox 360. Kinda looked more like film when it should look like video with that "fluid" feeling missing?

Use Deinterlace function Top Field First -> 29.97

Furiousflea
26th January 2008, 23:49
Thank you for your reply :)

Could I just ask one more thing, would you recommend to have normalize set to 200% then at all times considering I will be playing the files on a PSP?

Is it essential for loud environments with headphones?

Atak_Snajpera
26th January 2008, 23:57
Could I just ask one more thing, would you recommend to have normalize set to 200% then at all times considering I will be playing the files on a PSP?

If I encode only for PSP I always use 200%

Is it essential for loud environments with headphones?

No it is not.

Furiousflea
27th January 2008, 00:49
Thanks right thats good to hear....

Hmmm slight problem as I've been encoding for 24 hours doing a load of dvds at 100%....don't spose you could suggest a demuxer\muxer and audio encoder for 5.1wma pro could you (format my hd dvd -> wmvhd rips are in)

really sorry to trouble you.

I also noticed there is a slight synching problem with the audio and the video that seems pretty consistent amongst all the encodes from ripbot....no solution is there for that by any chance....

:thanks::thanks::thanks:

Furiousflea
27th January 2008, 00:56
....last last question :)

Someone on here told me that if you want to maintain the smooth motion when encoding video like most tv soap operas for example (as opposed to film) That the only way to keep the video fluid and not look film like is to deinterlace and then encode at double the frame rate, so like for PAL material that would be 50 frames per second?

Is this true? Is there a way to encode and keep the material interlaced and therefore get it to play fluid and oiley like video does?

I hope you know what i mean, its a bit hard to explain, you know that "live action" type look. You can see it when you watch "making of" type documentaries for films when they show you the stunts and stuff before post production and the conversion to film?

Cheers again :)

Atak_Snajpera
27th January 2008, 01:03
so like for PAL material that would be 50 frames per second?

Do you really think PSP supports 50 fps ? :)

Furiousflea
27th January 2008, 01:23
Do you really think PSP supports 50 fps ? :)

lol well no of course not ;)

...But the Xbox 360 might :)

...Did you understand what I was on about with all that, wouldn't blame you if you didn't, thanks for any insight.

Gotta say there's some people here earlier in the thread who're incredibly ungreatful. Don't listen to them, they'd be the same whatever it was.

Furiousflea
27th January 2008, 01:26
When I said double the frame rate, I meant by blending the fields across 2 frames, which is how the motion appears smooth on a TV when we watch the soap programs?

Is this not possible with progressive content, and thats why I asked about doing interlaced encoding. I noticed nero offers an option for this but it didn't really help much....

Im barking up the wrong tree aren't I?

DJ_Price
27th January 2008, 01:27
It now seems it is any video that won't work, not just videos with mp3 as I tried the video that had AC3 & it wouldn't open after it did first time around.

survivant001
27th January 2008, 02:55
bug in 1.8.4

I open my movie (yep.. the famous one) it's in a mkv. The audio input was not populated.

it's a DTS audio track.

I had to extract the audio track from the mkv, and ripbot detect it correctly after that.

another thing. You should add in screen in the preview script.. Be able to edit the command line. Can be usefull for a specifiq encodage. (the profile screen doesn'T have advance feature.. like keyint, vbv...)

PS. My frist test with 1.8.4 with my movie. Output .ts, size = 4200. 2 pass. I'll check if I'm able to import the 264 into scenarist. To see if I will got my buffer underflows error. keep you inform

Atak_Snajpera
27th January 2008, 07:40
I open my movie (yep.. the famous one) it's in a mkv. The audio input was not populated.


Audio stream must be labeled as track2
eg. Track1 : v_AVC
Track2 : a_AC3

BTW I will add m2ts muxing as soon as I get back home from work

survivant001
27th January 2008, 14:01
@Atak_Snajpera

shit you forgot the add pthreadGC2.dll in your package.. my encore this night didn't start because of that :(

survivant001
27th January 2008, 15:28
Audio stream must be labeled as track2
eg. Track1 : v_AVC
Track2 : a_AC3



that's mean that ripbot is not able to choose dts track by itself ?

can you use mediainfo and validate the audio track
Audio #0
Codec : DTS
Channel(s) : 6 channels
Sampling rate : 48 KHz
Language : English

if contains DTS || AC3 .... then you import it and add 5.1 audio sound options.

survivant001
27th January 2008, 17:01
@ Atak_snajpera

I try ripbot264 1.8.4 to encore my movie.. my test is not completed.. but here what I got in the command prompt.

D:\DVD-convertion\encode\temp\RipBot264temp\job1>"D:\DVD-tools\tools\RipBot264v1
.8.4\tools\x264\x264.exe" "job1.avs" --pass 2 --bitrate 7224 --stats ".stats" --
level 4.1 --sar 1:1 --nal-hrd --vbv-bufsize 9000 --vbv-maxrate 25000 --filter
0,0 --aq-strength 1 --aq-sensitivity 0 --ref 3 --mixed-refs --bframes 3 --
b-rdo --bime --weightb --direct auto --subme 6 --trellis 1 --analyse p8x8,b8x
8,i4x4,i8x8 --8x8dct --me umh --threads auto --thread-input --progress --no-psn
r --no-ssim --output "video.264"
avis [info]: 1280x720 @ 23.98 fps (109920 frames)
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX MMXEXT SSE SSE2 SSE3 3DNow!
x264 [warning]: Error: 2pass curve failed to converge
x264 [warning]: target: 7224.00 kbit/s, expected: 6601.91 kbit/s, avg QP: 10.003
0
x264 [warning]: try reducing target bitrate or reducing qp_min (currently 10)
encoded frames: 47706/109920 (43.4%), 8.30 fps, eta 2:04:54

that's why I change to qp_min to 7 instead of the default. I didn't remember that this message was print in the command prompt. Maybe it has been added in a recent build.


the result output file is 2.5gigs instead for 4.2 (target size)

Atak_Snajpera
27th January 2008, 20:51
that's mean that ripbot is not able to choose dts track by itself ?

RipBot assumes that second track is audio not video. If you demux audio using mkvextract you need to specify which track you want to demux.

can you use mediainfo and validate the audio track
Audio #0
Codec : DTS
Channel(s) : 6 channels
Sampling rate : 48 KHz
Language : English

if contains DTS || AC3 .... then you import it and add 5.1 audio sound options.

I need to find out how to detect on which track is audio. In most cases Video is on first track and audio is on second.

shit you forgot the add pthreadGC2.dll in your package..
How come I have no problems without that .dll?

survivant001
27th January 2008, 21:13
How come I have no problems without that .dll?

it's a dll used by x264.

I use XP x64 clean install. I doesn't have the dll in my system32 so I need it in the x264 folder.

and for mediainfo.

they others programs does a "search" in each track.. if the track contains dts are ac3.. bingo it's a audio track.

DJ_Price
27th January 2008, 21:46
Any idea Atak_Snajpera?

Atak_Snajpera
27th January 2008, 21:47
they others programs does a "search" in each track.. if the track contains dts are ac3.. bingo it's a audio track.

Ok I've just found solution - mkvinfo.exe :)

Any idea Atak_Snajpera?

New version should be available by midnight.

Bigmango
28th January 2008, 03:06
Hey Atak, you have added the m2ts muxing, nice. Trying it right now :)

Could you make it output an AVCHD structure directly using tsremux ?

DJ_Price
28th January 2008, 05:22
Got the new version & I get this error now:-

http://i180.photobucket.com/albums/x207/djp2k8/01-2.png

Atak_Snajpera
28th January 2008, 08:01
Check to make sure you have the required codec
This is your answer :) Just like I fought. Missing audio codec.

Could you make it output an AVCHD structure directly

Should be ready by midnight :)

DJ_Price
28th January 2008, 09:12
Check to make sure you have the required codec
This is your answer :) Just like I fought. Missing audio codec.

The thing is though, I have the codec installed, well according to gspot I do :confused: The audio track is just mp3.

Atak_Snajpera
28th January 2008, 17:39
The thing is though, I have the codec installed, well according to gspot I do The audio track is just mp3.

AviSynth doesn't lie :) What is your file extension .avi or .divx?

DJ_Price
28th January 2008, 18:00
AviSynth doesn't lie :) What is your file extension .avi or .divx?

It is avi.

EDIT: When trying now, avs2avi.exe crashes, then it shows the error window in the screenshot.

Atak_Snajpera
28th January 2008, 18:29
Try to remux avi to mkv. Use mmg.exe in /tools/mkvtoolnix

send me a sample

Furiousflea
28th January 2008, 22:09
Hmmm just need some clarification here...

I'm not sure what interlace setting to use when encoding various sources...

I have a DVD that is 29.97fps NTSC (anime movie - howls moving castle)...

When I encode without de-interlacing, the motion in it is smooth during pans, and scrolling of text for the credits, but there's a definate blurring in the image, when you pause you can sometimes see two versions of part of the image (as you would expect).

However when I do enable de-interlacing 29.97fps, the image looks a lot better quality but there is a horrible jitter during panning and the motion feels horrible and jumpy...

Which one should I go for?

Should I try "TDecimate" to bring it down to its original film frame rate? Would this look better on the PSP...

I've got a similar situation with Xbox 360, however that can't output a 23.98fps frame rate directly to the screen so using TDecimate would only make it worse I assume?

I'm also unsure what to do with PAL 25fps DVDs?

Is this jitter normal and unavoidable, or is there something I can do, am I chosing the wrong options?

Many thanks for any help :) Rob

Atak_Snajpera
28th January 2008, 22:16
When I encode without de-interlacing, the motion in it is smooth during pans, and scrolling of text for the credits, but there's a definate blurring in the image, when you pause you can sometimes see two versions of part of the image (as you would expect).

Now you know Why I suggested you to de-interlace

However when I do enable de-interlacing 29.97fps, the image looks a lot better quality but there is a horrible jitter during panning and the motion feels horrible and jumpy...

Enable also TDecimate!

I've got a similar situation with Xbox 360, however that can't output a 23.98fps frame rate directly to the screen so using TDecimate would only make it worse I assume?

I'm also unsure what to do with PAL 25fps DVDs?


Small guide 29.97->23.976->25:
1) Enable Deinterlace
2) Enable TDecimate
3) Select Output Speed to 25
4) In A/V same length section change CUT to STRETCH.
(audio will be stretched to maintain A/V synchronization after step 3)

Furiousflea
28th January 2008, 23:20
If this works....

I could kiss you :)

LCtheDJ
29th January 2008, 00:28
I'm having a problem with v1.8.4 that I don't have with v1.8.3:

When I enter a location and filename for the output file, the last backslash is left out of the address.

Example:
I enter C:\path\filename.mp4

I get C:\pathfilename.mp4

Furiousflea
29th January 2008, 00:35
Righty I'm nearly there...

So, ALL DVD content as long as its not already at 23.976fps on the original DVD should be de-interlaced?

Film material if its from an NTSC DVD should be de-interlaced and then TDecimated -> 23.976?

NTSC material that I want to play on the Xbox 360 (to get rid of jitter) should be de-interlaced, TDecimated, then streched to 25fps (providing its film material, if its just video, then it should just be de-interlaced to 29.97fps)

ALL PAL DVDs should be de-interlaced? (film and video....don't think film is ever stored at 23.976fps on PAL DVDs?)

...Is that all correct?

Thanks

Atak_Snajpera
29th January 2008, 00:36
When I enter a location and filename for the output file, the last backslash is left out of the address.

Example:
I enter C:\path\filename.mp4

I get C:\pathfilename.mp4
Yes I've discovered that problem and It's been already fixed in 1.8.5 I still need to make few tests before I release new version. Give me an hour :)

Furiousflea
29th January 2008, 00:37
Finally (honest)...Is there a program that can parse a vob file and determine if it truly is film\video material?

For example, I have some futurama DVDs that seem to run at a film frame rate but its hard to tell as its animation and naturally would look like that?

Atak_Snajpera
29th January 2008, 00:54
Righty I'm nearly there...

So, ALL DVD content as long as its not already at 23.976fps on the original DVD should be de-interlaced?

Film material if its from an NTSC DVD should be de-interlaced and then TDecimated -> 23.976?

NTSC material that I want to play on the Xbox 360 (to get rid of jitter) should be de-interlaced, TDecimated, then streched to 25fps (providing its film material, if its just video, then it should just be de-interlaced to 29.97fps)

ALL PAL DVDs should be de-interlaced? (film and video....don't think film is ever stored at 23.976fps on PAL DVDs?)

...Is that all correct?

Deinterlace should be used ONLY if you see interlace in preview!

In next step you will have check if you have repeated frames. The best way to do that is to rewind to Credits. Then skip frames one by one using cursors on keyboard. If some frames are repeated use TDecimate.

TDecimate will give you 23.976. If XBOX360 does not support 23.976 then you apply method in my previous post. (Step 3 and 4)

survivant001
29th January 2008, 02:34
@Atak_Snajpera

ripbot 1.8.5

#1 - still doesn't find my dts track in my mkv.

Question. for the target size DVD5. I must choose 4480 in the Lock Size ? . (PS. I choose bluray structure output)

DJ_Price
29th January 2008, 03:39
Try to remux avi to mkv. Use mmg.exe in /tools/mkvtoolnix

send me a sample

Tried this & it's encoding now & no problems yet. What do you mean by sample?

Ajax_Undone
29th January 2008, 06:32
WOW so there isn't an installer??? No! well there is one now!!!

:rolleyes: Figured it could use one...

http://www.megaupload.com/?d=KKOYS5HY
This exe dose not install FFMpeg, Haali splitter or AVIsynth yet... Give it time... These will be included soon...


Have fun...:devil:

Atak_Snajpera
29th January 2008, 08:12
Tried this & it's encoding now & no problems yet. What do you mean by sample?

Never mind. Problem solved.

#1 - still doesn't find my dts track in my mkv.

Question. for the target size DVD5. I must choose 4480 in the Lock Size ? . (PS. I choose bluray structure output)

Not fixed yet.

Yes. Select 4480. However Bitrate will be 6% lower due to m2ts overhead.

foxace
29th January 2008, 11:30
Hello is thank you for your work is it possible to have an option to change the temp directory because I do not have a lot of room on c:

i'm french Sorry my english is bad

survivant001
29th January 2008, 15:03
Yes. Select 4480. However Bitrate will be 6% lower due to m2ts overhead.

cool thanks. I mean, if I use the bitrate give by ripbot (contain already a 6% buffer), I can use if in a command line and it will works?

darbid
29th January 2008, 17:43
I am a noob / learner......I am letting ripbot do the demuxing of an AVC m2ts file. It seems to demux a whole heap of stuff into C drive....how can I change where it saves this stuff.

Atak_Snajpera
29th January 2008, 18:18
if I use the bitrate give by ripbot (contain already a 6% buffer), I can use if in a command line and it will works?

What you see is what you get in command line.

I am a noob / learner......I am letting ripbot do the demuxing of an AVC m2ts file. It seems to demux a whole heap of stuff into C drive....how can I change where it saves this stuff.

I will add some option in next version

Bigmango
29th January 2008, 18:26
[B]
Should be ready by midnight :)

Awesome, :thanks:


There is a problem with the bitrate calculation when using m2ts as output. I have converted a 720p mkv (AVC + AC3) to m2ts with ripbot. I have set 4480 as output size. The resulting m2ts was 4512 (30Mb bigger than the 4482 DVD5), so I couldn't burn it on a DVD5 :(

Is this something you can correct ?

Ajax_Undone
29th January 2008, 23:50
Another day an updated executable...

http://www.megaupload.com/?d=3G824E4D

Enjoy :devil:

Uninstall prior Version and then Just double click and install...:rolleyes:

chewbie10
30th January 2008, 01:10
Is there a shrink tool out there that will take 50GB discs and either strip it to just the movie or will shrink the entire disc to fit on a 25GB blu ray disc?

Does ripbot64 have that capability?

Furiousflea
30th January 2008, 01:25
Is there a shrink tool out there that will take 50GB discs and either strip it to just the movie or will shrink the entire disc to fit on a 25GB blu ray disc?

Does ripbot64 have that capability?

Uhhhh.....:stupid:

....Anyway, I've followed your advice on the de-interlacing\TDecimate stuff and it works perfectly for NTSC material of all kinda, and *most* PAL. Some encodes though, that definately need de-interlacing exhibit a regular stutter, very noticeable in some old anime (Perfect Blue), if you don't apply de-interlacing then there is no stutter but there's ghosting and softness to the image etc.

Is there a way around that, or is this due to bad mastering of the original DVD?

thanks for your help so far its been a great use to me.

chewbie10
30th January 2008, 01:29
Sorry Flo, thanks for being so helpful though. I've tried to read everything, but am quite confused. I just installed my blu ray writer today and ripped my first movie and now realized its bigger (43 GB) than my 25 GB blanks.

hfmls
30th January 2008, 01:34
Atak_Snajpera i have CCCp codec pack and avisynth, when i try to encode .mkv to mp4 it says jobs done in 2 seconds.. every time, i tried to use a .avs with directshowsource(c:\movie.h264) and nothing too. any help please?

Atak_Snajpera
30th January 2008, 01:48
directshowsource(c:\movie.h264)

You can't import elementary stream in DirectShowSource!

Atak_Snajpera i have CCCp codec pack and avisynth, when i try to encode .mkv to mp4 it says jobs done in 2 seconds.

Once job is ready for encoding don't press START. Try to find this file job1_EncodeVideoPass1.cmd

open it in notepad and add pause at the bottom. Save and Execute it manually. What do you see now?

Is there a way around that, or is this due to bad mastering of the original DVD?
Without sample I can't say anything

Alfeuss
30th January 2008, 06:31
Not sure if this affects any1 else. I have noticed sometime, if u use dont resize the aspect ratio is incorrect on dvd source. it is correct if i use a resize filter. also if someone would like 2 downsize a hd720p to 480p (720x480) there is no option for this. thx.

odditory
30th January 2008, 07:17
Hi - I'm evaluating RipBot264. My problem is I have several hundred DVD's I want to transcode to x264 files. I have been using Mainconcept Reference because that GUI is great in terms of batching - I just drop the .IFO file of the titleset I want to encode, set my options, add it to the batch, done.

With RipBot264 it doesn't seem to let me open an .IFO file or a VIDEO_TS folder - instead I have to select a VOB file, and then have to wait for it to index and demux the audio stream - a step s too time consuming when we're talking having to do it for hundreds of VIDEO_TS folders.

Are there any workarounds for the issue I mention, or am I doing something wrong?

Other than that, looks good.

Thanks

chuuey
30th January 2008, 15:09
thanks for the new version!

Atak_Snajpera
30th January 2008, 18:27
also if someone would like 2 downsize a hd720p to 480p (720x480) there is no option for this. thx.

if someone would like size 720x480 then he/she would use custom. Simple!

Ajax_Undone
30th January 2008, 20:09
LZMA Ultra Compression updated script now the total install package is 9.65MB Down from 13.5... So easier download for slower connections...

New Link: http://www.megaupload.com/?d=7WE7HO89

Atak_Snajpera The BluRay folder was missing from this install... Just wondering was there any problems with it???

Atak_Snajpera
30th January 2008, 20:20
Atak_Snajpera The BluRay folder was missing from this install... Just wondering was there any problems with it???

Yes... unfortunately :( Look in change log. BluRay structure must be generated with m2ts file. That's why static structure does not work. There is still hope. I am waiting for support in TSRemux.

BTW. Wouldn't be easier if used mediafire.com istead of megaupload?

survivant001
30th January 2008, 20:43
@Atak_Snajpera

the dts audio track is still not detected with 1.8.6 :)

Atak_Snajpera
30th January 2008, 20:53
Could you send me a small sample just for testing :)

BTW Now I know why Encore wants --aud . There is huge difference in seeking on PS3!

Ajax_Undone
30th January 2008, 21:22
Well I have an account for megaUpload.com

Ajax_Undone
30th January 2008, 21:23
Is there anyway to add support for aud-x 5.1 MP3 surround sound???

Atak_Snajpera
30th January 2008, 21:28
Well I have an account for megaUpload.com

medifire does not require registration. I hate when I have to enter those stupid passwords and waiting for queue.

Is there anyway to add support for aud-x 5.1 MP3 surround sound???

Which device supports aud-x?

Ajax_Undone
30th January 2008, 21:40
I have a app that keeps me logged in and dose my uploading automatically once I drop the file into its queue folder...


Most Mp3 Devices support aud-x vicariously because aud-x is standard mp3 Modified... it works with most existing hardware...

http://www.aud-x.com/

Wishbringer
30th January 2008, 21:46
Playing Aud-X files is not identical with supporting them. Aud-X files contain additional infos most (nearly all) SA ignores.

It's like LC-AAC and HE-AAC. SA with LC support play HE files too, but they only play the LC part of that file and ignores the HE part.

Ajax_Undone
30th January 2008, 21:50
True but it seems to work on my home theater quite well with my Divx files...

Its all good if it can't be supported just was wondering.. NP

survivant001
30th January 2008, 22:02
BTW Now I know why Encore wants --aud . There is huge difference in seeking on PS3!

cool.. but I always activate this setting while it's available :)

I need to figure how to use aq-sensibility, aq--othername.. forgot.


here a sample

http://www.mediafire.com/?8xpoxtd1dgm 15meg

Atak_Snajpera
31st January 2008, 00:02
the dts audio track is still not detected with 1.8.6

Fixed :) That sample helped me alot. Thanks.

I need to figure how to use aq-sensibility, aq--othername.. forgot.

I suggest to use default settings.

Ajax_Undone
31st January 2008, 01:59
Well I am trying a new install skin on this one...

Almost have all the info I need (thnx to Google) to include avisynth FFDshow and Haali Media splitter to the same installer as options for new users...

Added a new Licence that covers everything... (I Think)

Added an ascii/html 01 Encoded Pic of Atak_Snajpera's Avatar... (Hope you like it:rolleyes:)

Here's the link: http://www.megaupload.com/?d=NFQ0COT0


Enjoy :devil:

mahger
31st January 2008, 02:31
Thanks alot for this program, its really great. For some reason, it wont open one of my vobs though. Every time I try, it first gives me a message saying "Couldn't open input file in HIDE mode! Exiting" and then after I click ok, another message pops up saying "I/O Error 6". Any help would be appreciated.
Thanks

glb
31st January 2008, 02:47
Thanks alot for this program, its really great. For some reason, it wont open one of my vobs though. Every time I try, it first gives me a message saying "Couldn't open input file in HIDE mode! Exiting" and then after I click ok, another message pops up saying "I/O Error 6". Any help would be appreciated.
Thanks

That happened to me the other day and I found that it went away after I removed a comma from the filename.

mahger
31st January 2008, 02:51
That was the problem, it works fine now, thanks.

Atak_Snajpera
31st January 2008, 03:42
Ajax_Undone
Uninstall does not work properly. AviSynth plugins directory is not deleted,Tools,Changelog.log,ripbot264 directory and shortcuts in start menu. I have vista. One more thing. Why do you use RipBotx264 name?

Ajax_Undone
31st January 2008, 04:38
Sorry LOL I just blanked while making the first script.
I will fix that...

Have three other projects here at work that I am making MSI Installers for...

I just kinda started using NSIS Install Scripts and am finding out all of the features... Right now I am favoring it over and above MSI...

I think I have all of the tweaks worked out on this one...:confused:

In order to fix all of what the other installers did as far as the x and the files it didn't delete fallow these Instructions
Take and uninstall any previous version, and delete the directory in the C:\Program Files\"RipBotx264"\ folder... Also delete the Folder containing the ShortCuts in StartMenu=>All Programs...

Here is the Link for the fixed Installer: http://www.megaupload.com/?d=M2ZYROA9

hfmls
31st January 2008, 05:39
Atak_Snajpera
first of all let me congratulate you 4 this great software. it's really simple and really nice.

i'm gonna ask u if this is possible. hope it is.


In RipBot264 u can use your source audio without conversion but video is not possible, why is that? i want to use RipBot264 only to hardsub .mp4 files since i'm using this .bat file:



@echo off
set progdir=C:\GotSent
set basename=%~n1
set fullpath=%~dp1

@REM Run mkvextract
"%progdir%\MKVToolnix\mkvextract.exe" tracks %basename%.mkv 1:video.h264 2:audio.ac3

@REM Convert AC3 audio to 2 channel wav
"%progdir%\ffmpeg\ffmpeg.exe" -i audio.ac3 -ac 2 audio.wav
del audio.ac3

@REM Convert wav to AAC LC
"%progdir%\neroaacenc.exe" -lc -q .9 -if audio.wav -of audio.aac
del audio.wav

@REM Create the ini file for h264info
del "%progdir%\h264info\h264info.ini"
echo [Paths] > "%progdir%\h264info\h264info.ini"
echo InputPath=%fullpath%video.h264 >> "%progdir%\h264info\h264info.ini"
echo OutputPath=%fullpath%video-4.1.h264 >> "%progdir%\h264info\h264info.ini"

@REM Run h264info
"%progdir%\h264info\h264info.exe"
del video.h264

@REM Add the converted audio/video into the final mp4
"%progdir%\MP4Box\MP4Box.exe" -add video-4.1.h264 -add audio.aac -fps 23.976 temp.video

@REM Added a temp.mp4 and then moved to the real mp4, otherwise WMP11 doesn't see the new file
move temp.video %basename%.mp4

@REM Final cleanup
del video-4.1.h264
del audio.aac

_____________________________________


any chance i can do this please? i used xvid4psp it allows u to use both video and audio copy mode so u can add .srt to final project. it takes about 1 hour to do that. but i really enjoyed this one. :| by the way, that batch file makes a mkv into mp4 with only audio conversion in about 40 mnts max.

Atak_Snajpera
31st January 2008, 11:51
i want to use RipBot264 only to hardsub .mp4 files
Subtitles built into the picture require re-encoding.

survivant001
31st January 2008, 12:20
@Atak_Snajpera

thansk 1.8.6 fix the dts problem.

a request. can you add --keyint --qmin into the command line.. put the default value.

it's easier to changer manually :) I want to keep the keyint to 14. Don't want to reencore the movie twice like the movie that I had

Atak_Snajpera
31st January 2008, 12:38
I want to keep the keyint to 14

I'm not sure if keyint 14 is a good idea because default value is alot higher (250). However I remember that you need that crazy value for scenarists :) BTW Do we still need Scenarists if We can remux *.m2ts to BluRay Structure with TSRemux.

survivant001
31st January 2008, 14:41
I don't have a bluray except on the PS3.

BUT I was able to get a AVCHD with this :

movie m2ts generated by Encore CS3. and I used tsremux to generate a avchd structure (bluray output) and just replace the movie in tsremux by the one mux by Encore.

it was easy for AVCHD.. but for true bluray.. don't know.

I'll try the 264 generated by ripbot into Encore and Scenarist this weekend.. see if I need to change that keyint.. maybe it's only for bluray anime..

Ajax_Undone
31st January 2008, 21:00
Is there a way to choose output path???

Atak_Snajpera
31st January 2008, 21:26
Is there a way to choose output path???

is this a joke????

Ajax_Undone
31st January 2008, 21:28
Oh my God LOL I am Blind

LOL Sorry

Atak_Snajpera
31st January 2008, 21:37
You almost killed me with this question. :)

Regarding installers I suggest to rename RipBot264 v.1.8.7.exe to RipBot264v1.8.7-setup.exe

Ajax_Undone
31st January 2008, 22:07
No Prob I just finished making the installer script that has the Avisynth, ffdshow, and Haali, options in it... So now there is a heavy and a lite

The lite one will be Called as you said "RipBot264v1.8.7-setup.exe"
The Heavy one will be called "RipBot264v1.8.7-Full-setup.exe"

unless otherwise desired

Ok I made that small correction and they are being uploaded it will be about 15 min to 30 Min...

Ajax_Undone
31st January 2008, 22:52
http://www.megaupload.com/?d=H2J6UXZ0
http://www.megaupload.com/?d=JAYZYY68

The top is the Full and the bottom is the Regular

Because I think these type of updates get annoying I will be posting them in my Signature from now on...

Atak_Snajpera
1st February 2008, 00:06
Because I think these type of updates get annoying I will be posting them in my Signature from now on...

Good idea :)

arrarro
1st February 2008, 01:01
it seems the link for the full version is no more available...

Ajax_Undone
1st February 2008, 01:08
it seems the link for the full version is no more available...

I had to fix it! Try now it should work...

hfmls
1st February 2008, 01:12
Atak_Snajpera yes i know i need to reencode, in xvid4psp you open your MP4 for example, than u can select COPY both video and audio and then i choose .srt file and select convert. He makes the job really fast! like 300FPS. the result it's exactaly the same but with .srt hardsubbed. (don't get me wrong, about talking about other software here) just saying because i really like yours its more user friendly, and just saying it would be interesting to see the feature. ;)

:thanks:

Atak_Snajpera
1st February 2008, 01:28
than u can select COPY both video and audio and then i choose .srt file and select convert.
...but In this case subtitles will be MUXED into container not built into the picture.

hfmls
1st February 2008, 08:55
no, hardsubbed, i'm watching it right now in x360.

survivant001
1st February 2008, 17:50
with 1.8.7 I have problem to import audio(AC3). the getInfo.avs is always looping. Invalid ac3.1 file.. (ac3 2 channels)

here a sample (10megs) http://www.mediafire.com/?cqtdgbx5jhf

darbid
1st February 2008, 19:33
I am basically using this program to take some 1080P m2ts file and make it 720P, choosing and leaving the AC3 stream alone.

Because Ripbot demuxes itself to C i cannot let it demux my whole file so I use tsremux to make a ts file for the picture and a ac3 file for the sound. Then I use ripbot to do the work with these two files. For the audio the only thing I choose is the AFTEN 5.1.

On a smaller test file with AVC/AC3 this produces a file which when I play ffdshow audio shows that it has an audio stream but I cannot hear it.

If I choose to let let ripbot do the whole job including the demuxing then it plays perfectly. But ffdshow shows exactly the same information.

Here is the job information of the job that does not work.

Can you please help.

[JobSettings]
VideoFile=H:\New Folder\picture.ts
VideoCodec=h264
VideoWidth=1280
VideoHeight=720
VideoAspectRatio=1:1
VideoProfile=[ level 4.1 ] HD . PlayStation3 . XBOX360
SourceFPS=23.976
MovieFPS=23.976
FPSinGUI=23.976
SourceNumberOfFrames=7693
SourceMovieLength=320.862529195863
SourceAudioLength=381.792
Frames=7693
Duration=0:5:20.863
Mode=2-Pass
kbps=4096
AudioFile=H:\New Folder\sound.ac3
AudioCodec=ac3
AudioProfile=5.1 Aften AC3 640 kbps [cbr]
Frequency=48000
Channels=6
DurationAudio=0:5:20.863
AudioLength=381.792
Normalize=OFF
AudioDelay=0
Output=E:\DVDtest 2.mkv
Container=mkv
LockSize=0
Size=182
Deinterlace=Do not deinterlace
Crop=Do not crop
CropTop=0
CropBottom=0
CropLeft=0
CropRight=0
Resize=HD 1280x720 [1,78:1]
ResX=1280
ResY=720
Decimate=Do not decimate
Colors=Do not change colors
hue=0
sat=1
bright=0
cont=1
subtitles=Do not use subtitles
path=
AssumeFPS=Do not change

hfmls
1st February 2008, 20:35
hi, can someone help me out please, in this .bat file how can i add the option to use avisynth (or other method) to hardsub using a .srt?


@echo off
set progdir=C:\GotSent
set basename=%~n1
set fullpath=%~dp1

@REM Run mkvextract
"%progdir%\MKVToolnix\mkvextract.exe" tracks %basename%.mkv 1:video.h264 2:audio.ac3

@REM Convert AC3 audio to 2 channel wav
"%progdir%\ffmpeg\ffmpeg.exe" -i audio.ac3 -ac 2 audio.wav
del audio.ac3

@REM Convert wav to AAC LC
"%progdir%\neroaacenc.exe" -lc -q .9 -if audio.wav -of audio.aac
del audio.wav

@REM Create the ini file for h264info
del "%progdir%\h264info\h264info.ini"
echo [Paths] > "%progdir%\h264info\h264info.ini"
echo InputPath=%fullpath%video.h264 >> "%progdir%\h264info\h264info.ini"
echo OutputPath=%fullpath%video-4.1.h264 >> "%progdir%\h264info\h264info.ini"

@REM Run h264info
"%progdir%\h264info\h264info.exe"
del video.h264

@REM Add the converted audio/video into the final mp4
"%progdir%\MP4Box\MP4Box.exe" -add video-4.1.h264 -add audio.aac -fps 23.976 temp.video

@REM Added a temp.mp4 and then moved to the real mp4, otherwise WMP11 doesn't see the new file
move temp.video %basename%.mp4

@REM Final cleanup
del video-4.1.h264
del audio.aac

survivant001
1st February 2008, 21:24
@hfmls I think you should post your question in another post. it's not really releated to ripbot

Ajax_Undone
1st February 2008, 23:30
All new installers do not have to be uninstalled before the next update... Just install them over the old!

DJ_Price
3rd February 2008, 07:19
All new installers do not have to be uninstalled before the next update... Just install them over the old!

Is there a list of what is contained in each installer? I gave the full one a test & I have to say great work for making one & also great work of course goes to Atak_Snajpera for making such a great program & doing his/her best to keep on top of the many posts that us users make here. Thanks for all your help! :rolleyes:

EDIT: Atak_Snajpera I worked out the problem that I was having with avisynth after, it was to do with k-lite mega codec pack not installing a few extra codecs needed.

Ajax_Undone
3rd February 2008, 07:48
Installer="Regular (http://www.megaupload.com/?d=ZZLYPE39)"= All of what is contained in the Zips that are ready to extract on the first post + An uninstaller, build, and Licence Info...

Installer="Regular+DDl (http://www.megaupload.com/?d=QM6GIPCB)"= All of what the above listed has with option to download and install AviSynth, Haali Media Splitter, and FFDshow...

Installer="Full (http://http://www.megaupload.com/?d=QYKMVDWP)"= all of the "Regular (http://http://www.megaupload.com/?d=ZZLYPE39)" + Pre Downloaded installers of AviSynth, Haali, and FFDshow ready to install...

By the way in interest of keeping it simple and saving space I might be killing off "Full (http://http://www.megaupload.com/?d=QYKMVDWP)" and its permanent replacement will be "Regular+DDl (http://http://www.megaupload.com/?d=QM6GIPCB)"...

Ajax_Undone
3rd February 2008, 09:40
I noticed that I cannot open *.mov files. Is this on the roadmap for this program... Because I have about 12 videos that are *.mov type videos and wanted to make them x.264 *.mkv...

MGSteve
3rd February 2008, 17:37
I seem to have a problem with this.

I've got a DVD of U571, ripped to the hard drive with AnyDVD here and it won't let me select the ac3 track to use. Its almost as if it only detects the one audio track, even though there are 4.

5.1 AC3, DTS and 2x AC3 Stereo.

Am I doing something wrong here?

Bigmango
4th February 2008, 02:32
There is a problem with the bitrate calculation when using m2ts as output. I have converted a 720p mkv (AVC + AC3) to m2ts with ripbot. I have set 4480 as output size. The resulting m2ts was 4512 (30Mb bigger than the 4482 DVD5), so I couldn't burn it on a DVD5 :(

Is this something you can correct ?


Now with version 1.8.7, the same file with the same settings comes out at 4348 Mb, so 132 Mb short of 4480.

It now fits on a disc, but could still be tweaked a bit.

DJ_Price
4th February 2008, 04:39
I noticed that I cannot open *.mov files. Is this on the roadmap for this program... Because I have about 12 videos that are *.mov type videos and wanted to make them x.264 *.mkv...

If it's urgent then you could try renaming them to .mp4 I did this on some .mov trailers I have & they seemed to work fine.

undead.elvis
4th February 2008, 05:12
Hey atak great program. I've been using it non-stop since Dec. But I've run into my first problem . I been trying to rip The Ten Commandments for my psp and was able to decrypt and then convert the first disc without problem. But the second disc (part 2) wouldn't produce any sound. I checked the decrypted vob with zoom player and it has sound. As I kept trying I notice that the length of the second part listed as 1hr 36 min 13sec according to dvddecrypter, but the actual playing time of the second part according to zoom player is 1hr 1min 12sec, which I verified is the correct playing time. I used the psp settings and adjusted the video for 480x270 and autocroped. I'm also using your newest version. ripbot264.1.8.7 . Everything was fine but the sound. What do you suggest I should check or try ? thanks.

undead.elvis
4th February 2008, 05:42
I might have already found the problem. After demuxing the vob. The audio channel it was selecting output in 0-ch. . so I pick the only one that actually output anything. 2-ch. I hope this works . I've never had to do that before so I guess I should have explored a little more.

Bigmango
5th February 2008, 03:50
Now with version 1.8.7, the same file with the same settings comes out at 4348 Mb, so 132 Mb short of 4480.

It now fits on a disc, but could still be tweaked a bit.

The above movie was 1h50.

I have tried again, this time with a 2h12 movie. As the first movie was 132 Mb short, I have now added 100Mb to the file size (4580Mb), keeping a margin of 32MB (this is compared to the first movie, but it actually means nothing as you will see below).

The m2ts file came out at 4454Mb (26Mb short). I was very lucky : after remuxing it to blu-ray with tsremux, the resulting folder was exaclty the size of a DVD5, 4480Mb :)

So, there is definitely some more tweaking you can do for the bitrate with m2ts files (on a DVD5 at least 100Mb are lost, depending of the movie).

Atak_Snajpera
5th February 2008, 22:26
@Bigmango
I hope this time file size will be closer to specified after TSRemux. I'm waiting for your results.

BTW with X-men3 (1:42)
I got m2ts 4453MB but after TSRemux with BluRay structure I got 4472MB.

Bigmango
5th February 2008, 22:34
@Bigmango
I hope this time file size will be closer to specified after TSRemux. I'm waiting for your results.

BTW with X-men3 (1:42)
I got m2ts 4453MB but after TSRemux with BluRay structure I got 4472MB.

Nice ! :thanks:

I will try this out right away with another 720p 1h55 movie. Should be ready after encoding in about 7 hours... well, tomorrow :)

Ajax_Undone
5th February 2008, 23:47
I got this error: "Windows - No Disk" "Exception Processing Message c0000013 Parameters 75b6bf9c 4 75b6bf9c" Upon starting the app...:confused: I think its looking for a disk that isnt there...

Other then that all is working...

Furiousflea
6th February 2008, 00:06
Hi mate, gettin some fab results now from your program...

Just about to buy a quad core processor and was wandering if x264\wmv encoder supports 4 threads to make full use of it?

Thanks, Rob

Atak_Snajpera
6th February 2008, 01:03
Just about to buy a quad core processor and was wandering if x264\wmv encoder supports 4 threads to make full use of it?

x264 codec will use all your cores

I got this error: "Windows - No Disk" "Exception Processing Message c0000013 Parameters 75b6bf9c 4 75b6bf9c" Upon starting the app... I think its looking for a disk that isnt there...

good advice. If you want to upload screenshots use imageshack. fix is on the way.

Ajax_Undone
6th February 2008, 01:31
Ok thanks bro.. By the way you can update the installer link on the first post...

Is there anyway the *.mov support can be implemented...

Atak_Snajpera
6th February 2008, 01:53
Ok thanks bro.. By the way you can update the installer link on the first post...

But fix is not ready yet :)

Is there anyway the *.mov support can be implemented...

Rename mov to mp4.

Ajax_Undone
6th February 2008, 04:08
[QUOTE=Atak_Snajpera;1096780]But fix is not ready yet :)

I know but at the verry leased its something LOL...
Once you pass the error by pressing ok it still work...

Miryan
6th February 2008, 17:33
Atak_Snajpera, can you check your first post? The download links are not in it. Thank you!

DJ_Price
6th February 2008, 19:50
Atak_Snajpera, can you check your first post? The download links are not in it. Thank you!

My guess is because a new update is on it's way soon.

Tirade
7th February 2008, 02:05
My guess is because a new update is on it's way soon.

I hope so, I deleted the old version before I checked to see if the new one was linked for download.

Ajax_Undone
7th February 2008, 02:45
Ok the updated link to the Installer can be found Here (http://www.megaupload.com/?d=WTTEVQ73) and in my signature.... Enjoy

PS:
It comes with a new version of FFDshow it is recomended that you install it...

Bigmango
7th February 2008, 03:38
@Bigmango
I hope this time file size will be closer to specified after TSRemux. I'm waiting for your results.

BTW with X-men3 (1:42)
I got m2ts 4453MB but after TSRemux with BluRay structure I got 4472MB.

So, I did a new movie with version 1.8.8. It is 1h49 long, and has ac3 640k audio like the other ones. I set the output size at 4480.

The m2ts file came out at 4500 (20 Mb more) and the tsremux blu-ray structure was 4520 (40 Mb more). So, we're still not there yet :/

The size seems to depend on the movie lenght. This raises another question to me: what will happen with longer movies, i.ex 3h ? Do you take this into account in your calculations ?

Bigmango
7th February 2008, 04:01
I have tried to load a 3h07 mkv movie with 640k ac3 (same as my other files that worked).

When selecting the input file it starts to demux the audio (as usual) but after a while it pops up media player classic playing "getinfo.avs" and showing the message "m2audiosource: "D:\temp\Ripbot264temp\job1\audio.3.ac3" is not a valid ac3 file (D:\temp\Ripbot264temp\job1\getinfo.avs, line 3)"

This is strange as there is no difference between this file and the other files I have tried... It plays fine and the audio is 640k ac3 like the other ones...

Ajax_Undone
7th February 2008, 05:03
It sounds like the ac3 header is corrupt... Try doing a direct stream copy in VdubMod and see if the new out put will work..

It wont re-encode anything but it will re-write the header's into a new video file...

Atak_Snajpera
7th February 2008, 21:37
The size seems to depend on the movie lenght. This raises another question to me: what will happen with longer movies, i.ex 3h ? Do you take this into account in your calculations ?

I really don't understand why m2ts is so unpredictable :( I will make a test tomorrow with Transformers (138min). Friend of mine has 4Ghz x 4 cores so it shouldn't take too much time :)

When selecting the input file it starts to demux the audio (as usual) but after a while it pops up media player classic playing "getinfo.avs" and showing the message "m2audiosource: "D:\temp\Ripbot264temp\job1\audio.3.ac3" is not a valid ac3 file (D:\temp\Ripbot264temp\job1\getinfo.avs, line 3)"

I think I've just found a bug.

Tirade
7th February 2008, 23:45
I think I see a small bug in the new version.


When selecting output location, if you just select C: as the folder (for example C:\test_movie.mp4) RipBot sets the output with an extra \ so you get C:\\test_movie.mp4

Atak_Snajpera
7th February 2008, 23:50
When selecting output location, if you just select C: as the folder (for example C:\test_movie.mp4) RipBot sets the output with an extra \ so you get C:\\test_movie.mp4

I've noticed that some time ago. Don't worry everything will be muxed correctly even with two \\ :) Tested.

chuuey
8th February 2008, 01:21
thanks for the update, keep it up :)

arrarro
8th February 2008, 08:57
thank you so much for your amazing program Atak_Snajpera! my iPod Touch bless you everytime I play a video on it! ;):thanks:

jkleslie
8th February 2008, 16:21
Awesome piece of software...I have to say.

I do have a slight problem that I found, however. In one of your latest versions you have the Temp directory being placed on the drive with the most space available. The problem here is that if you do drive mapping and have a large mapped drive, your temp files go there. I have my video share folder on my media center mapped, which is a 2TB array. My temp folder is being created there.

Would it be possible in the near future to add the option to specify the Temp location?

Thanks,

Jon

Bigmango
8th February 2008, 16:28
Would it be possible in the near future to add the option to specify the Temp location?
Jon

+1

I would also prefer to specify the temp location myself, i.ex in an "options/preferences" window.

Atak_Snajpera
8th February 2008, 16:37
I would also prefer to specify the temp location myself

What is your reason?

Bigmango
8th February 2008, 16:53
What is your reason?

While ripbot is doing its job (6-8 hours with 720p movies and more with 1080p) I often mux/demux some other files (often dvd5 or dvd9 size, but can be as big as 35Gb blu-ray m2ts).

Take this example that happens often:
I have 8 Gb free on 1 partion and 21Gb free on another.

I start ripbot with a 7Gb job, so I want to assign the temp folder to the 8 Gb partition.
So if I have 21 Gb free on the other partition I can demux a 20Gb file there, but I can't do it if ripbot decides on its own to store its temp folder there.

And there are a dozen more reason, like I can't download linux dvd disc images because ripbot has decided on its own to put its temp on the partition that just had enough space for the disc image (but if I could set the temp dir myself I could assign it elsewhere on a smaller partition that would be enough for the ripbot job), etc...

Ajax_Undone
9th February 2008, 08:31
Hey Installer link update.... Done!

The first selected area is for removal of old install files... (if any)

Thanks for DDLing...

Bigmango
9th February 2008, 14:08
I have now done a 2h40 movie with ripbot 1.8.9. I set the output size at 4435 (the previous encode with a 1h50 movie was about 40Mb too big if set at 4480, with 4435 it worked fine).

So now with this 2h40 movie the m2ts with a size set at 4435 comes out at 4510 (75MB bigger than 4480) and the blu-ray structure is 4538 (103Mb more than 4480).

So it definitely seems that the m2ts size is dependent on the movie lenght. How are you calculating the bitrate?


Btw, thx for the 1.8.10 update, and thx Ajax for the installer :)


PS: I hope we can find a way to fix this soon, it sucks to be forced to encode the movies twice to get the right size.

survivant001
9th February 2008, 14:13
@Atak

just to keep you inform. I still have problem with my movie. I created a new thread about the VBV Buffer underflow error.

here the link : http://forum.doom9.org/showthread.php?p=1098148#post1098148

look so hard to find a working command line.. I which I know which parameters to change when I get this error.

Oh ya.. can you add a new feature

check if you get this in the stdout of the process : "VBV buffer underflow" if it's the case.. can you popup a warning ? Like the file won't be valid for bluray authorising. need to tweak the parameters manually

weaver4
9th February 2008, 18:33
Are you planning on RB automatically detecting DeInterlace and IVTC in the future?

You may not agree, but I feel this capability would make your program the AutoGK of the H264 world.

buzzqw
9th February 2008, 18:40
@Atak_Snajpera

if you are interested on

Are you planning on RB automatically detecting DeInterlace and IVTC in the future?

in automkv i based analysis on this doc

http://avisynth.org/mediawiki/Interlace_detection

BHH

weaver4
9th February 2008, 19:11
AutoMKV does a great job of detecting Interlace!

survivant001
9th February 2008, 20:05
@Atak_Snajpera

first test with ripbot1.8.10

mkv -> m2ts 4.1 (crf 20)+ ac3.

I obtain "data corrupted"

ripbot264 removed the video.264 file, so I cann't mux it manually with tsmuxer.

I try mkv2vob and it works.

by the way, why do you remove the .264 file but not the audio.ac3 too ? I'll prefer to keep the both of the files.. for a particuliar case like this one

Atak_Snajpera
9th February 2008, 22:06
So it definitely seems that the m2ts size is dependent on the movie lenght. How are you calculating the bitrate?

Here is sample code:
if form2.m2ts.Checked=true then duration:=duration*1.065 else duration:=duration*1.0005; // manual adjustments to avoid oversize. However It doesn't work for M2TS :(
if (copyaudiostream=0) and (duration<>0) then tempcalc:=(size*1048576/duration*8-audiobitrate)/1000;
if (copyaudiostream=1) and (duration<>0) then tempcalc:=(size*1048576-AudioFileSize)/duration*8/1000;

Duration represents movie length in seconds
AudioFileSize is in bytes

PS: I hope we can find a way to fix this soon, it sucks to be forced to encode the movies twice to get the right size.

You don't have to tell me. I'm also pissed off :(

mkv -> m2ts 4.1 (crf 20)+ ac3.

I obtain "data corrupted"

I've just encoded small clip @ CRF20 + ac3 (FullHD bitrate around 20Mbps) and guess what...no problem...plays fine

Oh ya.. can you add a new feature

check if you get this in the stdout of the process : "VBV buffer underflow" if it's the case.. can you popup a warning ? Like the file won't be valid for bluray authorising. need to tweak the parameters manually

No I can not because I have never had that error with my settings. Your settings are extremely weired! --Keint 13 (!!!) and so on. So no wonder if you get unexpected results.

gav1577
10th February 2008, 05:06
First off thank you for the excellent program you have created
its just what i need to convert my bluray vc1 discs to h264 m2ts 25fps for my ps3 and keep the quality almost identical to the original and get smooth playback. 24fps pisses me off as i notice the playback seems slow and judders on my tv as it does not support
24p. so for me this is perfect great job thanks :-)

weaver4
10th February 2008, 05:07
On your latest version (1.8.10) the filesize for a single pass quantizer of 21 have gone up significantly. With the same setup that I was using before one video that was 1.4G went to 2.5G. I was using the 4.1 profile for both, Q=21, 128kbs audio, auto crop, DeInterlace = Off (Megui said it was progressive), TDecimate = 23.976, size 640x272.

When I tried to open up the movie in avinaptic here is what I got; with and error. I also included the avinaptic report for the movie that encoded correctly on a previous version.


Something appears to be really broken.

=======================================

[ About file ]

Name: Video--zrbq21-pch-b.mp4
Date: 9/02/2008 20:31:16
Size: 2,528,421,863 bytes (2411.291 MB)

[ Generic info ]

File type: ISO Media, MPEG v4 system, version 1

[ Hex dump ]

00000000: 00 00 00 18 66 74 79 70 69 73 6f 6d 00 00 00 01 |....ftypisom....|
00000010: 69 73 6f 6d 61 76 63 31 00 3e 15 e9 6d 6f 6f 76 |isomavc1.>.moov|
00000020: 00 00 00 6c 6d 76 68 64 00 00 00 00 c3 d2 b0 ad |...lmvhd....Ұ*|
00000030: c3 d2 b0 ad 00 00 02 58 00 4e cc d9 00 01 00 00 |Ұ*...X.N....|
00000040: 01 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 |................|
00000050: 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 |................|
00000060: 00 00 00 00 00 00 00 00 00 00 00 00 40 00 00 00 |............@...|
00000070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000080: 00 00 00 00 00 00 00 00 00 00 00 03 00 00 00 15 |................|
00000090: 69 6f 64 73 00 00 00 00 10 07 00 4f ff ff 29 15 |iods.......O).|

[ About H.264 encoding ]

Error: Errore di sintassi in NALU di tipo SEI

This report was created by AVInaptic (16-09-2007) on 9 feb 2008, h 22:59:43

=============================================


[ About file ]

Name: Video--zrbq21-pch.mp4
Date: 31/01/2008 20:48:10
Size: 1,462,988,006 bytes (1395.214 MB)

[ Generic info ]

Play duration: 02:23:27 (8607.081666 s)
Container type: MP4/MOV
Major brand: ISO Base Media version 1
Compatible brands: JVT AVC
Creation time: 31/01/2008 01:41:27 UTC
Modification time: 31/01/2008 01:41:27 UTC
Number of streams: 2
Type of stream nr. 1: video (avc1) {GPAC ISO Video Handler}
Type of stream nr. 2: audio (AAC Low complexity) {GPAC ISO Audio Handler}
Audio streams: 1

[ Relevant data ]

Resolution: 640 x 272
Width: multiple of 32
Height: multiple of 16

[ Video track ]

Codec: avc1
Resolution: 640 x 272
Frame aspect ratio: 40:17 = 2.352941 (~2.35:1)
Pixel aspect ratio: 1:1 = 1
Display aspect ratio: 40:17 = 2.352941 (~2.35:1)
Framerate: 23.976023 fps
Number of frames: 206362
Bitrate: 1227.571336 kbps

[ Audio track ]

Codec: AAC Low complexity
Bitrate: 128.447000 kbps
Channels: 2
Sample rate: 48000 Hz

[ About H.264 encoding ]

User data: x264
User data: core 57
User data: H.264/MPEG-4 AVC codec
User data: Copyleft 2005
User data: http://www.videolan.org/x264.html
User data: cabac=1
User data: ref=3
User data: deblock=1:0:0
User data: analyse=0x3:0x113
User data: me=umh
User data: subme=6
User data: brdo=1
User data: mixed_ref=1
User data: me_range=16
User data: chroma_me=1
User data: trellis=1
User data: 8x8dct=1
User data: cqm=0
User data: deadzone=21,11
User data: chroma_qp_offset=0
User data: threads=3
User data: nr=0
User data: decimate=1
User data: mbaff=0
User data: bframes=3
User data: b_pyramid=0
User data: b_adapt=1
User data: b_bias=0
User data: direct=3
User data: wpredb=1
User data: bime=1
User data: keyint=250
User data: keyint_min=25
User data: scenecut=40(pre)
User data: rc=crf
User data: crf=21.0
User data: rceq='blurCplx^(1-qComp)'
User data: qcomp=0.60
User data: qpmin=10
User data: qpmax=51
User data: qpstep=4
User data: ip_ratio=1.40
User data: pb_ratio=1.30
User data: aq=1:1.0:0.0
SPS id: 0
Profile: High@L4.1
Num ref frames: 3
PPS id: 0
Entropy coding type: CABAC
Weighted prediction: No

This report was created by AVInaptic (16-09-2007) on 9 feb 2008, h 23:03:32

buzzqw
10th February 2008, 14:39
latest build of x264 have added AQ automatically if not set "--aq-strenght 0" (the same on automkv, but fixed in next version)

the avinaptic problem is due to "--nal-hrd -aud" parameter used for compatibility with ps3/bluray

BHH

survivant001
10th February 2008, 15:29
No I can not because I have never had that error with my settings. Your settings are extremely weired! --Keint 13 (!!!) and so on. So no wonder if you get unexpected results.

ah ah ah

I'm not using keyint 13 for fun.. it's a test.

With the default command line from ripbot264 and automkv I still got the buffer underflowns.. and it's not for all the movies.. just one.

Still trying to figure what cause the problem. I think it's a bug in x264.

for now, I'm trying settings like Sagitaire suggested. (--qcomp 0.50) I did a test with keyint 24 and --qcomp 0.50, vbv-max 26000.. still got the error..

now keyint 24, vbv 30000 --qcomp 0.45 will know in 3.5 hours

weaver4
10th February 2008, 19:04
latest build of x264 have added AQ automatically if not set "--aq-strenght 0" (the same on automkv, but fixed in next version)

the avinaptic problem is due to "--nalhrd --aud" parameter used for compatibility with ps3/bluray

BHH

So I guess there is no way to do reasonable file size with single pass in this version. What version do I need to go back to.

Can we have a second "more conventional" Level 4.1 profile for computers, xbox, popcornhour and such. I don't like the fact I can not open it in avinaptic. PS3 is such a strange animal.

buzzqw
10th February 2008, 20:02
stay with cef's 709

BHH

Atak_Snajpera
10th February 2008, 21:27
So I guess there is no way to do reasonable file size with single pass in this version. What version do I need to go back to.

uncheck AQ quant. in profile

Can we have a second "more conventional" Level 4.1 profile for computers, xbox, popcornhour and such. I don't like the fact I can not open it in avinaptic. PS3 is such a strange animal.

uncheck AVCHD compatibility in profile

Bigmango
10th February 2008, 21:45
Here is sample code:
if form2.m2ts.Checked=true then duration:=duration*1.065 else duration:=duration*1.0005; // manual adjustments to avoid oversize. However It doesn't work for M2TS :(
if (copyaudiostream=0) and (duration<>0) then tempcalc:=(size*1048576/duration*8-audiobitrate)/1000;
if (copyaudiostream=1) and (duration<>0) then tempcalc:=(size*1048576-AudioFileSize)/duration*8/1000;

Duration represents movie length in seconds
AudioFileSize is in bytes


I have done some tests with a couple files.

Using your variation of the standard bitrate formula doesn't work with the files I have tested (you are not applying the overhead to the audio). To me it seems that adding a 5,2% compensation to the duration for the overhead (m2ts + avchd structure) does the trick using the standard bitrate formula.

BUT the audio bitrate must be used within the calculation, substracting the audio file size will not work (I don't know why, maybe because the audio is not the same duration as the movie, I'm not sure) (yes, I am using audio stream copy).

Btw: you forgot to apply the overhead to the audiofilesize (audiofilesize*1.065), but as I said above, even with applying the overhead (I use 1.052) to the audio filesize the video bitrate comes out to high. So, the only way I was able to make it work was by using the audio bitrate.

The standard bitrate formula is:
((Size - (Audio * Length )) / Length) *8 = Video bitrate

Example with a 2h40 movie:
L = 160 x 60 = 9600s
Duration = 9600 * 1.052 = 10099.2 (5.2% overhead)
S= 4480 x 1024= 4'587'520
A= 640k / 8 = 80KB/s (640k ac3)

V= (((4'587'520 - (10099.2 * 80))/10099.2)*8) = 2994

I am testing this with some more movies with different durations, but until now it seems to be fine.

Bigmango
10th February 2008, 22:41
After some more testing it seems that the best way is to just substract 5.5% overhead from the media size. This will work if you use an audio bitrate and also if you substract the audio file size doing an audio stream copy.

Example (same 2h40 movie as above, 748405 is 730Mb audio size):

V= ((4'587'520*0.945 - (9600 * 80))/9600)*8 = 2973
and
V= ((4'587'520*0.945 - 748405)/9600)*8 = 2989

I think 5.5% is good as it keeps a small margin, 5% is not enough if using audio stream copy.


Edit: fyi, with this 2h40 movie a video bitrate of 2996 will match 4480Mb exactly (using audio stream copy).

Atak_Snajpera
10th February 2008, 22:52
V= (((4'587'520 - (10099.2 * 80))/10099.2)*8) = 2994

I think 2994 is not correct value because x264 encoder uses this format 1Kbps = 1000 bps (not 1024!)

What do you think about this?
tempcalc:=(size*1048576/duration*8/1.052-audiobitrate*1.052)/1000;

So I get 3032 Kbps instead of 2994

Bigmango
10th February 2008, 22:58
I think 2994 is not correct value because x264 encoder uses this format 1Kbps = 1000 bps (not 1024!)

What do you think about this?
tempcalc:=(size*1048576/duration*8/1.052-audiobitrate*1.052)/1000;

So I get 3032 Kbps instead of 2994

Won't do, 3032 is too much. A video bitrate of 2996 matches 4480Mb exactly (check my above edit).

What do you think about just substracting 5.5% from the media size (as per my 2nd post) ?

Edit: in my example 4480Mb = m2ts + avchd structure (final tsremux blu-ray output, ready to burn to DVD)

Atak_Snajpera
10th February 2008, 23:12
Won't do, 3032 is too much.

So we should use 5.5% instead. From experience I'm sure that final result must be divided by 1000. If you divide by 1024 you will never get correct file size in MKV/MP4 (those have very small overheads)

What do you think about just substracting 5.5 from the media size (as per my 2nd post) ?

Encode smaller movie ~90 min and 2h:40 and let's see if this work. Use 640 for audio in all tests.

Bigmango
10th February 2008, 23:35
Encode smaller movie ~90 min and 2h:40 and let's see if this work. Use 640 for audio in all tests.

I have already done 2h40 (above example), and 1h40.

Now I have 3h07 in the pipe (about 40 minutes more encoding), and after this I am doing a 1h55 movie encode.

I have no 90 minutes movie at hand currently, but will test it as soon as I get the opportunity.

Atak_Snajpera
10th February 2008, 23:51
Now I have 3h07 in the pipe (about 40 minutes more encoding), and after this I am doing a 1h55 movie encode.

I have no 90 minutes movie at hand currently, but will test it as soon as I get the opportunity.

I will also make some tests with this formula filesize/1.055

Now I have 3h07 in the pipe (about 40 minutes more encoding), and after this I am doing a 1h55 movie encode.

What do you have QuadCore@4GHZ :)

Bigmango
11th February 2008, 00:32
Ok, so the 3h07 movie is done. 5.5% overhead is not enough, it needs a 6% overhead which will give it a 2435 bitrate.

I still don't have the right formula, but this is some info for you (audio is always 640k) based on real ripbot encodes (not calculations):

With a 3h07 movie to match 4480Mb exactly (full avchd structure( m2ts + tsremux blu-ray)) you need a 2440 bitrate.
With a 2h40 movie you need a 2996 bitrate to match 4480Mb.

These are the maximum bitrates the calculation must give for these movie lenghts.

I will test some more with shorter movies.

Atak_Snajpera
11th February 2008, 00:37
Ok, so the 3h07 movie is done. 5.5% overhead is not enough, it needs a 6% overhead which will give it a 2434 bitrate.

overhead is changing if movie is longer (has more frames) . I'm not surprised :) I'm encoding now 85min movie.It should be ready by tomorrow morning.

I still don't have the right formula
Once my encoding is ready I will be able to create formula which will calculate overhead according to number of frames

Bigmango
11th February 2008, 01:10
Once my encoding is ready I will be able to create formula which will calculate overhead according to number of frames

Nice !

If it can help you, these are the frame numbers of the above movies:

3h08: 269650 frames (max bitrate to reach 2440)
2h40: 229707 frames (max bitrate to reach 2996)

Atak_Snajpera
11th February 2008, 01:20
3h08: 269650 frames (max bitrate to reach 2440)
2h40: 229707 frames (max bitrate to reach 2996)

Give me also exact percentage values. I will need them to make a graph in excel.

Bigmango
11th February 2008, 01:38
Give me also exact percentage values. I will need them to make a graph in excel.

I didn't reach these exact bitrate numbers using a calculation (my calculations were always a few k/s off, as you can see above).

I found these bitrates by encoding the movies 2 times (and a 3rd encode confirms the bitrate is right). So this is the exact max bitrate.


BTW, I have 1 question: the 3h08 movie quality is very good @ 2440k, but I get some small blockyness sometimes on faces (but everything else is perfect). I am now encoding the movie again to improve this, with ESA, RDO lvl2, and p4x4. I think the PS3 will support this, but is p4x4 AVCHD compliant ? Also, would 4 b, 4 ref frames work ?

Atak_Snajpera
11th February 2008, 08:05
I am now encoding the movie again to improve this, with ESA, RDO lvl2, and p4x4. I think the PS3 will support this, but is p4x4 AVCHD compliant ? Also, would 4 b, 4 ref frames work ?

p4x4 is not allowed in Level 4.1. 4 ref and 4 b won't solve problem with blocking because 2440k is very low for 1280x544.

85 min = 4482 MB (m2ts + bluray) We are almost at home :)

Bigmango
11th February 2008, 08:57
p4x4 is not allowed in Level 4.1. 4 ref and 4 b won't solve problem with blocking because 2440k is very low for 1280x544.

Ok, :thanks:


85 min = 4482 MB (m2ts + bluray) We are almost at home :)

Nice !

hfmls
11th February 2008, 13:07
how do i define the temp folder?

Bigmango
11th February 2008, 14:05
how do i define the temp folder?

Edit the .ini file and enter the folder location there.

hfmls
11th February 2008, 14:31
thank you. :) is there any way of choosing the final job size and do only 1 pass?


btw:
i tried to use yam to split files in 2gb but only the 400 mb file works! wtf? :S any help?

GlenC
11th February 2008, 14:42
Hi,

Nice application :)

Would it be possible to implement a simple sort when selecting more than 1 file. When I add a bunch of vob files into your application, the last vob is always first in the list, which is very frustrating. The files are selected by selecting the first VTS_01_1.vob then shift clicking on the VTS_01_4.vob.

C:\VIDEO_TS\VTS_01_4.VOB,
C:\VIDEO_TS\VTS_01_1.VOB,
C:\VIDEO_TS\VTS_01_2.VOB,
C:\VIDEO_TS\VTS_01_3.VOB

A simple sort would rectify this problem :)

Or even just selecting the first VOB, and the rest are loaded automatically?

Glen.

Atak_Snajpera
11th February 2008, 17:40
Would it be possible to implement a simple sort when selecting more than 1 file. When I add a bunch of vob files into your application, the last vob is always first in the list, which is very frustrating. The files are selected by selecting the first VTS_01_1.vob then shift clicking on the VTS_01_4.vob.


http://img167.imageshack.us/img167/3431/new1tj2.th.png (http://img167.imageshack.us/my.php?image=new1tj2.png)

Sort files using explorer (click in name)

thank you. is there any way of choosing the final job size and do only 1 pass?

ABR will never be included due to very bad quality. So my answer is NO.

@Bigmango

I think 5.8% should be correct for every movie.

GlenC
11th February 2008, 17:48
Hi,

Files are in order in explorer, they are listed correctly from 1 through to 4, I click on 1, shift click on 4 and open.

RipBot still lists them in the wrong order, 4 first , then 123.

As an experiment, I listed them in reverse order in exporer, clicking on 4, then shift clicking on 1 (bottom of the list), then order is now

1,4,3,2

Cheers

Glen.

Atak_Snajpera
11th February 2008, 17:54
Rename them like this : 01.vob , 02.vob and so on

hfmls
11th February 2008, 18:01
not ABR CBR but with only 1 pass. :S it takes 2 hours first pass and 7 hours second , that's a lot no? :|

Atak_Snajpera
11th February 2008, 18:06
not ABR CBR

CBR does not exist in x264 codec

t takes 2 hours first pass and 7 hours second , that's a lot no? :|

I prefer quality over speed.

hfmls
11th February 2008, 18:28
yeah i know. :| me too, but in some cases i just prefer speed.is there a way to choose the other option with one pass only bt the final size?

Bigmango
11th February 2008, 18:59
@Bigmango

I think 5.8% should be correct for every movie.


If the formula gives you a 2440 bitrate for the 3h08 movie it's good with me :)

But then, there are also (only a few) 3h20 or + movies, how will this work out ? And thinking about it, the smaller the movies the bigger the unused space...

Or another idea; you could use a different (variable) percentage depending on the movies length (or frames), i.ex:

- 0 to 90 minutes 5%
- 90.1 to 120 min 5.4%
-120.1 min to 180 min 5.7%
-180.1 min to 240 min 6%
- ...

This way we lose the less quality for each movie lenghts. What do you think ?

PS: the above percentages are wild examples only (they have not been tested in anyway).

Atak_Snajpera
11th February 2008, 19:07
Or another idea; you could use a different (variable) percentage depending on the movies length (or frames), i.ex:

- 0 to 90 minutes 5%
- 90.1 to 120 min 5.4%
-120.1 min to 180 min 5.7%
-180.1 min to 240 min 6%
- ...

This way we lose the less quality for each movie lenghts. What do you think ?

PS: the above percentages are wild examples only (they have not been tested in anyway).

Overhead is constant (5.8%) :) I've just encoded 3min clip in 720p and I got expected filesize (m2ts+bluray) - 150.1 MB

if form2.m2ts.Checked=true then overhead:=1.058 else overhead:=1.001;

if (copyaudiostream=0) and (duration<>0) then tempcalc:=(size*1048576/overhead/duration*8-audiobitrate)/1000;
if (copyaudiostream=1) and (duration<>0) then tempcalc:=(size*1048576/overhead-AudioFileSize)/duration*8/1000;

calculatebitrate:=round(tempcalc);

If the formula gives you a 2440 bitrate for the 3h08 movie it's good with me
for 3h:08:00 I got 2494kbps

Bigmango
11th February 2008, 20:33
Overhead is constant (5.8%) :)


Ok :)


for 3h:08:00 I got 2494kbps

Hmmm... this is too much. 2440k will fit 4480Mb exactly (as I told you I have encoded the movie again today with increased x264 settings). 2494 will be bigger than the disc.

GlenC
11th February 2008, 22:43
Rename them like this : 01.vob , 02.vob and so on

I've found CTRL-A selects them all in the right order, a sort would have been nice tho ;)

Found a bug, and this appears on both XP and Vista. Occasionally when trying to add a new job, the ... button to add files does nothing, the button goes through the click animation, but the file dialog does not appear, this stop any further jobs being added to the application. Closing the New Job dialog and adding a new job does not make any difference.

Glen.

Atak_Snajpera
11th February 2008, 23:03
Found a bug, and this appears on both XP and Vista. Occasionally when trying to add a new job, the ... button to add files does nothing, the button goes through the click animation, but the file dialog does not appear, this stop any further jobs being added to the application. Closing the New Job dialog and adding a new job does not make any difference.

Yes I know that. It seems to occur after indexing mpeg2 files (DGIndex). I haven't found solution yet :(

gonwk
12th February 2008, 02:59
Hi Atak_Snajpera,:)

GREAT Application. THANKS!

Your program is smarter than the User .. meaning me ... I tried using it at work where your program sees there is needed applications (2 out of 3 needed) except the AviSynth ... but I know the application exist on my computer since I run other programs in "Portable" modes ... it is just that AviSynth might not be listed in Add/Remove program listing ...

Q1: Is there a way to bypass the above Criteria?

Q2: If I am converting Video that it has Soft Subtitles ... how can I tell the program to include the subtitles as hard in the .mpg converted file? Or can it be done.

Thanks,
G!:thanks:

Atak_Snajpera
12th February 2008, 08:03
Is there a way to bypass the above Criteria?
this key must exists in registry
HKEY_LOCAL_MACHINE\SOFTWARE\AviSynth

If I am converting Video that it has Soft Subtitles ... how can I tell the program to include the subtitles as hard in the .mpg converted file? Or can it be done.

You will have to extract subtitles manually

killerhex
13th February 2008, 01:36
does it have a zune profile

weaver4
13th February 2008, 15:37
does it have a zune profile

If you are using a zune you really want a *.wmv file not a *.mp4 file because the zune player actually plays a *.wmv file and transcodes a *.mp4 on the pc before it is synced.

You can look at AutoMKV, which has a zune profile or at CuCu Soft's product.

So no, no support for Zune here.

lance79
14th February 2008, 01:33
Can i use the resize function in this tool ? mkv 1280x544 to 720p or is it better to do with avisynth script... manual ??
The only thing is see in the changes when selected is Spline36Resize 1280,720 shouldnt that be Lanczos4Resize(1280,544).Addborders(0,88,0,88) to keep aspectratio?

Its a great tool, automatic resize would be handy.... :)

Bigmango
14th February 2008, 01:37
Can i use the resize function in this tool to load mkv directly and then resize a 1280x544 to 720p hd or is it better to do with avisynth script... manual ??

Its a great tool, automatic resize would be handy.... :)

The problem is that you need to add the black borders. If you resize with ripbot the movie will be stretched, so you lose the original aspect ratio. Avisynth is currently the best way to do this. But it would be nice if ripbot could do it :)

I think it could be easily implemented, ripbot already uses avisynth for its jobs; so it just needs to add the "Addborders" line to the script.

Atak is this something we might see in the future ?

hekoheko
15th February 2008, 07:42
Why isn't RipBot doing anything when I add MKV file? Just says, all done. :confused:

gav1577
15th February 2008, 15:15
Why isn't RipBot doing anything when I add MKV file? Just says, all done. :confused:

This happened to me it turned out to be i had set an invalid crop
after autocrop had failed to correctly crop my video :)

survivant001
16th February 2008, 00:25
@ajak

that's really wierd. it's the second week that I try to encode smallville with ripbot 18.10 in m2ts.. and the two times the movie won't play on the PS3.. but play on the PC.

wierd.

Atak_Snajpera
16th February 2008, 00:37
@ajak

that's really wierd. it's the second week that I try to encode smallville with ripbot 18.10 in m2ts.. and the two times the movie won't play on the PS3.. but play on the PC.

wierd.

Will you be able to send me a sample?

survivant001
16th February 2008, 03:51
no trouble.. here the sample http://www.mediafire.com/?f4ixmiutmvy

I just reencode it again, and the same problem with the sample

I choose .m2ts, audio ac3 448 profile 4.1.

rename the .m2ts -> .m2t to be able to stream it with tversity. (I have sample encoded by automkv .m2ts-> m2t and they work)

Atak_Snajpera
16th February 2008, 12:03
I've just checked your sample and it's working well on PS3. However I used DVD+RW instead of TVersity. In my personal beta I removed --min-keyint 1 --keyint 24 and increased --vbv-bufsize 9000 to 14000.

BTW. Your source has AC3 384kbps and you are transcoding to 448 kbps .Why???? Use Copy Stream !

survivant001
16th February 2008, 13:36
ok cool, I'll try removing theses setting for fun.

the reason I reencode the ac3.. is a habit...

deacon crusher
18th February 2008, 04:34
Trying to figure out if I'm skipping steps that are required.

I've used AnyDVD, and TsRemux to take a blu ray rip (spidey 3) and convert it to a single TS file with AC3 audio.

The TS plays fine on my PC. I'm trying to convert to a format that will play with an HD extender. I'd like to convert to an MKV with h264.

Looked like RipBot might do this for me, but my knowledge of this stuff is slight enough that I may be off base. When I try to load the TS file after ripbot thinks for a minute it says

" is not a valid floating point value. ????

I'm running this on Vista 64.

Thanks very much.

gav1577
18th February 2008, 09:49
@Atak_Snajpera will vc1 be supported in ripbot if or when you use
DGAVCDec? if not how will vc1 streams be served? :D

Atak_Snajpera
18th February 2008, 13:04
@Atak_Snajpera will vc1 be supported in ripbot if or when you use
DGAVCDec? if not how will vc1 streams be served?

DGAVCDec does not support VC1 ! I will use DGAVCDec when neuron adds support for audio demuxing via command line.

Try to put .vc1 into mkv. Make sure you set correct framerate. Most likely 23.976

gav1577
18th February 2008, 13:27
Ok thanks:)

survivant001
19th February 2008, 18:44
@Atak_Snajpera

I try to encode new movies witht the default value for keyint (250). I didn't get vbv buffer error in x264, but I get it in Scenarist.

I'll reencode the movie using keyint 24 and test again with scenarist.

PS. the movie play well on the ps3 anyway.

g0nd0r
19th February 2008, 20:49
hello,

when i select a m2ts file mpc opens and shows the following screen, in the temp dir, there is no info text file, just two avs files
any ideas? :)

http://www.picupload.net/t-46b27d9561df4d1b5166589633eaa5d6.jpg (http://www.picupload.net/s-46b27d9561df4d1b5166589633eaa5d6-jpg.php)

and when i then close mpc the ripbot video source is emtpy again :(

Atak_Snajpera
19th February 2008, 21:06
Reinstall Haali Media Splitter http://haali.cs.msu.ru/mkv/MatroskaSplitter.exe
Reinstall FFDShow http://sourceforge.net/project/showfiles.php?group_id=173941&package_id=199416

g0nd0r
19th February 2008, 21:10
ok i will try that and then report here

already thx :>


/edit: i reinstalled ffdshow and matroskasplitter, but still the same message
i cant open m2ts files in mpc, will i have to install anything else?

DJ_Price
20th February 2008, 00:51
ok i will try that and then report here

already thx :>


/edit: i reinstalled ffdshow and matroskasplitter, but still the same message
i cant open m2ts files in mpc, will i have to install anything else?

By any chance are you using k-lite codec pack?

g0nd0r
20th February 2008, 00:58
no im not :>

Atak_Snajpera
20th February 2008, 01:05
Send me a sample...

Ajax_Undone
20th February 2008, 08:06
Here is the latest version of the Installer for ripbot new FFD and a pre-delete sequence so it removes all prior data leaving nothing behind in the directory... (ie miscellaneous files in miscellaneous folders) Lot of Comments about it leaving old files behind... (Oh yeah dont store your encodes in the install folder because they will be deleted on Uninstall)

|||||||||||||\/\/\/\/\/\/|||||||||||||||

survivant001
21st February 2008, 15:45
@Atak_Snajpera

I have finish testing the new command line.

if I use the default keyint the movie won't mux in Scenarist. If I use keyint 24, it will.

that's all.. we can pass to something else now..

add subtitle in ripbot ?

Atak_Snajpera
21st February 2008, 22:14
if I use the default keyint the movie won't mux in Scenarist. If I use keyint 24, it will.

Honestly? Personally I don't care about Scenarist.

add subtitle in ripbot ?
Does TSmuxer support subtitles?

Furiousflea
23rd February 2008, 19:02
Hi there, getting on really well with this great program now that I've got a core 2 quad Q6600...

I've noticed the x264 makes pretty good use of all 4 cores in the 2nd pass (as it should, but not so much in the first, again as it should)...

However its not making THAT good a use of it I think due to the things like cropping\resizing that are only single threaded. I know this can't be avoided due to them not actually being coded by you.

But, would it be possible to run 2 instances of ripbot264 to encode 2 files at the same time (affinity set for x264\bepipe etc to use 2 cores only, and other instance set to use other 2 cores only?)

I would do it on seperate hard drives and I have 4GB of ram so don't think there should be problem, any chance of integrating this into the program, or failing that a suggestion on how to force the affinity automatically, as setting it manually would have to be done after each pass\etc?

Thanks :)

Atak_Snajpera
23rd February 2008, 21:56
I've noticed the x264 makes pretty good use of all 4 cores in the 2nd pass (as it should, but not so much in the first, again as it should)...

First pass uses less options therefore you don't have cpu usage at 100%. Friend of mine has Quad core @ 4.2 GHz and first pass uses about 2.4 core in first pass. Btw resizing and croping even on one core is extremely fast.

Wishbringer
23rd February 2008, 22:09
I tried to recode some DVB-S2 (.ts) streams with RipBot to 4480MB m2ts for my PS3, but RB can't recognize content of stream.
So I converted stream first with tsremux to m2ts. Then RipBot recognized content, but after recode audio is out of sync (around 5 secs at end of film).
So next try: I demuxed that with tsremux created m2ts file with xport and remuxed it with tsmuxer back to m2ts. Now RipBot recoded that file and result wasn't out of sync anymore.

Seems xport has some nice demuxing routine, better than in tsremux one.

Atak_Snajpera
23rd February 2008, 22:15
Did you cut ts like I said in first post??? xport cuts audio at keyframe therefore audio is always in sync!

Wishbringer
23rd February 2008, 22:19
Stream starts at an I Frame. So cut is correct.
But couldn't check ts file for further errors, link to Transport Stream Packet Editor isn't valid any more.

Atak_Snajpera
23rd February 2008, 22:23
http://www.sendspace.com/file/w5odtm

Use IF+ buttons

deacon crusher
24th February 2008, 03:15
Atak

I'm trying to work on a file that's starting as an m2ts part of spidey 3.

I've tried to load the original file, a tsremuxed m2ts and a tsremuxed ts and all three after some time end up with a copy of media player classic open saying

Audiodub: need an audio and a video track
"tempfile location\getinfo.avs, line 4

Any idea what I need to do to get this to move forward?

thanks

lance79
24th February 2008, 07:54
Ripbot264 only uses one core on my Intel Core(TM) 2 CPU T7200 @ 2.00Ghz on both passes.
Got something to do with hrd patched x264?
Cos megui let me encode with both cores, and output when used ps3 profile with tsmuxer works like a sharm on my ps3(muxed to blu-ray profile) with tsremux.

survivant001
24th February 2008, 14:18
@lance79

hello lance79. Why are you muxing in blu-ray profile after that ? You could just play the movie in the XMB. I thought AVCHD was used for the subtitle, + menus + chapters ...