Wrong channel order in DTS to AC3 transcoding?

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
giacom8
New Cone
New Cone
Posts: 2
Joined: 09 Jul 2009 18:06

Wrong channel order in DTS to AC3 transcoding?

Postby giacom8 » 09 Jul 2009 18:44

Hello, this is my first post on the VLC forums.
I've searched the boards with no success so I'm starting a new topic.

I transcoded a DTS file to AC3 with the "Advanced Open File..." option.

Streaming/saving Settings
Transcoding options:
Audio: a52, Bitrate 448 kbs, 6 channels
Encapsulation method: MPEG TS

I took the AC3 audio, muxed with existing video, played on my PS3 hooked to my home thater system.

The problem is that the channels are screwed, audio from the central speaker (in the original DTS) now comes out from the back left speaker.
I'm on an intel Mac Pro whit the latest Mac OS X release (10.5.7), but I don't think that this issue is platform specific.

Any suggestion?

Giacomo

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Wrong channel order in DTS to AC3 transcoding?

Postby Jean-Baptiste Kempf » 09 Jul 2009 19:21

can you fill a bug, please?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

giacom8
New Cone
New Cone
Posts: 2
Joined: 09 Jul 2009 18:06

Re: Wrong channel order in DTS to AC3 transcoding?

Postby giacom8 » 09 Jul 2009 19:52

can you fill a bug, please?
I registered on trac - but I don't use irc (for account validation) so it seems I can't file a bug.
Account username is "giacom8" if you can validate it.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Wrong channel order in DTS to AC3 transcoding?

Postby Jean-Baptiste Kempf » 09 Jul 2009 20:42

done.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

mis
New Cone
New Cone
Posts: 1
Joined: 29 Jan 2011 08:46

Re: Wrong channel order in DTS to AC3 transcoding?

Postby mis » 29 Jan 2011 09:21

I've just got the same results. For information this is my command line:

/Applications/VLC.app/Contents/MacOS/VLC -I dummy --avi-index=2 $src --sout '#transcode{vcodec=h264,venc=x264{profile=baseline,level=3.0,nocabac,nobframes,ref=1},deinterlace,vb=1560,scale=1,acodec=a52,ab=448000}:duplicate{dst=std{access=file,mux=ts,dst=$destpath/$file}}' vlc://quit

Adding in -vvvv and I get:

