Kyungjoon Lee | 2 Jan 11:12
Picon

TheoraPlay - simple Theora playback lib

Hi, has anybody checked this out?

http://icculus.org/theoraplay/

Quote: TheoraPlay is a simple library to make decoding of Ogg Theora videos easier.

---

It looks like it could be very useful.

Cheers,
Kyungjoon Lee
Basil Mohamed Gohar | 30 Nov 22:10
Gravatar

Re: Newbie Question: Seeking on remote .ogg files (audio)

(Replying to list in addition to you)

I was able to seek in this file without any problem.  I didn't try the
MP3.  I am using Firefox 5.  Can you verify that you're having the
problem with this same file on this server?

On 11/30/2011 03:37 PM, Rich Caloggero wrote:
> *>The problem may reside, however, on the server, if it does not support
> range-request headers.  Was the MP3 on the same server as the Ogg file
> you were testing with?
>
> Hmm, I'm no apache expert and its been a few years since I set it up,
> but its pretty much running a standard apache2 server. Can you point
> me to some place where I can find out how to tell apache to send the
> headers?
>
> *>P.S.  If the file is something you can provide a link to, that would
> make it easier for others to help find the source of the problem.
>
> Here are links to two files, one .mp3 and one .ogg living on my server
> (not the same file, but should be ok for this purpose):
>
> http://narita.mit.edu/theora/file.ogg
>
> http://narita.mit.edu/theora/file.mp3
>
> Thanx very much for your response.
> -- Rich
>
>
(Continue reading)

Rich Caloggero | 30 Nov 21:05
Picon
Favicon

Newbie Question: Seeking on remote .ogg files (audio)

I have vorbis audio files on a remote server.  I want to be able to listen to these files on my local machine using something like winamp.  If I point winamp directly at the file using its url (something like http://www.example.com/file.ogg), the file plays, but is not seekable. If I do the same with .mp3 files, seeking works fine.
 
I thought this might be a winamp issue, but trying to seek on a remote .ogg file using Firefox’s implementation of html5 audio element also fails; it works fine locally.
 
What is going on and how can I fix it?
 
Thanx very much for any info...
-- Rich
 
_______________________________________________
theora mailing list
theora <at> xiph.org
http://lists.xiph.org/mailman/listinfo/theora
Ralph Giles | 25 Aug 23:51

Re: Changing frame rate in an ogg

On 25 August 2011 23:57, Stefano Luceri <stefano.luceri <at> agilex.it> wrote:

> Reading theora documentation it seems that frame rate (FRN and FRD) only
> affects granulepos/timestamp but changing it (manually) in the ogg files
> causes bad decoded frames while playing (I’ve also tried other ogg videos).

Two things:

Theora is strictly fixed frame rate. If the incoming video data is not
at a fixed frame rate, then your encoder will need to check against
the playback clock and duplicate or drop frames to make it so. Since
RTP has per-packet timestamps, this can be relaxed to simplify the
sender implementation, but once saved to an Ogg file, all players will
treat the stream as fixed frame rate. This is likely the reason your
file doesn't behave as you expect.

If you just want to adjust the frame rate of an already saved file,
you could try the little 'rogg_theora' utility I wrote.

  http://downloads.xiph.org/releases/rogg/rogg-0.4.tar.gz

Be aware that it doesn't support Ogg chains or files over 2 GB on 32
bit systems.

 -r
_______________________________________________
theora mailing list
theora <at> xiph.org
http://lists.xiph.org/mailman/listinfo/theora
Stefano Luceri | 25 Aug 13:57
Picon
Favicon

Changing frame rate in an ogg

Hi

 

I’m trying to understand how to change framerate in an ogg/theora file. I’m recording a stream from a chat (RTP/THEORA) but frame rate of recorded stream is not correct.

Reading theora documentation it seems that frame rate (FRN and FRD) only affects granulepos/timestamp but changing it (manually) in the ogg files causes bad decoded frames while playing (I’ve also tried other ogg videos).

Obviously I’m missing something, is there some way to change frame rate (I need to slow the playing of file) using ogg or oggz api?

 

Thank you,

 

Stefano


 

_______________________________________________
theora mailing list
theora <at> xiph.org
http://lists.xiph.org/mailman/listinfo/theora
Nuno Moreira | 17 Aug 20:10
Picon

Reading audio data from an .ogv video

I need some info on how can I read the audio data from an .ogv video.  

I'm creating an in-game player and so far I'm only able to read and render the frames of the video (no audio). Tried splitting the video from the sound but it got out of synch really quickly. 

Thanks,
_______________________________________________
theora mailing list
theora <at> xiph.org
http://lists.xiph.org/mailman/listinfo/theora
Benjamin M. Schwartz | 17 Aug 16:17
Picon

Re: Ripping theora stream

On 08/17/2011 09:34 AM, Stefano Luceri wrote:
> Now I've the following problem, playing the ogg file is very fast, is there
> a way in theora to 'control' frame rate?

The frame rate is written in the setup header.  You should check that
frame rate and see if it is correct.  One possibility is that the
transmitter is lying to you about the frame rate.  Another possibility is
that some frames are getting lost (RTP is a lossy protocol).  When a frame
is lost, you should probably insert an empty (size 0) packet in the Ogg
stream so that you don't lose temporal synchronization.

> Moreover my next step consists in muxing audio/video (I can save it as a
> separate WAV for now), what tool or library do you suggest for muxing?

You can do the muxing using liboggz (it's not much more code than you have
already).

--Ben

_______________________________________________
theora mailing list
theora <at> xiph.org
http://lists.xiph.org/mailman/listinfo/theora
Stefano Luceri | 17 Aug 15:34
Picon
Favicon

Re: Ripping theora stream

Thanks to #theora IRC channel I've ripped the RTP/THEORA packet stream to an
ogg file.
I used liboggz to write packet content (oggz_write_feed function).
The only problem I've found is related to header packets since rtp_theora
specification
(http://svn.xiph.org/trunk/theora/doc/draft-ietf-avt-rtp-theora-00.txt)
suggests to merge identification header and setup header in a single rtp
packet payload suppressing the comment one. 
Solution to this problem is trivial:
1) Extract identification header it has a fixed length (42) and write it
down using oggz_write_feed
2) Create a dummy comment header:
	Theora_comment tcom;
	ogg_packet op_header_comment;

	theora_comment_init(&tcom);
	theora_encode_comment(&tcom, &op_header_comment)
	
	// and write it down using oggz_write_feed

