Log in

View Full Version : StaxRip x86 (development for x86 has been stopped)


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 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100

Shaocaholica
27th June 2007, 07:54
Great app, just love it.

So I've been converting some Anime to H.264 and I've noticed that there is some red channel down sampling when I convert to YV12 for x264. Is there any way to smooth out the red 'blocking' or even have full red sampling for H.264 encoding? I have no idea obviously.

dvd_maniac
27th June 2007, 17:39
I do alot of batch encoding and I've setup a Template project for each type of encode I do.
I'm having a problem with the resize though. In the template I have it set to resize to 512x416. The last batch of encodes I did ended up to be 576x432. I also saved the template with no resize when I encoded some old Xvid files that were 336x256. The results of those ended up being 576x448. So I had to delete the encoded videos and input them in one at a time which takes a few minutes each and manually set the resize for each as well.

I just want to add a bunch of files and have the resize match what the template says to resize it to. Is there a way? Am I missing something?

burfadel
27th June 2007, 21:45
Yeah you are missing something! lol. Okay here's how you do it :)
- Open up staxrip, and select the template you want
- Click on view, options, then 'automation' (left side)
- You will see the 'auto resize image size' option there. You have to work how how many pixels it is, then subtract some. For example, for 512x384 select 195000
- Set what ever other features you want
- Click on the add function, select the files you want, select file batch, and each file will then encode with the settings you selected. This also includes the settings you put in for automation etc, it bypasses loading the templates and uses the specific settings you set before clicking on add files :)

ch@@boom
28th June 2007, 10:21
@ch@@boom

For Sopranos and probably most other series there is a PGC for each episode, sadly StaxRip don't support PGC selection for full DVD rips, as workaround DVD Decrypter can be used to rip each PGC to a separate folder. Folder naming scheme might be season number, disc number, PGC number. StaxRip has a feature called 'Directory Batch', I've backed up all Sopranos seasons with dual audio this way without problems.

It's cumbersome to rip each PGC in it's own folder but I don't know a easier solution, the ripping possibly could be automated scripting DVD Decrypter's CLI.

i just love the Directory Batch option !!!
:thanks:

Eno / Omni
28th June 2007, 21:47
I've a problem, my input AVI= 1280x968 and can't succes to have the same ratio when scroling resize bar...
It's first time i got this :/
When i move the resolution slider, my Height is superior to my Width why ? :/

Trac
6th July 2007, 19:52
Very nice app with enough things to fiddle with yet easy enough to use! THanks..

Anyways, wondering if it's possible to set up a template that will keep the resize slider in its place after a compression check, and just move the bitrate/file size up or down.

Also, I don't understand this auto-cropping feature. Is it only enabled when the crop filter is enabled? Does it work by ensuring that the source vid is mod16 on both axes? Why is it that when I load a source video of 640x480 res, and the crop filter is enabled, the height is reduced to 472 automatically as reported on the left side? After all, 480 is already a multiple of 16.

I suppose autocrop thinks there are black borders there, but it should be cropped 8 on each side to remain multiple of 16.The templates that I use always resize the video during the initial load, reset the res, 640x480 and run compression check the slider will not move.
Bitrate and Filesize are adjusted by Aimed Quality.
Options > Aimed Quality(percent).
http://forum.doom9.org/showthread.php?p=1021997#post1021997url
btw, do you have a link for your iPod Templates?
Thanks

Ruriko
20th July 2007, 06:57
I encoded a avi to mp4 with x264 3pass and then audio became unsync. How to fix this?

Deinorius
20th July 2007, 08:27
Try to encode audio with BeHappy and check the option "EnsureMP3Sync".

Oh, 3pass is something for nothing. I hope, you know, what you're doing.

potatochobit
20th July 2007, 13:25
When I encode in X264, the assitant instruction asks me to add the filter misc/ convert to YV12{}.

I add that to the filter box, but when I click next, it still displays the error message. is this a bug or am i forgetting something?

or do I need to download something to work with yv12?
this only happens when i have a deinterlacer checked?

EDIT: ok I think I found the problem, I was missing the decrypter for deinterlacing

burfadel
21st July 2007, 01:08
Errors in the filters, such as missing filters, will come up with the YV12 error!

potatochobit
21st July 2007, 04:12
I used the ITVC filter, and it looks good now, but in a few small frames, you can still see a a small spot of interlacing, like when someone is speaking, inside their mouth for 1 frame appears interlaced.

is there a 2nd filter I can run along with ITVC to fix this?

MilesAhead
23rd July 2007, 00:06
Every time I go away from StaxRip for a while, I forget how to get it to mux the audio at the end of a conversion. I installed 1.001 and tried to take an .avi file and autocrop it. It demuxes the audio at the start, processes the video, then quits. All the stuff to mux the audio is just sitting in the folder when done. I can't figure it out.

(edit: btw to be more precise, it never runs BeSweet after the video encoding. No audio processing at all except for the demux at the start. This was the thing that drove me crazy when I first starting trying to use StaxRip. I got it to work, but now I forgot what the "trick" was.)

It's frustrating to say the least.

wdmalik
23rd July 2007, 19:04
I was trying to rip some movies and to my surprise I am getting video bitrates as 573677 for 700 MB size, when I try to lower the bit rate to lets say 1000, file size decreases to 17 MB, can't figure out what's wrong as for me this has happened before .. any help ?

duckdown
24th July 2007, 03:09
Hi all... I'm having a bad problem too

I'm trying to load mpegs from my DVB-S card to convert to XviD, recorded in MyTheatre, however, every time I import a file into StaxRip it keeps only showing a small fraction of the actual mpeg; like if I load a 5m 16s mpeg file its only showing up as 4:10 once I open it. So I traced it back to ProjectX I guess since thats what processes the file when you open it in StaxRip...

ProjectX gives me a very ugly output of:


<<< session infos >>>

Monday, July 23, 2007 6:52:34 PM PDT
ProjectX 0.90.4.00.b19 (13.07.2007)

-> working with collection 0

-> save normal log file
-> log 'packets out of sequence' / bit errors
-> log 'missing startcodes'
-> log 'PES header found in ES'
-> log WSS
-> log VPS
-> log RDS
-> log max. 500 warnings/errors
-> write all video data
-> write all other data
-> patch c.d.flagged infos of pictures
-> add sequence end code
-> set resolution in SDE
-> PVA: strictly specs. for audio streams
-> VOB: determine diff. Cell timelines
-> TS: ignore scrambled packets
-> TS: enhanced search for open packets
-> TS: join file segments (of Dreambox®)
-> TS: generate PMT stream dependent
-> get only enclosed PES/TS packets
-> concatenate different recordings
-> ensure 1st PES-packet start with video
-> generate PCR/SCR from PTS

-> write output files to: 'C:\tmp\CAPS'

-> main I/O-Buffersize in bytes 4096000 bytes

FileSegments:
* (0) C:\tmp\CAPS\070723_165718 FOOD TV-0000.mpg
second. Files:
* ---