[0x100204798] main libvlc debug: VLC media player - 1.1.5 The Luggage
[0x100204798] main libvlc debug: Copyright © 1996-2010 the VideoLAN team
[0x100204798] main libvlc debug: revision 1.1.5-0-gdc98d85
[0x100204798] main libvlc debug: configured with ./configure '--build=x86_64-apple-darwin9' '--enable-sse' '--enable-mmx' 'build_alias=x86_64-apple-darwin9' 'CC=/Developer/usr/bin/llvm-gcc-4.2' 'CFLAGS=-m64 -arch x86_64' 'LDFLAGS=-arch x86_64' 'CPPFLAGS=-m64 -arch x86_64' 'CXX=/Developer/usr/bin/llvm-g++-4.2' 'CXXFLAGS=-m64 -arch x86_64' 'OBJC=/Developer/usr/bin/llvm-gcc-4.2' 'OBJCFLAGS=-m64 -arch x86_64' 'PKG_CONFIG_PATH=:/opt/local/lib/pkgconfig'
[0x100204798] main libvlc debug: translation test: code is "en_GB"
[0x100204798] main libvlc debug: opening config file (/Users/michelle/Library/Preferences/org.videolan.vlc/vlcrc)
[0x100204798] main libvlc debug: loading config for module "main"
[0x100204798] main libvlc debug: checking plugin modules
[0x100204798] main libvlc debug: loading plugins cache file /Applications/VLC.app/Contents/MacOS/plugins/plugins-04081e-7e8.dat
[0x100204798] main libvlc debug: recursively browsing `/Applications/VLC.app/Contents/MacOS/plugins'
[0x100204798] main libvlc warning: cannot load module `/Applications/VLC.app/Contents/MacOS/plugins/libgoom_plugin.dylib' (dlopen(/Applications/VLC.app/Contents/MacOS/plugins/libgoom_plugin.dylib, 2): no suitable image found. Did find:
/Applications/VLC.app/Contents/MacOS/plugins/libgoom_plugin.dylib: no matching architecture in universal wrapper)
[0x100204798] main libvlc warning: cannot load module `/Applications/VLC.app/Contents/MacOS/plugins/libi420_rgb_mmx_plugin.dylib' (dlopen(/Applications/VLC.app/Contents/MacOS/plugins/libi420_rgb_mmx_plugin.dylib, 2): no suitable image found. Did find:
/Applications/VLC.app/Contents/MacOS/plugins/libi420_rgb_mmx_plugin.dylib: mach-o, but wrong architecture)
[0x100204798] main libvlc warning: cannot load module `/Applications/VLC.app/Contents/MacOS/plugins/libi420_yuy2_mmx_plugin.dylib' (dlopen(/Applications/VLC.app/Contents/MacOS/plugins/libi420_yuy2_mmx_plugin.dylib, 2): no suitable image found. Did find:
/Applications/VLC.app/Contents/MacOS/plugins/libi420_yuy2_mmx_plugin.dylib: mach-o, but wrong architecture)
[0x100204798] main libvlc warning: cannot load module `/Applications/VLC.app/Contents/MacOS/plugins/libi422_yuy2_mmx_plugin.dylib' (dlopen(/Applications/VLC.app/Contents/MacOS/plugins/libi422_yuy2_mmx_plugin.dylib, 2): no suitable image found. Did find:
/Applications/VLC.app/Contents/MacOS/plugins/libi422_yuy2_mmx_plugin.dylib: mach-o, but wrong architecture)
[0x100204798] main libvlc warning: cannot load module `/Applications/VLC.app/Contents/MacOS/plugins/libmemcpy3dn_plugin.dylib' (dlopen(/Applications/VLC.app/Contents/MacOS/plugins/libmemcpy3dn_plugin.dylib, 2): no suitable image found. Did find:
/Applications/VLC.app/Contents/MacOS/plugins/libmemcpy3dn_plugin.dylib: mach-o, but wrong architecture)
[0x100204798] main libvlc warning: cannot load module `/Applications/VLC.app/Contents/MacOS/plugins/libmemcpymmx_plugin.dylib' (dlopen(/Applications/VLC.app/Contents/MacOS/plugins/libmemcpymmx_plugin.dylib, 2): no suitable image found. Did find:
/Applications/VLC.app/Contents/MacOS/plugins/libmemcpymmx_plugin.dylib: mach-o, but wrong architecture)
[0x100204798] main libvlc warning: cannot load module `/Applications/VLC.app/Contents/MacOS/plugins/libmemcpymmxext_plugin.dylib' (dlopen(/Applications/VLC.app/Contents/MacOS/plugins/libmemcpymmxext_plugin.dylib, 2): no suitable image found. Did find:
/Applications/VLC.app/Contents/MacOS/plugins/libmemcpymmxext_plugin.dylib: mach-o, but wrong architecture)
[0x100204798] main libvlc warning: cannot load module `/Applications/VLC.app/Contents/MacOS/plugins/libsdl_image_plugin.dylib' (dlopen(/Applications/VLC.app/Contents/MacOS/plugins/libsdl_image_plugin.dylib, 2): no suitable image found. Did find:
/Applications/VLC.app/Contents/MacOS/plugins/libsdl_image_plugin.dylib: no matching architecture in universal wrapper)
[0x100204798] main libvlc debug: saving plugins cache /Applications/VLC.app/Contents/MacOS/plugins/plugins-04081e-7e8.dat
[0x100204798] main libvlc debug: module bank initialized (355 modules)
[0x100204798] main libvlc debug: opening config file (/Users/michelle/Library/Preferences/org.videolan.vlc/vlcrc)
[0x100204798] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 FPU
[0x100204798] main libvlc debug: looking for memcpy module: 1 candidate
[0x100204798] main libvlc debug: using memcpy module "dummy"
[0x101e8f728] main input debug: Creating an input for 'Media Library'
[0x101e8f728] main input debug: Input is a meta file: disabling unneeded options
[0x101e8f728] main input debug: using timeshift granularity of 50 MiB
[0x101e8f728] main input debug: using timeshift path '/tmp'
[0x101e8f728] main input debug: `file/xspf-open:///Users/michelle/Library/Application%20Support/org.videolan.vlc/ml.xspf' gives access `file' demux `xspf-open' path `/Users/michelle/Library/Application Support/org.videolan.vlc/ml.xspf'
[0x101e8f728] main input debug: creating demux: access='file' demux='xspf-open' path='/Users/michelle/Library/Application Support/org.videolan.vlc/ml.xspf'
[0x101e943a8] main demux debug: looking for access_demux module: 2 candidates
[0x101e943a8] main demux debug: no access_demux module matching "file" could be loaded
[0x101e943a8] main demux debug: TIMER module_need() : 0.848 ms - Total 0.848 ms / 1 intvls (Avg 0.848 ms)
[0x101e8f728] main input debug: creating access 'file' path='/Users/michelle/Library/Application Support/org.videolan.vlc/ml.xspf'
[0x101e94398] main access debug: looking for access module: 3 candidates
[0x101e94398] access_mmap access debug: opening file /Users/michelle/Library/Application Support/org.videolan.vlc/ml.xspf
[0x101e94398] main access debug: using access module "access_mmap"
[0x101e94398] main access debug: TIMER module_need() : 56.806 ms - Total 56.806 ms / 1 intvls (Avg 56.806 ms)
[0x100214f48] main stream debug: Using AStream*Block
[0x100214f48] main stream debug: pre buffering
[0x100214f48] main stream debug: received first data after 0 ms
[0x100214f48] main stream debug: prebuffering done 296 bytes in 0s - 13139 KiB/s
[0x100215238] main stream debug: looking for stream_filter module: 5 candidates
[0x100215238] main stream debug: no stream_filter module matching "any" could be loaded
[0x100215238] main stream debug: TIMER module_need() : 31.971 ms - Total 31.971 ms / 1 intvls (Avg 31.971 ms)
[0x101e952f8] main stream debug: looking for stream_filter module: 1 candidate
[0x101e952f8] main stream debug: using stream_filter module "stream_filter_record"
[0x101e952f8] main stream debug: TIMER module_need() : 2.343 ms - Total 2.343 ms / 1 intvls (Avg 2.343 ms)
[0x101e8f728] main input debug: creating demux: access='file' demux='xspf-open' path='/Users/michelle/Library/Application Support/org.videolan.vlc/ml.xspf'
[0x101e954e8] main demux debug: looking for demux module: 1 candidate
[0x101e954e8] playlist demux debug: using XSPF playlist reader
[0x101e954e8] main demux debug: using demux module "playlist"
[0x101e954e8] main demux debug: TIMER module_need() : 14.744 ms - Total 14.744 ms / 1 intvls (Avg 14.744 ms)
[0x101e959d8] main demux meta debug: looking for meta reader module: 2 candidates
[0x101e959d8] lua demux meta debug: Trying Lua scripts in /Users/michelle/Library/Application Support/org.videolan.vlc/lua/meta/reader
[0x101e959d8] lua demux meta debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/share/lua/meta/reader
[0x101e959d8] lua demux meta debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/share/lua/meta/reader/filename.lua
[0x101e959d8] lua demux meta debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/share/share/lua/meta/reader
[0x101e959d8] main demux meta debug: no meta reader module matching "any" could be loaded
[0x101e959d8] main demux meta debug: TIMER module_need() : 11.316 ms - Total 11.316 ms / 1 intvls (Avg 11.316 ms)
[0x101e8f728] main input debug: `file/xspf-open:///Users/michelle/Library/Application%20Support/org.videolan.vlc/ml.xspf' successfully opened
[0x101e99ad8] main xml debug: looking for xml module: 2 candidates
[0x101e99ad8] main xml debug: using xml module "xml"
[0x101e99ad8] main xml debug: TIMER module_need() : 10.529 ms - Total 10.529 ms / 1 intvls (Avg 10.529 ms)
[0x101e94398] access_mmap access debug: at end of memory mapped file
[0x101e954e8] playlist demux debug: parsed 0 tracks successfully
[0x101e99ad8] main xml debug: removing module "xml"
[0x101e8f728] main input debug: EOF reached
[0x101e954e8] main demux debug: removing module "playlist"
[0x101e952f8] main stream debug: removing module "stream_filter_record"
[0x101e94398] main access debug: removing module "access_mmap"
[0x101e8f728] main input debug: TIMER input launching for 'Media Library' : 118.674 ms - Total 118.674 ms / 1 intvls (Avg 118.674 ms)
[0x101e952d8] main interface debug: looking for interface module: 1 candidate
[0x101e952d8] main interface debug: using interface module "hotkeys"
[0x101e952d8] main interface debug: TIMER module_need() : 13.359 ms - Total 13.359 ms / 1 intvls (Avg 13.359 ms)
[0x101e8d5b8] main playlist debug: Activated
[0x101e8d5b8] main playlist debug: adding item `quit' ( vlc://quit )
[0x101e8d5b8] main playlist debug: rebuilding array of current - root Playlist
[0x101e8d5b8] main playlist debug: rebuild done - 0 items, index -1
[0x100214f48] main input debug: Creating an input for 'quit'
[0x101e8d5b8] main playlist debug: adding item `Minority.Report.2002.Bluray.720p.DTS.x264-CHD.mkv' ( file:///Volumes/Photos/Vuze/Minority.Report.2002.Bluray.720p.DTS.x264-CHD.mkv )
[0x101e8d5b8] main playlist debug: no fetch required for (null) (art currently (null))
[0x100203b88] main input debug: Creating an input for 'Minority.Report.2002.Bluray.720p.DTS.x264-CHD.mkv'
[0x101e8fd38] main interface debug: looking for interface module: 1 candidate
[0x101e8fd38] main interface debug: using interface module "signals"
[0x101e8fd38] main interface debug: TIMER module_need() : 10.654 ms - Total 10.654 ms / 1 intvls (Avg 10.654 ms)
[0x101e902f8] main interface debug: looking for interface module: 1 candidate
[0x101e902f8] dummy interface: using the dummy interface module...
[0x101e902f8] main interface debug: using interface module "dummy"
[0x101e902f8] main interface debug: TIMER module_need() : 0.201 ms - Total 0.201 ms / 1 intvls (Avg 0.201 ms)
[0x101e8d5b8] main playlist debug: processing request item null node Playlist skip 0
[0x101e8d5b8] main playlist debug: rebuilding array of current - root Playlist
[0x101e8d5b8] main playlist debug: rebuild done - 2 items, index -1
[0x101e8d5b8] main playlist debug: starting new item
[0x101e8d5b8] main playlist debug: creating new input thread
[0x101e90798] main input debug: Creating an input for 'Minority.Report.2002.Bluray.720p.DTS.x264-CHD.mkv'
[0x101e90798] main input debug: thread (input) created at priority 22 (input/input.c:214)
[0x101e90798] main input debug: thread started
[0x101e9c038] main stream output debug: using sout chain=`transcode{vcodec=h264,venc=x264{profile=baseline,level=3.0,nocabac,nobframes,ref=1},deinterlace,vb=1560,scale=1,acodec=a52,ab=448000}:duplicate{dst=std{access=file,mux=ts,dst=/Volumes/Photos/Vuze/transcoded/Minority.Report.2002.Bluray.720p.DTS.x264-CHD.ts}}'[0x101e9c038] main stream output debug: stream=`duplicate'
[0x101e9c688] main stream out debug: looking for sout stream module: 1 candidate
[0x101e9c688] stream_out_duplicate stream out debug: creating 'duplicate'
[0x101e9c688] stream_out_duplicate stream out debug: * adding `std{access=file,mux=ts,dst=/Volumes/Photos/Vuze/transcoded/Minority.Report.2002.Bluray.720p.DTS.x264-CHD.ts}'
[0x101e9c038] main stream output debug: stream=`std'
[0x101e9cd78] main stream out debug: looking for sout stream module: 1 candidate
[0x101e9cd78] main stream out debug: set config option: sout-standard-access to file
[0x101e9cd78] main stream out debug: set config option: sout-standard-mux to ts
[0x101e9cd78] main stream out debug: set config option: sout-standard-dst to /Volumes/Photos/Vuze/transcoded/Minority.Report.2002.Bluray.720p.DTS.x264-CHD.ts
[0x101e9cd78] stream_out_standard stream out debug: creating `file/ts:///Volumes/Photos/Vuze/transcoded/Minority.Report.2002.Bluray.720p.DTS.x264-CHD.ts'
[0x101e9cd78] stream_out_standard stream out debug: extension is ts
[0x101e9cd78] stream_out_standard stream out debug: extension -> mux=ts
[0x101e9cd78] stream_out_standard stream out debug: using `file/ts:///Volumes/Photos/Vuze/transcoded/Minority.Report.2002.Bluray.720p.DTS.x264-CHD.ts'
[0x101e9dc38] main access out debug: looking for sout access module: 1 candidate
[0x101e9dc38] access_output_file access out debug: file access output opened (/Volumes/Photos/Vuze/transcoded/Minority.Report.2002.Bluray.720p.DTS.x264-CHD.ts)
[0x101e9dc38] main access out debug: using sout access module "access_output_file"
[0x101e9dc38] main access out debug: TIMER module_need() : 5.569 ms - Total 5.569 ms / 1 intvls (Avg 5.569 ms)
[0x101e9cd78] stream_out_standard stream out debug: access opened
[0x101e9e238] main mux debug: looking for sout mux module: 1 candidate
[0x101e9e238] mux_ts mux debug: shaping=200000 pcr=70000 dts_delay=400000
[0x101e9e238] main mux debug: using sout mux module "mux_ts"
[0x101e9e238] main mux debug: TIMER module_need() : 10.051 ms - Total 10.051 ms / 1 intvls (Avg 10.051 ms)
[0x101e9c038] main stream output debug: muxer support adding stream at any time
[0x101e9c038] main stream output debug: muxer prefers to wait for all ES before starting to mux
[0x101e9cd78] stream_out_standard stream out debug: mux opened
[0x101e9cd78] main stream out debug: using sout stream module "stream_out_standard"
[0x101e9cd78] main stream out debug: TIMER module_need() : 21.247 ms - Total 21.247 ms / 1 intvls (Avg 21.247 ms)
[0x101e9c688] main stream out debug: using sout stream module "stream_out_duplicate"
[0x101e9c688] main stream out debug: TIMER module_need() : 21.992 ms - Total 21.992 ms / 1 intvls (Avg 21.992 ms)
[0x101e9c038] main stream output debug: stream=`transcode'
[0x101e9f708] main stream out debug: looking for sout stream module: 1 candidate
[0x101e9f708] main stream out debug: set config option: sout-transcode-vcodec to h264
[0x101e9f708] main stream out debug: set config option: sout-transcode-venc to x264{profile=baseline,level=3.0,nocabac,nobframes,ref=1}
[0x101e9f708] main stream out debug: set config option: sout-transcode-deinterlace to (null)
[0x101e9f708] main stream out debug: set config option: sout-transcode-vb to 1560
[0x101e9f708] main stream out debug: set config option: sout-transcode-scale to 1
[0x101e9f708] main stream out debug: set config option: sout-transcode-acodec to a52
[0x101e9f708] main stream out debug: set config option: sout-transcode-ab to 448000
[0x101e9f708] stream_out_transcode stream out debug: codec audio=a52 0Hz 0 channels 448Kb/s
[0x101e9f708] stream_out_transcode stream out debug: codec video=h264 0x0 scaling: 1.000000 1560kb/s
[0x101e9f708] main stream out debug: using sout stream module "stream_out_transcode"
[0x101e9f708] main stream out debug: TIMER module_need() : 8.373 ms - Total 8.373 ms / 1 intvls (Avg 8.373 ms)
[0x101e90798] main input debug: using timeshift granularity of 50 MiB
[0x101e90798] main input debug: using timeshift path '/tmp'
[0x101e90798] main input debug: `file:///Volumes/Photos/Vuze/Minority.Report.2002.Bluray.720p.DTS.x264-CHD.mkv' gives access `file' demux `' path `/Volumes/Photos/Vuze/Minority.Report.2002.Bluray.720p.DTS.x264-CHD.mkv'
[0x101e90798] main input debug: creating demux: access='file' demux='' path='/Volumes/Photos/Vuze/Minority.Report.2002.Bluray.720p.DTS.x264-CHD.mkv'
[0x10021a7f8] main demux debug: looking for access_demux module: 2 candidates
[0x10021a7f8] main demux debug: no access_demux module matching "file" could be loaded
[0x10021a7f8] main demux debug: TIMER module_need() : 184.571 ms - Total 184.571 ms / 1 intvls (Avg 184.571 ms)
[0x101e90798] main input debug: creating access 'file' path='/Volumes/Photos/Vuze/Minority.Report.2002.Bluray.720p.DTS.x264-CHD.mkv'
[0x10021a7f8] main access debug: looking for access module: 3 candidates
[0x10021a7f8] access_mmap access debug: opening file /Volumes/Photos/Vuze/Minority.Report.2002.Bluray.720p.DTS.x264-CHD.mkv
[0x10021a7f8] main access debug: using access module "access_mmap"
[0x10021a7f8] main access debug: TIMER module_need() : 0.318 ms - Total 0.318 ms / 1 intvls (Avg 0.318 ms)
[0x10021abb8] main stream debug: Using AStream*Block
[0x10021abb8] main stream debug: pre buffering
[0x10021abb8] main stream debug: received first data after 0 ms
[0x10021abb8] main stream debug: prebuffering done 1048576 bytes in 0s - 21787234 KiB/s
[0x10021b1a8] main stream debug: looking for stream_filter module: 5 candidates
[0x10021b1a8] main stream debug: no stream_filter module matching "any" could be loaded
[0x10021b1a8] main stream debug: TIMER module_need() : 0.083 ms - Total 0.083 ms / 1 intvls (Avg 0.083 ms)
[0x10021b078] main stream debug: looking for stream_filter module: 1 candidate
[0x10021b078] main stream debug: using stream_filter module "stream_filter_record"
[0x10021b078] main stream debug: TIMER module_need() : 0.064 ms - Total 0.064 ms / 1 intvls (Avg 0.064 ms)
[0x101e90798] main input debug: creating demux: access='file' demux='' path='/Volumes/Photos/Vuze/Minority.Report.2002.Bluray.720p.DTS.x264-CHD.mkv'
[0x10021b208] main demux debug: looking for demux module: 51 candidates
[0x10021b208] mkv demux debug: | + Seek head
[0x10021b208] mkv demux debug: | | + Seek
[0x10021b208] mkv demux debug: | - info at 4135
[0x10021b208] mkv demux debug: | + Information
[0x10021b208] mkv demux debug: | | + TimecodeScale=1000000
[0x10021b208] mkv demux debug: | | + Muxing Application=libebml v0.7.9 + libmatroska v0.8.1
[0x10021b208] mkv demux debug: | | + Writing Application=mkvmerge v3.2.0 ('Beginnings') 编译于 Feb 12 2010 16:46:17
[0x10021b208] mkv demux debug: | | + Duration=8715328
[0x10021b208] mkv demux debug: | | + Date=Sun Mar 28 07:40:11 2010
[0x10021b208] mkv demux debug: | | + UID=101398402
[0x10021b208] mkv demux debug: | | + Seek
[0x10021b208] mkv demux debug: | - tracks at 4287
[0x10021b208] mkv demux debug: | + Tracks
[0x10021b208] mkv demux debug: | | + Track Entry
[0x10021b208] mkv demux debug: | | | + Track Number=1
[0x10021b208] mkv demux debug: | | | + Track UID=1
[0x10021b208] mkv demux debug: | | | + Track Type=video
[0x10021b208] mkv demux debug: | | | + Unknown (N11libmatroska19KaxTrackFlagEnabledE)
[0x10021b208] mkv demux debug: | | | + Track Default=0
[0x10021b208] mkv demux debug: | | | + Unknown (N11libmatroska18KaxTrackFlagForcedE)
[0x10021b208] mkv demux debug: | | | + Track Lacing=0
[0x10021b208] mkv demux debug: | | | + Track MinCache=1
[0x10021b208] mkv demux debug: | | | + Track TimeCodeScale=1.000000
[0x10021b208] mkv demux debug: | | | + Unknown (N11libmatroska21KaxMaxBlockAdditionIDE)
[0x10021b208] mkv demux debug: | | | + Track CodecId=V_MPEG4/ISO/AVC
[0x10021b208] mkv demux debug: | | | + Unknown (N11libmatroska17KaxCodecDecodeAllE)
[0x10021b208] mkv demux debug: | | | + Track CodecPrivate size=169
[0x10021b208] mkv demux debug: | | | + Track Default Duration=41708299
[0x10021b208] mkv demux debug: | | | + Track Language=`eng'
[0x10021b208] mkv demux debug: | | | + Track Name=Minority Report 2002 Bluray 720p DTS x264 CHD
[0x10021b208] mkv demux debug: | | | + Track Video
[0x10021b208] mkv demux debug: | | | | + width=1280
[0x10021b208] mkv demux debug: | | | | + height=534
[0x10021b208] mkv demux debug: | | | | + Unknown (N11libmatroska22KaxVideoFlagInterlacedE)
[0x10021b208] mkv demux debug: | | | | + display width=640
[0x10021b208] mkv demux debug: | | | | + display height=267
[0x10021b208] mkv demux debug: | | + Track Entry
[0x10021b208] mkv demux debug: | | | + Track Number=2
[0x10021b208] mkv demux debug: | | | + Track UID=36232589
[0x10021b208] mkv demux debug: | | | + Track Type=audio
[0x10021b208] mkv demux debug: | | | + Unknown (N11libmatroska19KaxTrackFlagEnabledE)
[0x10021b208] mkv demux debug: | | | + Track Default=1
[0x10021b208] mkv demux debug: | | | + Unknown (N11libmatroska18KaxTrackFlagForcedE)
[0x10021b208] mkv demux debug: | | | + Track Lacing=1
[0x10021b208] mkv demux debug: | | | + Track MinCache=0
[0x10021b208] mkv demux debug: | | | + Track TimeCodeScale=1.000000
[0x10021b208] mkv demux debug: | | | + Unknown (N11libmatroska21KaxMaxBlockAdditionIDE)
[0x10021b208] mkv demux debug: | | | + Track CodecId=A_DTS
[0x10021b208] mkv demux debug: | | | + Unknown (N11libmatroska17KaxCodecDecodeAllE)
[0x10021b208] mkv demux debug: | | | + Track Language=`eng'
[0x10021b208] mkv demux debug: | | | + Track Name=Minority Report 2002 Bluray DTS-HD Core
[0x10021b208] mkv demux debug: | | | + Track Audio
[0x10021b208] mkv demux debug: | | | | + afreq=48000
[0x10021b208] mkv demux debug: | | | | + achan=6
[0x10021b208] mkv demux debug: | | + Seek
[0x10021b208] mkv demux debug: | - chained seekhead at 9351734788
[0x10021abb8] main stream debug: b_seek=1 th*avg=1048576 skip=9350686212
[0x10021b208] mkv demux debug: | + Seek head
[0x10021b208] mkv demux debug: | | + Seek
[0x10021b208] mkv demux debug: | - unknown seekhead reference at 5755
[0x10021b208] mkv demux debug: | | + Seek
[0x10021b208] mkv demux debug: | - unknown seekhead reference at 387297
[0x10021b208] mkv demux debug: | | + Seek
[0x10021b208] mkv demux debug: | - unknown seekhead reference at 768012
[0x10021b208] mkv demux debug: | | + Seek
[0x10021b208] mkv demux debug: | - unknown seekhead reference at 2230928
[0x10021b208] mkv demux debug: | | + Seek
[0x10021b208] mkv demux debug: | - unknown seekhead reference at 3738386.
.
.
lots more
.
.
[0x10021b208] mkv demux debug: | | + Seek
[0x10021b208] mkv demux debug: | - unknown seekhead reference at 9348830426
[0x10021b208] mkv demux debug: | | + Seek
[0x10021b208] mkv demux debug: | - unknown seekhead reference at 9349251047
[0x10021b208] mkv demux debug: | | + Seek
[0x10021b208] mkv demux debug: | - unknown seekhead reference at 9349852103
[0x10021b208] mkv demux debug: | | + Seek
[0x10021b208] mkv demux debug: | - unknown seekhead reference at 9350799597
[0x10021b208] mkv demux debug: | | + Seek
[0x10021b208] mkv demux debug: | - unknown seekhead reference at 9351325039
[0x10021b208] mkv demux debug: | | + Seek
[0x10021a7f8] access_mmap access debug: at end of memory mapped file
m_el[mi_level] == NULL
arrrrrrrrrrrrrg Up cannot escape itself
[0x10021b208] mkv demux debug: | - unknown seekhead reference at 9351705755
[0x10021b208] mkv demux debug: | | + Seek
[0x10021b208] mkv demux debug: | | + Unknown (N7libebml8EbmlVoidE)
[0x10021b208] mkv demux debug: | - cues at 9351709798
[0x10021abb8] main stream debug: b_seek=1 th*avg=735857 skip=9350661222
[0x10021b208] mkv demux debug: | + Cues
[0x101e8d5b8] main playlist debug: no fetch required for (null) (art currently (null))
[0x10021b208] mkv demux debug: | - loading cues done.
[0x10021b208] mkv demux debug: | + Preload Unknown (N7libebml8EbmlVoidE)
[0x10021b208] mkv demux debug: | + Information
[0x10021b208] mkv demux debug: | + Tracks
[0x10021b208] mkv demux debug: | + Preload Unknown (N7libebml8EbmlVoidE)
[0x10021b208] mkv demux debug: | + Cluster
[0x10021b208] mkv demux debug: found 2 es
[0x101e90798] main input debug: selecting program id=0
[0x10021b208] mkv demux debug: Starting the UI Hook
[0x101ea18f8] main generic debug: thread (mkv event thread handler) created at priority 0 (demux.cpp:201)
[0x10021b208] main demux debug: using demux module "mkv"
[0x10021b208] main demux debug: TIMER module_need() : 645.305 ms - Total 645.305 ms / 1 intvls (Avg 645.305 ms)
[0x101ea18f8] main generic debug: thread started
[0x101e90798] main input debug: looking for a subtitle file in /Volumes/Photos/Vuze/
[0x102049108] main decoder debug: looking for packetizer module: 21 candidates
[0x102049108] packetizer_h264 decoder debug: found NAL_SPS (sps_id=0)
[0x102049108] packetizer_h264 decoder debug: found NAL_PPS (pps_id=0 sps_id=0)
[0x102049108] packetizer_h264 decoder debug: avcC length size=4, sps=1, pps=1
[0x102049108] main decoder debug: using packetizer module "packetizer_h264"
[0x102049108] main decoder debug: TIMER module_need() : 57.396 ms - Total 57.396 ms / 1 intvls (Avg 57.396 ms)
[0x102049108] main decoder debug: thread (decoder) created at priority 0 (input/decoder.c:301)
[0x102049108] main decoder debug: thread started
[0x102056708] main decoder debug: looking for packetizer module: 21 candidates
[0x102056708] main decoder debug: using packetizer module "dts"
[0x102056708] main decoder debug: TIMER module_need() : 51.427 ms - Total 51.427 ms / 1 intvls (Avg 51.427 ms)
[0x102056708] main decoder debug: thread (decoder) created at priority 22 (input/decoder.c:301)
[0x102056708] main decoder debug: thread started
[0x101e90798] main input debug: starting in sync mode
[0x10021b398] main demux meta debug: looking for meta reader module: 2 candidates
[0x10021b398] lua demux meta debug: Trying Lua scripts in /Users/michelle/Library/Application Support/org.videolan.vlc/lua/meta/reader
[0x10021b398] lua demux meta debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/share/lua/meta/reader
[0x10021b398] lua demux meta debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/share/lua/meta/reader/filename.lua
[0x10021b398] lua demux meta debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/share/share/lua/meta/reader
[0x10021b398] main demux meta debug: no meta reader module matching "any" could be loaded
[0x10021b398] main demux meta debug: TIMER module_need() : 0.804 ms - Total 0.804 ms / 1 intvls (Avg 0.804 ms)
[0x101e90798] main input debug: `file:///Volumes/Photos/Vuze/Minority.Report.2002.Bluray.720p.DTS.x264-CHD.mkv' successfully opened
[0x101e90798] main input debug: Buffering 0%
[0x101e90798] main input debug: switching to async mode
[0x101e90798] main input debug: Buffering 0%
[0x102056708] dts decoder: DTS channels:6 samplerate:48000 bitrate:1536000
[0x101e90798] main input debug: Buffering 14%
[0x101e9c038] main stream output debug: adding a new sout input (sout_input:0x101e9da00)
[0x101e90798] main input debug: Buffering 27%
[0x101e9f708] stream_out_transcode stream out debug: creating audio transcoding from fcc=`dts ' to fcc=`a52 '
[0x101e90798] main input debug: Buffering 28%
[0x101e90798] main input debug: Buffering 41%
[0x102050f08] main generic debug: looking for decoder module: 31 candidates
[0x101e90798] main input debug: Buffering 55%
[0x101e90798] main input debug: Buffering 56%
[0x101e90798] main input debug: Buffering 69%
[0x101e90798] main input debug: Buffering 83%
[0x101e90798] main input debug: Buffering 85%
[0x101e90798] main input debug: Buffering 97%
[0x101e90798] main input debug: Stream buffering done (334 ms in 0 ms)
[0x101e9c038] main stream output debug: adding a new sout input (sout_input:0x1002250a0)
[0x102050f08] main generic debug: using decoder module "dts"
[0x102050f08] main generic debug: TIMER module_need() : 42.756 ms - Total 42.756 ms / 1 intvls (Avg 42.756 ms)
[0x102051508] main encoder debug: looking for encoder module: 11 candidates
[0x102051508] avcodec encoder debug: libavcodec initialized (interface 0x345e03)
[0x102051508] avcodec encoder debug: found encoder A52 Audio (aka AC3)
[0x102051508] main encoder debug: using encoder module "avcodec"
[0x102051508] main encoder debug: TIMER module_need() : 73.608 ms - Total 73.608 ms / 1 intvls (Avg 73.608 ms)
[0x101e9f708] stream_out_transcode stream out debug: Looking for filter (dts ->s16l, channels 6->6, rate 48000->48000)
[0x102052f08] main filter debug: looking for audio filter module: 14 candidates
[0x102052f08] main filter debug: using audio filter module "dtstofloat32"
[0x102052f08] main filter debug: TIMER module_need() : 4.803 ms - Total 4.803 ms / 1 intvls (Avg 4.803 ms)
[0x101e9f708] main stream out debug: Filter 'DCA' (0x102052f08) appended to chain
[0x100857908] main filter debug: looking for audio filter module: 14 candidates
[0x100857908] audio_format filter debug: f32l->s16l, bits per sample: 32->16
[0x100857908] main filter debug: using audio filter module "audio_format"
[0x100857908] main filter debug: TIMER module_need() : 91.299 ms - Total 91.299 ms / 1 intvls (Avg 91.299 ms)
[0x101e9f708] main stream out debug: Filter 'audio_format' (0x100857908) appended to chain
[0x101e9f708] stream_out_transcode stream out debug: Got complete audio filter chain
[0x101e9c688] stream_out_duplicate stream out debug: duplicated a new stream codec=a52 (es=1 group=0)
[0x101e9e238] main mux debug: adding a new input
[0x101e9e238] mux_ts mux debug: adding input codec=a52 pid=68
[0x101e9e238] mux_ts mux debug: - lang=eng
[0x101e9e238] mux_ts mux debug: new PCR PID is 68
[0x101e9c688] stream_out_duplicate stream out debug: - added for output 0
[0x101e9f708] stream_out_transcode stream out debug: creating video transcoding from fcc=`h264' to fcc=`h264'
[0x100857f08] main generic debug: looking for decoder module: 31 candidates
[0x100857f08] avcodec generic debug: libavcodec already initialized
[0x100857f08] avcodec generic debug: trying to use direct rendering
[0x100857f08] avcodec generic debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) started
[0x100857f08] main generic debug: using decoder module "avcodec"
[0x100857f08] main generic debug: TIMER module_need() : 1.344 ms - Total 1.344 ms / 1 intvls (Avg 1.344 ms)
[0x100859708] main encoder debug: looking for encoder module: 1 candidate
[0x100859708] x264 encoder debug: version x264 0.107.X
[0x100859708] main encoder debug: set config option: sout-x264-profile to baseline
[0x100859708] main encoder debug: set config option: sout-x264-level to 3.0
[0x100859708] main encoder debug: set config option: sout-x264-cabac to (null)
[0x100859708] main encoder warning: missing value for option nobframes
[0x100859708] main encoder debug: set config option: sout-x264-ref to 1
[0x100859708] x264 encoder debug: Limiting to baseline profile
x264 [warning]: frame MB size (80x34) > level limit (1620)
x264 [warning]: VBV buffer (15600) > level limit (10000)
x264 [warning]: MB rate (68000) > level limit (40500)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
x264 [info]: profile Constrained Baseline, level 3.0
[0x100859708] main encoder debug: using encoder module "x264"
[0x100859708] main encoder debug: TIMER module_need() : 18.356 ms - Total 18.356 ms / 1 intvls (Avg 18.356 ms)
[0x100859708] x264 encoder debug: framecount still in libx264 buffer: 0
[0x100859708] main encoder debug: removing module "x264"
[0x101e90798] main input debug: Decoder buffering done in 232 ms
[0x102050f08] dts generic: DTS channels:6 samplerate:48000 bitrate:1536000
Stream with high frequencies VQ coding
[0x100857f08] avcodec generic debug: using direct rendering
[0x101e9f708] stream_out_transcode stream out debug: decoder aspect is 2.397004:1
[0x101e9f708] stream_out_transcode stream out debug: source pixel aspect is 1.000000:1
[0x101e9f708] stream_out_transcode stream out debug: scaled pixel aspect is 1.000000:1
[0x101e9f708] stream_out_transcode stream out debug: source 1280x534, destination 1280x534
[0x101e9f708] stream_out_transcode stream out debug: encoder aspect is 1280:534
[0x10086b908] main filter debug: looking for video filter2 module: 1 candidate
[0x10087c108] deinterlace generic debug: using blend deinterlace method
[0x10086b908] deinterlace filter debug: deinterlacing
[0x10086b908] main filter debug: using video filter2 module "deinterlace"
[0x10086b908] main filter debug: TIMER module_need() : 13.331 ms - Total 13.331 ms / 1 intvls (Avg 13.331 ms)
[0x101e9f708] main stream out debug: Filter 'deinterlace' (0x10086b908) appended to chain
[0x101e9f708] stream_out_transcode stream out debug: destination (after video filters) 1280x534
[0x100859708] main encoder debug: looking for encoder module: 1 candidate
[0x100859708] x264 encoder debug: version x264 0.107.X
[0x100859708] main encoder debug: set config option: sout-x264-profile to baseline
[0x100859708] main encoder debug: set config option: sout-x264-level to 3.0
[0x100859708] main encoder debug: set config option: sout-x264-cabac to (null)
[0x100859708] main encoder warning: missing value for option nobframes
[0x100859708] main encoder debug: set config option: sout-x264-ref to 1
[0x100859708] x264 encoder debug: Limiting to baseline profile
x264 [info]: using SAR=1/1
x264 [warning]: frame MB size (80x34) > level limit (1620)
x264 [warning]: VBV buffer (16266) > level limit (10000)
x264 [warning]: MB rate (65215) > level limit (40500)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
x264 [info]: profile Constrained Baseline, level 3.0
[0x100859708] main encoder debug: using encoder module "x264"
[0x100859708] main encoder debug: TIMER module_need() : 17.680 ms - Total 17.680 ms / 1 intvls (Avg 17.680 ms)
[0x101e9c688] stream_out_duplicate stream out debug: duplicated a new stream codec=h264 (es=0 group=0)
[0x101e9e238] main mux debug: adding a new input
[0x101e9e238] mux_ts mux debug: adding input codec=h264 pid=69
[0x101e9e238] mux_ts mux debug: - lang=eng
[0x101e9e238] mux_ts mux debug: new PCR PID is 69
[0x101e9c688] stream_out_duplicate stream out debug: - added for output 0

