babos / xvid4psp

Automatically exported from code.google.com/p/xvid4psp
GNU General Public License v2.0
0 stars 0 forks source link

No audio when upgrading to 5.2 mkvtoolnix #42

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Mkvtoolnix upgrade to 5.2 from bunkus.org
2.Normally convert a file to MKV (x264 + AAC)
3.The final file contains no audio track.

What is the expected output? What do you see instead?
I hope one MKV with video and audio, but only appears to MKV video.

What version of the product are you using? On what operating system?
XviD4PSP_5.10.271.0_(2011-11-08)_rc26 on Win7 x64.

Please provide any additional information below.
Below is the report of the encoding and the resulting file mediainfo.
It only happens with version 5.2.0 and 5.2.1 of mkvtoolnix, but not with 5.1.0.

AUDIO ENCODING
------------------------------
Encoding audio to: C:\Users\ALX\AppData\Local\Temp\7603.m4a
AAC 192kbps 2ch 16bit 48000khz

neroAacEnc.exe: -ignorelength -cbr 192000 -lc -if - -of 
"C:\Users\ALX\AppData\Local\Temp\7603.m4a"

VIDEO ENCODING
------------------------------
Encoding video to: C:\Users\ALX\AppData\Local\Temp\7603.264
x264 2450kbps 1280x720 24.000fps (4725 frames)

x264_64.exe: --bitrate 2450 --preset slower --tune film --level 4.1 
--bluray-compat --vbv-maxrate 40000 --vbv-bufsize 30000 --threads 6 --keyint 24 
--open-gop --slices 4 --colorprim bt709 --transfer bt709 --colormatrix bt709 
--sar 1:1 --output "C:\Users\ALX\AppData\Local\Temp\7603.264" 
"C:\Users\ALX\AppData\Local\Temp\7603.avs"

raw [info]: 1280x720p 1:1 @ 10000000/416667 fps (cfr)
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
x264 [info]: profile High, level 4.1
                 ----                                                              
x264 [total]: encoded 4725 frames, 18.05 fps, 2433.63 kb/s

MUXING
------------------------------
Video file: C:\Users\ALX\AppData\Local\Temp\7603.264
Audio file: C:\Users\ALX\AppData\Local\Temp\7603.m4a
Muxing to: D:\Clips\New LB Encode\Duck Sauce - Barbra Streisand.mkv

mkvmerge.exe: -o "D:\Clips\New LB Encode\Duck Sauce - Barbra Streisand.mkv" 
--default-duration 0:24.000fps -d 0 -A -S --compression -1:none 
"C:\Users\ALX\AppData\Local\Temp\7603.264" -a 1 -D -S --no-chapters 
--compression -1:none "C:\Users\ALX\AppData\Local\Temp\7603.m4a" 

TIME
------------------------------
Tiempo total de la codificación: 4 min 31 sec
Tamaño del archivo de salida es: 57.16 mb

General
UniqueID/String                  : 199712949436308431829749458991255526445 
(0x963F50A13A1973A4968E952245B61C2D)
Nombre completo                  : D:\Clips\New LB Encode\Duck Sauce - Barbra 
Streisand.mkv
Formato                          : Matroska
Formato de la versión            : Version 2
Tamaño del archivo               : 57,2MB
Duración                         : 3min.
Modo de tasa de bits             : Variable
Tasa de bits total               : 2 435Kbps
Fecha de codificación            : UTC 2012-01-19 09:31:53
Aplicación de codifición         : mkvmerge v5.2.1 ('A Far Off Place') built 
on Jan  2 2012 23:21:10
Librería de codificación         : libebml v1.2.3 + libmatroska v1.3.0

Video
ID                               : 1
Formato                          : AVC
Formato/Info                     : Advanced Video Codec
Formato del perfil               : High@L4.1
Ajustes del formato, CABAC       : Si
Ajustes del formato, RefFrames   : 5marcos
ID Códec                         : V_MPEG4/ISO/AVC
Duración                         : 3min.
Tipo de tasa de bits             : Variable
Tasa de bits                     : 2 450Kbps
Tasa de bits máxima              : 40,0Mbps
Ancho                            : 1 280pixeles
Alto                             : 720pixeles
Relación de aspecto              : 16:9
Velocidad de cuadro              : 24,000fps
ColorSpace                       : YUV
ChromaSubsampling                : 4:2:0
BitDepth/String                  : 8bits
Tipo de exploración              : Progresivo
Bits/(Pixel*cuadro)              : 0.111
Tamaño de pista                  : 56,0MB (98%)
Librería de codificación         : x264 core 120 r2145 748fe16
Opciones de codificación         : cabac=1 / ref=6 / deblock=1:-1:-1 / 
analyse=0x3:0x133 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / 
me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / 
fast_pskip=1 / chroma_qp_offset=-3 / threads=6 / sliced_threads=0 / slices=4 / 
nr=0 / decimate=1 / interlaced=0 / bluray_compat=1 / constrained_intra=0 / 
bframes=3 / b_pyramid=1 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / 
open_gop=1 / weightp=1 / keyint=24 / keyint_min=2 / scenecut=40 / 
intra_refresh=0 / rc_lookahead=24 / rc=abr / mbtree=1 / bitrate=2450 / 
ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=40000 / 
vbv_bufsize=30000 / nal_hrd=vbr / ip_ratio=1.40 / aq=1:1.00
Default                          : Si
Forced                           : No
colour_primaries                 : BT.709-5, BT.1361, IEC 61966-2-4, SMPTE RP177
transfer_characteristics         : BT.709-5, BT.1361
matrix_coefficients              : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE 
RP177

