Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 Encoder GUIs

Reply
 
Thread Tools Search this Thread Display Modes
Old 6th July 2012, 05:45   #81  |  Link
zooom
Registered User
 
Join Date: Jun 2012
Posts: 10
ozok

Thanks. Now your TX264 works fine. I have some questions.
1. How can I get info about language of soundtrack?
2. How can I keep both (or more) soundtracks with video?
3. How can I convert full DVD disk or main video (now I use DVD Shrink for creating single vob file)?
4. Can I change frame-rate?

Last edited by zooom; 6th July 2012 at 10:14.
zooom is offline   Reply With Quote
Old 6th July 2012, 11:59   #82  |  Link
ozok
TEncoder, TX264, TAC
 
ozok's Avatar
 
Join Date: Jun 2011
Location: Turkey
Posts: 540
@zooom
1) You should see language info in audio tracks list. It's the value at the end. If it is not present, value shown will be "unknown"
2) It is not possible at the moment. But I'm planning to add that before version 1.0
3) AFAIK there is no way of doing that with x264. I'm assuming what you ask is what Handbrake does.
4) No. There is no way of doing that with x264 AFAIK. There is a "--fps" switch but it doesn't produce results you want. So, you must use Avisynth to do that. You must also be careful to maintain audio-video sync.
ozok is offline   Reply With Quote
Old 6th July 2012, 14:35   #83  |  Link
zooom
Registered User
 
Join Date: Jun 2012
Posts: 10
Thanks.
4. I tried to use Handbrake and there was problems with synchronization. So this point is not important.

If I convert multichannel audio to MP3 program should automatically set downmixing to stereo.

How about tree structure instead file list?

Last edited by zooom; 6th July 2012 at 14:47.
zooom is offline   Reply With Quote
Old 6th July 2012, 15:29   #84  |  Link
ozok
TEncoder, TX264, TAC
 
ozok's Avatar
 
Join Date: Jun 2011
Location: Turkey
Posts: 540
As i said, i am planning to add multiple audio/subtitle track selection but i don't know if it will in tree form or will have its own window.
ozok is offline   Reply With Quote
Old 6th July 2012, 17:36   #85  |  Link
TC-man
Registered User
 
Join Date: Feb 2011
Posts: 3
Hi,

Firstly, I want to thank ozok for this new x264 GUI.

And secondly, I want to report some bugs, and hope to contribute a little with my small report.

Tested versions: 0.7.8.1816 and 0.7.9.1928 in Windows 7 x64.

bug report:

1. encoder goes into interlaced mode and prevents the weightp setting from enabling, message "x264 [warning]: interlace + weightp is not implemented' will appear in the console output during video-encoding; temporarily solved by adding the command "--no-interlaced" in the custom options tab for x264;
2. fast first-pass seems not to work for 2-pass encoding when it's checked in the advanced options, but once it's unchecked "turbo" mode for the first pass works again;
3. aq-mode=2 (auto) doesn't seem to work when it's configured in the advanced options; temporarily solved by adding the command "--aq-mode 2" in the custom options tab for x264;
4. trellis couldn't be enabled even when it's checked in the advanced options; also temporarily solved by adding "--trellis 1" or "--trellis 2" in the custom options for x264.
5. And encoding videos with QAAC will mostly fail, and "Cannot find output file" message will appear in the log at the end of the encode; no problem with nero aac encoder.
TC-man is offline   Reply With Quote
Old 6th July 2012, 18:07   #86  |  Link
ozok
TEncoder, TX264, TAC
 
ozok's Avatar
 
Join Date: Jun 2011
Location: Turkey
Posts: 540
Hi TC-man,

Thx for bug report.

1) See http://forum.doom9.org/showthread.php?p=1387297
2) Fixed. It seems i forgot to change text.
3) Fixed. Disabling that option should work now properly too.
4) Fixed.
5) Please send log.txt that can be found in application folder.

I rarely use these options, so if you find other bugs please feel free to report them as well.
ozok is offline   Reply With Quote
Old 6th July 2012, 22:04   #87  |  Link
TC-man
Registered User
 
Join Date: Feb 2011
Posts: 3
Hi Ozok,

Thanks for the fast reply and fixes.

Anyway here's the log.txt:

Code:
[7/6/2012 22:38:03] Started deleting temp files...
[7/6/2012 22:38:03] Deleted 0 file(s).
[7/6/2012 22:38:03] Finished deleting temp files.

[7/6/2012 22:38:51] Started deleting temp files...
[7/6/2012 22:38:51] Deleted 0 file(s).
[7/6/2012 22:38:51] Finished deleting temp files.

--------------------------------------------
[7/6/2012 22:38:51] Starting encoding process
[7/6/2012 22:38:51] Command lines:
 --crf 20 --profile high --preset medium --threads 3 --trellis 1 --level 4.0 --