(this is when it started writing the output file and no other errors reported will have the complete debug file ready later today if it's needed)

This is all on a Mac Mini Server 2.33GHz Duo Core 2 4G RAM etc..
$ uname -a
Darwin isux.com 10.6.0 Darwin Kernel Version 10.6.0: Wed Nov 10 18:13:17 PST 2010; root:xnu-1504.9.26~3/RELEASE_I386 i386
$ /Applications/VLC.app/Contents/MacOS/VLC --version
VLC version 1.1.5 The Luggage (1.1.5-0-gdc98d85)
Compiled by videolan on jones.via.ecp.fr (Nov 12 2010 12:24:41)
Compiler: gcc version 4.2.1 (Based on Apple Inc. build 5555) (LLVM build 2064.3)
This program comes with NO WARRANTY, to the extent permitted by law.
You may redistribute it under the terms of the GNU General Public Licence;
see the file named COPYING for details.
Written by the VideoLAN team; see the AUTHORS file.


Would be nice for a fix as the transcode seems to be the only way I can play HD with more than 2 channels of audio on the Dreambox DM800 directly (and I've been trying to get the damn thing right for a couple of weeks now ;-) ) and I'm sure many others will use this with their dreambox's.

Thanks,

Michelle

sraka1
New Cone
New Cone
Posts: 1
Joined: 24 May 2012 23:37

Re: Wrong channel order in DTS to AC3 transcoding?

Postby sraka1 » 14 Jul 2012 15:50

This still occurs. Please fix this!

Here's how the channels are re-arranged:
Image

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Wrong channel order in DTS to AC3 transcoding?

Postby Jean-Baptiste Kempf » 17 Jul 2012 18:53

Please file a bugreport.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

larryy
New Cone
New Cone
Posts: 8
Joined: 30 Aug 2011 16:32

Re: Wrong channel order in DTS to AC3 transcoding?

Postby larryy » 10 Mar 2013 23:51

I'm not sure if VLC can even fix this entirely on its own. There are HDMI audio settings on the Mac that seem to require adjustment. I have successfully got VLC 1.1.12 to 2.0.5 multi-channel audio to work correctly using the instructions written up here:
http://forums.macrumors.com/showthread.php?t=1314744
HTH

- larryy

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Wrong channel order in DTS to AC3 transcoding?

Postby Jean-Baptiste Kempf » 11 Mar 2013 14:09

Try VLC 2.1.0 on Mac.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 11 guests