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 > General > Audio encoding
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 25th July 2017, 11:53   #1  |  Link
shekh
Registered User
 
Join Date: Mar 2015
Posts: 775
DCA with variable channels/format

How common are such files?
Can somebody share an example?
I got one but it is all mute (not interesting).

ffprobe output looks like this:
Quote:
[FRAME]
media_type=audio
stream_index=1
key_frame=1
pkt_pts=19334
pkt_pts_time=19.334000
pkt_dts=19334
pkt_dts_time=19.334000
best_effort_timestamp=19334
best_effort_timestamp_time=19.334000
pkt_duration=10
pkt_duration_time=0.010000
pkt_pos=5318875
pkt_size=2012
sample_fmt=fltp
nb_samples=512
channels=6
channel_layout=5.1(side)

[SIDE_DATA]
side_data_type=AVMatrixEncoding
side_data_size=4
[/SIDE_DATA]
[/FRAME]
[FRAME]
media_type=audio
stream_index=1
key_frame=1
pkt_pts=19345
pkt_pts_time=19.345000
pkt_dts=19345
pkt_dts_time=19.345000
best_effort_timestamp=19345
best_effort_timestamp_time=19.345000
pkt_duration=10
pkt_duration_time=0.010000
pkt_pos=5318875
pkt_size=2868
sample_fmt=s16p
nb_samples=512
channels=8
channel_layout=7.1
[SIDE_DATA]
side_data_type=AVMatrixEncoding
side_data_size=4
[/SIDE_DATA]
[/FRAME]
__________________
VirtualDub2
shekh is offline   Reply With Quote
Old 25th July 2017, 12:00   #2  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Not uncommon on Blu-ray.

https://www.sendspace.com/file/pqmqwx (core/es)
https://www.sendspace.com/file/cua5w1 (core/es/ma)

/edit:
It seems my samples are actually something else. MediaInfo shows multiple layouts incl. 5.1 but ffprobe always says
Code:
channels=7
channel_layout=6.1
Either one them is wrong or there are different ways to store multiple layouts (downmixing?).

Last edited by sneaker_ger; 25th July 2017 at 12:16.
sneaker_ger is offline   Reply With Quote
Old 25th July 2017, 12:51   #3  |  Link
shekh
Registered User
 
Join Date: Mar 2015
Posts: 775
Yes, your samples appear as single format when decoding.
I suspect that my sample was actually result of some mistake.
__________________
VirtualDub2
shekh is offline   Reply With Quote
Old 25th July 2017, 12:59   #4  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Yes, maybe. You could create e.g. 5.1 and 7.1 and just binary concat them and get such files but are they allowed on Blu-ray? Probably not. Any TV channels using DTS? If you can find switching layouts it's usually only on TV.
sneaker_ger is offline   Reply With Quote
Old 25th July 2017, 15:12   #5  |  Link
shekh
Registered User
 
Join Date: Mar 2015
Posts: 775
Thanks for hint, I concatenated your samples and at least VLC is happy with it
shekh is offline   Reply With Quote
Old 25th July 2017, 15:53   #6  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,915
@sneaker_ger
Your samples are DTS-ES, 6.1 both, the second with MA extension.

Maybe this one (MA 7.1, core 5.1): https://www.sendspace.com/file/tpumwx

Concat different channels layouts is not recommended, in BluRay must be in different m2ts.
__________________
BeHappy, AviSynth audio transcoder.

Last edited by tebasuna51; 25th July 2017 at 16:00.
tebasuna51 is offline   Reply With Quote
Old 25th July 2017, 15:55   #7  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
No, ffprobe will show "channels=8" only. It's the same as my samples.
sneaker_ger is offline   Reply With Quote
Reply


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 10:07.


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