Log in

View Full Version : TEncoder 4.5.2 - Multithreaded GUI for FFMpeg and Mencoder


Pages : 1 2 3 4 [5] 6

GMJCZP
16th February 2014, 00:37
Thanks for responding ozok.

An other user reported that too. I couldn't locate the source of the problem but I think it's about subtitles.

Always turn off the subtitles.

What are you trying to do? Are you using 32bit/64bit version of TEncoder? The bug report you've sent only gives information about why program crashed.

I use TEncoder 32 bit.
I notice that when the program hangs mencoder.exe or ffmpeg.exe remain open in the background.
I'm back again to reformat my PC and I tested (by CLI) a version that was saved from Mencoder, and using a very old version of Avisynth (to eliminate incompatibilities with the latest versions), now works but not like before. I'm trying now not update directx 9.0c (so I formatted again) and update the rest of Windows XP SP3. We'll see what happens.

LigH
17th February 2014, 10:25
Reformatting the PC won't be the recommendable solution for every case.

Let's just wildly guess (because you did not provide any useful facts about this part of your issue) that you are trying to process an AviSynth script via TEncoder, and your AviSynth script uses DirectShowSource. Then the main issue is probably based on the installed DirectShow splitters and decoders. And TEncoder is not to be blamed in the slightest. TEncoder, being only a user interface, is always the least probable reason, because it is rather passive once the conversion startet, only monitoring the work either ffmpeg or mencoder do.

ozok
17th February 2014, 22:54
TEncoder isn't the ideal tool to encode avs scripts. Also post logs, if mencoder/ffmpeg hangs than they are waiting for an input or something.

GMJCZP
18th February 2014, 01:52
I know that formatting a PC is not practical, but it had other reasons to do so apart from the problems with these applications.
Now I doubt if I updated Directx causes more conflict, my system is WXP SP3 and in my last formatted did not.

I keep focused on the Mencoder. As I used a 2010 version with no problems, I started taking samples to Mencoder 35925 (sherpya versions) and all good so far. Appears to be significant changes made ​​in the latest versions, for example the option cbp is now o=mpv_flags=+cbp_rd.

Moreover I had to re-employ FFMS 2.19 , I was using a test mode this version, FFMS2 C-plugin r809+35:

http://forum.doom9.org/showthread.php?p=1658765#post1658765 (http://forum.doom9.org/showthread.php?p=1658765 # post1658765)

The AVSI script that contains (I usually put it in the Avisynth plugins folder along with the dll and exe) was causing conflicts with Mencoder, without is calling (I use in my case AviSource)!


One more thing: always define -ofps option but an error occurs:

http://forum.doom9.org/showthread.php?t=101268


Conclusion : for now I'll stick with the version of Mencoder 35925. It works well using Avisynth. I would consider pending review FFMPEG.

Thank you once again for having the possibility to use such programs and I hope that the problems identified with Mencoder and FFmpeg are resolved promptly.

ozok
20th February 2014, 15:57
New version 3.8.0 changes:
-Added: Skinning is disabled by default
-Added: An option to copy source files' date/time info to output files
-Added: Support for *.mxf file type
-Fixed: A bug where TEncoder would get stuck even if encoding is done
-Fixed: A bug where checking "Export to script" would cause program to crash
-Fixed: "Apply" or changing selected preset didn't update the summary
-Fixed: "version.txt" errors

kolpotoru
21st February 2014, 06:04
Thankyou for resuming the development of TEncoder & adding volume adjustment option. But the source code is not updated?

ozok
21st February 2014, 10:18
I update the source repo in bitbucket page: https://bitbucket.org/ozok/tencoder

kolpotoru
21st February 2014, 11:55
Thanks for the Information.

ozok
21st February 2014, 22:48
Thanks for the Information.
No problem ;).

I'm working on a few new ideas:

-Creating video from an image file and an audio file
-Dubbing video with an external audio file (replacing the one in the video)

If anyone wants to try them out, let me know so I can post new executables here. Also specify the version you use.

kolpotoru
22nd February 2014, 06:08
Dubbing video with an external audio file will be a useful addition but it should have option save to video with duel audio. This is one feature due to which many of us still use obsolete virtualdubmod. So if the new beta versions will support duel audio files output, i would like to try it. I will try it with version 3.8.0.

kolpotoru
23rd February 2014, 19:43
The problem with mencoder is still there, TEncoder fails to encode audio of mpeg2 video files & using "Do not use audio id" TEncoder completely fails to encode the file. This should be fixed using SVN-r33883(20110719-gcc4.5.2) build of mencoder.

Please add a option in TEncoder to encode few seconds this is a very useful option because when we are not sure weather TEnoder will be able to convert video then rather then converting whole file converting few seconds for testing will be useful.