3) Extract setup header (the remaining playload from 1)) and write it using
oggz_write_feed

Now I've the following problem, playing the ogg file is very fast, is there
a way in theora to 'control' frame rate?
Moreover my next step consists in muxing audio/video (I can save it as a
separate WAV for now), what tool or library do you suggest for muxing?

Thank you,

Stefano

> Hi,
>
> I'm new to this mailing list. I'm trying to save a theora stream into an
OGG file (or something else). I've the theora packets received from a VoIp
application > (over RTP). I'm able to convert a single frame to a jpeg image
but I've no idea about how to write video file.
> Maybe this is not the right place to answer this question but I'm loosing
my mind reading specs about file formats and conversion tools . any help
appreciated.

> Thank you very much
WCI Peter Lewis | 26 Jun 15:44

OGG Theora streaming

Hi,
 
We are a online media company and are developing a new product that uses theora for video streaming. We used your free Visonair OGG streamer to test and it worked perfect . We would like to find out if your experts can help us complete our OGG streamer software. We are able to connect to icecast but the stream is unstable and buffers 90% of the time. We just need to get the streaming to the point where it is streaming smoothly with very little buffering .
 
Regards
Peter Lewis
_______________________________________________
theora mailing list
theora <at> xiph.org
http://lists.xiph.org/mailman/listinfo/theora
Harry Keller | 17 Jul 21:29
Favicon

Seeking with Theora

I'm having problems with doSeek.  Unless the key frame interval in the video is 1 or 2, I cannot seek accurately to the place in the video I wish to go.  The larger the interval, the greater the (random) error.  However, these key frame intervals make the file unacceptably large.  What can I do?

Harry Keller
_______________________________________________
theora mailing list
theora <at> xiph.org
http://lists.xiph.org/mailman/listinfo/theora
Stefano Luceri | 10 Aug 15:46
Picon
Favicon

Ripping theora stream

Hi,

 

I’m new to this mailing list. I’m trying to save a theora stream into an OGG file (or something else). I’ve the theora packets received from a VoIp application (over RTP). I’m able to convert a single frame to a jpeg image but I’ve no idea about how to write video file.

Maybe this is not the right place to answer this question but I’m loosing my mind reading specs about file formats and conversion tools … any help appreciated.

 

Thank you very much

 

Stefano

 

_______________________________________________
theora mailing list
theora <at> xiph.org
http://lists.xiph.org/mailman/listinfo/theora

Gmane