sox-devel@lists.sourceforge.net unofficial mirror
 help / color / mirror / code / Atom feed
From: Cary Lewis <cary.lewis@gmail.com>
To: sox-devel@lists.sourceforge.net
Subject: Question about extracting total length and timestamp from a ogg vorbis stream
Date: Mon, 5 Nov 2018 10:18:50 -0500	[thread overview]
Message-ID: <CAEF1h+VNJe2e8DoHkwf++Ox+3uQpsBpSuoj_OyM4HtPTj-9fgw@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 663 bytes --]

I can pipe various internet streams, such as

http://stream-dc1.radioparadise.com:80/rp_96m.ogg

to play and it has no issues outputting the audio.

I want to know if there is a way to determine the total length of the
stream, and the current offset into the currently streaming track.

Each time a new song starts to play, or whenever the stream is first
accessed, there is a header that details the track title, artist, etc.

I would like to be able to output the total length of the current track and
have play output where in the track the playback is currently occurring.

Is there a way to do that, or is it a function of how the stream is being
generated?

[-- Attachment #1.2: Type: text/html, Size: 963 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



[-- Attachment #3: Type: text/plain, Size: 158 bytes --]

_______________________________________________
SoX-devel mailing list
SoX-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-devel

             reply	other threads:[~2018-11-05 15:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-05 15:18 Cary Lewis [this message]
2018-11-08 10:54 ` Question about extracting total length and timestamp from a ogg vorbis stream Jan Stary

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.sourceforge.net/lists/listinfo/sox-devel

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAEF1h+VNJe2e8DoHkwf++Ox+3uQpsBpSuoj_OyM4HtPTj-9fgw@mail.gmail.com \
    --to=sox-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/sox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).