ozok
23rd February 2014, 19:45
You can use trimming to make a small test clip. Also post the log.

kolpotoru
23rd February 2014, 20:58
The option to encode few seconds is available in "Moo0 VideoConverter" & it makes the task very easy.
The log files are empty because in first case the video file is converted without audio and in the second case using "Do not use audio id" option TEncoder produces a 0 byte avi file.

ozok
23rd February 2014, 21:04
I'm sure it does. Is it that difficult to set start/end points and start encoding? Log shouldn't be empty even if encoding fails.

kolpotoru
23rd February 2014, 21:54
here are the empty logs.

kolpotoru
23rd February 2014, 22:20
I have sent you a sample mpeg2 file.

ozok
23rd February 2014, 23:03
I've downloaded and tried to encode your file. It seems that neither MPlayer nor MEncoder cannot detect any audio from it. FFmpeg seems to be able encode it.
Mencoder's message regarding lack of audio in your file.
MPEG: No audio stream found -> no sound.
I tried the build that comes with TEncoder and the latest x64 build from http://oss.netfarm.it/mplayer-win32.php (where I used to get my builds). I don't know if this means your file is faulty or MPlayer/MEncoder buggy, you may wanna report that to MPlayer/MEncoder developers.

PS. TEncoder created perfect logs in my case.

kolpotoru
24th February 2014, 04:23
The problem is not only with this file other mpeg2 files are also having same problem.
I think the problem is with the mencoder version included with TEncoder because i have replaced the mencoder included in TEncoder with SVN-r33883(20110719-gcc4.5.2) build of mencoder and it was able to convert the mpeg2 files.

kolpotoru
24th February 2014, 06:36
Preview doesn't work from inside TEncoder but when the file is drag and dropped on mplayer it playes.

GMJCZP
25th February 2014, 01:29
The problem with Mencoder to encode to MPEG2, besides those already mentioned with recent releases, is to be defined more options with TEncoder, but the program is interrupted. Try it with Mencoder to encode and use as container and codec MPEG2. The only way is to use the CLI mode and use old versions of Mencoder.

With FFMPEG no problems with the latest version of TEncoder (for encoding to MPEG2), only with Mencoder.

kolpotoru
7th March 2014, 04:46
I have found a very useful article about joining video using ffmpeg here - http://trac.ffmpeg.org/wiki/How%20to%20concatenate%20%28join,%20merge%29%20media%20files

Please conciser adding video joining function in TEncoder.

Ryo94
20th April 2014, 08:37
Hi ozok, is it possible to join/merge video segments (same AR, bitrate, codecs, etc) in direct copy (no losing quality) with tencoder? If not is there any chance to implement this in a near future? thanks in advance.

ozok
20th April 2014, 13:32
I probably will add it as a tool.

edit: To make it more clear, not as a separate tool but as a function under "Tools" menu.

Ryo94
20th April 2014, 19:17
That would be great! thanks a lot ozok!

