ogg

Packing Speex with Ogg on iOS

风格不统一 提交于 2019-12-03 10:01:10
I'm using libogg and libogg, I've succeeded to add those libraries to my iPhone xCode project and encode my voice with Speex. The problem is that I cannot figure out how to pack those audio packet with ogg. Does someone know how a packet of that kind should look like or have a reference code I can use. I know in Java it's pretty simple (you have a dedicated function for that) but not on iOS. Please help. UPD 10.09.2013: Please, see the demo project , which basically takes pcm audiodata from wave container, encodes it with speex codec and pack everything into ogg container. Maybe later I'll

Real Time Streaming to HTML5 (with out webrtc) just using video tag

柔情痞子 提交于 2019-12-03 05:09:08
问题 I would like to wrap real time encoded data to webm or ogv and send it to an html5 browser. Can webm or ogv do this, Mp4 can not do this due to its MDAT atoms. (one can not wrap h264 and mp3 in real time and wrap it and send it to the client) Say I am feeding the input from my webcam and audio from my built in mic. Fragmented mp4 can handle this but its an hassle to find libs to do that). I need to do this cuz I do not want to send audio and video separably. If I did send it separably,

ffmpeg settings for converting to mp4 and ogg for HTML5 video [closed]

谁说我不能喝 提交于 2019-12-02 13:57:39
Despite all the hype, in reality the HTML5 video tag has a bit of a problem. In order to use it and for it to be cross browser compatible, you have to include more than one format of the video. To target all supported browsers these formats are mp4 and ogg. I was searching around for optimum settings for each format but unfortunately I couldn't find any. I'm using ffmpeg 0.6 which has the tagline "Works with HTML5". I'm no video expert so I was wondering if anyone could recommend decent settings for each format? betamax I ended up using ffmpeg and ffmpeg2theora . WebKit compatible h.264 video

Firefox won't play .webm and .ogv videos with HTML5

谁都会走 提交于 2019-12-02 04:49:21
问题 I prepared 3 video formats for my site: /assets/video/background-purple.ogg /assets/video/background-purple.webm /assets/video/background-purple.mp4 on the site http://tekhy.net/ I use <video> tag for play the video: <video webkit-playsinline autoplay="autoplay" loop="true" poster="/assets/video/transparent.png"> <source src="/assets/video/background-purple.ogg" type="video/ogg"> <source src="/assets/video/background-purple.mp4" type="video/mp4"> <source src="/assets/video/background-purple

streaming audio with html5 `<audio>` tag

ⅰ亾dé卋堺 提交于 2019-12-01 15:28:14
问题 I am trying to stream audio on a site hosted by Dreamhost from a lecture series using the <audio> tag in html5, but without much success. The actual code is <audio id="playerTwo" class="player" controls="controls" preload="none"> <source src="audio.ogg" type="audio/ogg; codecs='vorbis'"/> <source src="audio.mp3" type="audio/mpeg"/> </audio> I also have an .htaccess file to include the correct mime-types for apache. AddType audio/ogg .ogg AddType audio/mpeg .mp3 The ogg files are about 8 megs

How to play multiple ogg or mp3 at the same time..?

烂漫一生 提交于 2019-11-30 20:21:49
问题 I'm trying to play 20 ogg files at the same time using MediaPlayer. This is because I want to make a mixing effect. While one music is playing, other files also have to be played. Actually, I already made an application with this function by iOS, and it didn't have any problems to play and mix. And now, I should convert this app into android app. so I sentenced 20 mediaplayer variables MediaPlayer player1; MediaPlayer player2; MediaPlayer player3; ..... play1 = (Button)findViewById(R.id.btn1)

iOS online radio streaming questions

北慕城南 提交于 2019-11-30 02:16:15
I have to create app that provides online radio streaming (icecast), preferably .ogg format. So I have next questions: How can I play .ogg format audio stream? Are there any supported classes? Because I can't find any, so I think that it is impossible without many bitwise operations using CFNetwork , CoreAudio , AudioToolbox etc. (I don't look at cocos2d, because it's ridiculous) Am i wrong? I'm playing mp3 stream for now (no possibility for .ogg for me). I tried to use AVPlayer , MPMovieMediaController , AudioSreaming lib by MattGallagher and by DigitalDJ , and none of these solutions can't

Video file .ogv plays locally in Firefox, but not from server

荒凉一梦 提交于 2019-11-29 21:48:27
I'm not having any problems playing this video in Chrome, Safari or Opera. When I try to play it in Firefox, I get a grey box with no video. Here is my code: <video width="640" height="360" autobuffer controls preload="auto" > <source src="fracWelDay3.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"'> <source src="fracWelDay3.webm" type='video/webm; codecs="vp8, vorbis"'> <source src="fracWelDay3.ogv" type='video/ogg; codecs="theora, vorbis"'> Your browser does not support the video tag. </video> I have also created an .htaccess file (see below) and put it in the same folder as my video

.ogg video not playing in firefox

天涯浪子 提交于 2019-11-29 09:33:01
We're just getting started with html5 video, and cannot seem to get .ogg files to play in Firefox, any tips? Here is the source we are using: <video width="640" height="360" poster="http://video.thewebreel.com/episode_001/episode_001.jpg" controls autoplay autobuffer> <source src="http://video.thewebreel.com/episode_001/episode_001.ogg" type="video/ogg" type='video/ogg; codecs="theora, vorbis"'/> <source src="http://video.thewebreel.com/episode_001/episode_001.mp4" type="video/mp4" /> </video> The live example can be seen here: http://thewebreel.com/2010/05/02/episode-1.html However we are

How to batch convert mp4 files to ogg with ffmpeg using a bash command or Ruby

半世苍凉 提交于 2019-11-29 07:16:33
I am running a OSX, don't know tons about video conversions. But I have like 200 videos that are all in mp4 format and won't play in Firefox. I need to convert them to ogg to use the html5 video tag. These files live in a folder structure that makes it hard to do files one at a time. I would like the bash command or Ruby command to go through all child folders and find all .mp4's and convert them. I found one reference of how to do this with Google: http://athmasagar.wordpress.com/2011/05/12/a-bash-script-to-convert-mp4-files-to-oggogv/ #!/bin/bash for f in $(ls *mp4 | sed ‘s/\(.*\)\..*/\1/’)