+> Input File 0: 'C:\tmp\CAPS\070723_165718 FOOD TV-0000.mpg' (100,061,184 bytes)
-> Filetype is MPEG-2 PS/SS (PES Container)
-> demux
-> found PES-ID 0xE0 (MPEG Video) @ 2062
-> found PES-ID 0xC0 (MPEG Audio) @ 4110
-> video basics: 544*480 @ 29.97fps @ 0.6735 (4:3) @ 2258800bps, vbvBuffer 112
-> starting export of video data @ GOP# 0
!> dropping useless B-Frames @ GOP# 0 / new Timecode 00:00:00.000
!> dropping GOP# 139 @ orig.PTS 00:02:31.731 (13655826), errorcode: 20
!> Pics exp/cnt 27/27, inGOP PTS diff. 100ms, new Timecode 00:02:31.451
!> dropping GOP# 140 @ orig.PTS 00:02:32.732 (13745916), errorcode: 20
!> Pics exp/cnt 25/25, inGOP PTS diff. 100ms, new Timecode 00:02:31.451
!> dropping GOP# 141 @ orig.PTS 00:02:33.666 (13830000), errorcode: 20
!> Pics exp/cnt 27/27, inGOP PTS diff. 116ms, new Timecode 00:02:31.451
!> dropping GOP# 142 @ orig.PTS 00:02:34.667 (13920090), errorcode: 20
!> Pics exp/cnt 30/30, inGOP PTS diff. 100ms, new Timecode 00:02:31.451
!> dropping GOP# 143 @ orig.PTS 00:02:35.785 (14020690), errorcode: 20
!> Pics exp/cnt 30/30, inGOP PTS diff. 133ms, new Timecode 00:02:31.451
!> Pics exp/cnt 36/36, inGOP PTS diff. 83ms, new Timecode 00:02:31.451
!> dropping GOP# 148 @ orig.PTS 00:02:41.741 (14556726), errorcode: 20
!> Pics exp/cnt 30/30, inGOP PTS diff. 66ms, new Timecode 00:02:31.451
!> dropping GOP# 149 @ orig.PTS 00:02:42.842 (14655825), errorcode: 20
!> Pics exp/cnt 33/33, inGOP PTS diff. 83ms, new Timecode 00:02:31.451
!> dropping GOP# 150 @ orig.PTS 00:02:44.010 (14760930), errorcode: 20
!> Pics exp/cnt 30/30, inGOP PTS diff. 166ms, new Timecode 00:02:31.451
!> dropping GOP# 151 @ orig.PTS 00:02:45.178 (14866035), errorcode: 20
!> Pics exp/cnt 30/30, inGOP PTS diff. 83ms, new Timecode 00:02:31.451
!> dropping GOP# 152 @ orig.PTS 00:02:46.295 (14966635), errorcode: 20
!> Pics exp/cnt 27/27, inGOP PTS diff. 66ms, new Timecode 00:02:31.451
!> dropping GOP# 153 @ orig.PTS 00:02:47.280 (15055224), errorcode: 20
!> Pics exp/cnt 27/27, inGOP PTS diff. 66ms, new Timecode 00:02:31.451
!> dropping GOP# 154 @ orig.PTS 00:02:48.281 (15145314), errorcode: 20
!> Pics exp/cnt 21/21, inGOP PTS diff. 83ms, new Timecode 00:02:31.451
!> dropping GOP# 155 @ orig.PTS 00:02:49.098 (15218887), errorcode: 20
!> Pics exp/cnt 30/30, inGOP PTS diff. 50ms, new Timecode 00:02:31.451
!> dropping GOP# 156 @ orig.PTS 00:02:50.166 (15314983), errorcode: 20
!> Pics exp/cnt 30/30, inGOP PTS diff. 83ms, new Timecode 00:02:31.451
!> dropping GOP# 157 @ orig.PTS 00:02:51.284 (15415584), errorcode: 20
!> Pics exp/cnt 27/27, inGOP PTS diff. 116ms, new Timecode 00:02:31.451
!> dropping GOP# 158 @ orig.PTS 00:02:52.335 (15510178), errorcode: 20
!> Pics exp/cnt 27/27, inGOP PTS diff. 66ms, new Timecode 00:02:31.451
!> dropping GOP# 159 @ orig.PTS 00:02:53.336 (15600268), errorcode: 20
!> Pics exp/cnt 27/27, inGOP PTS diff. 66ms, new Timecode 00:02:31.451
!> dropping GOP# 160 @ orig.PTS 00:02:54.337 (15690358), errorcode: 20
!> Pics exp/cnt 30/30, inGOP PTS diff. 83ms, new Timecode 00:02:31.451
!> PTS difference of 2135133 (00:00:23.723) to last exported GOP detected
!> dropping useless B-Frames @ GOP# 161 / new Timecode 00:02:31.451
!> dropping GOP# 162 @ orig.PTS 00:02:56.489 (15884052), errorcode: 20
!> Pics exp/cnt 36/36, inGOP PTS diff. 100ms, new Timecode 00:02:32.385
!> dropping GOP# 163 @ orig.PTS 00:02:57.790 (16001169), errorcode: 20
!> Pics exp/cnt 33/33, inGOP PTS diff. 33ms, new Timecode 00:02:32.385
!> dropping GOP# 164 @ orig.PTS 00:02:58.925 (16103271), errorcode: 20
!> Pics exp/cnt 30/30, inGOP PTS diff. 100ms, new Timecode 00:02:32.385
!> dropping GOP# 165 @ orig.PTS 00:03:00.026 (16202370), errorcode: 20
!> Pics exp/cnt 15/15, inGOP PTS diff. 116ms, new Timecode 00:02:32.385
!> dropping GOP# 166 @ orig.PTS 00:03:00.626 (16256424), errorcode: 20
!> Pics exp/cnt 27/27, inGOP PTS diff. 66ms, new Timecode 00:02:32.385
!> dropping GOP# 167 @ orig.PTS 00:03:01.594 (16343511), errorcode: 20
!> Pics exp/cnt 24/24, inGOP PTS diff. 66ms, new Timecode 00:02:32.385
!> dropping GOP# 168 @ orig.PTS 00:03:02.495 (16424592), errorcode: 20
!> Pics exp/cnt 21/21, inGOP PTS diff. 83ms, new Timecode 00:02:32.385
!> PTS difference of 617116 (00:00:06.856) to last exported GOP detected
!> dropping useless B-Frames @ GOP# 169 / new Timecode 00:02:32.385
!> dropping GOP# 171 @ orig.PTS 00:03:05.131 (16661829), errorcode: 20
!> Pics exp/cnt 28/28, inGOP PTS diff. 33ms, new Timecode 00:02:34.120
!> dropping GOP# 172 @ orig.PTS 00:03:06.099 (16748916), errorcode: 20
!> Pics exp/cnt 32/32, inGOP PTS diff. 83ms, new Timecode 00:02:34.120
!> dropping GOP# 178 @ orig.PTS 00:03:12.388 (17314981), errorcode: 20
!> Pics exp/cnt 23/23, inGOP PTS diff. 50ms, new Timecode 00:02:34.120
!> dropping GOP# 179 @ orig.PTS 00:03:13.222 (17390056), errorcode: 20
!> Pics exp/cnt 30/30, inGOP PTS diff. 83ms, new Timecode 00:02:34.120
!> dropping GOP# 180 @ orig.PTS 00:03:14.323 (17489155), errorcode: 20
!> Pics exp/cnt 37/37, inGOP PTS diff. 116ms, new Timecode 00:02:34.120
!> dropping GOP# 181 @ orig.PTS 00:03:15.675 (17610777), errorcode: 20
!> Pics exp/cnt 25/25, inGOP PTS diff. 33ms, new Timecode 00:02:34.120
!> dropping GOP# 182 @ orig.PTS 00:03:16.542 (17688855), errorcode: 20
!> Pics exp/cnt 32/32, inGOP PTS diff. 66ms, new Timecode 00:02:34.120
!> dropping GOP# 183 @ orig.PTS 00:03:17.677 (17790957), errorcode: 20
!> Pics exp/cnt 27/27, inGOP PTS diff. 100ms, new Timecode 00:02:34.120
!> dropping GOP# 184 @ orig.PTS 00:03:18.678 (17881047), errorcode: 20
!> Pics exp/cnt 24/24, inGOP PTS diff. 100ms, new Timecode 00:02:34.120
!> dropping GOP# 185 @ orig.PTS 00:03:19.579 (17962128), errorcode: 20
!> Pics exp/cnt 21/21, inGOP PTS diff. 66ms, new Timecode 00:02:34.120
!> PTS difference of 1369368 (00:00:15.215) to last exported GOP detected
!> dropping useless B-Frames @ GOP# 186 / new Timecode 00:02:34.120
!> dropping GOP# 187 @ orig.PTS 00:03:21.447 (18130296), errorcode: 20
!> Pics exp/cnt 24/24, inGOP PTS diff. 100ms, new Timecode 00:02:35.155
!> PTS difference of 81081 (00:00:00.900) to last exported GOP detected
!> dropping useless B-Frames @ GOP# 188 / new Timecode 00:02:35.155
!> dropping GOP# 189 @ orig.PTS 00:03:23.149 (18283449), errorcode: 20
!> Pics exp/cnt 39/39, inGOP PTS diff. 100ms, new Timecode 00:02:35.889
!> dropping GOP# 190 @ orig.PTS 00:03:24.550 (18409575), errorcode: 20
!> Pics exp/cnt 24/24, inGOP PTS diff. 83ms, new Timecode 00:02:35.889
!> dropping GOP# 191 @ orig.PTS 00:03:25.418 (18487653), errorcode: 20
!> Pics exp/cnt 24/24, inGOP PTS diff. 66ms, new Timecode 00:02:35.889
!> dropping GOP# 192 @ orig.PTS 00:03:26.319 (18568734), errorcode: 20
!> Pics exp/cnt 33/33, inGOP PTS diff. 133ms, new Timecode 00:02:35.889
!> dropping GOP# 193 @ orig.PTS 00:03:27.553 (18679845), errorcode: 20
!> Pics exp/cnt 21/21, inGOP PTS diff. 83ms, new Timecode 00:02:35.889
!> PTS difference of 469969 (00:00:05.221) to last exported GOP detected
!> dropping useless B-Frames @ GOP# 194 / new Timecode 00:02:35.889
!> dropping GOP# 195 @ orig.PTS 00:03:29.589 (18863028), errorcode: 20
!> Pics exp/cnt 36/36, inGOP PTS diff. 66ms, new Timecode 00:02:37.023
!> dropping GOP# 196 @ orig.PTS 00:03:30.873 (18978643), errorcode: 20
!> Pics exp/cnt 30/30, inGOP PTS diff. 133ms, new Timecode 00:02:37.023
!> dropping GOP# 197 @ orig.PTS 00:03:32.024 (19082247), errorcode: 20
!> Pics exp/cnt 12/12, inGOP PTS diff. 33ms, new Timecode 00:02:37.023
!> dropping GOP# 198 @ orig.PTS 00:03:32.492 (19124289), errorcode: 20
!> Pics exp/cnt 27/27, inGOP PTS diff. 66ms, new Timecode 00:02:37.023
!> dropping GOP# 199 @ orig.PTS 00:03:33.493 (19214379), errorcode: 20
!> Pics exp/cnt 27/27, inGOP PTS diff. 116ms, new Timecode 00:02:37.023
!> dropping GOP# 200 @ orig.PTS 00:03:34.527 (19307472), errorcode: 20
!> Pics exp/cnt 33/33, inGOP PTS diff. 50ms, new Timecode 00:02:37.023
!> dropping GOP# 201 @ orig.PTS 00:03:35.695 (19412577), errorcode: 20
!> Pics exp/cnt 30/30, inGOP PTS diff. 150ms, new Timecode 00:02:37.023
!> dropping GOP# 202 @ orig.PTS 00:03:36.879 (19519183), errorcode: 20
!> Pics exp/cnt 33/33, inGOP PTS diff. 200ms, new Timecode 00:02:37.023
!> dropping GOP# 203 @ orig.PTS 00:03:38.214 (19639303), errorcode: 20
!> Pics exp/cnt 30/30, inGOP PTS diff. 83ms, new Timecode 00:02:37.023
!> dropping GOP# 204 @ orig.PTS 00:03:39.332 (19739904), errorcode: 20
!> Pics exp/cnt 30/30, inGOP PTS diff. 183ms, new Timecode 00:02:37.023
!> dropping GOP# 205 @ orig.PTS 00:03:40.550 (19849513), errorcode: 20
!> Pics exp/cnt 30/30, inGOP PTS diff. 150ms, new Timecode 00:02:37.023
!> dropping GOP# 206 @ orig.PTS 00:03:41.701 (19953117), errorcode: 20
!> Pics exp/cnt 30/30, inGOP PTS diff. 133ms, new Timecode 00:02:37.023
!> dropping GOP# 207 @ orig.PTS 00:03:42.835 (20055219), errorcode: 20
!> Pics exp/cnt 33/33, inGOP PTS diff. 200ms, new Timecode 00:02:37.023
!> dropping GOP# 208 @ orig.PTS 00:03:44.170 (20175339), errorcode: 20
!> Pics exp/cnt 24/24, inGOP PTS diff. 150ms, new Timecode 00:02:37.023
!> dropping GOP# 209 @ orig.PTS 00:03:45.154 (20263927), errorcode: 20
!> Pics exp/cnt 30/30, inGOP PTS diff. 133ms, new Timecode 00:02:37.023
!> dropping GOP# 210 @ orig.PTS 00:03:46.322 (20369032), errorcode: 20
!> Pics exp/cnt 30/30, inGOP PTS diff. 150ms, new Timecode 00:02:37.023
!> dropping GOP# 211 @ orig.PTS 00:03:47.507 (20475639), errorcode: 20
!> Pics exp/cnt 27/27, inGOP PTS diff. 116ms, new Timecode 00:02:37.023
!> dropping GOP# 212 @ orig.PTS 00:03:48.541 (20568732), errorcode: 20
!> Pics exp/cnt 27/27, inGOP PTS diff. 83ms, new Timecode 00:02:37.023
!> dropping GOP# 213 @ orig.PTS 00:03:49.542 (20658822), errorcode: 20
!> Pics exp/cnt 24/24, inGOP PTS diff. 116ms, new Timecode 00:02:37.023
!> dropping GOP# 214 @ orig.PTS 00:03:50.493 (20744407), errorcode: 20
!> dropping useless B-Frames @ GOP# 217 / new Timecode 00:02:37.023
!> dropping GOP# 219 @ orig.PTS 00:03:55.848 (21226389), errorcode: 20
!> Pics exp/cnt 27/27, inGOP PTS diff. 166ms, new Timecode 00:02:39.059
!> dropping GOP# 220 @ orig.PTS 00:03:56.949 (21325488), errorcode: 20
!> Pics exp/cnt 24/24, inGOP PTS diff. 116ms, new Timecode 00:02:39.059
!> dropping GOP# 221 @ orig.PTS 00:03:57.900 (21411073), errorcode: 20
!> Pics exp/cnt 33/33, inGOP PTS diff. 200ms, new Timecode 00:02:39.059
!> dropping GOP# 222 @ orig.PTS 00:03:59.235 (21531193), errorcode: 20
!> Pics exp/cnt 30/30, inGOP PTS diff. 133ms, new Timecode 00:02:39.059
!> dropping GOP# 223 @ orig.PTS 00:04:00.386 (21634797), errorcode: 20
!> dropping GOP# 229 @ orig.PTS 00:04:06.125 (22151313), errorcode: 20
!> Pics exp/cnt 27/27, inGOP PTS diff. 66ms, new Timecode 00:02:39.592
!> dropping GOP# 230 @ orig.PTS 00:04:07.093 (22238400), errorcode: 20
!> Pics exp/cnt 30/30, inGOP PTS diff. 100ms, new Timecode 00:02:39.592
!> dropping GOP# 231 @ orig.PTS 00:04:08.194 (22337499), errorcode: 20
!> Pics exp/cnt 33/33, inGOP PTS diff. 100ms, new Timecode 00:02:39.592
!> dropping GOP# 232 @ orig.PTS 00:04:09.412 (22447108), errorcode: 20
!> Pics exp/cnt 30/30, inGOP PTS diff. 150ms, new Timecode 00:02:39.592
!> dropping GOP# 233 @ orig.PTS 00:04:10.563 (22550712), errorcode: 20
!> Pics exp/cnt 21/21, inGOP PTS diff. 66ms, new Timecode 00:02:39.592
!> dropping GOP# 234 @ orig.PTS 00:04:11.364 (22622784), errorcode: 20
!> Pics exp/cnt 27/27, inGOP PTS diff. 116ms, new Timecode 00:02:39.592
!> dropping GOP# 235 @ orig.PTS 00:04:12.398 (22715877), errorcode: 20
!> Pics exp/cnt 27/27, inGOP PTS diff. 83ms, new Timecode 00:02:39.592
!> dropping GOP# 236 @ orig.PTS 00:04:13.399 (22805967), errorcode: 20
!> Pics exp/cnt 21/21, inGOP PTS diff. 116ms, new Timecode 00:02:39.592
!> dropping GOP# 237 @ orig.PTS 00:04:14.250 (22882543), errorcode: 20
!> Pics exp/cnt 35/35, inGOP PTS diff. 150ms, new Timecode 00:02:39.592

