ogg

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

限于喜欢 提交于 2019-11-28 17:38:12
问题 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.

Does the html5 audio tag encompass .mid (MIDI) unofficially?

一世执手 提交于 2019-11-28 12:05:09
It seems clear that officially the html5 audio tag is intended for use with the ogg format. Does the html5 audio tag encompass .mid (MIDI) unofficially? rsp Updates: This is a somewhat old question but it is still highly ranked on Google so here are some updates to the answers above - standards and tools that may have not been available when the question was asked but may be useful to people who find this question today: Web MIDI API (this is currently a W3C Editor's Draft from December 26, 2012 - ie. today - so it may change) MIDI.js - playing MIDI with JavaScript jasmid - MIDI synthesis with

OGG Vorbis in iPhone sdk

为君一笑 提交于 2019-11-28 07:51:51
I want to know if it's possible to play Ogg Vorbis audio file with iPhone SDK or if exist a library or a framework that allow this. I've read something about OpenAL but I don't find any tutorial... Can anyone help me?? DanSkeel Better late than never ;) I have found the answer here Use cocos2d for playing ogg file in my project? . PASoundMgr is a different sound engine that had support for ogg file playback. However, it hasn't been updated since iOS 2.x and there are numerous issues that have cropped up since then that it doesn't handle. Why do you need to play ogg files? If you convert them

.ogg video not playing in firefox

徘徊边缘 提交于 2019-11-28 02:54:33
问题 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

Merge two mp3 php

笑着哭i 提交于 2019-11-27 23:20:50
Do you know a class to merge two MP3 files using PHP? I've found nothing on Google. Gordon If by merging, you mean placing one audio over the other, then please disregard this answer. If you dont want to re-encode the MP3s, you can probably just append them. I know this worked for MPEG movies, so I guess it could work for MP3s too. Another option would be to add the audo files to a Zip Archive with no compression and then rename the extension to .mp3. I did a quick test and this file_put_contents('combined.mp3', file_get_contents('file1.mp3') . file_get_contents('file2.mp3')); worked fine. The

Playing an ogg stream in iOS

淺唱寂寞╮ 提交于 2019-11-27 22:50:44
Has anyone played an ogg stream from iOS? What can I use without having to write my own decoder? I'm using Apple's AVPlayer to play the stream. This question has been asked as part of this thread: iOS online radio streaming questions but it hasn't been answered. idz There is no built-in support for playing ogg files in iOS, however, the source code for ogg compression/decompression is readily available (from xiph.com ). It is fairly straightforward to compile this code for iOS and use it in an app. I had a chance to compile the libraries and have made them available: "Precompiled Ogg Vorbis

Setting contact custom ringtone, how?

ε祈祈猫儿з 提交于 2019-11-27 14:13:23
I know how to change phone ringtone, also how to get contacts, but how can I set a ringtone for a specific contact? So how do I use the method: ContactsContract.Contacts.CUSTOM_RINGTONE ? I have tried it like this: Uri contactUri = ContactsContract.Contacts.CONTENT_URI; String[] PROJECTION = new String[] { ContactsContract.Contacts._ID, ContactsContract.Contacts.DISPLAY_NAME, ContactsContract.Contacts.HAS_PHONE_NUMBER, }; String SELECTION = ContactsContract.Contacts.HAS_PHONE_NUMBER + "='1'"; Cursor contacts = managedQuery(contactUri, PROJECTION, SELECTION, null, null ); while (contacts

How to convert the WAV/OGG file to FLAC file in Android?

家住魔仙堡 提交于 2019-11-27 12:54:11
EDIT: Incorporated the changed uv001 's answer. I can only find that ICS 4.0 support decoding of FLAC, but encode. I need some encoder to convert wav to flac, but currenty I can't find it. I find there is a jFlac avaible , but I don't know how to use this library, just simply convert the files. Could anyone give me a hand on it? Today, I just some idea by myself, with using the JavaFlacEncoder. and it works for certain bitrates of WAV. I changed the value into a hard coding value in which it is working now. /* * Copyright (C) 2010 Preston Lacey http://javaflacencoder.sourceforge.net/ * All

Does the html5 audio tag encompass .mid (MIDI) unofficially?

自闭症网瘾萝莉.ら 提交于 2019-11-27 06:45:53
问题 It seems clear that officially the html5 audio tag is intended for use with the ogg format. Does the html5 audio tag encompass .mid (MIDI) unofficially? 回答1: Updates: This is a somewhat old question but it is still highly ranked on Google so here are some updates to the answers above - standards and tools that may have not been available when the question was asked but may be useful to people who find this question today: Web MIDI API (this is currently a W3C Editor's Draft from December 26,

OGG Vorbis in iPhone sdk

久未见 提交于 2019-11-27 02:00:31
问题 I want to know if it's possible to play Ogg Vorbis audio file with iPhone SDK or if exist a library or a framework that allow this. I've read something about OpenAL but I don't find any tutorial... Can anyone help me?? 回答1: Better late than never ;) I have found the answer here Use cocos2d for playing ogg file in my project?. PASoundMgr is a different sound engine that had support for ogg file playback. However, it hasn't been updated since iOS 2.x and there are numerous issues that have