<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 6: 2 or more streams in container.</title><link href="https://sourceforge.net/p/ffmpeg-php/feature-requests/6/" rel="alternate"/><link href="https://sourceforge.net/p/ffmpeg-php/feature-requests/6/feed.atom" rel="self"/><id>https://sourceforge.net/p/ffmpeg-php/feature-requests/6/</id><updated>2005-01-10T20:15:52Z</updated><subtitle>Recent changes to 6: 2 or more streams in container.</subtitle><entry><title>2 or more streams in container.</title><link href="https://sourceforge.net/p/ffmpeg-php/feature-requests/6/" rel="alternate"/><published>2005-01-10T20:15:52Z</published><updated>2005-01-10T20:15:52Z</updated><author><name>[-Alt-]</name><uri>https://sourceforge.net/u/userid-1194271/</uri></author><id>https://sourceforge.net7c8b21edadd7909e89cb8f8aa8baadfe9adf7429</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Sorry, english is not my native language but i try to&lt;br /&gt;
explain. Some container, like ogm, may contain 2 or&lt;br /&gt;
more audio (or video) streams.&lt;br /&gt;
$movie-&amp;gt;getAudioCodec() return only one value. May be&lt;br /&gt;
good idea to replace return value with array like&lt;/p&gt;
&lt;p&gt;array[0] value for 1st stream&lt;br /&gt;
array[1] value from 2nd stream&lt;br /&gt;
array[......&lt;/p&gt;
&lt;p&gt;or add optional parameter to function like&lt;br /&gt;
getAudioCodec([stream_num])&lt;/p&gt;
&lt;p&gt;or somthing like:&lt;/p&gt;
&lt;p&gt;getAudioStreamInfo([stream_num])&lt;br /&gt;
with return value like&lt;br /&gt;
array['codec']&lt;br /&gt;
array['channels']&lt;br /&gt;
array['bitrate']&lt;/p&gt;
&lt;p&gt;And some words about $movie-&amp;gt;getVideoCodec()&lt;br /&gt;
This functions return some value "mpeg4" for divx and&lt;br /&gt;
xvid encoded files. I think it will be better to return&lt;br /&gt;
in this function value "fourcc" taking place in a file. &lt;/p&gt;&lt;/div&gt;</summary></entry></feed>