++> Mpg Video: PID 0x0000 / PesID 0xE0 / SubID 0x00 :
-> Video: fr-ct-1p-cg-og-dg -> 7490-73-0-237-0-90
-> Video length: 7490 frames @ 00:04:09.910
-> GOP summary: min. 20, max. 92 fields; contains interlaced & progressive frames
-> avg. nom. bitrate 1929963bps (min/max: 779600/4446800)
-> set first sequenceheader bitrate to 4446800bps
---> new File: C:\tmp\CAPS\070723_165718 FOOD TV-0000.m2v

++> Mpg Audio: PID 0x0000 / PesID 0xC0 / SubID 0x00 :
-> check CRC of AC-3 / MPEG-Audio L1,2
-> remove CRC in MPEG-Audio L1,2
-> add frames
-> Audio PTS: first packet 00:00:00.180, last packet 00:05:47.124
-> Video PTS: start 1.GOP 00:00:00.280, end last GOP 00:05:45.892
-> adjusting audio at video-timeline
-> src_audio: MPEG-1, Layer2, 48000Hz, stereo, 160kbps, noCRC @ 00:00:00.000
audio frames: wri-pre-skip-ins-add 10413-0-0-0-0 @ 00:04:09.912 done...
---> new File: 'C:\tmp\CAPS\070723_165718 FOOD TV-0000.mp2'

