View Full Version : Pro Version 1.20.x Beta Test


jdobbs
22nd November 2006, 00:45
I have released as a beta a version of DVD-RB (v1.20.3) that includes the ability to output to alternate formats such as AVI and MP4. Generally it is meant for encoding for MOBILE devices such as the iPod -- but it can also be used to create any number of other formats. The engine used for encoding to the MOBILE format(s) is FFMPEG, so the selectable types for output is fairly large.

The new MOBILE output in this version SHOULD BE CONSIDERED BETA. As such, it is not being mailed to VIP users until tested to some degree. Instead I'm posting it here in the hope that this thread might become a place for feedback. Labeling this as a BETA version of the software means there are very likely some bugs, so if you're not interested in testing -- you should probably not use this capability as yet. As soon as I get some feedback on the new capability I will update it and send it out to all VIP users.

Also please note that the Professional Edition (including this BETA) only works for those who have a valid registration. So keep that in mind before attempting to download it.

If you are a VIP and would like to test this version, here are some notes that might help you get started:

The file MOBILE.INI is included in the DVD-RB TEMPLATES directory. It is used to load and save encoding parameters as PRESETS for MOBILE encoding.

When you select "Mobile (iPod) Output" from the MODE menu, you will be presented with a dialog that is (hopefully) self-explanatory. You can select one of the existing PRESETS, or create your own. I'd recommend you only create new presets if you are completely familiar with FFMPEG and legal combinations of codecs/file formats.

You can choose (via the dialog) to output to either DVD Only (which will work just like previous versions of DVD-RB), DVD and MOBILE, or MOBILE Only.

After making your selections you just run DVD-RB as always. MOBILE encoding will take place after standard DVD segment encoding (if selected). The audio will be converted to the format specified in the PRESET. For example, iPod video typically uses AAC.

Right now only one AC3 Stream can be selected for MOBILE output. The default is stream 0x80, which is the most common default. You can select an alternate stream by adding a line to the "[Mobile]" area of the REBUILDER.INI file. In this example substream 0x81 is selected:

[Mobile]
Substream=0x81

A better method of audio stream selection will be added to a future version. Also for testing purposes a variable called "FrameLimit" can also be added to the "[Mobile]" area of REBUILDER.INI. It will only encode the first "n" number of frames for each recognized title. For example, this line would only encode the first 2000 frames of each selected PGC:

[Mobile]
FrameLimit=2000

The final output of the MOBILE encoding is stored in a folder called MOBILE in the output directory.

If you plan to play back or test on your computer, you must ensure you have a player that supports the specified format(s). For example, Windows Media Player by default may not play .MP4 file formats (used by the iPod). Apple's Quicktime player does. You have to ensure appropriate codecs exist on your system!!! DVD-RB DOES NOT INSTALL OR CONFIGURE ANY ADDITIONAL CODECS ON YOUR SYSTEM.

The REBUILD phase is not required for this feature, as final output is created during ENCODE, but the REBUILD phase is still accomplished in One-Click mode in case a DVDFILES directory is also being created. It may also be used in future updates depending upon direction(s) taken. Running REBUILD on a MOBILE only encode will not hurt anything -- it will just be exceptionally fast (as nothing actually happens).

DVD Rebuilder shows a status dialog while FFMPEG is executing. If you would like to see the actual FFMPEG command line being executed, you can double-click on the "FFMPEG Visual Interface" dialog's background and the command line will be copied to the clipboard.

PRESETS and/or encoding parameters included in a PRESET can be changed without a need to rerun the PREPARE phase. A change in audio stream selection, however, requires reaccomplishment of the PREPARE phase (audio is demultiplexed into the working directory during PREPARE). Note that double-clicking on one of the PRESETS in the PRESET dialog allows you to change settings. Be careful -- setting incorrect, illogical, or illegal values can result in encoding failure. If you save the presets to a new name, you must exit the dialog and select it again for the new PRESET to show as a selection. Right now the only way to remove a PRESET or rearrange the display order is to manually edit the MOBILE.INI file.

In MOBILE encoding entire PGCs are encoded as a single entity. As such, there is no method for "pausing/resuming" encoding. Please remember that cancelling an encode will stop the current encode abnormally and will very likely render the resulting output unplayable. DVD Encoding, however, continues to support pausing/resuming.

Links removed. Beta testing completed.

Remember, though -- it will only work for registered VIP users.

If you want to help test it, please provide testing feedback via this thread. It is very much appreciated.

Now I gotta go and get some sleep. :cool: Thanks!
--------------------

NOTE: FFMPEG is Copyrighted by Fabrice Bellard and is licensed under the GNU Public License (GPL). It is included in this package as an intact executable, and is in no way limited by DVD-RB's registration nor is it directly linked or integrated into DVD-RB. It is used in much the same way as other GPL packages that may be called by DVD-RB. For more information please read the file LICENSE.TXT included in the DVD-RB installation. It discusses the GPL and explains how how you can download source code for FFMPEG if you are so inclined.

therat
22nd November 2006, 03:44
I'd like to test it out but am a bit concerned it might affect any normal backups I make.

Sorry if this is stating the obvious, but can I install this beta in a new folder so that I have both DVD-RB Pro 1.12.1 and the new beta installed simultaneously, or do I only have to have only one installed at a time?

cheers

march2006
22nd November 2006, 03:55
version 1.20.0 .. it will work with Prococer and CCE right without any problem. right? For iPOT i dont want to use it. cause i dont have ipot. I just do dvd. So Jdobbs. this is a working version as rb1.12.1 am i right? So i could update mine. sounds good? any problem?

CCE SP2 VERSION 1.0.0.10 worked somehow version 1.0.0.11 wont work with RB could you verified?

a63548
22nd November 2006, 04:11
This is a very nice feature to see implemented. As always, thank you for all your hard work :)


As for a bug:

Everything seemed to work, but as far as I can tell the audio was never encoded or muxed into the final MP4.


[17:23:29] One Click encoding activated...
-----------------
[17:23:32] Phase I, PREPARATION started.
- DVD-RB v1.20.0
- AVISYNTH 2.5.5.0
- CCE encoder selected.
- "Movie Only" mode is enabled.
- Output in MOBILE format only.
- Audiostream (for mobile) is 0x80
- VTS_03: 2,127,647 sectors.
-- Scanning and writing .D2V & .AVS files
-- Processed 151,567 frames.
-- Building .AVS and .ECL files
- Reduction Level for DVD-5: 100.0%
- Overall Bitrate : 5,756/4,605Kbs
- Space for Video : 3,771,200KB
- HIGH/LOW/TYPICAL Bitrates: 6,054/3,183/4,605 Kbs
-- FEATURE does not require reencoding.
[17:25:50] Phase I, PREPARATION completed in 2 minutes.
[17:25:50] Phase II ENCODING started
- MOBILE Format: MPEG4 (640x360), AAC audio
- Encoding: VTS03_PGC_00001.AVS
[18:26:18] Phase II ENCODING completed in 61 minutes.

Done.
[18:26:18] PREPARE/ENCODE/REBUILD completed in 63 min.



[Paths]
FFMPEG=C:\Program Files\DVD-RB PRO BETA\Encoders\FFMpeg\ffmpeg.exe
DECOMB=C:\Program Files\AviSynth 2.5\plugins\Decomb521.dll
MPEG2DEC=C:\Program Files\DVD-RB PRO BETA\DGDecode.dll
Working=L:\TEMP\
Output=L:\COMPLETE\
Source=L:\LAYER_CAKE\VIDEO_TS\
[Options]
SkinVersion=12
Skin=Teck Original
AudioDub=1
LogFile=1
QuEncHQ=0
QuEncodeType=0
iDCT=0
GOP=0
DCPrec=0
MainMatrix=Encoder Default
LowMatrix=Same as Main Feature
VLowMatrix=Same as Main Feature
ExtraMatrix=Same as Main Feature
HC_Quality=1
ProCoder_Quality=4
ReduceOpt=0
DVD_Label=LAYER_CAKE
DVD_Name=LAYER_CAKE.ISO
AdditionalOutput=0
MovieOnly=1
HalfD1=00
Convert_16_9=00
DisableInterlace=00
ConvertToYUY2=1
OneClick=1
Completed=2
NoWarn=1
[Audio]
Selected=111
Remapping=
[Subpictures]
Selected=111111
[Mobile]
Format=0
Action=2
Template=iPod 16:9 Viewing (640x360) 800Kbs


