Audio/Video Out of Sync

batguano999 batguano999 at zoho.com
Mon Aug 15 11:07:09 PDT 2016




 >  
 > I think so far we have worked out quite a lot about the problems ...
 > 
 > 

Hi
Those hls streams give problems with "some" radio shows too...
=================================================================
=================================================================

Flash downloads OK...
$ get_iplayer --force --mode=flashstd --stream --type=radio --url=http://www.bbc.co.uk/programmes/b07nn86s | \
ffmpeg -y -i - -ac 1 -ar 16000 -sample_fmt s16 -map_metadata -1 flashstd_flac.flac

Output #0, flac, to 'flashstd_flac.flac':
  Metadata:
    encoder         : Lavf57.46.101
    Stream #0:0: Audio: flac, 16000 Hz, mono, s16, 128 kb/s
    Metadata:
      encoder         : Lavc57.51.102 flac
Stream mapping:
  Stream #0:0 -> #0:0 (aac (native) -> flac (native))
180355.014 kB / 10995.18 sec (99.9%)size=  218872kB time=03:03:10.36 bitrate= 163.1kbits/s speed=30.6x    
Download complete

INFO: Streaming completed successfully
size=  218961kB time=03:03:15.20 bitrate= 163.1kbits/s speed=30.6x    
video:0kB audio:218953kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.003697%
==================================================================================================================================

But hls throws out garbage (sometimes)...
$ get_iplayer --force --mode=hlsstd --stream --type=radio --url=http://www.bbc.co.uk/programmes/b07nn86s | \
ffmpeg -y -i - -ac 1 -ar 16000 -sample_fmt s16 -map_metadata -1 hlsstd_flac.flac

Error while decoding stream #0:0: Invalid data found when processing input
[aac @ 0xacb29c0] channel element 2.14 is not allocated
Error while decoding stream #0:0: Invalid data found when processing input
[aac @ 0xacb29c0] channel element 3.8 is not allocated
Error while decoding stream #0:0: Invalid data found when processing input
[aac @ 0xacb29c0] Reserved bit set.
[aac @ 0xacb29c0] Prediction is not allowed in AAC-LC.
Error while decoding stream #0:0: Invalid data found when processing input
[aac @ 0xacb29c0] channel element 3.7 is not allocated
Error while decoding stream #0:0: Invalid data found when processing input
[aac @ 0xacb29c0] Sample rate index in program config element does not match the sample rate index configured by the container.
[aac @ 0xacb29c0] Remapped id too large
[aac @ 0xacb29c0]  is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[aac @ 0xacb29c0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel at ffmpeg.org)
Error while decoding stream #0:0: Not yet implemented in FFmpeg, patches welcome
[aac @ 0xacb29c0] Number of scalefactor bands in group (15) exceeds limit (14).
Error while decoding stream #0:0: Invalid data found when processing input
[aac @ 0xacb29c0] Reserved bit set.
[aac @ 0xacb29c0] Prediction is not allowed in AAC-LC.
Error while decoding stream #0:0: Invalid data found when processing input
[aac @ 0xacb29c0] channel element 2.8 is not allocated
Error while decoding stream #0:0: Invalid data found when processing input
[aac @ 0xacb29c0] channel element 2.1 is not allocated
Error while decoding stream #0:0: Invalid data found when processing input
[aac @ 0xacb29c0] Prediction is not allowed in AAC-LC.
Error while decoding stream #0:0: Invalid data found when processing input
[aac @ 0xacb29c0] Number of bands (20) exceeds limit (4).
Error while decoding stream #0:0: Invalid data found when processing input
[aac @ 0xacb29c0] channel element 3.9 is not allocated
Error while decoding stream #0:0: Invalid data found when processing input
[aac @ 0xacb29c0] Number of bands (7) exceeds limit (1).
Error while decoding stream #0:0: Invalid data found when processing input
[aac @ 0xacb29c0] Sample rate index in program config element does not match the sample rate index configured by the container.
[aac @ 0xacb29c0] Inconsistent channel configuration.
[aac @ 0xacb29c0] get_buffer() failed
Error while decoding stream #0:0: Invalid argum
	exit
==================================================================================================================================

And sometimes hls is OK...
$ get_iplayer --force --mode=hlsstd --stream --type=radio --url=http://www.bbc.co.uk/programmes/b07nnbjr | \
ffmpeg -y -i - -ac 1 -ar 16000 -sample_fmt s16 -map_metadata -1 hlsstd_flac2.flac

Output #0, flac, to 'hlsstd_flac2.flac':
  Metadata:
    encoder         : Lavf57.46.101
    Stream #0:0: Audio: flac, 16000 Hz, mono, s16, 128 kb/s
    Metadata:
      encoder         : Lavc57.51.102 flacINFO: Streaming completed successfully
size=    2745kB time=00:02:13.52 bitrate= 168.4kbits/s speed=29.2x    
video:0kB audio:2737kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.295743%
=================================================================
=================================================================






More information about the get_iplayer mailing list