IPB

Welcome Guest ( Log In | Register )

> foobar2000 General Forum Rules

This is NOT a tech support forum.
Tech support questions go to foobar2000 Tech Support forum instead.

See also: Hydrogenaudio Terms of Service.

 
Reply to this topicStart new topic
Dash AAC
User 2014
post Nov 20 2014, 09:03
Post #1





Group: Members
Posts: 7
Joined: 1-July 14
Member No.: 116572



How to play Dash AAC in foo?
here is the sample details:
Format : dash
Codec ID : dash
File size : 2.85 MiB
Duration : 3mn 6s
Overall bit rate : 128 Kbps
Encoded date : UTC 2014-07-11 23:56:48
Tagged date : UTC 2014-07-11 23:56:48

Audio
ID : 1
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 3mn 6s
Bit rate : 126 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 44.1 KHz
Compression mode : Lossy
Stream size : 2.79 MiB (98%)
Encoded date : UTC 2014-07-11 23:56:48
Tagged date : UTC 2014-07-11 23:56:48

win 7 64, latest updates + latest foo.
latest mpc-hc plays this format fine.

This post has been edited by User 2014: Nov 20 2014, 09:48
Go to the top of the page
+Quote Post
kode54
post Nov 20 2014, 09:40
Post #2





Group: Admin
Posts: 4691
Joined: 15-December 02
Member No.: 4082



DASH is a container format, not a codec. For now, you may remux them to MP4 using ffmpeg, or wait for someone to write a DASH stream parser.
Go to the top of the page
+Quote Post
User 2014
post Nov 20 2014, 12:19
Post #3





Group: Members
Posts: 7
Joined: 1-July 14
Member No.: 116572



What's the extension? .?
Go to the top of the page
+Quote Post
Chronial
post Nov 23 2014, 17:17
Post #4





Group: Members
Posts: 386
Joined: 2-May 05
Member No.: 21825



Here’s an example file: http://chronial.de/tmp/fooprob.m4a. The container is mp4

This is what ffprobe reports:
CODE
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Metric - Collect Call (Adventure Club Dubstep Remix)-kY-GOD1j5kw.m4a':
  Metadata:
    major_brand     : dash
    minor_version   : 0
    compatible_brands: iso6mp41
    creation_time   : 2014-03-07 12:57:43
  Duration: 00:05:00.58, start: 0.000000, bitrate: 255 kb/s
    Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 253 kb/s (default)
    Metadata:
      creation_time   : 2014-03-07 12:57:43
      handler_name    : SoundHandler


Header:
CODE
0000000: 0000 0018 6674 7970 6461 7368 0000 0000  ....ftypdash....
0000010: 6973 6f36 6d70 3431 0000 0238 6d6f 6f76  iso6mp41...8moov
0000020: 0000 006c 6d76 6864 0000 0000 cf3f 72c7  ...lmvhd.....?r.
0000030: cf3f 72c7 0000 ac44 00ca 4400 0001 0000  .?r....D..D.....



This post has been edited by Chronial: Nov 23 2014, 17:27
Go to the top of the page
+Quote Post
kode54
post Nov 24 2014, 02:34
Post #5





Group: Admin
Posts: 4691
Joined: 15-December 02
Member No.: 4082



DASH is a special flavor of MPEG-4 that is designed for Internet streaming, particularly because it supports automatically upgrading or downgrading to different quality streams, depending on the connection quality.

ffmpeg may be used to transmux the stream to conventional MP4:

ffmpeg -i fooprob.m4a -c:a copy out.mp4

And rename to M4A. Using the M4A extension for output directly causes ffmpeg to switch to the iPod output profile. I'm not sure if it's relevant to audio-only streams, but it may also help for future streaming access to add "-movflags +faststart" before the output filename.
Go to the top of the page
+Quote Post
Chronial
post Nov 24 2014, 04:34
Post #6





Group: Members
Posts: 386
Joined: 2-May 05
Member No.: 21825



Thatís what I did. Was just hoping foobar might get support some day smile.gif
Go to the top of the page
+Quote Post
kode54
post Nov 24 2014, 10:54
Post #7





Group: Admin
Posts: 4691
Joined: 15-December 02
Member No.: 4082



Yeah, file that as a feature request.
Go to the top of the page
+Quote Post
User 2014
post Dec 7 2014, 14:36
Post #8





Group: Members
Posts: 7
Joined: 1-July 14
Member No.: 116572



converted to wav, can play on any device these days.
Go to the top of the page
+Quote Post
kode54
post Dec 8 2014, 03:54
Post #9





Group: Admin
Posts: 4691
Joined: 15-December 02
Member No.: 4082



You can convert to plain MP4 as well, that will play on most devices these days, too. Transmux, lossless procedure.
Go to the top of the page
+Quote Post
User 2014
post Dec 11 2014, 19:45
Post #10





Group: Members
Posts: 7
Joined: 1-July 14
Member No.: 116572



IMO, 90% of players support pcm, no storage problem.
Go to the top of the page
+Quote Post
Kohlrabi
post Dec 11 2014, 19:49
Post #11





Group: Super Moderator
Posts: 1150
Joined: 12-March 05
From: Kiel, Germany
Member No.: 20561



Yeah, why even bother with all these silly lossy codecs and containers, when you can use WAV like it's 1990.


--------------------
It's only audiophile if it's inconvenient.
Go to the top of the page
+Quote Post
Peter
post Dec 11 2014, 22:05
Post #12


foobar2000 developer


Group: Admin
Posts: 3313
Joined: 30-September 01
Member No.: 84



MP4 DASH will be supported in the next foobar2000 update, as it seems all other major MP4 players recognize it.

Also thanks to Chronial for the sample file, verified working.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st December 2014 - 22:48