From D2VAVS folder: (Along with many AVS and FLG files)
http://www.youspookedfelicity.com/uploader/files/2/ac3.png

DVD Layout
http://www.youspookedfelicity.com/uploader/files/2/dvd.png

Mobile Settings
http://www.youspookedfelicity.com/uploader/files/2/mobile_thumb.png
(http://www.youspookedfelicity.com/uploader/files/2/mobile.png)

I chose Movie Only, not sure if that changes what Rebuilder chooses to encode in Mobile mode. Does it choose it by size like a DVD encode? I am just wondering if it will be able to work on TV seasons.

One thing that might have messed this encode up, was that Enable "Output" Directory was not checked, under the Mode tab. However when I installed this version, the Work and Output directories were set up. In the Mobile folder, in the work directory, there is one file named LAYER_CAKE_0001.MP4.

If there is anything else I can provide to help, please tell me. Anyways, thanks again.

jdobbs
22nd November 2006, 05:20
I'd like to test it out but am a bit concerned it might affect any normal backups I makeThe two types of encodes work fairly independently of each other. If you do a normal backup (without selecting MOBILE) it will work exactly as always. I've done numerous standard DVD backups with it (in testing) and v1.20.0 is the next upgrade to v1.12.1. Frankly the standard DVD encoding part should be completely stable -- it's only the MOBILE functions that are in beta status.
version 1.20.0 .. it will work with Prococer and CCE right without any problem. right? Yes, it works exactly as always. The MOBILE (iPod) function is just an "extra feature" added on. You can use it -- or ignore it, whatever suits your needs. In fact if you read the History for this version you will see that it includes several fixes and improvements for the "standard" modes.
I chose Movie Only, not sure if that changes what Rebuilder chooses to encode in Mobile mode. Does it choose it by size like a DVD encode? I am just wondering if it will be able to work on TV seasons.Are you quite sure it didn't encode the audio? From looking at the directory it appears to have demuxed it properly (that's the AC3 file). The final output will be in a directory labeled "MOBILE" -- you are correct in assuming that LAYER_CAKE_0001.MP4 is the final output. It includes the audio and video (multiplexed). Based upon your selection the video will be MPEG4 and the Audio will be AAC. It should playback on your iPod or player (assuming you have a player capable of MP4 playback). Movie-Only should work fine. The only difference is that movie-only will output only the largest PGC on the disc -- while "Full Backup" mode will encode all PGCs larger that about 15 minutes into separate video files.

blutach
22nd November 2006, 07:57
First test here - I got no audio either. Tested on PowerDvD 7, Showtime and Quicktime 7.

Using the standard presets and framelimit=2000 (only audio in the VTS was 0x80 - like a63548, it demuxed fine)

Video looks good though.

Regards

therat
22nd November 2006, 08:53
The two types of encodes work fairly independently of each other. If you do a normal backup (without selecting MOBILE) it will work exactly as always. I've done numerous standard DVD backups with it (in testing) and v1.20.0 is the next upgrade to v1.12.1. Frankly the standard DVD encoding part should be completely stable -- it's only the MOBILE functions that are in beta status.


Great. Many thanks for the quick reply.

cheers

jdobbs
22nd November 2006, 12:23
First test here - I got no audio either. Tested on PowerDvD 7, Showtime and Quicktime 7.

Using the standard presets and framelimit=2000 (only audio in the VTS was 0x80 - like a63548, it demuxed fine)

Video looks good though.

RegardsHmm... Could you double click on the background of FFMPEG dialog box (that will copy the FFMPEG command to the clipboard) and paste the result here?

Thanks.

Rippraff
22nd November 2006, 13:19
Made a test run last night in batch mode.
First iPOD, second XviD, different output folders of course. ;)
The first thing I realized, FFMPEG encodet a XviD file in my iPOD folder instead of MP4.

Anyway I went to bed and found my PC frozen today morning, so there isn't much to report.

I'll try again without batch mode today and report back.

Cu Rippraff

jdobbs
22nd November 2006, 13:42
Hmm... No sure how that could happen. The specification is stored in the project file... I'll look at it.

blutach
22nd November 2006, 13:42
@jdobbs - here 'tis.

"C:\Program Files\DVD-RB PRO\Encoders\FFMpeg\ffmpeg.exe" -y -vcodec mpeg4 -vframes 2000 -b 320 -max_b_frames 0 -dc 9 -g 12 -me epzs -maxrate 2500 -bufsize 224 -acodec aac -ab 320 -i "E:\D2VAVS\VTS01_PGC_00001.AVS" "E:\MOBILE\V_FOR_VENDETTA_0001.MP4"

Excerpts from my INI file:

[Mobile]
Format=0
Action=2
FrameLimit=2000

Regards

Rippraff
22nd November 2006, 13:52
The specification is stored in the project file...
Yep, I checked this:
[Options]
Mode=1
OneClick=1
ReduceOpt=0
NoWarn=1
AdditionalOutput=1
LogFile=1
QuEncHQ=1
EncoderMinimized=1
RemoveDTS=1
HC_Quality=1
HC_Matrix=1
SkinVersion=12
Skin=Rockas Original
AudioDub=0
QuEncodeType=0
iDCT=6
GOP=0
DCPrec=0
MainMatrix=Encoder Default
LowMatrix=Same as Main Feature
VLowMatrix=Same as Main Feature
ExtraMatrix=Same as Main Feature
ProCoder_Quality=4
DVD_Label=XXX_DRMP
DVD_Name=XXX_DRMP.ISO
MovieOnly=2
HalfD1=000000
Convert_16_9=000000
DisableInterlace=010000
ConvertToYUY2=0
CCE=3
[Paths]
QuEnc=C:\RB-Temp\Encoders\QuEnc\QuEnc.exe
ReJig=C:\RB-Temp\Encoders\ReJig\ReJig.exe
HC=C:\RB-Temp\Encoders\HC Encoder\HCbatch.EXE
ProCoder=C:\RB-Temp\Encoders\EclPro\EclPro.exe
DECOMB=D:\Programme\AviSynth 2.5\plugins\Decomb521.dll
MPEG2DEC=C:\RB-Temp\DGDecode.dll
Working=E:\XXX_RB\
Output=E:\XXX_RB\IPOD\
CCENew=D:\Programme\CCE SP 2.70\cctspt.exe
FFMPEG=C:\RB-Temp\Encoders\FFMpeg\ffmpeg.exe
Source=F:\XXX_DRMP\
[Audio]
Selected=011111
Remapping=
[Subpictures]
Selected=00111
[Mobile]
Format=0
Action=2
Template=iPod 4:3 Viewing (640x480) 800Kbs
Substream=0x81


Cu Rippraff

blutach
22nd November 2006, 13:55
@Rippraff = you got substream 0x81 - it exists, yes?

Regards

jdobbs
22nd November 2006, 13:56
@jdobbs - here 'tis.



Excerpts from my INI file:



RegardsNothing wrong there that I can see. Can you also post the contents of the AVS file? It is named using the VTS and PGC numbers -- so it would be called VTS01_PGC_00001.AVS for the first PGC in VTS 1. Also, could you check and make sure there is a .AC3 file with the same name?

Hmm... I just looked at your entry in the INI file. It doesn't look like an output format was selected... could you select one and see if that fixes it? I'll look at the code and see why it wasn't.

Thanks.

Rippraff
22nd November 2006, 14:01
@Rippraff = you got substream 0x81 - it exists, yes?
Nice try, blu. ;)
Do you think, I've manually edit my ini and the stream isn't there. :D By the way on most of german DVDs the german stream is the second one (speaking of Hollywood productions of course). :)

Cu Rippraff

