Opened 5 weeks ago

Closed 5 weeks ago

Last modified 5 weeks ago

#6534 closed defect (invalid)

Metadata delivery for all Opus & Vorbis streams

Reported by: max79 Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords: metadata
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Problem with "LAV Splitter Source[v0.70.2]" metadata delivery for all Opus & Vorbis IceCast? streams. "get_AuthorName" and "get_Description" functions work but the "get_Title" function fails[The error code is 0x80040216]. Examples:

http://209.126.66.166:10999/192.opus
http://209.126.66.166:10999/192.ogg

Change History (7)

comment:1 Changed 5 weeks ago by jamrial

  • Component changed from ffmpeg to undetermined
  • Priority changed from critical to normal
  • Resolution set to invalid
  • Status changed from new to closed
$ ./ffmpeg -i http://209.126.66.166:10999/192.opus -loglevel debug
ffmpeg version N-86808-g32cdbd1bd9 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 7.1.0 (Rev2, Built by MSYS2 project)
  configuration: --enable-gpl --enable-nonfree --enable-libfdk-aac --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libwebp --cpu=haswell --extra-cflags='-D_WIN32_WINNT=0x0602' --cc='ccache gcc' --samples=../samples --prefix=/mingw64
  libavutil      55. 67.100 / 55. 67.100
  libavcodec     57.101.100 / 57.101.100
  libavformat    57. 75.100 / 57. 75.100
  libavdevice    57.  7.100 / 57.  7.100
  libavfilter     6. 95.100 /  6. 95.100
  libswscale      4.  7.101 /  4.  7.101
  libswresample   2.  8.100 /  2.  8.100
  libpostproc    54.  6.100 / 54.  6.100
Splitting the commandline.
Reading option '-i' ... matched as input url with argument 'http://209.126.66.166:10999/192.opus'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input url http://209.126.66.166:10999/192.opus.
Successfully parsed a group of options.
Opening an input file: http://209.126.66.166:10999/192.opus.
[NULL @ 00000000001b86a0] Opening 'http://209.126.66.166:10999/192.opus' for reading
[http @ 00000000001b8ea0] Setting default whitelist 'http,https,tls,rtp,tcp,udp,crypto,httpproxy'
[http @ 00000000001b8ea0] request: GET /192.opus HTTP/1.1
User-Agent: Lavf/57.75.100
Accept: */*
Range: bytes=0-
Connection: close
Host: 209.126.66.166:10999
Icy-MetaData: 1


[ogg @ 00000000001b86a0] Format ogg probed with size=2048 and score=100
[ogg @ 00000000001b86a0] Before avformat_find_stream_info() pos: 4597 bytes read:5887 seeks:0 nb_streams:1
[ogg @ 00000000001b86a0] All info found
[ogg @ 00000000001b86a0] After avformat_find_stream_info() pos: 4597 bytes read:5887 seeks:0 frames:1
Input #0, ogg, from 'http://209.126.66.166:10999/192.opus':
  Metadata:
    icy-description : Commercial-Free Web Radio
    icy-genre       : Eclectic,Rock,Blues,Indie
    icy-name        : JB Radio-2
    icy-pub         : 1
    icy-url         : https://jbradio2.ca
  Duration: N/A, start: 113.980000, bitrate: N/A
    Stream #0:0, 1, 1/48000: Audio: opus, 48000 Hz, stereo, fltp, delay 3840
    Metadata:
      TITLE           : Kim Carnes - What Good Is Love
Successfully opened the file.
At least one output file must be specified
[AVIOContext @ 000000000061b680] Statistics: 5887 bytes read, 0 seeks

Seems to work with ffmpeg, unless I'm missing something.

Maybe you should report this to the LAVFilters developer.

comment:2 follow-up: Changed 5 weeks ago by max79

You missing that's problem in this string:

TITLE : Kim Carnes - What Good Is Love

such information must be separate by two different tags:

ARTIST: Kim Carnes
TITLE: What Good Is Love

Last edited 5 weeks ago by max79 (previous) (diff)

comment:3 Changed 5 weeks ago by max79

  • Priority changed from normal to important
  • Resolution invalid deleted
  • Status changed from closed to reopened

comment:4 in reply to: ↑ 2 Changed 5 weeks ago by jamrial

Replying to max79:

You missing that's problem in this string:

TITLE : Kim Carnes - What Good Is Love

such information must be separate by two different tags:

ARTIST: Kim Carnes
TITLE: What Good Is Love

The stream only provides the TITLE tag in the exact form you can see it the above example output. It doesn't provide an ARTIST tag.

$ wget http://209.126.66.166:10999/192.opus
--2017-07-19 15:39:04--  http://209.126.66.166:10999/192.opus
Connecting to 209.126.66.166:10999... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/ogg]
Saving to: ‘192.opus’

$ ^C

$ ./ffmpeg -i 192.opus
ffmpeg version N-86818-gcb13f44831 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 7.1.0 (Rev2, Built by MSYS2 project)
  configuration: --enable-gpl --enable-nonfree --enable-libfdk-aac --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libwebp --cpu=haswell --extra-cflags='-D_WIN32_WINNT=0x0602' --cc='ccache gcc' --samples=../samples --prefix=/mingw64
  libavutil      55. 68.100 / 55. 68.100
  libavcodec     57.102.100 / 57.102.100
  libavformat    57. 76.100 / 57. 76.100
  libavdevice    57.  7.100 / 57.  7.100
  libavfilter     6. 95.100 /  6. 95.100
  libswscale      4.  7.101 /  4.  7.101
  libswresample   2.  8.100 /  2.  8.100
  libpostproc    54.  6.100 / 54.  6.100
Input #0, ogg, from '192.opus':
  Duration: 00:00:54.22, start: 48.620000, bitrate: 20 kb/s
    Stream #0:0: Audio: opus, 48000 Hz, stereo, fltp
    Metadata:
      TITLE           : The Strawbs - Benedictus
At least one output file must be specified

comment:5 Changed 5 weeks ago by max79

I see. The problem on radio server side...
Thank you!

comment:6 Changed 5 weeks ago by max79

  • Resolution set to fixed
  • Status changed from reopened to closed

comment:7 Changed 5 weeks ago by llogan

  • Priority changed from important to normal
  • Resolution changed from fixed to invalid
Note: See TracTickets for help on using tickets.