aq-mode 2 --keyint=240 --no-interlaced --fps 29.97 --output "C:\Users\User

\AppData\Local\Temp\TX264\\test.mkv" "C:\test.mkv"
 -y -i "C:\test.mkv" -vn  -f wav -map 0:1  "C:\Users\User\AppData\Local\Temp

\TX264\\test.wav"
 --cvbr 64 --he --threading --rate keep "C:\Users\User\AppData\Local\Temp

\TX264\\test.wav" -o "C:\Users\User\AppData\Local\Temp\TX264\\test.aac"
 tracks "C:\test.mkv"  2:"C:\Users\User\AppData\Local\Temp\TX264\\test1.ass" 
 -o "C:\Temp\test.mkv" "C:\Users\User\AppData\Local\Temp\TX264\\test1.ass"  "C:

\Users\User\AppData\Local\Temp\TX264\\test.mkv" "C:\Users\User\AppData\Local

\Temp\TX264\\test.aac" 
--------------------------------------------

[7/6/2012 22:39:51] Done video encoding with x264
ffms [info]: 1280x720p 1:1 @ 30000/1001 fps (cfr)
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 

Cache64
x264 [info]: profile High, level 4.0
x264 [info]: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 

fade_compensate=0.00 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 

trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 

threads=3 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 

bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 

direct=1 weightb=1 open_gop=0 weightp=2 keyint=240 keyint_min=24 scenecut=40 

intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=20.0000 qcomp=0.60 qpmin=0 

qpmax=69 qpstep=4 ip_ratio=1.40 aq=2:1.00
x264 [info]: started at Fri Jul 06 22:38:52 2012
x264 [info]: frame I:30    Avg QP:17.05  size: 60124                           
x264 [info]: frame P:961   Avg QP:20.29  size: 10720
x264 [info]: frame B:973   Avg QP:22.83  size:  1195
x264 [info]: consecutive B-frames: 32.2%  3.5%  5.0% 59.3%
x264 [info]: mb I  I16..4: 28.0% 60.1% 11.9%
x264 [info]: mb P  I16..4:  4.5%  8.3%  0.7%  P16..4: 23.6%  5.7%  3.9%  0.0%  

0.0%    skip:53.2%
x264 [info]: mb B  I16..4:  0.2%  0.2%  0.0%  B16..8: 16.1%  0.7%  0.1%  direct: 

1.1%  skip:81.6%  L0:47.0% L1:51.4% BI: 1.6%
x264 [info]: 8x8 transform intra:60.9% inter:76.3%
x264 [info]: coded y,uvDC,uvAC intra: 35.0% 61.1% 21.0% inter: 5.8% 11.6% 1.3%
x264 [info]: i16 v,h,dc,p: 50% 26% 13% 11%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 24% 33%  3%  2%  3%  3%  3%  3%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 30% 21% 14%  5%  6%  7%  6%  6%  4%
x264 [info]: i8c dc,h,v,p: 47% 25% 23%  5%
x264 [info]: Weighted P-Frames: Y:1.0% UV:0.9%
x264 [info]: ref P L0: 75.9%  8.7% 11.1%  4.3%  0.0%
x264 [info]: ref B L0: 86.2% 11.4%  2.4%
x264 [info]: ref B L1: 95.0%  5.0%
x264 [info]: kb/s:1619.77

encoded 1964 frames, 33.24 fps, 1619.86 kb/s
x264 [info]: ended at Fri Jul 06 22:39:51 2012
x264 [info]: encoding duration 0:00:59


[7/6/2012 22:39:53] Done audio decoding 
ffmpeg version N-41843-gc17808c Copyright (c) 2000-2012 the FFmpeg developers
  built on Jun 22 2012 17:43:55 with gcc 4.7.1
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-

runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-

libass --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb 

--enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut --

enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex 

--enable-libtheora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-

amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs 

--enable-libxvid --enable-zlib
  libavutil      51. 61.100 / 51. 61.100
  libavcodec     54. 29.100 / 54. 29.100
  libavformat    54. 11.100 / 54. 11.100
  libavdevice    54.  0.100 / 54.  0.100
  libavfilter     2. 82.100 /  2. 82.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, matroska,webm, from 'C:\test.mkv':
  Metadata:
    title           : test
    creation_time   : 2010-05-08 19:28:34
  Duration: 00:01:05.53, start: 0.000000, bitrate: 1930 kb/s
    Stream #0:0(jpn): Video: h264 (High), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 

29.97 fps, 29.97 tbr, 1k tbn, 59.94 tbc (default)
    Metadata:
      title           : test
    Stream #0:1(jpn): Audio: aac, 44100 Hz, stereo, s16 (default)
    Metadata:
      title           : AAC 2.0
    Stream #0:2(eng): Subtitle: ssa (default)
    Metadata:
      title           : Styled Subtitles
    Stream #0:3: Attachment: ttf
    Metadata:
      filename        : FrancophilSans-Bold.ttf
      mimetype        : application/x-truetype-font