blutach
22nd November 2006, 14:02
@jdobbs - I seelcted custom (wanted to change to 2 pass). It's ticked but the REBUILDER>INI file still shows as Template=iPod 4:3 Viewing (320x240) 384Kbs instead of "Custom"

LOL @ Rippraff. :D

Regards

blutach
22nd November 2006, 14:07
@jdobbs

#------------------
# AVS File Created by DVD Rebuilder v1.20.0
# PGC: V0100001
#------------------
LoadPlugin("C:\Program Files\DVD-RB PRO\DGDecode.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Decomb521.dll")
S01=mpeg2source("E:\D2VAVS\V01M.D2V")
V01=trim(S01,1,182605)
video=V01
video=AssumeFPS(video,25000,1000)
video
There's an AC3 called VTS01_PGC_00001.AC3

Re-encoding.

EDIT: No audio. Showtime's OSD shows MPEG-4 but no audio codec.

Regards

jdobbs
22nd November 2006, 14:10
Interesting... The AVS file didn't seem to find it. Hmm... it looks like it couldn't find "nicaudio.dll"... let me make sure I didn't forget to add it to the installer...:scared:

Rippraff
22nd November 2006, 14:11
@jdobbs

Second attempt:
[13:24:18] One Click encoding activated...
-----------------
[13:24:24] Phase I, PREPARATION started.
- DVD-RB v1.20.0
- AVISYNTH 2.5.6.0
- CCE 2.70.2.4 encoder selected.
- "Movie Only" mode is enabled.
- Output in MOBILE format only.
- Audiostream (for mobile) is 0x81
- VTS_08: 1.992.770 sectors.
-- Scanning and writing .D2V & .AVS files
-- Processed 123.636 frames.
-- Building .AVS and .ECL files
- Reduction Level for DVD-5: 100,0%
- Overall Bitrate : 5.099Kbs
- Space for Video : 4.217.036KB
- HIGH/LOW/TYPICAL Bitrates: 6.081/3.040/5.099 Kbs
-- FEATURE does not require reencoding.
[13:27:25] Phase I, PREPARATION completed in 3 minutes.
[13:27:25] Phase II ENCODING started
- MOBILE Format: MPEG4 (640x480), AAC audio
- Encoding: VTS08_PGC_00001.AVS
[14:00:38] Phase II ENCODING completed in 33 minutes.

Done.
[14:00:39] PREPARE/ENCODE/REBUILD completed in 36 min.

File is playable with MPC but sound is missing although it's there in D2VAVS.

Cu Rippraff

blutach
22nd November 2006, 14:12
It's there in AVISYNTH 2.5/plugins

Regards

blutach
22nd November 2006, 14:15
@all - I wonder if the FrameLimit has anything to do with the lack of audio mux?

Off to bed here now. Will check in tomorrow. Good luck all.

Regards

Rippraff
22nd November 2006, 14:16
Hmm... it looks like it couldn't find "nicaudio.dll"... let me make sure I didn't forget to add it to the installer...:scared:
If nicaudio.dll must be on the system I can assure you that it isn't there.
Edit: Nonsense, you have more than one drive, Rippraff... :rolleyes:

Cu Rippraff

jdobbs
22nd November 2006, 14:20
Yep... Houston, there's a problem. The path is not being set.

Give me a few minutes and I'll update the installer and load it up again.

Rippraff
22nd November 2006, 14:23
It's there in AVISYNTH 2.5/plugins
You're right. :o
I just checked C: and AviSynth is installed on D: on my system.

@all - I wonder if the FrameLimit has anything to do with the lack of audio mux?
No, I've made a complete movie.
Off to bed here now. Will check in tomorrow. Good luck all.
Sleep tight, mind the bedbugs don't bite. ;)

Cu Rippraff

jdobbs
22nd November 2006, 14:44
Yes, it installed it in the plugin folder (a subdirectory called filters) just like decomb, but didn't put the path in the INI file.

I've updated the download in the first post of this thread. You can now download v1.20.1 -- it fixes the installer problem and a couple of other minor bugs:

- Added specification for the audio output format to the MOBILE settings dialog
- Fixed a bug where no default PRESET was being selected the first time entering the MOBILE dialog.

Thanks!

jdobbs
22nd November 2006, 14:47
Off to bed here now. Will check in tomorrow. Good luck all. Off to bed? It's only 8:46 in the morning? Don't you guys have clocks in the down-under? ;)

Rippraff
22nd November 2006, 15:08
Could you please provide an update.zip for future versions too, thanks.
but didn't put the path in the INI file.
There's still nothing related to nicaudio under path in RB.ini. :confused:

Cu Rippraff

jdobbs
22nd November 2006, 15:14
There should be with the new installer. In fact I just tested it and it was there. It uses the AVISYNTH plugin path from the registry to determine the location....

Is the DECOMB path there? It works the same way...

jdobbs
22nd November 2006, 15:17
Could you please provide an update.zip for future versions too, thanks.An update zip wouldn't have helped -- because the error (failing to update the INI) was in the installer.

Rippraff
22nd November 2006, 15:37
No it's not.
[Options]
Mode=1
OneClick=1
ReduceOpt=0
NoWarn=1
AdditionalOutput=1
LogFile=1
QuEncHQ=1
EncoderMinimized=1
RemoveDTS=1
HC_Quality=1
HC_Matrix=1
SkinVersion=12
Skin=Rockas Original
AudioDub=0
QuEncodeType=0
iDCT=6
GOP=0
DCPrec=0
MainMatrix=Encoder Default
LowMatrix=Same as Main Feature
VLowMatrix=Same as Main Feature
ExtraMatrix=Same as Main Feature
ProCoder_Quality=4
DVD_Label=XXX
DVD_Name=XXX.ISO
MovieOnly=1
HalfD1=00
Convert_16_9=00
DisableInterlace=00
ConvertToYUY2=0
CCE=3
EncoderPriority=1
Completed=1
[Paths]
QuEnc=C:\RB-Temp\Encoders\QuEnc\QuEnc.exe
ReJig=C:\RB-Temp\Encoders\ReJig\ReJig.exe
HC=C:\RB-Temp\Encoders\HC Encoder\HCbatch.EXE
ProCoder=C:\RB-Temp\Encoders\EclPro\EclPro.exe
DECOMB=D:\Programme\AviSynth 2.5\plugins\Decomb521.dll
MPEG2DEC=C:\RB-Temp\DGDecode.dll
Working=E:\TEST\
Output=E:\TEST\IPOD\
CCENew=D:\Programme\CCE SP 2.70\cctspt.exe
FFMPEG=C:\RB-Temp\Encoders\FFMpeg\ffmpeg.exe
Source=F:\FILME\XXX\VIDEO_TS\
[Audio]
Selected=0100
Remapping=
[Subpictures]
Selected=0000000
[Mobile]
Format=0
Action=2
Template=iPod 4:3 Viewing (640x480) 800Kbs
Substream=0x81

Could you please tell me the line, I'll add it manually.
3rd attempt is currently running, should I stop it?

Cu Rippraff

jdobbs
22nd November 2006, 15:44
For you it should be:

NICAUDIO=D:\Programme\AviSynth 2.5\plugins\nicaudio.dll

But I still don't understand why it wasn't automatically done. I've looked at it every way I can think...

Does the file "nicaudio.dll" exist in that directory? It should have been copied there during install.

Rippraff
22nd November 2006, 15:58
I've rerun the installer, nicaudio.dll was unticked (maybe because it was installed with 1.20.0), after ticking it I have that line now. :)

Or maybe it wasn't in my ini because I didn't allow RB to overwrite it?

Anyway it's there now but I guess I have to run a fourth attempt as there isn't a way to just remux at the moment, right?

Cu Rippraff

jdobbs
22nd November 2006, 16:02
I've rerun the installer, nicaudio.dll was unticked (maybe because it was installed with 1.20.0), after ticking it I have that line now. :)

Or maybe it wasn't in my ini because I didn't allow RB to overwrite it?

Anyway it's there now but I guess I have to run a fourth attempt as there isn't a way to just remux at the moment, right?