summary of created media files:
.Video (m2v): 7490 Frames 00:04:09.910 'C:\tmp\CAPS\070723_165718 FOOD TV-0000.m2v'
Audio 00 (mp2): 10413 Frames 00:04:09.912 0-0-0-0 'C:\tmp\CAPS\070723_165718 FOOD TV-0000.mp2'
=> 65,289,322 bytes written...
-> we have 193 warnings/errors.


That clip should be well over 5minutes long, yet is only outputting to be 4:09 in projectX, and StaxRip is showing the same thing. The end result is a video that has a bunch of missing audio & video, and obviously is unwatchable..

Now; I loaded the raw mpeg inside DGIndex, saved the .d2v in DGIndex, and then opened that .d2v as the source file in StaxRip and it works PERFECTLY fine. DGIndex has no problem demuxing it somehow, yet ProjectX does... and I cannot figure out how to make StaxRip completely bypass ProjectX and demux and choose the audio from DGIndex instead

I have experimented with this over 10 times now and I've got to manually load & create the .d2v inside of DGIndex every time and then load THAT .d2v in stax, and select the Audio Output file from there as well.. It's getting to be a tedious process and I'm just wondering if anybody can please help me out

I can gladly PM you a link to a problematic raw .mpeg sample I have hosted as well (A perfect example; it plays as a full 5m 16s in Winamp or VLC or ANYTHING else, but once loaded into StaxRip it will appear as only 4m10s long and has a bunch of problems)

THANKS all

stax76
24th July 2007, 09:16
@duckdown

You can disable ProjectX under Options/Preperation.

potatochobit
25th July 2007, 03:29
I have an h264 file and I add it to staxrip to re-encode it at a different bitrate in h264, but the encode messes up.

the sound is muxed fine but the video plays like it has no time stamps. it runs through then video repeats two or three times until the video reaches the end.

similalrly in xvid if i want to convert to an h264 without making a lossless first the video comes out real jerky and the encode process takes 3 to 4 times as long.

how do i fix this or what am I doing wrong? in FFdshow I have xvid and h264 as libavcodec decoder, would that cause problems?

Shaocaholica
5th August 2007, 22:38
I'm having some audio trouble when staxrip demuxes the audio stream and the resulting audio file (usually vbr-mp3) is shorter than its supposed to be resulting in the loss of about ~120 seconds of audio at the end of the file. I've done some comparisons by manually demuxing the mp3 using vdubmod thats being used by staxrip and that works fine. Its just the automated demux done by staxrip thats not working. Perhaps its a flag or something. I don't know. Is there anyway to modify the way staxrip calls vdubmod for demuxing? Maybe even turn it off since it produces a file that I can't use anyway(50% of the time).

Edit: Ok, figured out how to turn it off. Now how do I get it to not throw away the last few minutes of audio? I think it might have something to do with the way vdubmod sees vbr-mp3 headers as being wrong when they are correct.

Gawwad
5th August 2007, 23:42
what is the easiest way to embed a watermark logo on staxrip output?
for example i have in the same folder video1.mpg, video2.mpg, video3.mpg and logo.bmp
is there a special script that i can input to staxrip so that it will add the logo to the output video?

thanx in advance

Shaocaholica
6th August 2007, 00:18
You should be able to add a watermark via a avisynth filter. Not sure if staxrip supports that but you could write it in manually into the avs script file for that rip.

darkside40
6th August 2007, 16:38
I am new to Staxrip and i have one question: Is Staxrip SMP capable when encoding to XviD?

So will it use both of my CPU Cores?

buzzqw
6th August 2007, 17:23
SMP depends on xvid builds not on staxrip

staxrip is a gui, very evoluted, but still a gui, the hard work is done by encoder

BHH

darkside40
6th August 2007, 19:40
Thx for the answer.

