View Full Version : BENCOS - Windows and Linux batch encoder GUI
Pages :
1
2
3
4
5
6
7
8
9
10
[
11]
12
13
14
Alex_080
8th November 2010, 16:39
installed in the default folder?
yes i installed at C:\Program Files\Bencos
and it works.
Sirber
8th November 2010, 16:55
yes i installed at C:\Program Files\Bencos
and it works.
excellent :)
and best of all I did nothing :D
Sirber
8th November 2010, 17:39
bug #2 (http://code.google.com/p/bencos/issues/detail?id=2):
in my dev folder it was using neroAACencoder, but when I install it the encoder is not present, and enhAacEnc doesn,t seem to work well (bad commandline maybe). You can use this wiki (http://code.google.com/p/bencos/wiki/Nero_AAC_encoder) to use Nero encoder instead.
[edit]
works fine with Nero AAC. I'm gonna fix it tonight.
Sirber
8th November 2010, 18:09
bug #3: http://code.google.com/p/bencos/issues/detail?id=3
ffmpeg related.. :(
[edit]
might have to put mkvtoolnix back..
Sirber
9th November 2010, 18:47
new test build: http://bencos.googlecode.com/files/BENCOS_20101109_dev.exe
changelog: http://code.google.com/p/bencos/wiki/changelog#2010-11-09_dev
Alex_080
10th November 2010, 02:02
New dev version working fine for me :)
Sirber
10th November 2010, 13:51
new bug. a tutorial is included to manualy fix the issue until the next release.
http://code.google.com/p/bencos/issues/detail?id=4
ckmox
12th November 2010, 08:42
oh you've resume development thats nice because before this i made a gui using handbrakeCLI for anime too called cyko lying here on the forums and that the source code of bencos help me program it so thanks
as for the topic i downloaded this BENCOS v20101109_dev and the new look is good but is the filtering area will add resizing of resolution too?
Sirber
12th November 2010, 13:17
oh you've resume development thats nice because before this i made a gui using handbrakeCLI for anime too called cyko lying here on the forums and that the source code of bencos help me program it so thanks
no problem! best luck with your gui! :)
as for the topic i downloaded this BENCOS v20101109_dev and the new look is good but is the filtering area will add resizing of resolution too?
yes, I'm gonna add at least resize.
Sirber
12th November 2010, 14:49
I had 5 minutes:
http://code.google.com/p/bencos/downloads/detail?name=BENCOS_20101112_dev.exe
ckmox
12th November 2010, 15:49
I had 5 minutes:
http://code.google.com/p/bencos/downloads/detail?name=BENCOS_20101112_dev.exe
nice resizing is added now
Sirber
12th November 2010, 16:19
nice resizing is added now
I did not test it, but it should work. It's basicly just adding a flag to ffmpeg.. :)
ckmox
12th November 2010, 18:25
I did not test it, but it should work. It's basicly just adding a flag to ffmpeg.. :)
i can confirm it works on my test
Sirber
12th November 2010, 18:25
i can confirm it works on my test
thank you!
Sirber
14th November 2010, 02:55
I think I'm gonna add my own presets. FFMPEG's defaults aren't tuned for anime content
I found this guide (http://en.wikibooks.org/wiki/MeGUI/x264_Settings).
Sirber
14th November 2010, 21:20
new dev version working :)
one request Sirber..can u make a profile for anime encoding. I know given profiles are good but i need one special for anime.
I need slow one like these values
"aq" and "psy_rd" settings, if this guide (https://sites.google.com/site/linuxencoding/x264-ffmpeg-mapping) is correct, does not exist in ffmpeg :(
Sirber
14th November 2010, 21:42
what you you think about those?
Fast First Pass:
coder=1
flags=+loop
cmp=+chroma
partitions=+parti8x8+parti4x4+partp8x8+partp4x4+partb8x8
me_method=dia
subq=2
me_range=24
g=250
keyint_min=25
sc_threshold=40
i_qfactor=0.71
b_strategy=1
qcomp=0.6
qmin=10
qmax=51
qdiff=4
bf=16
refs=1
directpred=3
trellis=0
flags2=+bpyramid+mixed_refs+wpred+dct8x8-fastpskip
wpredp=2
rc_lookahead=60
Anime / LQ:
coder=1
flags=+loop
cmp=+chroma
partitions=+parti8x8+parti4x4+partp8x8+partp4x4+partb8x8
me_method=umh
subq=8
me_range=16
g=250
keyint_min=25
sc_threshold=40
i_qfactor=0.71
b_strategy=1
qcomp=0.6
qmin=10
qmax=51
qdiff=4
deblockalpha=1
deblockbeta=1
bf=16
refs=16
directpred=3
trellis=0
flags2=+bpyramid+mixed_refs+wpred+dct8x8-fastpskip
wpredp=2
rc_lookahead=60
Anime / MQ:
coder=1
flags=+loop
cmp=+chroma
partitions=+parti8x8+parti4x4+partp8x8+partp4x4+partb8x8
me_method=umh
subq=9
me_range=24
g=250
keyint_min=25
sc_threshold=40
i_qfactor=0.71
b_strategy=2
qcomp=0.6
qmin=10
qmax=51
qdiff=4
deblockalpha=1
deblockbeta=1
bf=16
refs=12
directpred=3
trellis=1
flags2=+bpyramid+mixed_refs+wpred+dct8x8-fastpskip
wpredp=2
rc_lookahead=60
Anime / HQ:
coder=1
flags=+loop
cmp=+chroma
partitions=+parti8x8+parti4x4+partp8x8+partp4x4+partb8x8
me_method=umh
subq=10
me_range=32
g=250
keyint_min=25
sc_threshold=40
i_qfactor=0.71
b_strategy=2
qcomp=0.6
qmin=10
qmax=51
qdiff=4
deblockalpha=1
deblockbeta=1
bf=16
refs=16
directpred=3
trellis=2
flags2=+bpyramid+mixed_refs+wpred+dct8x8-fastpskip
wpredp=2
rc_lookahead=60
Sirber
14th November 2010, 23:24
if my test goes well, I'm gonna release another dev build tonight with "anime presets" and "file deag-drop".
ckmox
15th November 2010, 00:56
"aq" and "psy_rd" settings, if this guide (https://sites.google.com/site/linuxencoding/x264-ffmpeg-mapping) is correct, does not exist in ffmpeg :(
"aq" and "psy_rd" can be set of ffmpeg
and i think for anime the best for them in general considering your gonna encode in low bitrate too are
psy_rd=0.0
aq_mode=2
aq_strength=0.6
to get all the settings for x264 on ffmpeg just do this on the command prompt
ffmpeg -h > ffmpegHelp.txt
and access ffmpegHelp.txt that is generated
Sirber
15th November 2010, 01:14
Thanks for the hint! I'm gonna add them in the next next release!
http://code.google.com/p/bencos/downloads/detail?name=BENCOS_20101114_dev.exe
http://code.google.com/p/bencos/wiki/changelog?ts=1289780259&updated=changelog#2010-11-14_dev
Alex_080
15th November 2010, 07:08
Thanks Sirber for anime profiles ...working great.
Waiting for your next release....with u r new release plz update x264 1766 also.
Is it good use more threads in encoding ..new bencos use threads=8 .....old one use threads=3?
@ckmox
psy_rd=0.00
Is it good to use psy_rd =0.0 for anime encoding?actually i see many encoders use value like 0.4 or 0.6?
ckmox
15th November 2010, 11:32
Is it good to use psy_rd =0.0 for anime encoding?actually i see many encoders use value like 0.4 or 0.6?
i recommend psy_rd=0.0 because im considering mini-size anime encoding too like if you encountered those 40mb anime rips that has like 250 bitrate only and if you use psy-rd on those kind of rips it will look too noisy so i say psy-rd is just good for video bitrates that is 700 above, and if you notice too psyrd for anime is low at 0.4 or 0.6 instead of 1.0 right? so that means psy-rd is not advisable most of the time in anime atleast imo
Sirber
15th November 2010, 13:13
Thanks Sirber for anime profiles ...working great.
Waiting for your next release....with u r new release plz update x264 1766 also.
I'm using ffmpeg, not x264 (directly). I get my build here:
http://ffmpeg.arrozcru.org/autobuilds/
Is it good use more threads in encoding ..new bencos use threads=8 .....old one use threads=3?
in that time there were only dual cores, now it goes up to 8 :)
Alex_080
15th November 2010, 15:42
i want to use the level option of x264 in FFmpeg and i tried as level=5.1 but it shows parameter error. So can i use this option?
Sirber
15th November 2010, 15:49
i want to use the level option of x264 in FFmpeg and i tried as level=5.1 but it shows parameter error. So can i use this option?
I have no clue, best ask in this forum (http://forum.doom9.org/forumdisplay.php?f=77).
Alex_080
15th November 2010, 18:09
Thanks Sirber i found..here is the script for anime i m using now.
coder=1
flags=+loop
cmp=+chroma
partitions=+parti8x8+parti4x4+partp8x8+partp4x4+partb8x8
me_method=umh
subq=9
me_range=20
level=51
g=300
keyint_min=25
sc_threshold=40
i_qfactor=0.71
b_strategy=1
psy_rd=0.00
aq_mode=2
aq_strength=0.50
qcomp=0.6
qmin=10
qmax=51
qdiff=4
deblockalpha=1
deblockbeta=1
bf=16
refs=9
directpred=3
trellis=2
flags2=+bpyramid+mixed_refs+wpred+dct8x8-fastpskip
wpredp=2
rc_lookahead=50
Sirber
15th November 2010, 18:14
beware that bencos's installer will overwrite the preset you modded next time you update.
I'll add a preset named "custom" what will not be overwritten so you can upgrade safely.
Alex_080
15th November 2010, 18:22
beware that bencos's installer will overwrite the preset you modded next time you update.
ok Sirber for now i will make a backup copy of this present.
Are u going to add some filters like denoise,sharpen etc.
Sirber
15th November 2010, 18:29
Are u going to add some filters like denoise,sharpen etc.
very unlikely.
the source files are supposed to be already filtered.
Alex_080
15th November 2010, 18:32
In some files(*.mkv) (now only 3 files shows like this) the video analysis and encoding done perfectly but when audio extraction start this error shows.
it only happen when audio extracting starts but if i do not click on ok then encoding done successfully.Is this my PC problem?
http://img264.imageshack.us/img264/5278/88639852.jpg
Sirber
15th November 2010, 18:55
could be a bug in ffmpeg, try updating the build: http://ffmpeg.arrozcru.org/autobuilds/
you can right-click on the file in the list, "info" in the menu, then you can see what's inside the mkv (codecs, streams, etc).
MajorX
16th November 2010, 05:56
can i use aviscript(.avs) file as input file in new bencos?
Alex_080
16th November 2010, 06:17
@MajorX
can i use aviscript(.avs) file as input file in new bencos?
i m not expert in use of avs file but i do some test with new bencos and i think it support avs file with avisynth plugins.
i use this script..
LoadPlugin("C:\tools\avisynth_plugin\FluxSmooth.dll")
DirectShowSource("C:\Sample.mkv", fps=23.976, audio=true, convertfps=true)
FluxSmoothST(temporal_threshold=7, spatial_threshold=7)
Bencos encode it successfully without any error.But it can't keep the same DAR of output file as in input file.Like the input file have DAR 16:9 but output file have DAR 3:2.
Also there no subtitle in output file.
i try this also
LoadPlugin("C:\tools\ffms\ffms2.dll")
FFVideoSource("C:\Sample].mkv")
video analysis and encoding done correctly but it shows error when audio extraction start..i don't how add audio in this.
Sirber
16th November 2010, 19:11
there might not be a release in the coming few days, I have to move a lot of code to make the GUI multi-threaded, and keep the single-threaded part working (the current encoding chain).
Sirber
17th November 2010, 01:53
I managed to run ffmpeg inside a thread, but when I start it with "poUsePipes" ffmpeg hangs and output no text, nor encode. Also, the loop "while oCli.Running" seems not working, the thread gets terminated and the process is still running.
what a pain..
[edit]
http://forum.doom9.org/showthread.php?p=1458222#post1458222
[edit 2]
@ckmox looks like you've been through that lol:
http://forum.lazarus.freepascal.org/index.php/topic,10922.0.html
ckmox
17th November 2010, 05:56
I managed to run ffmpeg inside a thread, but when I start it with "poUsePipes" ffmpeg hangs and output no text, nor encode. Also, the loop "while oCli.Running" seems not working, the thread gets terminated and the process is still running.
what a pain..
@ckmox looks like you've been through that lol:
http://forum.lazarus.freepascal.org/index.php/topic,10922.0.html
ye the horror days, took me like 3 days to run that TThread
just a hint though dont call the main forms TProcess on TThread Execute method/area for example dont do it like this frmMain.oCli.Running instead make a TProcess variable for TThread
one thing i learn is never call frmMain things inside the TThread Execute method/area if you want to call some frmMain parts just make a procedure on TThread and that call Synchronize to it
you can look at the code of cyko on the execute method/area of TThread to know more that i didnt use any frmMain parts on it
if your worried about initializing variables just do it before TThread.Resume command for example the resume command for tthread is part of this procedure (scanThread is the TThread variable in the following)
procedure TfrmMain.btnEnqueueClick(Sender: TObject);
begin
scanThread := TMyThread.Create(True);
scanThread.FreeOnTerminate:=True;
scanThread.venString := '';
scanThread.x264String := '';
scanThread.ii:= 0;
scanThread.strScan := TStringlist.Create;
scanThread.strScan.AddStrings(lstAdd.Items);
scanThread.sPro := TProcess.Create(nil);
scanThread.M := TMemoryStream.Create;
scanThread.BytesRead := 0;
scanThread.audioCount := 0;
scanThread.OnTerminate:=@ScanDone;
scanThread.Resume;
end;
and ye this question thread of mine is the one help me a lot http://forum.lazarus.freepascal.org/index.php/topic,10922.msg54512.html
i recommend to pay attention more on theo's replies there
EDIT:
this could be helpful too -> http://www.mediafire.com/?9e9g3sbhxxmeeqg
its a program where i practice how to code the TThread named ScanThread
Sirber
17th November 2010, 13:27
the thread seems to run fine, the only problem I had is ffmpeg hang if I use "poUsePipes" inside the thread.
Alex_080
17th November 2010, 17:30
Can i adjust Display aspect ratio(DAR) in new bencos ....like i want to change 4:3 to 16:9.
Sirber
17th November 2010, 17:31
Can i adjust Display aspect ratio(DAR) in new bencos ....like i want change 4:3 to 16:9.
not yet, I'll add the setting.
[edit]
looks like it's the "-aspect" flag, aka "-aspect 4:3" or "-aspect 16:9"
Alex_080
17th November 2010, 17:50
not yet, I'll add the setting.
ok thanks Sirber i will wait.can i encode a video file that contain no audio track? i do some test and i get some error 'Output file #0 does not contain any stream'.can it mux only video file after encoding video if it not find any audio track?
Sirber
17th November 2010, 17:52
ok thanks Sirber i will wait.can i encode a video file that contain no audio track? i do some test and i get some error 'Output file #0 does not contain any stream'.can it mux only video file after encoding video if it not find any audio track?
not yet. the system is hardcoded for video + audio. the "source stream detection" is on the todo.
Veterinar
26th November 2010, 15:43
Today I've noticed Bencos PUTS HARDSUBS in video! OMG!
More detailed, when given .mkv with clean video and one or several sub streams, it makes video stream with hard subs in it.
How do I switch this behavior off?
Sirber
26th November 2010, 22:21
Today I've noticed Bencos PUTS HARDSUBS in video! OMG!
More detailed, when given .mkv with clean video and one or several sub streams, it makes video stream with hard subs in it.
How do I switch this behavior off?
Last time I tryed it they were softsubs in the output (source: mkv with softsubs). Could you verify again? Di you have VSFilter loaded?
Veterinar
27th November 2010, 12:43
More than verify, I just have this pile of .mp4 files with hardsubs and MediaInfo to inspect their insides.
Don't know anything about VSFilter, I just run Bencos and start encoding.
I got a suspect: it happens if subs stream in .mkv source was marked as 'default'.
Sirber
27th November 2010, 17:01
More than verify, I just have this pile of .mp4 files with hardsubs and MediaInfo to inspect their insides.
Don't know anything about VSFilter, I just run Bencos and start encoding.
I got a suspect: it happens if subs stream in .mkv source was marked as 'default'.
can you make me a screenshot (whitout files in it) with the settings you used? I'd loved to be able to "hardsub" :)
Veterinar
27th November 2010, 19:49
Nothing unusual, I just set 'Keep encoding' and 'Slow audio extr' and that's all.
Sirber
27th November 2010, 22:07
Nothing unusual, I just set 'Keep encoding' and 'Slow audio extr' and that's all.
time to upgrade ;)
http://code.google.com/p/bencos/downloads/detail?name=BENCOS_20101114_dev.exe
edward666
10th December 2010, 19:55
Hi i have trouble with bencos 20101105 no audio extraction or encoding and when its merging video to mp4 it always says error please help...
Sirber
10th December 2010, 20:11
Hi i have trouble with bencos 20101105 no audio extraction or encoding and when its merging video to mp4 it always says error please help...
You need an audio stream in your source file with this dev build.
edward666
11th December 2010, 19:12
Hi again do you know why mp4BOX stops working????
It says "error#-1073740791"
Thanks...
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.