Cu RippraffNot in DVD-RB right now. It does the ENCODE and MUX all in one step. If you want to test, though, you could add the line:

FrameLimit=2000

To the "[Mobile]" section of REBUILDER.INI. It will limit each PGC to encoding only the first 2000 firames. I used it a lot in testing.

Rippraff
22nd November 2006, 16:07
Yep, I've read this in your very first post. ;)
Thought it's a good idea to do a whole movie and see if everything's in sync etc. ;)

Cu Rippraff

jdobbs
22nd November 2006, 16:09
Cool. Thanks.

Rippraff
22nd November 2006, 16:18
Guess I have no luck today...
I've just tested it with the frame limitations, as a result I don't get anything...
[16:11:43] Phase II ENCODING completed in 0 minutes.

Done.
Edit: Here's the script:
#------------------
# AVS File Created by DVD Rebuilder v1.20.0
# PGC: V0800001
#------------------
LoadPlugin("C:\RB-Temp\DGDecode.dll")
LoadPlugin("D:\Programme\AviSynth 2.5\plugins\nicaudio.dll")
LoadPlugin("D:\Programme\AviSynth 2.5\plugins\Decomb521.dll")
S01=mpeg2source("E:\TEST\D2VAVS\V08M.D2V")
V01=trim(S01,24,123635)
video=V01
video=AssumeFPS(video,25000,1000)
audio=NicAC3Source("E:\TEST\D2VAVS\VTS08_PGC_00001.AC3", 2).DelayAudio(,00).amplify(1.2)
AudioDub(video,audio)
BicubicResize(640,360).AddBorders(0,60,0,60)


Cu Rippraff

jdobbs
22nd November 2006, 16:23
What happens when you open the AVS in Windows Media Player? Any errors?

jdobbs
22nd November 2006, 16:25
Ahh.. I think I see it. It's that European "," again. The DelayAudio() should be set to ".00" --- arggghhh...

I'll fix it and post again!

Rippraff
22nd November 2006, 16:27
Good idea, Sherlock ;), script error in column 72
audio=NicAC3Source("E:\TEST\D2VAVS\VTS08_PGC_00001.AC3", 2).DelayAudio(,00).amplify(1.2)
Please count yourself. :D

Cu Rippraff

Edit: That's really amazing, you've found it already!

Edit2: Changing it to .00 gives a playable file with 0x81 audio. :)

jdobbs
22nd November 2006, 17:00
Ok. I updated to v1.20.2 in the first post of this thread. I also added a zip download that has just the EXE file.

Note to everyone: If you haven't installed using at least v1.20.1 -- the EXE only download will not work until you do...

rendez2k
22nd November 2006, 17:07
How does the new version handle discs then - does it dump the menu and encode movie and extras to individual files? Does it handle episode discs (so I can put all of 24 on my iPod!)?

jdobbs
22nd November 2006, 17:12
Yes it does, and yes you can. It looks through the disc and encodes all PGCs that are over about 15 minutes long (except menus) as individual video files. Menus, etc, are ignored by the MOBILE encoder. But the D2V files, etc, are still created in case you want to do a normal DVD backup as well.

One thing to watch out for -- if you ever stop and start over, the MOBILE folder is cleared...

rendez2k
22nd November 2006, 17:16
Can the 15 minute length be changed? Not sure why I'd want to yet, but I might in the future.

jdobbs
22nd November 2006, 17:20
Not right now. But I'll add it to the "[Mobile]" area of the INI.

@All

Here's a note, by the way, on the AudioAmplify setting... it is a multiplier of the original volume. So setting it to .5 cuts the volume in half, 1.5 increases it by 50%, etc... I had to add that because I'm really fed up with AC3 steams that have a ridiculously low volume. Careful, though, too much increase will cause clipping on high volume areas.

Rippraff
22nd November 2006, 17:30
@jdobbs

Haven't tried 1.20.2 yet, but removed FrameLimit=2000 from the ini and re-run encode (without prepare) => ended in a complete movie with sound and everything's in sync. :)

Cu Rippraff

jdobbs
22nd November 2006, 17:40
:cool: Hey, that's one in a row! We're on a roll now...

acrespo
22nd November 2006, 18:22
I am brazilian and there are some DVDs without Portuguese audio, then I need Portuguese subtitles to see the movie.
Is there any option to put a subtitle in the video (not as separate file in the container)?

godhead
22nd November 2006, 18:23
DoesFFMPEG use x264 for it's H.264 support? And will PSP profiles be created (sorry if they are already there as I haven't looked yet)? Could you also mux to the PMP container for the homebrew PMP Player on the PSP? Also, are subtitles supported?

Man I have a lot of questions, maybe I just need to download and test :D

jdobbs
22nd November 2006, 18:30
I am brazilian and there are some DVDs without Portuguese audio, then I need Portuguese subtitles to see the movie.
Is there any option to put a subtitle in the video (not as separate file in the container)? That may be a while, but I'll take a look at it.

jikchung
22nd November 2006, 18:32
Can the 15 minute length be changed? Not sure why I'd want to yet, but I might in the future.


Good idea. "Robot Chicken" eps. are less than 15 minutes.

jdobbs
22nd November 2006, 18:38
DoesFFMPEG use x264 for it's H.264 support? And will PSP profiles be created (sorry if they are already there as I haven't looked yet)? Could you also mux to the PMP container for the homebrew PMP Player on the PSP? Also, are subtitles supported?

Man I have a lot of questions, maybe I just need to download and test :D Adding them is pretty easy. AFAIK PSP uses MPEG4. I don't have one to test, but if you can give me some specifics on PSP encoding I can add a couple of PRESETs.

If you run this from the command line in the FFMPEG directory:

"FFMPEG -formats"

You'll see all the formats it supports for audio and video. The list is huge. I'm sure X264 and H264 are compatible -- but I'm not sure they are the same CODEC... FFMPEG's H264 is the one in LIBAVCODEC, I believe. Wikipedia says FFMPEG uses X264... I could look at the code, I suppose.

Rippraff
22nd November 2006, 19:39
@jdobbs

Did you have a look at the batch bug?
I'm rerunning another test, same behaviour: Two projects (iPod.rbd, XviD.rbd), again after prepare phase the second project (XviD) is stored in output folder of iPod. :confused:

And again, both files weren't completed and unplayable, but this might be OC and not RB related...

Cu Rippraff

jdobbs
22nd November 2006, 19:48
Not yet. I'll test it today.

Rippraff
22nd November 2006, 19:58
And a little cosmetic thing: If your in "Rebuild for Mobile only" mode can you prevent the "source files are small enough to fit on DVD-5" advice. ;)

Cu Rippraff

sillKotscha
22nd November 2006, 20:34
Is there any option to put a subtitle in the video (not as separate file in the container)?

these are so-called 'burned-in' subtitles... I haven't done any DVD conversion with burned-in subtitles for a long while but I think jdobbs needs to implement VSFilter.dll for it... maybe vstrip_ifo.exe and vstrip.dll as well for subtitle extraction.

as for profile support... I didn't had a look at jdobbs latest beta - because I do not have a valid license for the pro version - though I don't know how he will probably implement profile support but I find slysofts solution a very pleasant one...

http://img164.imageshack.us/img164/9343/profilebi0.png (http://imageshack.us)

http://img156.imageshack.us/img156/1576/profileum5.png (http://imageshack.us)

jdobbs
22nd November 2006, 20:35
And a little cosmetic thing: If your in "Rebuild for Mobile only" mode can you prevent the "source files are small enough to fit on DVD-5" advice. ;)

Cu RippraffYeah, that makes sense.

jdobbs
22nd November 2006, 20:41
these are so-called 'burned-in' subtitles... I haven't done any DVD conversion with burned-in subtitles for a long while but I think jdobbs needs to implement VSFilter.dll for it... maybe vstrip_ifo.exe and vstrip.dll as well for subtitle extraction.

as for profile support... I didn't had a look at jdobbs latest beta - because I do not have a valid license for the pro version - though I don't know how he will probably implement profile support but I find slysofts solution a very pleasant one...