Output #0, wav, to 'C:\Users\User\AppData\Local\Temp\TX264\\test.wav':
  Metadata:
    title           : test
    creation_time   : 2010-05-08 19:28:34
    encoder         : Lavf54.11.100
    Stream #0:0(jpn): Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 

stereo, s16, 1411 kb/s (default)
    Metadata:
      title           : AAC 2.0
Stream mapping:
  Stream #0:1 -> #0:0 (aac -> pcm_s16le)
Press [q] to stop, [?] for help
size=   11288kB time=00:01:05.52 bitrate=1411.2kbits/s    
video:0kB audio:11288kB subtitle:0 global headers:0kB muxing overhead 0.000398%


[7/6/2012 22:39:54] Done audio encoding with qaac 
ERROR: CoreAudioToolbox.dll: The specified module could not be found.


[7/6/2012 22:39:55] Done extracting subtitle from mkv 
Extracting track 2 with the CodecID 'S_TEXT/ASS' to the file 'C:\Users\User

\AppData\Local\Temp\TX264\\test1.ass'. Container format: SSA/ASS text subtitles
Progress: 100%


[7/6/2012 22:39:57] Done muxing to mkv 
mkvmerge v5.6.0 ('Kenya Kane') built on May 27 2012 16:44:04
Error: The source file 'C:\Users\User\AppData\Local\Temp\TX264\\test.aac' could 

not be opened successfully, or retrieving its size by seeking to the end did not 

work.


[7/6/2012 22:39:57] Started deleting temp files...
[7/6/2012 22:39:57] Can't delete: test1.ass
[7/6/2012 22:39:57] Deleted 3 file(s).
[7/6/2012 22:39:57] Finished deleting temp files.

[7/6/2012 22:39:57] Cannot find output file C:\Temp\test.mkv

Thanks in advance!
TC-man is offline   Reply With Quote
Old 6th July 2012, 22:33   #88  |  Link
ozok
TEncoder, TX264, TAC
 
ozok's Avatar
 
Join Date: Jun 2011
Location: Turkey
Posts: 540
Please read here carefully.
ozok is offline   Reply With Quote
Old 6th July 2012, 22:51   #89  |  Link
pintcat
Registered User
 
Join Date: Jul 2010
Location: Berlin, Germany
Posts: 45
Hi ozok,

it's a nice and comfy tool which simplifies things a lot. I spotted a little issue regarding the aspect ratio option...
First of all: Which aspect ration does this option affect - the display or pixel aspect ratio? I assume it is pixel since the 16:9 setting doesn't result in a 16:9 display.
Now I stumbled across a minor problem when I tried to convert a video which was natively 16:9 and I had to scale it down to 400x224 pixels which is also approx. 16:9 so the PAR had to be 1:1. But the resulting clip was slightly streched and didn't fit to the screen it was made up for. It turned out the actual PAR now was 1000:997. I couldn't find a way to correct this via the AR option so I deactivated it and used a custom command line option for mp4box: "-par 1=1:1" which finally worked.
Hope I didn't misunderstand something and this is a useful report.
pintcat is offline   Reply With Quote
Old 6th July 2012, 23:05   #90  |  Link
fantasmanegro
Registered User
 
Join Date: Dec 2009
Posts: 214
does anybody knows if there is a preview option? i mean for cropping and resizing...
fantasmanegro is offline   Reply With Quote
Old 6th July 2012, 23:20   #91  |  Link
ozok
TEncoder, TX264, TAC
 
ozok's Avatar
 
Join Date: Jun 2011
Location: Turkey
Posts: 540
@pintcat
I get confused when it comes to SAR, DAR and PAR
I seem to be quoting a lot from LoRd_MuldeR today but look at 2nd post.

@fantasmanegro
No there is no way of previewing cropping or resizing. But i am planning to add an option to do a very short (first 10 sec i.e.) to see effects of filters.

Last edited by ozok; 6th July 2012 at 23:23.
ozok is offline   Reply With Quote
Old 6th July 2012, 23:27   #92  |  Link
fantasmanegro
Registered User
 
Join Date: Dec 2009
Posts: 214
@0z0k

i guess PAR is the pixels width and height for video and DAR is the pixels deformation on screen...

thanks for the preview option... it will help a lot!...
fantasmanegro is offline   Reply With Quote
Old 7th July 2012, 00:15   #93  |  Link
ozok
TEncoder, TX264, TAC
 
ozok's Avatar
 