Original issue reported on code.google.com by martines...@gmail.com on 19 Jan 2012 at 9:36

GoogleCodeExporter commented 8 years ago
xvid4psp 5 rc 26 uses an internal build of mkvtoolnix 5.0.1.
You're doing something wrong here, because I also upgraded to 5.2.1 two weeks 
ago and xvid4psp is still using his internal 5.0.1 version for the muxing.
And all my encodes have video and audio inside.

Original comment by Okocha1...@gmail.com on 20 Jan 2012 at 12:48

GoogleCodeExporter commented 8 years ago
The one I date is internal, because if you look at the mediainfo output file, 
you will see that it is version 5.2.1.
Replacing the internal mkvtoolnik (in the "apps/MKVtoolnik" folder of the 
program) with version 5.1.0, the audio and video are multiplexed correctly, but 
not replacing them with versions 5.2.0 and 5.2.1.
I've always been updated so the mkvtoolnix like the x264, if you look mediainfo 
is revision 2145.
This is the mediainfo with version 5.1.0

General
UniqueID / String: 238408276530238025859891942341298711123 
(0xB35BC38D5F89E6CDB08B525BD5696A53)
Full name: D: \ Clips \ New LB Encode \ Duck Sauce - Barbra Streisand.mkv
Format: Matroska
Format version: Version 2
File Size: 66.2 MB
Duration: 3 min.
Bit rate mode: Variable
Total bit rate: 2 819Kbps
Date code: 20/01/2012 10:42:48 UTC
Codifición Application: mkvmerge v5.1.0 ('And so it goes') built on November 
28, 2011 23:58:28
Encoding library: libebml v1.2.3 + libmatroska v1.3.0

Video
ID: 1
Format: AVC
Format / Info: Advanced Video Codec
Format profile: High@L4.1
Format settings, CABAC: Yes
Format settings, RefFrames: 5marcos
Codec ID: V_MPEG4/ISO/AVC
Duration: 3 min.
Bit Rate Type: Variable
Nominal bit rate: 2 450kbps
Maximum bit rate: 40.0 Mbps
Width: 1 280pixeles
Height: 720pixeles
Aspect ratio: 16:9
Frame rate: 24.000 fps
ColorSpace: YUV
ChromaSubsampling: 4:2:0
BitDepth / String: 8 bits
Scan type: Progressive
Bits / (Pixel * Frame): 0.111
Encoding library: x264 core 120 r2145 748fe16
Encoding options: CABAC = 1 / ref = 6 / deblock = 1: -1: -1 / analyze = 0x3: 
0x133 / me = umh / submenu = 9 / psy = 1 / psy_rd = 1.00:0.15 / mixed_ref = 1 / 
me_range = 16 / chroma_me = 1 / trellis = 2 / 8x8dct = 1 / cqm = 0 / deadzone = 
21.11 / fast_pskip = 1 / chroma_qp_offset =- 3 / threads = 6 / sliced_threads = 
0 / slices = 4 / nr = 0 / decimate = 1 / interlaced = 0 / bluray_compat = 1 / 
constrained_intra = 0 / bframe = 3 / b_pyramid = 1 / b_adapt = 2 / b_bias = 0 / 
direct = 3 / weightb = 1 / open_gop = 1 / weightp = 1 / keyint = 24 / 
keyint_min = 2 / scenecut = 40 / intra_refresh = 0 / rc_lookahead = 24 / rc = 
April / mbtree = 1 / bitrate = 2450 / ratetol = 1.0 / qcomp = 0.60 / qpmin = 0 
/ qpmax = 69 / qpstep = 4 / vbv_maxrate = 40000 / vbv_bufsize = 30000 / nal_hrd 
= vbr / ip_ratio = 1.40 / aq = 1:1.00
Default: If
Forced: No
colour_primaries: BT.709-5, BT.1361, IEC 61966-2-4, SMPTE RP177
transfer_characteristics: BT.709-5, BT.1361
matrix_coefficients: BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177

Audio
ID: 2
Format: AAC
Format / Info: Advanced Audio Codec
Format profile: LC
Codec ID: A_AAC
Duration: 3 min.
Channel (s): 2canales
Channel positions: Front: L R
Sampling rate: 48.0 KHz
Default: If
Forced: No

I ask to know if it was a problem in the syntax which makes XviD4PSP due to 
changes in mkvmerge versions 5.2.0 and 5.2.1.

Original comment by martines...@gmail.com on 20 Jan 2012 at 1:51

GoogleCodeExporter commented 8 years ago
It's due to change in mkvtoolnix.
The author of mkvtoolnix changed the Track ID Numbers, that's why it doesn't 
work anymore in xvid4psp.
xvid4psp needs to be updated to work with the new Track ID Numbers, because now 
it starts at 0 and before it started at 1. That's why you only have 1 track 
inside the mkv, the second one is omitted because the track numbers aren't 
corresponding.

Original comment by Okocha1...@gmail.com on 20 Jan 2012 at 9:57

GoogleCodeExporter commented 8 years ago
Thanks for the reply. While waiting for the update.

Original comment by martines...@gmail.com on 20 Jan 2012 at 11:59

GoogleCodeExporter commented 8 years ago
More or less, but should be fixed in r277..

Original comment by forc...@gmail.com on 12 Jun 2012 at 6:44

GoogleCodeExporter commented 8 years ago
Thanks for the reply, I am currently using version 276.1_rc30.1_2.6 with 
MKVtoolnix version 5.6. It works well except it does not recognize some mp4 
While the audio delay. Thanks again and awaiting R277 executable.

Original comment by martines...@gmail.com on 12 Jun 2012 at 11:10