Sie sind auf Seite 1von 6

PHP: ogg:// - Manual

http://php.net/manual/es/wrappers.audio.php

Downloads
Documentation
Get Involved
Help

Search
Getting Started
Introduction
A simple tutorial
Language Reference
Basic syntax
Types
Variables
Constants
Expressions
Operators
Control Structures
Functions
Classes and Objects
Namespaces
Errors
Exceptions
Generators
References Explained
Predefined Variables
Predefined Exceptions
Predefined Interfaces and Classes
Context options and parameters
Supported Protocols and Wrappers
Security
Introduction
General considerations
Installed as CGI binary
Installed as an Apache module
Session Security
Filesystem Security
Database Security
Error Reporting
Using Register Globals
User Submitted Data
Magic Quotes
Hiding PHP
Keeping Current
Features

1 de 6

28/01/17 00:47

PHP: ogg:// - Manual

http://php.net/manual/es/wrappers.audio.php

HTTP authentication with PHP


Cookies
Sessions
Dealing with XForms
Handling file uploads
Using remote files
Connection handling
Persistent Database Connections
Safe Mode
Command line usage
Garbage Collection
DTrace Dynamic Tracing
Function Reference
Affecting PHP's Behaviour
Audio Formats Manipulation
Authentication Services
Command Line Specific Extensions
Compression and Archive Extensions
Credit Card Processing
Cryptography Extensions
Database Extensions
Date and Time Related Extensions
File System Related Extensions
Human Language and Character Encoding Support
Image Processing and Generation
Mail Related Extensions
Mathematical Extensions
Non-Text MIME Output
Process Control Extensions
Other Basic Extensions
Other Services
Search Engine Extensions
Server Specific Extensions
Session Extensions
Text Processing
Variable and Type Related Extensions
Web Services
Windows Only Extensions
XML Manipulation
GUI Extensions
Keyboard Shortcuts
?
This help
j
Next menu item
k
Previous menu item
gp
Previous man page
2 de 6

28/01/17 00:47

PHP: ogg:// - Manual

http://php.net/manual/es/wrappers.audio.php

gn
Next man page
G
Scroll to bottom
gg
Scroll to top
gh
Goto homepage
gs
Goto search
(current page)
/
Focus search box
expect://
rar://
Manual de PHP
Referencia del lenguaje
Protocolos y Envolturas soportados
Change language: Spanish
Edit Report a Bug

ogg://
ogg:// Flujos de audio

Descripcin
Los ficheros que se abran para lectura usando la envoltura ogg:// se utilizan
como codificaciones de audio comprimido usando el cdec OGG/Vorbis. De
forma similar, los ficheros abiertos para escritura o para aadir contenido
usando la envoltura ogg:// se escriben como datos de audio comprimidos.
Cuando se use la funcin stream_get_meta_data() con un fichero OGG/Vorbis
abierto para lectura, se devolvern diversos detalles del flujo, incluyendo la
etiqueta vendor, cualquier comments que se haya aadido, el nmero de canales
channels, el ratio de muestreo, y el rango del ratio de codificacin descrito por:
bitrate_lower, bitrate_upper, bitrate_nominal, y bitrate_window.
ogg:// PHP 4.3.0 and up (PECL)
Nota: Esta envoltura no est habilitada por omisin
Para usar la envoltura ogg:// es necesario instalar la extensin
OGG/Vorbis disponible en PECL.

Uso

3 de 6

28/01/17 00:47

PHP: ogg:// - Manual

http://php.net/manual/es/wrappers.audio.php

ogg://soundfile.ogg
ogg:///path/to/soundfile.ogg
ogg://http://www.example.com/path/to/soundstream.ogg

Opciones
Resumen de la Envoltura
Atributo
Permitido
Restringido por allow_url_fopen
No
Permite Lecturas
S
Permite Escrituras
S
Permite Aadir contenido
S
Permite Lecturas y Escrituras Simultnea No
Permite usar la funcin stat()
No
Permite usar la funcin unlink()
No
Permite usar la funcin rename()
No
Permite usar la funcin mkdir()
No
Permite usar la funcin rmdir()
No
Opciones de contexto
Nombre
Uso
Valor por omisin
Modo
codificacin PCM
que se aplicar en
las lecturas, de
entre:
OGGVORBIS_PCM_U8,
OGGVORBIS_PCM_S8,
pcm_mode OGGVORBIS_PCM_U16_BE, OGGVORBIS_PCM_S16_LE Lectura
OGGVORBIS_PCM_S16_BE,
OGGVORBIS_PCM_U16_LE, y
OGGVORBIS_PCM_S16_LE.
(8 o 16 bit, con o
sin signo, big o
little endian)
Ratio de muestreo
en datos de
rate
44100
Escritura/Adicin
entradas, expresado
en Hz
Si es un entero,
definir el bitrate
fijo al que se
codificar. (de
bitrate
16000 a 131072) Si 128000
Escritura/Adicin
es un real, definir
la calidad del
bitrate variable a
usar. (de -1.0 a 1.0)

4 de 6

28/01/17 00:47

PHP: ogg:// - Manual

Nombre

Uso
El nmero de
canales de audio a
codificar,
channels normalmente 1
2
(mono), o 2
(estreo). Puede
llegar a 16.
Un array de strings
a codificar en la
comments
cabecera de la
pista.

http://php.net/manual/es/wrappers.audio.php

Valor por omisin

Modo

Escritura/Adicin

Escritura/Adicin

Ejemplos
add a note

User Contributed Notes 1 note


up
down
0
martin dot leese at stanfordalumni dot org
8 years ago
Note that although "ogg:" is the wrapper name, the stream is restricted to Ogg files
containing a single stream encoded using the Vorbis audio codec. An Ogg container can,
in fact, contain multiple streams: audio, video, anything. (Also, the audio streams in
an Ogg contaner can use codecs such as FLAC and OggPCM.) The wrapper name is therefore
misleading.

add a note

Protocolos y Envolturas soportados


file://
http://
ftp://
php://
zlib://
data://
glob://
phar://
ssh2://
rar://
ogg://
expect://
Copyright 2001-2017 The PHP Group
My PHP.net
Contact
Other PHP.net sites

5 de 6

28/01/17 00:47

PHP: ogg:// - Manual

http://php.net/manual/es/wrappers.audio.php

Mirror sites
Privacy policy

6 de 6

28/01/17 00:47

Das könnte Ihnen auch gefallen