I wasn't aware of VSFILTER.DLL... I'll investigate it.

sillKotscha
22nd November 2006, 20:54
I wasn't aware of VSFILTER.DLL... I'll investigate it.

subtitles are tricky... they will be users who need all subtitles as acrespo described his situation and then you'll have "alien talk" and subtitles need only be shown as forced ones.

as for my slysoft remark... it was just meant as an idea for you how profiles could be implemented - it was not meant as a statement that I prefer slysoft's software over yours...

jdobbs
22nd November 2006, 21:11
as for my slysoft remark... it was just meant as an idea for you how profiles could be implemented - it was not meant as a statement that I prefer slysoft's software over yours...No problem. I understood what you meant. My method for presets is different. I've created a MOBILE.INI text file that allows you to create and/or edit your own PRESETS (either within DVD-RB or with a text editor). The intent is to support the full spectrum of audio and video formats that FFMPEG can do.

I wonder if there is an AVISYNTH filter out there that will just overlay subpictures onto the video instead of doing OCR and recreating them from text? That would be ideal and save a lot of "OCR learning" headaches for odd fonts. I think it may be possible with the AVISYNTH "Layer" and "Mask" commands. I'll have to do some experimenting.

sillKotscha
22nd November 2006, 21:22
The intent is to support the full spectrum of audio and video formats that FFMPEG can do.

this is nice for the advanced user - ok, you don't need to be an "advanced one" for editing a text file :) - but that gives you a never ending story concerning... "I've edited my *.ini to suit my needs for my xy-mobile device but it won't play! what went wrong" etc... you'll always find yourself in the situation... please, post your ini, logs, etc.

but giving predefined profiles to the users for the vast majority of CE devices will assure you some more free time (just think about your average customers just buying your software but don't have a clue about this (support-) forum here to ask questions, etc.)

I wonder if there is an AVISYNTH filter out there that will just overlay subpictures onto the video instead of doing OCR and recreating them? That would be ideal.

if I remember correctly this is the case for external subtitles (being rar'ed and have the same name as the video itself) but then you'll need a subtitle filter installed - which is ok for a pc but as far as I know you can't just install a subtitle filter on ce devices

jdobbs
22nd November 2006, 21:27
The intent is to include PRESETS for popular formats... but I've just barely started at that. I'm hoping people with devices will create the text and send them to me... there are more formats than I could ever test -- and DVD-RB doesn't make enough in donations to cover me buying any of them... :) The only MOBILE device I actually own is an iPod Video.

If I decide to support subtitles it will be only as "fixed" within-the-video subtitles. You can't send a separate subtitle stream or file to an iPod, PSP, etc (at least not currently)...

kilo_msd
22nd November 2006, 22:38
Jdobbs you're awesome. This is great news because I do have a 60GB IPOD. Soon I'll be able to enjoy all of my favorite movies via my IPOD while on vaction or flying.

I used to have Nero Recode imported and transcoded few movies into my IPOD, but now, am going to use DVD-RB Pro for both IPOD and regular DVD backups.

Regards

kilo

blutach
22nd November 2006, 22:44
Woo hoo - audio down under, too (PS it was nearly 1 am ;))

Still can't get it to encode with "Custom settings". Need to tinker a bit more.

Regards

jdobbs
22nd November 2006, 23:29
I'll look at the Custom settings... I made quite a few changes in the MOBILE dialog code that last day before posting... I may have caused it to hiccup...

kmac61
23rd November 2006, 06:59
Is this only a moblie mode feature?

blutach
23rd November 2006, 10:03
Seems that way (for the moment at least).

Regards

jdobbs
23rd November 2006, 13:42
Is this only a moblie mode feature?Yes. But I'm looking at possibly adding it to standard DVD Backups in the future.

jdobbs
23rd November 2006, 14:28
@jdobbs

Did you have a look at the batch bug?
I'm rerunning another test, same behaviour: Two projects (iPod.rbd, XviD.rbd), again after prepare phase the second project (XviD) is stored in output folder of iPod. :confused:

And again, both files weren't completed and unplayable, but this might be OC and not RB related...

Cu RippraffCan you tell me exactly what you're doing in this testing? I ran three jobs in batch mode overnight -- and it worked correctly. I've looked through and played with it, and I can't find anything wrong with batch processing of the new output types. :confused:

Rippraff
23rd November 2006, 15:15
Can you tell me exactly what you're doing in this testing?
Of course I can :)
1. Selected "Rebuild for Mobile Only" mode
2. Took one of the predefined iPod modes => OK
3. Under output path I've selected a subfolder "iPod"
4. File => Save Project => iPod.rbd
[Options]
Mode=1
OneClick=0
ReduceOpt=0
NoWarn=1
AdditionalOutput=1
LogFile=1
QuEncHQ=1
EncoderMinimized=1
RemoveDTS=1
HC_Quality=1
HC_Matrix=1
SkinVersion=12
Skin=Rockas Original
AudioDub=0
QuEncodeType=0
iDCT=6
GOP=0
DCPrec=0
MainMatrix=Encoder Default
LowMatrix=Same as Main Feature
VLowMatrix=Same as Main Feature
ExtraMatrix=Same as Main Feature
ProCoder_Quality=4
DVD_Label=XXX
DVD_Name=XXX.ISO
MovieOnly=1
HalfD1=00
Convert_16_9=00
DisableInterlace=00
ConvertToYUY2=0
CCE=3
EncoderPriority=1
Completed=3
[Paths]
QuEnc=C:\RB-Temp\Encoders\QuEnc\QuEnc.exe
ReJig=C:\RB-Temp\Encoders\ReJig\ReJig.exe
HC=C:\RB-Temp\Encoders\HC Encoder\HCbatch.EXE
ProCoder=C:\RB-Temp\Encoders\EclPro\EclPro.exe
DECOMB=D:\Programme\AviSynth 2.5\plugins\Decomb521.dll
MPEG2DEC=C:\RB-Temp\DGDecode.dll
Working=E:\TEST\
Output=E:\TEST\IPOD\
CCENew=D:\Programme\CCE SP 2.70\cctspt.exe
FFMPEG=C:\RB-Temp\Encoders\FFMpeg\ffmpeg.exe
Source=F:\FILME\XXX\VIDEO_TS\
NICAUDIO=D:\Programme\AviSynth 2.5\plugins\nicaudio.dll
[Audio]
Selected=0100
Remapping=
[Subpictures]
Selected=0000000
[Mobile]
Format=0
Action=2
Template=iPod 16:9 Viewing (320x180) 448Kbs
Substream=0x81

5. Switched back to "Mobile Output (Only)" and took one of the predefined XviD modes => OK
6. Under output path I've selected a subfolder "XviD"
7. File => Save Project => XviD.rbd
[Options]
Mode=1
OneClick=0
ReduceOpt=0
NoWarn=1
AdditionalOutput=1
LogFile=1
QuEncHQ=1
EncoderMinimized=1
RemoveDTS=1
HC_Quality=1
HC_Matrix=1
SkinVersion=12
Skin=Rockas Original
AudioDub=0
QuEncodeType=0
iDCT=6
GOP=0
DCPrec=0
MainMatrix=Encoder Default
LowMatrix=Same as Main Feature
VLowMatrix=Same as Main Feature
ExtraMatrix=Same as Main Feature
ProCoder_Quality=4
DVD_Label=XXX
DVD_Name=XXX.ISO
MovieOnly=1
HalfD1=00
Convert_16_9=00
DisableInterlace=00
ConvertToYUY2=0
CCE=3
EncoderPriority=1
Completed=3
[Paths]
QuEnc=C:\RB-Temp\Encoders\QuEnc\QuEnc.exe
ReJig=C:\RB-Temp\Encoders\ReJig\ReJig.exe
HC=C:\RB-Temp\Encoders\HC Encoder\HCbatch.EXE
ProCoder=C:\RB-Temp\Encoders\EclPro\EclPro.exe
DECOMB=D:\Programme\AviSynth 2.5\plugins\Decomb521.dll
MPEG2DEC=C:\RB-Temp\DGDecode.dll
Working=E:\TEST\
Output=E:\TEST\XVID\
CCENew=D:\Programme\CCE SP 2.70\cctspt.exe
FFMPEG=C:\RB-Temp\Encoders\FFMpeg\ffmpeg.exe
Source=F:\FILME\XXX\VIDEO_TS\
NICAUDIO=D:\Programme\AviSynth 2.5\plugins\nicaudio.dll
[Audio]
Selected=0100
Remapping=
[Subpictures]
Selected=0000000
[Mobile]
Format=0
Action=2
Template=XviD (DivX Compatible) AVI 16:9 (480x272) 768Kbs
Substream=0x81