ozok
22nd April 2014, 15:06
New version 3.9.0:
-Added: A tool to merge an image and audio to video
-Added: A tool to dub video with an external audio file
-Added: Many skins
-Added: MP4 muxing while using MEncoder will be done with MP4Box
-Added: File list now shows more information
-Added: "Copy date from source" will now copy last modified date too
-Added: An option, under "Help" menu, to create log archive in the desktop
-Added: Main window is now a bit larger as default
-Fixed: Program would crash when muxing to mp4 using MEncoder as encoder
-Fixed: Subtitle and audio delay values weren't saved properly
-Fixed: Applying a profile didn't update video size option
-Fixed: Video size option wasn't saved
-Fixed: Profile editor would ask to save profile even if nothing was changed/added
-Fixed: Scroll bars in logs window weren't visible
-Fixed: Enabling skins didn't apply hue and saturation options
-Fixed: Enable/disable skin options was not saved
-Fixed: Profiles created by the user couldn't be deleted
-Fixed: "Copy date from source" option wasn't saved
-Fixed: "'' is not a valid integer value." error
-Fixed: Couldn't add files without an audio stream
-Fixed: A few UI related problems
-Updated: FFMpeg
Download (http://www.fosshub.com/TEncoder-Video-Converter.html)

Ryo94
23rd April 2014, 02:11
New version rocks ozok, thanks! Just a little detail,
image&audio windows shouldn't look in this way?
http://i62.tinypic.com/2use7on.png

ozok
23rd April 2014, 11:45
No it shouldn't. I suggest you disable skins altogether if they are causing this sort of trouble.

mbcd
23rd April 2014, 12:43
Thanks for this good tool ozok,

but I have a feature request for it.

Does it make sense to set audio and subtitle tracks for all selected files?
I mean, i loaded a folder with lots of files. But I dont want to use the first audiotrack, but the second. So I select all files and change audio to second track. But the change is only applied to one single file, not to all selected. For batch conversation this is not very comfortable.

Maybe you can add a function to select the tracknumer, or language (languese would be the better one i think) an make it possible to apply this to all files together.

Would that make sense ?

ozok
23rd April 2014, 13:30
It makes sense and IIRC there was a feature like this in the first releases of TEncoder (it's been a while!). I plan to make a few changes to audio and subtitle track selection (ability to add subtitle files etc.) but I don't know if that feature will be added. For the time being however, you can use "export to script" and edit the bat file (replace all "-map 0:1"s to "-map 0:2"s for example) to get the result you want. Not ideal I know, but it might work.

Ryo94
23rd April 2014, 19:34
No it shouldn't. I suggest you disable skins altogether if they are causing this sort of trouble.

I was talking about the stream order (in the screenshot I switch them) not about the skin look :)

ozok
23rd April 2014, 20:47
Sorry, I get complaints about skinning sometimes:o. Image is passed as the first input to ffmpeg. Their locations in the UI shouldn't make a difference.

Ryo94
24th April 2014, 02:38
I know, I point it out just as aesthetic detail and in some way like a logic order in the UI,

(1)Image&(2)Audio To (3)Video

(1)Image

(2)Audio

(3)Output

ozok
24th April 2014, 18:49
I understand what you mean, I'd just thought there was something more serious I missed.

duplakappa
27th April 2014, 00:56
Hello Ozok, I just encoded a video(mkv with .ass soft subs) to a mp4 with harcoded subs... i got that but the subtitles were HUGE, the mkv file had attached fonts and i installed them before encoding of curse so i dont know why that happened. Is there a way to make Tencoder respect the subtitle styles??? Thanks

ozok
27th April 2014, 12:33
"Default scale" under "Subtitle" tab controls the size of the subtitle. I don't have that much experience with ass subs but IIRC they are treated like srt subs. Also, use preview function to see how changes to subtitle option works for you before running the actual encoding.

Guest
27th April 2014, 13:56
Hello Ozok, I just encoded a video(mkv with .ass soft subs) to a mp4 with harcoded subs Where did you get your MKV source file?

duplakappa
27th April 2014, 14:23
Where did you get your MKV source file?

From here: [link deleted]... why you deleted all the message??? You could just delete the attachment. Now I have to write all again. If you have a problem with the subtitles you can tell me...

Guest
27th April 2014, 14:36
Discussion of downloaded content is not allowed here. Further violations will lead to strikes. Follow up to PM if you need to, don't discuss it here.

whiskey
12th May 2014, 00:36
I've just discovered this application and have one question. Is there option to base output bitrate on file size or only preset bitrates so far ?

ozok
12th May 2014, 01:16
TEncoder doesn't have such options. It is asked often, I will add file size option one day.

ozok
4th June 2014, 11:05
New version 4.0.0 changes:
-Added: Video downloader
-Added: Total progress will be updated more smoothly
-Added: MP4Box progress will be shown
-Added: A tool to create gif image from video
-Added: An option to disable trimming
-Added: Audio track option won't be used for mpeg sources as default
-Fixed: Subtitle position wasn't used
-Fixed: Duration info in the file list wasn't updated after trimming
-Updated: FFMpeg
Download location (http://www.fosshub.com/TEncoder-Video-Converter.html).

Prefer portable version if you don't want to deal with software offers.

kolpotoru
10th June 2014, 18:41
Hi ozok, is it possible to join/merge video segments (same AR, bitrate, codecs, etc) in direct copy (no losing quality) with tencoder? If not is there any chance to implement this in a near future? thanks in advance.

I probably will add it as a tool.

edit: To make it more clear, not as a separate tool but as a function under "Tools" menu.


I was waiting for this feature in the new version. But didn't find it in the changes log.

ozok
10th June 2014, 21:23
I didn't give a specific time about that. I'll add it, don't worry. I already had codes ready for video downloader so I implemented it first.

kolpotoru
10th June 2014, 22:49
I didn't give a specific time about that. I'll add it, don't worry. I already had codes ready for video downloader so I implemented it first.

Thanks for clarifying that, looking foreword to it.

ozok
5th July 2014, 13:01
New version 4.1.0 changes:
-Added: TEncoder will now check output files after encoding
-Added: An option to keep ssa and ass subtitle styles
-Added: Info about subtitles won't be shown in summary list if FFMpeg is selected
-Added: TEncoder will now remember the active tab
-Fixed: Several problems with batch download link add
-Fixed: Couldn't read video codec of some files with more than one audio track
-Fixed: "Update video downloader" didn't work
-Updated: Youtube-dl


Download (http://www.fosshub.com/TEncoder-Video-Converter.html)
Source (https://bitbucket.org/ozok/tencoder)

Edit: Think of this as a bug fix release. DVD ripper and merger will be in the next releases. I wasn't planning the release this one but I had to fix link adding bug.

disto
5th July 2014, 15:19
Hello ozok, thank you for this great program.I have some feature suggestions.Can you use FFmpeg for burning subtitles not Mplayer.FFmpeg can use fontconfig and have ass/ssa subtitles.This option to keep ssa/ass style is very useful,can you provide gui to edit these styles (for example font,size,italic,bold color outline shadow).
Thanks again and sorry for my bad english.

ozok
5th July 2014, 21:29
@disto Last time I tried to use ffmpeg to burn in subtitles it didn't work. Perhaps they improved it but I have to check it first. I can't add it if ffmpeg cannot burn in srt subtitles for example.

ozok
19th July 2014, 14:29
New version 4.2.0:

-Added: Post-encode options for video downloader
-Added: Users can now stop video link adding process
-Added: A few changes to progress interface
-Fixed: Adding an YouTube link from a playlist could cause some problems
-Fixed: Download time value written to log was always empty
-Fixed: Post-encode options weren't used
-Fixed: TEncoder couldn't write logs because logs folder wasn't created in some rare cases
-Updated: Youtube-dl
-Updated: FFMpeg
There was a previous version I failed to post here:

--4.1.1
-Added: A tool to add watermarks to video (thx to joby_toss)
-Added: A text to show video downloading progress
-Added: TEncoder will now check downloaded files too
-Added: A link to the list of supported video sites (thx to webfork)
-Added: TEncoder will save encoder logs into "logs" sub-folder (thx to webfork)
-Added: A few small interface changes
-Fixed: Stopping video downloader didn't reset progress informations
-Fixed: Update checker caused a message box to be shown when settings window was opened
-Fixed: Couldn't clear some logs
-Updated: Youtube-dl
-Updated: FFmpeg
Source (https://bitbucket.org/ozok/tencoder/src)
Download (http://www.fosshub.com/TEncoder-Video-Converter.html)

disto
5th August 2014, 10:21
@disto Last time I tried to use ffmpeg to burn in subtitles it didn't work. Perhaps they improved it but I have to check it first. I can't add it if ffmpeg cannot burn in srt subtitles for example.
Thank you for the answer.
In this case can you implement gui for this option in mencoder ass-force-style.
This option can override ass/ssa style with user choice options.For example:
Gui for font,color,size,margins.Something like this:
http://s24.postimg.org/lk6l572lh/mencoder_Gui_RQ.jpg
Once again ,thank you!

P.S.1: In version 4.3.0 there is ability to add custom arguments to mencoder.I can write custom .ass style via ass-force-style and it works fine.Excellent job.
But there is one problem with mencoder,It can not use full cpu power.Even though i selected 4 threads in settings mencoder can not use 100 %.
In encoding settings can you provide an option for choosing threads to auto mode (threads=0).It probably can help to utilize full cpu power.
P.S:2:Are you considering to add support for mpv player?.It is a fork of mplayer/mplayer2/mencoder with different syntax for commands.
More info about mpv player encoding abilities: https://github.com/mpv-player/mpv.io/blob/master/source/guides/encoding.rst
P.S.3:Can you add an option for selecting FDKAAC.Sherpya mplayer/mencoder build support this encoder.

ozok
6th August 2014, 15:46
4.3.0 changes:
-Added: [Video Downloader] An option to skip download if output file exists and contains audio
-Added: [Video Downloader] Ability to enter user name and password
-Added: [Video Downloader] An option to disable thumbnail loading
-Added: [Video Downloader] Some interface changes
-Added: [Video Downloader] Improved video downloader starting performance
-Added: [Video/Audio Converter] Re-enabled "Delete unfinished files" option
-Added: [Video/Audio Converter] Moved custom arguments options to "Codec Options" window
-Added: [Video/Audio Converter] When "Direct Copy" is selected as video codec ffmpeg will be used
-Added: [General] Changed default skin to "Web2"
-Fixed: [Video Downloader] Downloaded "M4A DASH" and "WEBM AUDIO" audio files couldn't be played by some players
-Fixed: [Video Downloader] Logs weren't saved and shown properly
-Fixed: [Video Downloader] Did not encode to audio only
-Fixed: [Video Downloader] Did not encode to selected format
-Fixed: [Video Downloader] Some interface problems
-Updated: Youtube-dl
Download (http://www.fosshub.com/TEncoder-Video-Converter.html)