Join Date: Jun 2011
Location: Turkey
Posts: 540
I just realized that sar value should be specified with resize value. This way desired DAR value can be obtained. Thanks pintcat for bug, it will be fixed with next release.
ozok is offline   Reply With Quote
Old 7th July 2012, 09:06   #94  |  Link
pintcat
Registered User
 
Join Date: Jul 2010
Location: Berlin, Germany
Posts: 45
Quote:
Originally Posted by ozok View Post
I get confused when it comes to SAR, DAR and PAR
I seem to be quoting a lot from LoRd_MuldeR today but look at 2nd post.
Thanx ozok, that clarified a little, but also confused a little more on the other hand.
I never used that term 'SAR' and never cared what it means... till now. First of all i went to school again to learn something more about these things and I found this very helpful article on Wikipedia. If I got that right, the SAR (Storage Aspect Ratio) is nothing more than the ratio resulting from the number of pixels. Apparently people here often confuse this with the PAR as in the linked post:
Quote:
First of all, 720x576 with "square pixles" (i.e. SAR=1:1) does not give 4:3, but 5:4. You get proper 4:3 with a SAR of 16:15.
Very confusing, indeed. Now back to the issue... the question should be: What part of the whole process is affected by the aspect ratio option?
pintcat is offline   Reply With Quote
Old 7th July 2012, 21:25   #95  |  Link
ozok
TEncoder, TX264, TAC
 
ozok's Avatar
 
Join Date: Jun 2011
Location: Turkey
Posts: 540
In the next release, which i will release in a few minutes, i replaced SAR value with DAR value, so user specifies desired DAR. SAR is calculated according to that DAR value and dimensions of video. According to my experiments that gives desired DAR value at the end. I do not know about technical explanation but that works for me. I used formula below:

Quote:
SAR = DAR / (Width/Height)
ozok is offline   Reply With Quote
Old 7th July 2012, 21:28   #96  |  Link
ozok
TEncoder, TX264, TAC
 
ozok's Avatar
 
Join Date: Jun 2011
Location: Turkey
Posts: 540
Update

Quote:
--0.8.0
-Added: Option to combine advanced option with presets
-Added: DAR value instead of SAR
-Added: Log now shows why file was not added
-Fixed: If video duration extraction fails, general file duration will be used during adding process
-Fixed: Changed "Fast First Pass" to "No fast first pass" (thx to TC-man)
-Fixed: "Adaptive Quantization Mode" option problem (thx to TC-man)
-Fixed: "Trellis" option disabling problem (thx to TC-man)
-Fixed: SAR value was passed wrong (thx to pintcat)
-Updated: QAAC to 1.38
ozok is offline   Reply With Quote
Old 8th July 2012, 00:51   #97  |  Link
pintcat
Registered User
 
Join Date: Jul 2010
Location: Berlin, Germany
Posts: 45
Quote:
Originally Posted by ozok View Post
In the next release, which i will release in a few minutes, i replaced SAR value with DAR value, so user specifies desired DAR. SAR is calculated according to that DAR value and dimensions of video. According to my experiments that gives desired DAR value at the end. I do not know about technical explanation but that works for me.
Brilliant solution! I was forced to use a resolution which wasn't exactly 16:9. Now I can use the 16:9 preset and get a slightly anamorphic, but accurate 16:9 frame or I just copy the X and Y pixel values to the SAR fields and get perfect square pixels nevertheless. Both ways work for me too - good job and thanx for the good support!
pintcat is offline   Reply With Quote
Old 8th July 2012, 15:15   #98  |  Link
pintcat
Registered User
 
Join Date: Jul 2010
Location: Berlin, Germany
Posts: 45
Found another small one: Setting the profile to High seems to have no effect. According to the console output, x264 uses the Main profile.
pintcat is offline   Reply With Quote
Old 8th July 2012, 21:01   #99  |  Link
ozok
TEncoder, TX264, TAC
 
ozok's Avatar
 
Join Date: Jun 2011
Location: Turkey
Posts: 540
Quote:
Originally Posted by pintcat View Post
Found another small one: Setting the profile to High seems to have no effect. According to the console output, x264 uses the Main profile.
I can get high profile. Send me the log please.
ozok is offline   Reply With Quote
Old 9th July 2012, 04:00   #100  |  Link
pintcat
Registered User
 
Join Date: Jul 2010
Location: Berlin, Germany
Posts: 45
aaah... never mind. It uses Main profile only for the 1st pass. Although it is set to High for both passes, but I think that doesn't matter.
Now I have a small feature request: Is it possible to enable the user to specify an alternative temp folder? I know this can be achieved with OS settings, but it is much more convenient doing this from inside an application.
Attached Files
File Type: txt log.txt (11.0 KB, 9 views)
pintcat is offline   Reply With Quote
Reply

Tags
faac, mkv, mp4, neroaacenc, x264

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:15.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.