8. File => "Batch Processing"
9. Add => iPod.rbd
10. Add => XviD.rbd
11. Start

Now you know every step I took. ;)
In the meantime I can say I get two movies with the stored XviD settings (second project) in both folders, E:\Test\iPod\MOBILE and E:\Test\XviD\MOBILE.
Hope this helps. :)

Cu Rippraff

jdobbs
23rd November 2006, 15:31
Ahh... so the output is going in the correct folders -- but in the wrong format. In my job they all had the same format. I'll test it.

Rippraff
23rd November 2006, 15:39
I think I found the bug! :)
The template settings stored in rbd files will be ignored, instead the one stored in Rebuilder.ini will be used.

Cu Rippraff

jdobbs
23rd November 2006, 16:09
Yep. I'll fix it.

acrespo
24th November 2006, 13:08
subtitles are tricky... they will be users who need all subtitles as acrespo described his situation and then you'll have "alien talk" and subtitles need only be shown as forced ones.

as for my slysoft remark... it was just meant as an idea for you how profiles could be implemented - it was not meant as a statement that I prefer slysoft's software over yours...

No, I don't need all subtitles, only portuguese, but this subtitle need to be "burned-in", because iPod don't support subs in the MP4 container. CloneDVD Mobile has this feature and function perfectly. Maybe vsfilter (vobsub) is the solution here.

jdobbs
27th November 2006, 14:56
Please note that I have updated the first post in this thread with a new beta release (v1.20.3) for download. Here are the combined changes:
November 27th, 2006 (v1.20.3)
CHANGES MADE TO PRO VERSION
- Corrected a problem in rate control buffer sizing for
MOBILE encoding. This may have caused "jerking" or
other odd behaviour during playback. (v1.20.3)
- Inhibited the "Already Small Enough" message when MOBILE
encoding is the only thing being done. (v1.20.3)
- Added a setting in the REBUILDER.INI file for setting the
minimum PGC size when doing MOBILE encodes. This sets the
minimum size (in frames) for a PGC to be encoded. This new
"hidden" setting is called "PGC_Minimum_Frames=" and it can
be added to the "[Mobile]" section. The default value (if
none is set) is 22500. This comes out to about 12.5 minutes
on NTSC and 15 minutes on PAL. (v1.20.3)
- Corrected an issue in which the "Custom" settings under the
MOBILE dialog were not being properly used at encode time.
(v1.20.3)
- Fixed an error in which BATCH encoding was not correctly
applying selected PRESET to MOBILE encodes as they were
saved in project files. Instead the "last selected preset"
was being applied. (v1.20.3)
- Corrected an error that would cause AVISYNTH errors in
countries that use the "," as a decimal. (v1.20.2)
- Added specification for the audio output format to the
MOBILE settings dialog (v1.20.1)
- Fixed a bug where no default PRESET was being selected
the first time entering the MOBILE dialog. (v1.20.1)

November 21st, 2006 (v1.20.0)
CHANGES MADE TO PRO VERSION
- Added support for writing several new output formats.
Generally for MOBILE encoding (such as iPod), DVD-RB can
now output MP4, AVI, and other video and audio formats.
The capability should be considered as BETA TEST status
(to identify bugs) only in this version. A new "MOBILE
(iPod) Output" option can now be set under the "Mode"
menu. Currently DVD-RB Pro uses FFMPEG (included in the
installer) to create the output using XviD, H264, and a
large spectrum of other possible video/audio formats
(via FFMPEG). FFMPEG is a fast and powerful video format
encoder that is provided under the GNU Public License
Agreement. Read the file "License.txt" for more
information. Support for other encoders may be included
in future versions. (v1.20.0)
- Corrected a processing problem during the PREPARE phase
for "Movie-Only" encodes. The problem could cause
PREPARE to take significantly more time than is necessary.
(v1.20.0)
- Added code to test and correct for corrupt streams in
which garbage are at the start of a cell, and are
followed by the orphaned remains of a GOP. This
condition has been seen to cause incorrect writes of
frame flags and the error condition "Corrupt Stream
Detected" during REBUILD. (v1.20.0)
- Made adjustments to the sizing algorithm in order to
prevent oversizing on oddly formatted DVDs that have
huge numbers of very small segments. (v1.20.0)
- Corrected a bug in which ILVU segments might receive a
lessor bitrate than they should based upon the analysis.
- Updated the calling/checking mechanisms used to invoke
encoders. This should make the processing more robust
as well as (slightly) improve encode times. (v1.20.0)
- Made several changes to the way the PREPARE phase records
information. (v1.20.0)
- Other minor and cosmetic changes.

humax
2nd December 2006, 23:03
If i want to use the new encoding options - i have to use the installer version ????

Normally i use the normal versions without installer and overwrite the old files . But with the new version i cant use encoding to avi - right ??

thx

jdobbs
2nd December 2006, 23:16
You have to run the full installer with the MOBILE encoding option at least once. The update-only ZIP file is provided only so folks with slow connections have an option for updating -- but the FFMPEG package that does the MOBILE encoding would make the ZIP about 3 times larger.

After performing one full installation with MOBILE encoding, though, you could update from just the ZIP file.

linx05
3rd December 2006, 12:06
Hi jdobbs, thanks for these features. I was wondering if you could add a field to the custom part that will allow me to choose what the fps is. The iRiver I have, H320, supports videos which go at 10fps. I usually just take movies into Virtualdub and take them down that way. But if you could add this it would take out that extra step.

EDIT: Thank you so much jdobbs!

jdobbs
3rd December 2006, 13:56
Ok. I'll add a field for FPS conversion.

stereo
3rd December 2006, 14:20
Hi jdobbs

thanks for the new possibilities, they seem to be a good developement.

I was wondering, is there any way to control the output size of an avi encode (I mean, something like the CCETargetSectors=XXX setting)?

jdobbs
3rd December 2006, 14:41
Sure. You can just set the audio/video bitrate to control size. You can modify the existing settings by double clicking on one of them. Then use the dropdown control to either type in a new bitrate, or select one of the choices.

I guess I could add a "TargetSize" that would calculate the target bitrates for you...

stereo
3rd December 2006, 14:52
OK, thanks. It would be great if you could add a "TargetSize" that would calculate the target bitrates, cos I've never really understood how to do this myself...

Sharc
3rd December 2006, 14:57
The settings by means of the beta viewer/editor (e.g. bitrate) do not have any effect on the MOBILE encodes, even if "Encode for MOBILE only" is selected?

jdobbs
3rd December 2006, 15:50
No. They should have no impact on MOBILE encoding at all. The MOBILE encoding is done separately and distinctly from the DVD encoding.

jdobbs
3rd December 2006, 15:52
OK, thanks. It would be great if you could add a "TargetSize" that would calculate the target bitrates, cos I've never really understood how to do this myself...

Size_In_Bytes = ((Audio_Bitrate + Video_Bitrate) * Length_In_Seconds) / 8

Sometimes if you have a sufficiently high bitrate (for the resolution) the size will come in smaller because of encoder saturation. If you see an average Q value of less than 3 it's likely that saturation is occuring and the output will be smaller. Of course, that isn't a bad thing -- it means the quality level is as high as it can get.

stereo
3rd December 2006, 16:01
OK, thanks a lot. I'll have a look at it.

