**Describe the bug**
Podsync.net is a service that pulls youtube channels and turns them into audio 
podcasts. For some reason the aac m4a files it produces aren't able to be 
played back by liquidsoap. 

Basically the LibreTime software says the file ended before the cue-out point 
but when I tried to test the playback of the file in liquidsoap directly with 
`liquidsoap 
'output.alsa(single("/var/tmp/airtime/pypo/cache/scheduler/1.m4a"))' --debug` 
I get the following repeated forever.
```
2019/02/15 21:44:55 [decoder:4] Decoding 
"/var/tmp/airtime/pypo/cache/scheduler/1.m4a" ended: 
Aac_decoder.Make_mp4(Generator).End_of_track.
2019/02/15 21:44:55 [single_5262:3] Finished with 
"/var/tmp/airtime/pypo/cache/scheduler/1.m4a".
```
We have tested it with liquidsoap 1.1.1 and another volunteer has tried 1.3 but 
I think ran into the same issue (need to confirm)

Here is the mediainfo
```
General
Complete name                            : 
/var/tmp/airtime/pypo/cache/scheduler/1.m4a
Format                                   : dash
Codec ID                                 : dash (iso6/mp41)
File size                                : 9.44 MiB
Duration                                 : 10 min 11 s
Overall bit rate                         : 129 kb/s
Encoded date                             : UTC 2019-02-13 01:05:23
Tagged date                              : UTC 2019-02-13 01:05:23

Audio
ID                                       : 1
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : mp4a-40-2
Duration                                 : 10 min 11 s
Bit rate                                 : 128 kb/s
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 44.1 kHz
Frame rate                               : 43.066 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 9.33 MiB (99%)
Title                                    : ISO Media file produced by Google 
Inc. Created on: 02/12/2019.
Language                                 : English
Encoded date                             : UTC 2019-02-13 01:05:23
Tagged date                              : UTC 2019-02-13 01:05:23
```

**To Reproduce**
Download one of the audio file attachments from https://podsync.net/UVYAstc9m 
and then run `liquidsoap 
'output.alsa(single("/var/tmp/airtime/pypo/cache/scheduler/1.m4a"))' --debug` 
It will loop playing the file without playing anything.

**Expected behavior**
It should play the file for its whole length and then replay it again.

**Version details**
 - OS: Ubuntu 18.04
 - Version 1.1.1
Install method**
Ubuntu package

**Common issues**
Other aac m4a files work fine.
It is using libfaad under aac plugins to decode aac files.
I suspect there is an issue with the dash format that youtube uses to encode 
the m4a file and I have no idea how to make this work with liquidsoap.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/savonet/liquidsoap/issues/713
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to