Another question: What about the integration of the Lame MT (http://softlab.technion.ac.il/project/LAME/html/lame.html) Encoder as an alternative to the normal Lame Encoder?

buzzqw
6th August 2007, 19:51
is Stax that select what to include in software updates...

i don't know well lame mt, but if command line is the same as Lame you can manually substitute it...

BHH

LRN
11th August 2007, 07:25
You should be able to add a watermark via a avisynth filter. Not sure if staxrip supports that but you could write it in manually into the avs script file for that rip.
There is no native AviSynth filter for logo overlaying. There is, however, a VirtualDub filter (few of them actually) for such thing.
Bad news is that i tried to use one of these filters (Logo by Donald Graft) in StaxRip via LoadVirtualDubPlugin and failed to succeed.

----EDIT

OK, i did it. By the way, Stax, you should fix this strange behaviour of StaxRip.
This is how your Filters list should look:

Source: some source (StaxRip will create it by itself)
...anything...
Misc: ConvertToRGB()
Misc: Import("pathtologoavs")
Misc: VD_logo(0, 0, 255, 2, 0, 0, 0, 0, "fullbmpfilename", false, 0, 100, 0, 10, 100, 10)
Misc: ConvertToYV12()
...anything...

replace bold dummys with real paths. You could use StaxRip macros for AviSynth (see below).

Trick is to keep these lines of code in Misc category, because StaxRip extracts everything else (well, Plugins and Source for sure) into separate file and uses it as "Source". I don't know why. So, i repeat, keep every custom filter (at least VDub filters and calls to LoadVirtualDubPlugin) as Misc. Else StaxRip will complain that there is "No valid source".

ConvertToYV12() is not required really to preview filter's work via F5, but encoder will probably want YV12 anyway. Of course all other filters (Deinterlace, Resize, Crop) should be added as usual.

logo.avs is:

###################################################################
# Logo by Donald Graft, v1.3b4 #
# #
# In the filter configuration dialog box, enter the input file. #
# If the specified bitmap file cannot be found, or if it is not #
# a bitmap file, or if it is of the wrong depth (depth must be 24 #
# bit), the output frame will be all black. #
# #
# See "simplified_versions.avs" for some examples. #
###################################################################

function VD_Logo(clip clip, int "x", int "y", int "alpha", int "transparent",
\ int "xr", int "xg", int "xb", int "tolerance", string "filename",
\ bool "animate", int "start", int "duration", int "loops",
\ int "fadeinlen", int "fadeoutend", int "fadeoutlen")
{
LoadVirtualdubPlugin(VirtualDub_plugin_directory+"\logo.vdf", "_VD_Logo", 1)
return clip._VD_Logo(default(x,0), default(y,0), default(alpha,128),
\ default(transparent,1), default(xr,0), default(xg,0), default(xb,255),
\ default(tolerance,0), default(filename,VirtualDub_plugin_directory+"\logo.bmp"),
\ default(animate,false)?1:0, default(start,0), default(duration,0), default(loops,0),
\ default(fadeinlen,0), default(fadeoutend,200), default(fadeoutlen,0))
}

# example1 (static logo):
# ConvertToRGB()
# VD_logo(0, 0, 128, 1, 0, 0, 255, 0, VirtualDub_plugin_directory+"\logo2.bmp", false, 100, 200, 0, 10, 180, 10)
# ConvertToYUY2()

# example2 (animated logo):
# ConvertToRGB()
# VD_Logo(33, 33, 128, 1, 0, 0, 0, 0, "G:\Recu0001.bmp", true, 0, 1, 20, 0, 0, 0)
# ConvertToYUY2()

where VirtualDub_plugin_directory is a path (enquoted) to Vdub plugin directory. In StaxRip you could use macro %application_dir:<name>%. Exactly - %application_dir:VirtualDub%\plugins\

This particular logo.avs is not the same as everywhere on the Internet. I changed "transparent" from bool to int, because without it you can't make this filter to use Alpha Mask (see documentation).

pausefisk
13th August 2007, 22:46
for a logo just add a filter to staxrip with code like this:

Import("d:\progs\riplogos\dek.avsi")
X=601
Y=62
clip=last
maskclip = ImageReader("d:\progs\riplogos\sbs6mask.bmp")
maskclip = Loop(maskclip, Framecount(clip))
dekafka(clip, maskclip, X, Y, maskclip.width, maskclip.height, 256)

ConvertToYv12()

logo = ImageSource("d:\progs\riplogos\sbs6.bmp")
Overlay (logo, X, Y,mask=logo, opacity=0.6)

i use this script to hide a existing logo and put a own logo over it (with transparancy).
for just adding a logo you can just use the last three rules.



Exactly what i want to do! not hide any existing logo, but just add one. there is reason i use thise fine tool, that i dont have to have too much knowledge about this. how exactly do i add those lines, and where? and what lines only do i have to add just to add a logo, with lets say 60% transparancy?

Ga1j1n
14th August 2007, 17:17
Stax / forumites,

Is it possible to make the Staxrip created mp4's encoded with the default constant quality profile compliant with the PS3 by way of a check box setting or profile.

I have been using this superb Gui for approx 6 months to achive my video collection in preperation for the day when I would finally buy myself a PS3 (I'm not a fanboy by any means I just think it has great potential as a standalone media centre) that day recently arrived when I picked one up secondhand at a reasonable cost.

The problem is that despite playing 264 encoded mp4's out of the box I have discovered through some forum detection work that they only support level 4.1 encodes, this means that in order to get my collection to play on the beast I have to manually demux into elementary streams, change the level of the 264 and re-mux into an mp4 container as per the easy method described in post #182, this is a pain in the butt to say the least although it works.
http://forum.doom9.org/showthread.php?t=120627&highlight=ps3&page=10

Anyway after this change the mp4's play perfectly so either the PS3 can play level 5.1 files by default or staxrip creates these files but doesn't specify the file type branding box at the point of muxing the streams into the mp4 container

So it should be relatively easy to (I say with trepidation) to either set the type by default or allow this as an option within Staxrip (At this point I'd like point out that I am basing this entirely on deduction and in no way suggest that I am an expert in these things)

I would be more than happy to test any files or beta builds/ profiles that may arise from this and will answer any questions I can, here's hoping

:thanks:

LRN
14th August 2007, 22:56
how exactly do i add those lines, and where? and what lines only do i have to add just to add a logo, with lets say 60% transparancy?
right click on filter list, add any filter from MISC category. Right click on this filter, Edit. Replace filter's code to be like this:

X=601 Y=62 logo=ImageSource("path-to-file.bmp") Overlay(logo, X, Y,mask=logo, opacity=0.6)

Gawwad
15th August 2007, 03:39
right click on filter list, add any filter from MISC category. Right click on this filter, Edit. Replace filter's code to be like this:

X=601 Y=62 logo=ImageSource("path-to-file.bmp") Overlay(logo, X, Y,mask=logo, opacity=0.6)


its not working for me :(

i inserted this code:
X=601 Y=62 logo=ImageSource("C:\Documents and Settings\Owner\Desktop\Logo1.bmp") Overlay(logo, X, Y,mask=logo, opacity=0.6)

in here:
http://img172.imageshack.us/img172/2864/clipboard01ww7.jpg
http://img390.imageshack.us/img390/6720/clipboard01bj2.jpg

the other scripts doesn't seems to have spaces!

btw: how can i position as well the water mark logo, and is there a way to make its background colourless, like how Donald Graft's virtualdubmod logo function (where in default it will make blue 255 only colourless)?

pausefisk
15th August 2007, 09:36
OK, i did it. By the way, Stax, you should fix this strange behaviour of StaxRip.
This is how your Filters list should look:

Source: some source (StaxRip will create it by itself)
...anything...
Misc: ConvertToRGB()
Misc: Import("pathtologoavs")
Misc: VD_logo(0, 0, 255, 2, 0, 0, 0, 0, "fullbmpfilename", false, 0, 100, 0, 10, 100, 10)
Misc: ConvertToYV12()
...anything...

replace bold dummys with real paths. You could use StaxRip macros for AviSynth (see below).

Trick is to keep these lines of code in Misc category, because
logo.avs is:

###################################################################
# Logo by Donald Graft, v1.3b4 #
# #
# In the filter configuration dialog box, enter the input file. #
# If the specified bitmap file cannot be found, or if it is not #
# a bitmap file, or if it is of the wrong depth (depth must be 24 #
# bit), the output frame will be all black. #
# #
# See "simplified_versions.avs" for some examples. #
###################################################################

function VD_Logo(clip clip, int "x", int "y", int "alpha", int "transparent",
\ int "xr", int "xg", int "xb", int "tolerance", string "filename",
\ bool "animate", int "start", int "duration", int "loops",
\ int "fadeinlen", int "fadeoutend", int "fadeoutlen")
{
LoadVirtualdubPlugin(VirtualDub_plugin_directory+"\logo.vdf", "_VD_Logo", 1)
return clip._VD_Logo(default(x,0), default(y,0), default(alpha,128),
\ default(transparent,1), default(xr,0), default(xg,0), default(xb,255),
\ default(tolerance,0), default(filename,VirtualDub_plugin_directory+"\logo.bmp"),
\ default(animate,false)?1:0, default(start,0), default(duration,0), default(loops,0),
\ default(fadeinlen,0), default(fadeoutend,200), default(fadeoutlen,0))
}

# example1 (static logo):
# ConvertToRGB()
# VD_logo(0, 0, 128, 1, 0, 0, 255, 0, VirtualDub_plugin_directory+"\logo2.bmp", false, 100, 200, 0, 10, 180, 10)
# ConvertToYUY2()

# example2 (animated logo):
# ConvertToRGB()
# VD_Logo(33, 33, 128, 1, 0, 0, 0, 0, "G:\Recu0001.bmp", true, 0, 1, 20, 0, 0, 0)
# ConvertToYUY2()

where VirtualDub_plugin_directory is a path (enquoted) to Vdub plugin directory. In StaxRip you could use macro %application_dir:<name>%. Exactly - %application_dir:VirtualDub%\plugins\


I did exactly as written here, but when i try in StaxRip i got this error:

Avisynth open failure:
I don't know what "VirtualDub_plugin_directory" means
(c:\test\logo.avs, line 17)
(c:\test\encoding\logovideo.avs, line 7)

line 17:

LoadVirtualdubPlugin(VirtualDub_plugin_directory+"\logo.vdf", "_VD_Logo", 1)

I have downloaded and put "logo.vdf" in this folder:

C:\test\StaxRip_1.0.0.1\Settings\Applications\VirtualDubMod\plugins\

My filterlist in StaxRip looks like this: http://bildr.no/view/94903

any suggestion?

LRN
15th August 2007, 16:32
I don't know what "VirtualDub_plugin_directory" means
where VirtualDub_plugin_directory is a path (enquoted) to Vdub plugin directory.
I meant that you should replace VirtualDub_plugin_directory with something like "C:\test\StaxRip_1.0.0.1\Settings\Applications\VirtualDubMod\plugins\"...

its not working for me
What is StaxRip saying? "No valid source"? Or it shows preview window with some error text instead of picture?
Actually, i suspect that X value is too big. You have only 4xx video with, while X exceeds 600.

the other scripts doesn't seems to have spaces!
This is ok. Spaces or linebreaks - no difference.

btw: how can i position as well the water mark logo, and is there a way to make its background colourless, like how Donald Graft's virtualdubmod logo function (where in default it will make blue 255 only colourless)?
X = ... Y = ... - this is for positioning.
Colourless? You mean - transparent? Well, do you see "mask=logo" argument in Overlay() call? For transparency to work, mask should be not "logo", but a separate bmp image with transparency mask, loaded via ImageSource just like logo.
Something like this (did not tested this code, it may not work!):

clip=last X=0 Y=0 logo=ImageSource("C:\Documents and Settings\Owner\Desktop\Logo1.bmp") logomask=ImageSource("C:\Documents and Settings\Owner\Desktop\Logo1_mask.bmp") last=clip Overlay(logo, X, Y,mask=logomask, opacity=1.0)

pausefisk
15th August 2007, 17:11
i tried to change

LoadVirtualdubPlugin(VirtualDub_plugin_directory+"\logo.vdf", "_VD_Logo", 1)

to

LoadVirtualdubPlugin(C:\test\StaxRip_1.0.0.1\Settings\Applications\VirtualDubMod\plugins+"\logo.vdf", "_VD_Logo", 1)

and

LoadVirtualdubPlugin(C:\test\StaxRip_1.0.0.1\Settings\Applications\VirtualDubMod\plugins"\logo.vdf", "_VD_Logo", 1)

and

LoadVirtualdubPlugin(C:\test\StaxRip_1.0.0.1\Settings\Applications\VirtualDubMod\plugins\logo.vdf", "_VD_Logo", 1)

but then i got other serious error messages. how, exactly, should that line look like??

LRN
15th August 2007, 19:57
LoadVirtualdubPlugin("C:\test\StaxRip_1.0.0.1\Settings\Applications\VirtualDubMod\plugins"+"\logo.vdf", "_VD_Logo", 1)
or
LoadVirtualdubPlugin("C:\test\StaxRip_1.0.0.1\Settings\Applications\VirtualDubMod\plugins\logo.vdf", "_VD_Logo", 1)

pausefisk
15th August 2007, 23:26
Thank you very much LRN! I finally got it to work. It was that missing line! Using this line made it work:

LoadVirtualdubPlugin("C:\test\StaxRip_1.0.0.1\Settings\Applications\VirtualDubMod\plugins"+"\logo.vdf", "_VD_Logo", 1)

Now, i have to get the logo to the bottom instead of the top... hehe any fast suggestion? I will do some reading in logo faq

LRN
16th August 2007, 17:16
X=... Y=... - this is X and Y offset of logo. So, if you need to move logo right, increase X, to move it down - increase Y.
My own preference, however, is to make a logo that has the same image resolution as video does, then convert it to an alpha-mask and use both to place transparent logo at X=0 and Y=0. Of course, logo itself occupies only a small portion of image, everything else is just a blank, made transparent because of proper alpha mask.

pausefisk
16th August 2007, 20:49
I made the logo same size as video and added the alpha mask, works perfect!

invy
22nd August 2007, 11:36
EDIT: nvm. My friends sent me his files and it fixed all problems. The sites through the external update must have corrupted files or something.

duckdown
30th August 2007, 02:12
Hi all, just got 2 quick questions :)

I'm currently running a quad core Xeon X3220 @ 3.0ghz and notice that when I'm encoding to xvid, only about 45-50% of my CPU is being used. In order to get 100% usage I have to encode 2 segments at once. Is there any solution for this? The FPS does not drop (by much if at all) when I'm running 2 segments at once, and if I just do 1 at a time its pretty much the same speed. How can I utlizise all 4 cores at once?

Second part of the question is, is it possible to do 1 pass on segments of a show during live TV but then at the end of the show do the second pass on all of the segments at once? So in essence when my show ends, I can finish the last segment on 1pass then reload all of the segments and do the final pass on them (Cutting down on the overall time so I don't have to do BOTH passes at the end of the show)? And if so, how big should I be making the first passed saved segments so that I can compress them down in size properly on the final pass.. A bit new at this, sorry, but am looking to get some use out of my new DVB card and record some of my favorite shows


Oh, and a quick final question sorry, lately when I have been specifying a target size for my encoded file it always ends up a few megs short.. I cannot for the life of me figure out why, can someone shed some light on this? Thanks

LRN
30th August 2007, 05:56
For some weird reason option "Number of threads" is greyed out in XviD codec settings. Personally, i am using x264, and it works in multithread mode fine.
1st pass in live time? Do you think your CPU could handle decoding this live show (or encoding, if it's not digital already) AND making a 1st pass on it? Anyway, it's not possible in plain StaxRip, or at least i don't know how to do it.
Looks like XviD overshots a few megabytes. Or StaxRip calculates wrong bitrate (remember, there's AVI container besides video and audio, and there is subtitles, if you have them there). Try always making target bitrate (or size) a bit lower.

pdadi
30th August 2007, 21:08
I am trying to add DTS file after the initial analysis. Source is
MPEG2 DVD and target is avi container with Xvid encoded.

It doesn't allow me add DTS saying its not allowed with AVI.

As a workaround I am encoding with noaudio and using Avi_Muxgui
to mux DTS with avi file.

Thanks for any info.

ScubaJoe13
1st September 2007, 03:32
I have been waiting awhile for a discussion on how to get VDubMod filters (.vdf files) to work in StaxRip. I was very encouraged by the discussion above regarding logo.vdf, and I spent last night trying to get the filters I use to work in Staxrip. I am afraid I am running into a problem that I can't seem to find a fix for, and I hope someone can help.

The Details:

The filters names are Hue.vdf and MSU_SmartBrightness.vdf, both by Donald Graft (http://neuron2.net/).
They are in the plugins sub-directory of VDubMod.
They both work; I have used them successfully in VDM.
In order to test the filter I chose one, Brightness (with extreme settings to verify if it works), and attempted to copy the format for logo.vdf in the filter section of StaxRip.
This is a screenshot of my filter setup:
http://server3.uploadit.org/files/ScubaJoe13-Staxrip_filter_snap.jpg

The script for the first filter is:
LoadVirtualdubPlugin("C:\Program Files\Multimedia\Burners and Rippers\Stax Rip\Applications\VirtualDubMod\plugins\MSU_SmartBrightness.vdf", "_VD_MSU SmartBrightness 1.01")
and for the settings is:
_VD_MSU SmartBrightness 1.01(0, 248, 189, 0)

I know this is the proper syntax (# of settings parens and commas, etc.) for the settings, because the .vcf file that VDM creates to save the settings I use when applying this filter has these lines in it:

VirtualDub.video.filters.Add("MSU SmartBrightness 1.01");
VirtualDub.video.filters.instance[0].Config(0, 248, 189, 0);

The error I get is as follows:

Avisynth open failure:
Script error: expected: ")"
the error occurs in line 6, column 31 of filter script 1.avs (which is the line for the settings; evidently it gets through the load OK)

In some of the permutations of slight alterations to the filters I have also gotten this error:

Avisynth open failure:
The script's return was not a video clip.

As I just mentioned I have tried many different permutations. I have bracketed the filters with the two true Misc. filters (Convert to RGB and Convert to YV12) as shown above, I have also tried it with and with out the ",1" at the end of the first line (I am not sure what that is for), I have included and not included the leading "_" in the first space of the second line and I have tried combinations of all of these. I have also retyped the second line and insured that the parens were actually parens.

One final item that may be interesting: I found a file named staxripssettings.vcf in the main Directory of VDubMod. I even tried to insert the direct commands in there, to no avail. It seems that Staxrip creates it's own .vcf for every pass (the ones in the temp file), I'm not even sure if/how the prog uses that .vcf file. If anyone wants to see it, the file can be found Here (http://www.megaupload.com/?d=4TQ8DUOW).



I am at a dead end, and any help that could be provided would be greatly appreciated.

LRN
2nd September 2007, 21:28
MSU_SmartBrightness.vdf can't be by Donald Graft, because it is by MSU.
"_VD_MSU SmartBrightness 1.01" - weird argument. Are you sure you wrote this one correctly? Maybe it should be like LoadVirtualDubPlugin("C:\Program Files\Multimedia\Burners and Rippers\Stax Rip\Applications\VirtualDubMod\plugins\MSU_SmartBrightness.vdf","_VD_MSU_SmartBrightness",1.01)?

ScubaJoe13
3rd September 2007, 13:48
LRN, TYVM for your reply. It got me looking at the lines again, and you explained what that "1", or in my case "1.01" at the end of the first line is all about. And yes, the MSU brightness is not by Graft. Up until very recently I have been using their brightness/contrast until I found the MSU one which has better control. I forgot I switched.

On a more important note, I got it to work! I tried your version and then looked again at the settings line, and saw I had left out the "_" between MSU and Brightness. Once I fixed that, I got it to work.

For future reference, anyone planning on using a .vdf filter must bracket the filter with the Convert to RGB and Convert to YV12 filters, as it appears all .vdf video filters can only operate in RGB. While this adds to encoding time, it is a trade off I can live with.

I will also include the proper syntax for three filters: MSU Brightness, brightness/contrast and Hue (the latter 2 by Graft etal). The actual numbers in the settings line of each represent extreme usage of the filters to make it apparent whether or not it worked. In order to get the proper settings for your vid, open VDubMod, load the filter, play with the settings until you are satisfied, and the under file do a Save Processing Settings. Then open up the resulting .vcf file in notepad and you will see the correct numbers to plug into your settings line. Do Not use the syntax you find in that file. Use the syntax as outlined below.

MSU_Brightness

Load Filter - LoadVirtualDubPlugin("C:\Program Files\Multimedia\Burners and Rippers\Stax Rip\Applications\VirtualDubMod\plugins\MSU_SmartBrightness.vdf","_VD_MSU_SmartBrightness")

Filter Settings - _VD_MSU_SmartBrightness(0, 248, 189, 0)

Brightnes/Contrast

Load Filter - LoadVirtualDubPlugin("C:\Program Files\Multimedia\Burners and Rippers\Stax Rip\Applications\VirtualDubMod\plugins\bright.vdf","_VD_bright")

Filter Settings - _VD_bright(122,24)

Hue

Load Filter - LoadVirtualDubPlugin("C:\Program Files\Multimedia\Burners and Rippers\Stax Rip\Applications\VirtualDubMod\plugins\hue.vdf","_VD_hue")

Filter Settings - _VD_hue(108, 0, 378, 112, 63)

I hope this helps others trying to use these , or other, filters.

Shaocaholica
5th September 2007, 16:16
Can someone help me modify the PD-ipod profile for iPhone encoding based on Kurtnoise13's findings (http://forum.doom9.org/showthread.php?p=1034432#post1034432). There's already a megui profile but I'm having trouble deciphering everything in the xml. I think the easiest way is to modify the iPod profile with all the changes that the iPhone can support. I think its mostly something about "baseline level 3.0".

LRN
13th September 2007, 17:55
9 Reasons To Update StaxRip to next version:

1) New software versions.

2) New AAC profiles. Here's what i figured out:
AAC VBR 96 kbps:

"%application:BeSweet%" -core( -input "%input%" -output "%output%_tmpwav.wav" -2ch -logfile "%output%_tmpwav.wav.log" ) -azid( -c normal -L -3db ) -ota( -d %delay% -g max )
"%application:NeroAACEnc%" -2pass -br 98304 -if "%output%_tmpwav.wav" -of "%output%"
cmd /C del "%output%_tmpwav.wav"

creates temporary file %output%_tmpwav.wav , logs BeSweet output to %output%_tmpwav.wav.log , creates %output% and deletes %output%_tmpwav.wav
%output%_tmpwav.wav tends to be very big, for 80-min 445kbps ac3 i got ~700kbps WAV (more than 2 gigabytes), but precise 2pass AAC encoding (%output% is guaranteed to be <98304/8*length> bytes long (or a bit smaller)) is worth it. Now "bitrate" parameter in StaxRip's audio profile makes sense.
Here's one for 6-channel AAC:
AAC 5.1 VBR 224 kbps

"%application:BeSweet%" -core( -input "%input%" -output "%output%_tmpwav.wav" -6chwav -logfile "%output%_tmpwav.wav.log" ) -azid( -c normal -L -3db ) -ota( -d %delay% -g max )
"%application:NeroAACEnc%" -2pass -br 229376 -if "%output%_tmpwav.wav" -of "%output%"
cmd /C del "%output%_tmpwav.wav"

Both profiles are not named "HE" because neroAACenc applies LC/HE/HEv2 automatically. Mp4box should assume HE input though.

3) Extended logging. It would be awesome to save some codec's data (besweet, x264 and mp4box console output, and much more). For BeSweet it could be done via -logfile switch. For x264 and mp4box - via stdout redirect.

4) More than 2 audio tracks. I think it is not hard to implement variable number of audio tracks. Or at least 4-8. Two just isn't enough.

5) Use subtitles and chapters files size in video bitrate calculation. At the moment StaxRip would ignore 20-megabyte long subtitle file when it comes up with video bitrate.

6) Update x264 (and other encoders) profiles.

7) Support for %track_bitrate% variable that corresponds to value of "bitrate" field in audio profile.

8) More comfortable AviSynth script editor. And new filter versions.

9) Resizeable windows.

Stax, how about that? Or maybe someone else could do the job?

duckdown
13th September 2007, 20:23
Hi all... Have a problem :(

I was using my DVB-S card to record a live fighting event this past weekend, and I know a guy who is a really into the video scene I guess, and he tells me that my encoded xvid video is suffering from a symptom called "Ghosting and Blended Frames"

I am using StaxRip to try and encode the video to an XviD file, and am just using the plain "Deinterlace" option (which the show should require) and the end result is pretty horrific. Even more perplexing is how when I choose an option like IVTC (which the show obviously is NOT) or FAST DEINTERLACE, the problems do not (seem to) appear! At least as far as I can tell.

Here is a screenshot, DEINTERLACE vs. IVTC vs. FAST DEINTERLACE

http://img174.imageshack.us/img174/6360/motion2tb7.jpg


As you can see, the problem exists ONLY in the regular plain Deinterlaced version. None of the other two methods exhibit even anything remotely similar as far as this motion blur goes.

A link to the raw 1 minute sample from which these results were produced is located here: http://torontojungle.sslpowered.com/Sample/ufc-motionblur-cut.mpg


This is driving me nuts because the problem has plagued me in the past before, but not knowing what the symptoms were called or where to approach for help had me just ignoring it (Thank God for Doom9! )

Why would this problem appear in DEINTERLACE but not FAST DEINTERLACE (or is it just to my untrained eye?) ?

If anyone has any suggestions, comments, reccomendations, anything... I am all ears and more than willing to try or accomdate any ideas..

Thanks again and will eagerly be watching this thread waiting for a response!!!

Cheers

LRN
13th September 2007, 21:53
Read this (http://en.wikipedia.org/wiki/Deinterlacing), then ask if you don't understand something.

Fast Deinterlace discards frames. Bad.
Deinterlace blends. Bad.
IVTC restores. Good.
Use IVTC. Learn how to tweak Telecide() settings (reference manual and tutorial included in DeComb download)

duckdown
14th September 2007, 01:16
Hi there, thank you for the response... I am sadly more confused than ever after reading it.. You say use IVTC but then wouldn't IVTC drop the FPS to only 23fps ? I was always told IVTC was for scripted primetime TV shows.. Or is it possible to use IVTC and then keep the fps at 29fps properly?

I tried watching the segment I encoded with IVTC and it comes out choppy kind of so that can't be it..

Sorry, more help requested if possible.. Would like to clear this up :(

Thank you for the help!

edit: Oh, also, I added FieldDeinterlace(blend=false) and this seems to have fixed the ghosting! (In that segment I tried, at least).. Is it possible that I need to do this every time for shows? Thanks

digidragon
14th September 2007, 13:26
Is it possible to add Proxy Support for the Updates (download) ?

I'm clueless about security which appear to be involved here.

I was having the same problem, so I downloaded the source code. By adding some properties to the webclient, the update download now works through my company's proxy server (Microsoft ISA Server).
webclient.Proxy = WebRequest.DefaultWebProxy
webclient.Proxy.Credentials = CredentialCache.DefaultCredentials
I also added the same properties to the webclient which checks for updates.

LRN
14th September 2007, 23:31
but then wouldn't IVTC drop the FPS to only 23fpsIVTC = Telecide + Decimate. Decimate drops frames, just remove it.

LRN
16th September 2007, 19:14
For those who tries to use Logo filter, here's some new things to play with.
This is mylogo3.avs:

function VD_Logo(clip clip, int "x", int "y", int "alpha", int "transparent",
\ int "xr", int "xg", int "xb", int "tolerance", string "filename",
\ bool "animate", int "start", int "duration", int "loops",
\ int "fadeinlen", int "fadeoutend", int "fadeoutlen")
{
LoadVirtualdubPlugin("C:\program files\avisynth 2.5\plugins\logo.vdf", "_VD_Logo", 1)
return clip._VD_Logo(default(x,0), default(y,0), default(alpha,128),
\ default(transparent,1), default(xr,0), default(xg,0),
\ default(xb,255),default(tolerance,0), default
\ (filename,"C:\program files\avisynth 2.5\plugins\logo.bmp"),
\ default(animate,false)?1:0, default(start,0), default(duration,0),
\ default(loops,0),default(fadeinlen,0),
\ default(fadeoutend,200), default(fadeoutlen,0))
}

function MyLogo(clip clip, int start)
{
clip
ConvertToRGB()
#first VD_logo shows static logo fading in for 20 frames
VD_logo(0, 0, 255, 2, 0, 0, 0, 0, "C:\logos\aladdin1_0000.bmp", false, start , 20, 0, 20, 0, 0)
#second VD_logo shows animated logo, length depends on number of *_xxxx,bmp files
VD_logo(0, 0, 255, 2, 0, 0, 0, 0, "C:\logos\aladdin1_0000.bmp", true , start+20, 1, 1, 0, 0, 0)
return ConvertToYV12()
}

Nothing new. Just placed colorspace conversion inside MyLogo().
Now look here:

Import("C:\program files\avisynth 2.5\plugins\mylogo3.avs") ScriptClip("""current_frame >= 192631 ? MyLogo(192631) : last""")

Here's the catch. To avoid unnecessary colorspace conversion i am using ScriptClip function. It calls MyLogo only if current_frame is more than 192631, else it does nothing (actually it does last = last assignment). I bet you can do more complex logical expressions, but for me simple comparison worked just fine. One disadvantage - you have to specify framenumber (here - 192631) twice (in comparison expression and as MyLogo argument).