Sharc
3rd December 2006, 16:13
No. They should have no impact on MOBILE encoding at all. The MOBILE encoding is done separately and distinctly from the DVD encoding.

ok, understood, and thanks for all the new features in 1.20.4.

Sharc
3rd December 2006, 19:58
I just made a MOBILE encode using one of the DivX presets, and everything worked perfectly.

The wish or suggestion I would have:
For the DVD I selected 2 audio streams (as I usually do). In the MOBILE Rebuild I unfortunately got the "non-preferred" (x80) stream. Would it be too difficult to include in the "MOBILE Custom Settings" a pulldown box for audio stream selection?

Rgds

Rippraff
3rd December 2006, 20:05
The first audio stream 0x80 is the standard stream at the moment. If you prefer another one, the second in this example, open your Rebuilder ini and paste the line
Substream=0x81
under [Mobile]

Cu Rippraff

Sharc
3rd December 2006, 20:18
:thanks:

jdobbs
3rd December 2006, 21:47
I plan to make a method for selecting a language for MOBILE encodes in future versions -- it just never got into the current one. Hopefully I'll come up with a way to add hard-coded subtitles also -- but thats a little further down the road.

Sharc
3rd December 2006, 23:45
Wow, phantastic!
No hurry, though.

Rgds

therat
4th December 2006, 02:59
Well I don't know what I'm doing wrong but when trying the new MOBILE feature for Movie Only the audio is way out of sync.

In the Mobile (IPod) Output Options I have "Rebuild for Mobile Only" ticked and "Xvid (Divx Compatible) AVI 16:9 (640x380) 800Kbs" selected.

The audio format defaults to MP3.

Any suggestions please?

jdobbs
4th December 2006, 05:08
I haven't had one out of sync yet -- but maybe there's some scenario I'm missing. Can you send me these files (to dvd-rb@dvd-rb.com):

REBUILDER.INF
REBUILDER.LOG
REBUILDER.INI
The AVS file for the encode (DISC_NAME_PGC_00001.AVS)

That way I can take a look at it.

I assume you are running an NTSC encode?

therat
4th December 2006, 05:31
I haven't had one out of sync yet -- but maybe there's some scenario I'm missing. Can you send me these files (to dvd-rb@dvd-rb.com):

REBUILDER.INF
REBUILDER.LOG
REBUILDER.INI
The AVS file for the encode (DISC_NAME_PGC_00001.AVS)

That way I can take a look at it.

I assume you are running an NTSC encode?

Files sent. No I'm doing a PAL encode.

The movie is Any Which Way You Can - PAL - R4

cheers

jdobbs
4th December 2006, 12:29
The movie is Any Which Way You Can - PAL - R4Are you positive? The INF file you sent me says that it's frame_rate_code is 1 (NTSC) and it is using pulldown...

therat
4th December 2006, 12:39
Are you positive? The INF file you sent me says that it's frame_rate_code is 1 (NTSC) and it is using pulldown...

Hmm you're right. i just checked the case again and it says NTSC even tho it's Region 4. Strange, I thought all our DVDs were PAL in Oz.

I had a quick look at some other DVDs in my Clint collection and they all seem to be PAL.

