View Full Version : TEncoder 4.5.2 - Multithreaded GUI for FFMpeg and Mencoder
ozok
23rd March 2013, 23:59
Can you add option to encode ProRes, DNxHD, use ffbmc instead ffmpeg... your GUI is very good and I cant use for others workflows because of this :/
I've added this to to-do list ages ago but it seems I missed them. I've gathered enough information about these formats so it's likely that they will be added to TEncoder in a few weeks. I never actually converted to these formats, so I can tell you more after I do some test runs.
I have tried both TEncoder(3.3.2.3472) & TAudioConverter(0.8.1.1205) i am reporting some bugs in TEncoder and sujjestion for TAudioConverter -
First of all there is a bug in Tencoder that is even after disabling automatic update check it checks for update,
The Encode button is not visible when the window resolution is 800x600. Please reduce the size of the file name display box and the buttons in Tencoder so that Tencoder is displayed in windows resolution 800x600. (TAudioConverter displayes perfectly in windows resolution 800x600.)
My sujjestion about TAudioConverter is there should be a option in the settings to save the log files in temporary dir.
Another option play sound should be added in post encode acions.
1) Wow, I can't believe that I didn't find that bug or noone else reported it! Thanks, it will be fixed with next release.
2) The thing that prevents TEncoder's GUI from being smaller is the number of controls on the right. I'm planning to put them in scrollbox if that works with skinning component. It most probably will be like some of the shareware encoders has.
3) Please use TAC's own thread for questions etc related to it. Why do you want to save logs to temp dir? It is for temp files.
Notification sound "sounds" like a good idea.
kolpotoru
24th March 2013, 03:16
Thank you for answering, i am looking forward to the fixes.
kyoshi
29th March 2013, 13:21
it always produce unplayable mp4 files when i tried to hardsub srt files.
Also, even if the subtitles were turned off, mencoder seems often unresponsive/very slow encoding.
I love how Tencoder keep the folder structure on output, ihope the subtitles (bug???) were fixed on future update.
LigH
29th March 2013, 13:38
The problem with unplayable MP4s is not in TEncoder; remember, TEncoder is only a GUI.
Blame ffmpeg / mencoder for multiplexing to incomplete MP4 containers (due to its "filter" behaviour, writing the output file sequentially only once). Fix them with MP4Box.
ozok
29th March 2013, 15:04
LigH beat me to it but Mencoder, for some reason, causes problem when using AAC audio. I just change audio codec to MP3 and works without a problem.
About MEncoder slowness, that might depend on many things but if you've selected AAC as audio codec, MEncoder writes lots of messages to console which might be slowing it down. I did a quick test and changing codec from AAC to MP3 speeds up the process at least x10 times.
kyoshi
1st April 2013, 10:45
Okay,..will do that on the next batch encode. Thank you for all of your hard work.
ricardo.santos
1st April 2013, 13:51
Hi Ozok!
Just started using your tool, good work with the layout/skins. I used Tencoder in order to convert some videos to webm, usually i use a ffmpeg script but i wanted to test a GUI, for some some reason webm videos converted with tencoder end up with nearly twice as much bitrate, if i select 900 as bitrate the converted video has 1600. What could be causing this?
My script:
ffmpeg -i source.mp4 -vf "scale=-1:480" -codec:v libvpx -quality good -cpu-used 0 -b:v 900k -qmin 10 -qmax 42 -maxrate 900k -bufsize 1800k -threads 2 -an -pass 1 "1stpass.webm"
ffmpeg -i source.mp4 -vf "scale=-1:480" -codec:v libvpx -quality good -cpu-used 0 -b:v900k -qmin 10 -qmax 42 -maxrate 900k -bufsize 1800k -threads 2 -codec:a libvorbis -b:a 128k -pass 2 "output.webm"
Tencoder script:
"ffmpeg.exe" -y -ss 00:00:00 -t 00:00:43 -threads 2 -i "source.mp4" -pass 1 -passlogfile "source.log" -vcodec libvpx -b:v 900000 -minrate 900000 -maxrate 900000 -bufsize 1800000 -muxrate 1800000 -r 23.976 -vf scale=866:368 -f webm -an "source.webm"
"ffmpeg.exe" -y -ss 00:00:00 -t 00:00:43 -threads 2 -i "source.mp4" -pass 2 -passlogfile "source.log" -vcodec libvpx -b:v 900000 -minrate 900000 -maxrate 900000 -bufsize 1800000 -muxrate 1800000 -r 23.976 -vf scale=866:368 -f webm -map 0:0 -itsoffset 0 -map 0:1 -acodec libvorbis -ab 128k -af aresample=resampler=soxr -ar 44100 -ac 2 "source.webm"
ozok
1st April 2013, 14:20
I can get around 900 kbps (864 kbps). Try unchecking "CBR" next to video bitrate. You can enter manual options using "Custom Args" button.
ricardo.santos
1st April 2013, 14:36
Thanks Ozok, that did the trick, i get 830 (mediainfo).
ricardo.santos
1st April 2013, 14:41
Cant tencoder use mp4box to fix corrupted mp4 that were talked about a few comments back? After the conversion finished the video has to go through mp4box? Can it be automated in Tencoder? That happened to me when trying to hardcode subs.
ozok
1st April 2013, 14:53
I want to find a solution to this but it will need lots of work, I must change how TEncoder works.
ricardo.santos
1st April 2013, 15:10
Will wait for further developments.
Thanks and good work
ozok
1st April 2013, 20:43
There are some good signs. I changed many things but it seems I'll be able to release a new version with proper mp4 muxing using mp4box in a few days. After the changes, it will be much easier to add other encoders/tools as well.
ozok
1st April 2013, 23:24
I managed to make TEncoder to use FFMpeg as muxer. I tried playing converted mp4 files with a mobile (galaxy mini) and it works fine. https://dl.dropbox.com/u/9617171/TEncoder_beta.7z if you want to try it. But please note that it is beta and make a backup before you copy it over to your TEncoder.exe. It is for installed version.
ricardo.santos
2nd April 2013, 16:25
Hi Ozok!
Its working here (Win7)
Thanks and keep up the good work.
Update:
--3.4
-Added: Russian translation (thx to A.Strezh)
-Added: Basque translation (thx to Xabier Aramendi)
-Added: A new GUI layout in order to make TEncoder work with lower resolutions. Older settings will be reseted.
-Fixed: Spanish translation caused interface to distorted
-Fixed: TEncoder checked for updates at startup even if it was disabled (thx to kolpotoru)
-Fixed: GUI got distorted after an encode
-Fixed: Audio ID problem with VOB and MTS files
-Fixed: "?" was passed as subtitle file
-Fixed: MEncoder produced invalid mp4 files
kolpotoru
3rd May 2013, 11:14
Thank you for fixing the update check bug & screen resolution problem now TEncoder(3.4.0.3608) looks better in 800x600 resolution.
When skins are disabled in TEncoder(3.4.0.3608) many text in setting dialog are not visible because they are in white color.
Since the main difference between the TEncoder installer & TEncoder Portable version is the TEncoder executable, i have made a installer script which will enable TEncoder installer to install both installer version & the TEncoder portable version optionally similar to the foobar2000 installer. When the Portable version is selected the installer will not create uninstaller & just extract the files & the TEncoder Portable executable & if the Portable version is not selected the installer will install the regular version and create uninstaller. This will help the users who use both installed version & the portable version, plus if a user first uses the installed version then he wants to use the portable version he will not need to download the portable version separately the same installer can be again used to extract the portable version. I hope you like & use the script for TEncoder Installer.
Oops, I forgot to change the colors.
Thanks for sharing your script. It is not approved yet so I can't download it but I'll take a look at it.
BTW, it is not mentioned in the change log, support for ProRes was added with 3.4.
Update:
--3.4.1 Hotfix
-Fixed: Copying video while encoding audio caused extension to be wrong (thx to woody345)
-Fixed: Couldn't copy video without encoding audio
-Fixed: Couldn't encode to huffyuv with MEncoder
PS. I forgot to fix colors again :o.
Pulp Catalyst
4th May 2013, 19:44
what argument line would be best for bluray to avi (Xvid) asp level 5 with very best settings but using a CQ 3 (i'm after the very higest quality Xvid can produce kind of settings!
thanks.
p.s. i want the Xvid part of FFmpeg, not the Mpeg4 generic encoder, LibXvid or something like that i think???
Update:
--3.5
-Added: CRF encoding with x264
-Added: TEncoder will now create a temp folder in output when muxing to mp4
-Added: New skins
-Fixed: Video and audio settings didn't resize properly (thx to bug reporters)
-Fixed: Video only encoding with MEncoder failed
-Fixed: Custom general options for MEncoder and FFMpeg weren't saved
-Fixed: Disabling skin caused text to be invisible
-Fixed: Enabling subtitles when no subtitle existed caused problems
-Fixed: Mp4 output with MEncoder was placed in wrong folder
-Fixed: Tray icon didn't work
-Fixed: "Export to script" didn't work
-Fixed: Selecting items from file list with more than one audio track caused problems
:thanks:
This new milestone will certainly cover a few things friends of mine will need.
@LigH I hope so. Lately I didn't have much time to test so there were bugs with releases, but this time I tried to test as much as I could. Still there are a few things that don't work as it used to be, but being able to produce proper mp4 files with MEncoder is worth the trouble.
kolpotoru
8th May 2013, 10:59
What do u think about my idea of combining portable and installer version in one setup ?
Why mencoder fails to encode audio when any mpg-1 (vcd compatible) file is converted to avi file with xvid & mp3.
vhs.d9
9th May 2013, 00:29
I'd replaced ffmpeg for a newest build from -http://ffmpeg.zeranoe.com/builds/ but when I tried to encode something, program noticed me about finished encoding, but log showed me an error
...
-t is not an input option, keeping it for the next output; consider fixing your command line.
Option itsoffset (set the input ts offset) cannot be applied to output file...
I looked at your command line for ffmpeg and notice mistake
BUG:
-itsoffset 0 is after an input file, but it has to be before, like -ss and -t already are
Just correct calling of ffmpeg so that TEncoder can be used with newer ffmpeg builds...
What do u think about my idea of combining portable and installer version in one setup ?
Why mencoder fails to encode audio when any mpg-1 (vcd compatible) file is converted to avi file with xvid & mp3.
I didn't have a chance to test your script but it looks promising. About mpeg1 file, send log or a sample please.
I'd replaced ffmpeg for a newest build from -http://ffmpeg.zeranoe.com/builds/ but when I tried to encode something, program noticed me about finished encoding, but log showed me an error
I looked at your command line for ffmpeg and notice mistake
BUG:
-itsoffset 0 is after an input file, but it has to be before, like -ss and -t already are
Just correct calling of ffmpeg so that TEncoder can be used with newer ffmpeg builds...
I'll look into it.
kolpotoru
9th May 2013, 11:19
I have send u a sample of mpg-1 file to your email id.
@kolpotoru, looks like Mencoder cannot find an audio stream while ffmpeg can. here is a part of mencoder' output:
success: format: 0 data: 0x0 - 0x1bc42c
libavformat version 55.0.100 (internal)
MPEG-PS file format detected.
MPEG: No audio stream found -> no sound.
I don't know why that happens.
kolpotoru
14th May 2013, 06:37
I think the problem is in the command which TEncoder uses because the same mencoder.exe is able to encode the mpeg file with audio when the following command is used -
mencoder.exe "D:\Documents and Settings\Administrator\My Documents\Sample.MPG" -o "D:\Documents and Settings\Administrator\My Documents\Sample Test.avi" -oac mp3lame -lameopts abr:br=160 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=980 -vf scale=-1:-1 -ffourcc XVID
kolpotoru
16th May 2013, 19:13
Same Problem is happening with mpeg 2 files, mencoder is not able to encode audio when used from TEncoder(3.5.0.3701) but the same mencoder is able to encode audio when it is used with following command -
mencoder.exe "C:\Convert\T.MPG" -o "C:\Convert\Output\T.avi" -oac mp3lame -lameopts abr:br=96 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1000 -ffourcc XVID -ofps 25 -vf scale=600:450
@kolpotoru that is strange, I'll take a closer look and return to you.
duplakappa
18th May 2013, 19:45
Hello, i started to use Tencoder but i like more Tx264(if you add an option to hard-code subtitles it will be the prefect encoder). I have a problem, i tried to encocode a 10bits mkv to a mp4 with hard coded subs and nothing... here is a picture about the "nothing" and the log is attached: http://imgur.com/0ck0bNF :thanks:
duplakappa
25th May 2013, 00:11
would you answer me please? Thanks
Sorry, I forgot to post an answer. Command lines look OK. Can you do a single pass instead of two passes?
Update:
--3.6
-Added: Seperate 32bit and 64bit builds and setups
-Added: Preview button (thx to Bluedraft )
-Fixed: Prores quality option labels were wrong (thx to CyberOtter)
-Fixed: Range editor allowed duration to be zero
-Fixed: "+1 Sec" buttons couldn't increase their range to max
You can get the latest version from: http://www.downloadbestsoft.com/TEncoder-Video-Converter.html
kolpotoru
29th May 2013, 11:28
Have u fixed the problem of mencoder with mpeg1 & mpeg2 ?
No, but I guess it is caused by "-aid 1". MPEG files have strange stream IDs, like 192, 224 etc.
kolpotoru
29th May 2013, 11:38
Then Plz fix it by changing the command line as i have reported earlier.
Which version do you use? Portable-installer, 32-64bit?
kolpotoru
29th May 2013, 13:59
I am using TEncoder(3.5.0.3701)Portable.
Link to TEncoder.exe 32bit portable: https://dl.dropboxusercontent.com/u/9617171/TEncoder_32_portable.7z
Under "Advanced Video Settings" window > "General" tab > check "Do not use audio id..." if it doesn't work.
kolpotoru
29th May 2013, 18:56
First of all thank you the new option using it mencoder is able to successfully convert some of the mpeg files with audio, but in some mpeg files enabling this option mencoder is completely failing to encode the file and disabling this option it is encoding without audio i think this is a bug of mencoder itself.
It will be nice to have the optional context menu integration in TEncoder similar to the TAudioConverter.
Seeing the new Preview button i have got some new idea for TEncoder -
Please enable the brightness & contrast control button in the previewer.
The previewer is almost like a player so give a commandline option to directly start only the previewer as player.
Deinterlacing and cropping options are applied during playback. I can add such filters aswell. You can preview these filters from "Filters" window.
kolpotoru
29th May 2013, 19:14
I am thinking when there is no conversion job then using the previewer as a gui of meplayer to play files because it is almost like a player itself. For this we need a command line option in TEncoder which will start only the previewer.
I see whay you mean. I'll see what I can do about it.
duplakappa
15th June 2013, 22:41
Hello, as i posted before I have a problem encoding videos... I tried 1 pass and 2 pass econding, 32bits and 64bits(I have 8 gb RAM), portable and setup versions and nothing... I notice that the encoding process gets frozen when the the CPU ussage reaches 100%... any idea? By the way, the video I'm trying to encode its a 10bits depth.
ozok
15th June 2013, 22:47
Can you send me a sample, a part of the video or whole if it is around 50mb? I have some problematic files myself, mencoder reports warnings so much it gets really slow but in the end mencoder continues finishes encoding. But my samples are 8bit and rather short (1min-5min range) and I can't reproduce the problem you report with them.
duplakappa
15th June 2013, 23:04
These are the links of the video http://www68.zippyshare.com/v/41551345/file.html http://www68.zippyshare.com/v/46364400/file.html, I extracted the subtitles with the mkv cleaver and I renamed them with the same name of the video. Thanks
ozok
15th June 2013, 23:49
Mencoder fails to encode with your sample. And it doesn't get stuck or anything, mencoder.exe just dies with no apparent cause. 2nd pass of 2 passes and single pass fail too. If you want to burn-in subtitle, you can use SmallX264 which is a gui for handbrake. Select the sub track you want to burn-in from drop-down menu and check "Burn-in".
I knew I shoulda named SmallX264 as AnimeRepack or something, with "Anime" in it.
duplakappa
16th June 2013, 00:06
I all ready use handbrake but not too often because video quality with same settings its lower than, for example, your Tx264. Don't ask me why but its true. Staxrip, xvid4psp, ripbot and others had the option to burn subtitles and I get same quality than your encoder but with hardsubs. I told you once that if the Tx264 has a tool to burn subtitles it will be the perfect encoder. Hope you can fix the Tencoder problem soon or add the option to Tx264, thanks for the answer and your time :) Ill try the smallx264 anyway to compare.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.