Sorry about that :(

therat
4th December 2006, 13:25
I just tried all the same settings this time on THE DISH - PAL - R4. Worked fine. All in sync.

No matter what I do with Any Which Way You Can I can't get it in sync.

Doesn't the mobile settings work in NTSC?

jdobbs
4th December 2006, 14:01
Certainly they work with NTSC. That's what I use. I mentioned it because I though that might be the source of the sync problem. Is it possible that disc was converted from NTSC to PAL using DGPULLDOWN? If so, that may be the key.


Do you think you might be able to send me the main VTS's D2V file and REBUILDER.ECL? I'd like to find out what's happening...

Thanks.

therat
4th December 2006, 14:17
Certainly they work with NTSC. That's what I use. I mentioned it because I though that might be the source of the sync problem. Is it possible that disc was converted from NTSC to PAL using DGPULLDOWN? If so, that may be the key.

No idea, it's a retail DVD.


Do you think you might be able to send me the main VTS's D2V file and REBUILDER.ECL? I'd like to find out what's happening...

Thanks.

Files sent.

I'm off to bed.

cheers

jdobbs
4th December 2006, 15:11
I think I see what the problem is. You're using one of the older versions of DGDECODE or MPEG2DEC3, probably v1.1.0 or below. I'll look at it and see if there is a way I can adjust for that.

godhead
4th December 2006, 20:44
Certainly they work with NTSC. That's what I use. I mentioned it because I though that might be the source of the sync problem. Is it possible that disc was converted from NTSC to PAL using DGPULLDOWN? If so, that may be the key.


Do you think you might be able to send me the main VTS's D2V file and REBUILDER.ECL? I'd like to find out what's happening...

Thanks.


Don't mean to thread hijack, but since you mentioned it, any chance of getting DGPullDown support in DVD-RB for movie only PAL -> NTSC anytime soon? Yes I know there are cheap DVD players that support PAL, but I like my Pioneer DV-434 too much and I hate having to boot up XBMC just for the PAL movies. I figured DGPullDown support for movie only would have been easier to support than mobile encoding, but then again, maybe you'd bored of the normal DVD encoding and wanted something new. I now return you to your regularly scheduled beta thread.

therat
5th December 2006, 03:07
I think I see what the problem is. You're using one of the older versions of DGDECODE or MPEG2DEC3, probably v1.1.0 or below. I'll look at it and see if there is a way I can adjust for that.

It's DGDECODE SSE2 v1.1.1 by NaN

cheers

therat
5th December 2006, 06:01
I re-installed 1.20.4 and this time installed the DGDECODE.DLL that comes with DVD-RB PRO. The encode to AVI went perfectly with Any Which Way You Can, totally in sync.

One thing I did notice is that using the default DGDECODE.DLL the resultant AVI file was ~100mb larger than using the NaN DGDECODE.DLL tho the NaN version was slightly faster.

The difference in the log when using the 2 is interesting too.

DGDECODE.DLL from NaN

[12:32:23] Phase I, PREPARATION started.
- DVD-RB v1.20.4
- AVISYNTH 2.5.6.0
- CCE 2.70.2.9 encoder selected.
- "Movie Only" mode is enabled.
- Output in MOBILE format only.
- Audiostream (for mobile) is 0x80
- Source: ANY_WHICH_WAY_YOU_CAN
- VTS_01: 2,735,048 sectors.
-- Scanning and writing .D2V & .AVS files
-- Processed 174,431 frames.
-- Building .AVS and .ECL files
- Reduction Level for DVD-5: 87.2%
- Overall Bitrate : 5,791/4,633Kbs
- Space for Video : 4,114,528KB
- HIGH/LOW/TYPICAL Bitrates: 5,833/4,402/4,633 Kbs
[12:34:35] Phase I, PREPARATION completed in 2 minutes.
[12:34:57] Phase II ENCODING started
- MOBILE Format: XVID (640x360), MP3 audio
- Encoding: VTS01_PGC_00001.AVS
[13:31:29] Phase II ENCODING completed in 57 minutes.


Default DGDECODE.DLL

[13:41:38] Phase I, PREPARATION started.
- DVD-RB v1.20.4
- AVISYNTH 2.5.6.0
- CCE 2.70.2.9 encoder selected.
- Output in MOBILE format only.
- Audiostream (for mobile) is 0x80
- Source: ANY_WHICH_WAY_YOU_CAN
- VTS_01: 2,735,048 sectors.
-- Scanning and writing .D2V & .AVS files
-- Processed 174,431 frames.
-- Building .AVS and .ECL files
- Reduction Level for DVD-5: 79.7%
- Overall Bitrate : 5,524/4,419Kbs
- Space for Video : 3,924,460KB
- HIGH/LOW/TYPICAL Bitrates: 5,328/3,510/4,419 Kbs
[13:43:52] Phase I, PREPARATION completed in 2 minutes.
[13:43:59] Phase II ENCODING started
- MOBILE Format: XVID (640x360), MP3 audio
- Encoding: VTS01_PGC_00001.AVS
[14:44:20] Phase II ENCODING completed in 61 minutes.

Same movie yet all the numbers are different. Would a different DGDECODE.DLL cause that?

Sharc
5th December 2006, 07:41
I did two MOBILE encodes of the same movie:

For the 1st encode I selected an XviD preset from the templates, without making any changes. Final file size was about 700 MB.
For the 2nd encode I selected the identical preset, but changed to 2-pass encoding. File size almost doubled to 1200 MB.

I am just wondering if this makes sense. Quality was better for the 2nd encode, though.

Minor issue: The PC did not shutdown, although the shutdown option had been selected.

jdobbs
5th December 2006, 12:24
One thing I did notice is that using the default DGDECODE.DLL the resultant AVI file was ~100mb larger than using the NaN DGDECODE.DLL tho the NaN version was slightly faster.Something had to have changed. You can't get too different reduction percentages with the same source/settings).

For the 1st encode I selected an XviD preset from the templates, without making any changes. Final file size was about 700 MB.
For the 2nd encode I selected the identical preset, but changed to 2-pass encoding. File size almost doubled to 1200 MB.I set up the FFMPEG interface to not perform the second pass if the Q was less than 3. That's because in some encodes it would give an error when you tried the second pass (because there was no room for improvement). It appears, though, that the XviD encoder sets the Q to 2.00 when doing pass 1 -- which means you will get oversized output. I'll fix that for the next release. I'm surprised I hadn't noticed that before now.

therat
5th December 2006, 13:23
Something had to have changed. You can't get too different reduction percentages with the same source/settings).


You're right. It appears one I had ticked "Full Backup" and the other "Movie Only".

jdobbs
5th December 2006, 16:28
That makes sense.

The problem with the older DGDECODE versions was that they had no "Ignore pulldown" field operation available and DVD-RB had to "trick" it when it created the D2V. I'm looking to see how hard it would be to make them work... right now it looks like a real pain.

wmansir
21st January 2007, 13:10
Is anyone else using Mobile encoding with MS Vista? I keep getting "ffmpeg.exe has stopped working" errors at the end of each pass. I hit OK and everything seems to continue fine though, and AFAIK the output is OK and complete.

I'll try setting ffmpeg.exe to compatibility mode in my next run and see if has any effect. I haven't attempted to definitely narrow this down to a ffmpeg/vista problem by running ffmpeg via the cmdline either, right now I'm just wondering if other people are encountering this error?

acrespo
7th February 2007, 16:52
I plan to make a method for selecting a language for MOBILE encodes in future versions -- it just never got into the current one. Hopefully I'll come up with a way to add hard-coded subtitles also -- but thats a little further down the road.

Any news about subtitles in MOBILE encode?

jdobbs
7th February 2007, 19:05
@acrespo

No. Not yet.

Is anyone else using Mobile encoding with MS Vista? I keep getting "ffmpeg.exe has stopped working" errors at the end of each pass. I hit OK and everything seems to continue fine though, and AFAIK the output is OK and complete.

I'll try setting ffmpeg.exe to compatibility mode in my next run and see if has any effect. I haven't attempted to definitely narrow this down to a ffmpeg/vista problem by running ffmpeg via the cmdline either, right now I'm just wondering if other people are encountering this error?@wmansir

Any updates on this?

wmansir
8th February 2007, 22:53
Forgive my late reply, I don't have an ipod and was just experimenting with this feature for fun and forgot about it.

I just ran some experiments with various compat modes in Vista. WinXP SP2 does nothing but Windows 98/ME compatibility mode seems to do the trick.

So, for anyone getting "FFmpeg.exe has stopped working" at the end of each encoding pass in Windows Vista, go into your DVD-RB\Encoders\FFMpeg directory, right click on ffmpeg.exe and select properties, select the compatibility tab, check Compatibility Mode and select "Windows 98/Windows ME" in the drop down box.



In what I think is a separate issue, I also noticed the output has no audio, though judging from the ffmpeg commandline and .avs file, I can see why. Should the .avs mux the audio or does DVD-RB take care of that after the video encode?

My .avs reads:

#------------------
# AVS File Created by DVD Rebuilder v1.21.0
# PGC: V0400001
#------------------
LoadPlugin("C:\Program Files\DVD-RB PRO\DGDecode.dll")
S01=mpeg2source("E:\Work\D2VAVS\V04M.D2V")
V01=trim(S01,0,3578)
video=V01
video=AssumeFPS(video,30000,1001)
video
BicubicResize(640,360).AddBorders(0,60,0,60)


and the ffmpeg commandline is:

"C:\Program Files\DVD-RB PRO\Encoders\ffmpeg\ffmpeg.exe" -y -vcodec xvid -b 704 -dc 9 -max_b_frames 2 -g 12 -me epzs -maxrate 2500 -bufsize 64 -acodec mp3 -ab 96 -i "E:\Work\D2VAVS\VTS04_PGC_00001.AVS" "D:\OUTPUT\MOBILE\TEST_DISC_0001.AVI"

DVD2AVS did contain the .AC3 file for the correct audio stream: VTS04_PGC_00001.AC3.

ps. Even though I said in my previous post that I thought the output was complete, I was referring to dropped frames because of encoder failure. I vaguely recall the audio not being present also. In any case my first step was to turn off compat mode for ffmpeg and it did not change the audio issue.

jdobbs
9th February 2007, 01:04
@wmansir

That probably means there is no path specified for nicaudio.dll. The Installer should have added it to the INI file and installed the DLL. The path is in the [Paths] area of REBUILDER.INI. It should look like this:

[Paths]
NICAUDIO="c:\path\to\nicaudio.dll"

Rippraff
9th February 2007, 01:27
@wmansir

Did you use the installer? And if so, did you tick nicaudio.dll?
I had the same problem in the past (http://forum.doom9.org/showthread.php?t=118541&page=2).

Cu Rippraff

therat
9th February 2007, 03:32
For some reason since I upgraded to DVD-RB Pro 1.20.0 I can no longer get the video created by using the MOBILE settings, to work.

I get audio but no video when I play the file on my computer.

The movie is The Godfather and this is my AVS file

#------------------
# AVS File Created by DVD Rebuilder v1.21.0
# PGC: V0200001
#------------------
LoadPlugin("C:\Program Files\DVD-RB PRO\DGDecode.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\nicaudio.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Decomb521.dll")
S01=mpeg2source("F:\D2VAVS\V02M.D2V")
V01=trim(S01,0,252099)
video=V01
video=AssumeFPS(video,25000,1000)
audio=NicAC3Source("F:\D2VAVS\VTS02_PGC_00001.AC3", 2).DelayAudio(.00).amplify(1.2)
AudioDub(video,audio)
BicubicResize(540,304).AddBorders(10,0,10,0)


The source is a Region 4 PAL DVD.

any suggestions please?

jdobbs
9th February 2007, 04:12
Reinstall and have DVD-RB overwrite the MOBILE.INI file. My guess is you've changed some of the settings and the result doesn't work. At least that's what it looks like from the AVS... none of the default profiles had that odd picture size (560x304).

therat
9th February 2007, 04:31
Reinstall and have DVD-RB overwrite the MOBILE.INI file. My guess is you've changed some of the settings and the result doesn't work. At least that's what it looks like from the AVS... none of the default profiles had that odd picture size (560x304).

that was a custom size I created. I'll reinstall and give it a try (I'll try a shorter movie this time tho)

cheers

wmansir
9th February 2007, 04:49
Thanks jdobbs and Rippraff, nicaudio.dll was the problem. I reran the installer and checked off nicaudio.dll and works fine now.

therat
9th February 2007, 12:20
all this time I should have been trying it on my dvd player because it played perfectly. I ran the AVI file through GSpot to find I didn't have a suitable compressor. This was strange because both divx and xvid were installed.

I reinstalled the xvid codec, still wouldn't play on my computer. I then reinstalled the divx codec and now it plays perfectly.

jdobbs
9th February 2007, 18:48
I've found that after loading FFDSHOW pretty much everything is supported and you don't have to worry about it anymore.