-- ??????????????????????????? ? Narendra Sisodiya ( ???????? ???????? ) ? Society for Knowledge Commons ? Web : http://narendra.techfandu.org ???????????????????????????Dear all, I downloaded big buck movie in video format. when i use <video src="Big_Buck_Bunny_Trailer_400p.ogg" controls="controls"> your browser does not support the video tag </video> It show me , video + audio but when I use <audio src="Big_Buck_Bunny_Trailer_400p.ogg" controls="controls"> your browser does not support the video tag </audio> It only play audio.. I have tested in Firefox Now my question is, If i use <audio/> tag with src as a video file, then 1) Do firefox stream whole video file and play only audio part OR 2) Do firefox stream only audio part of the file and play it. I want to know, is there any bandwidth advantage with <audio/> tag over <video> tag ? If I am unable to explain, do let me know, I will try again... -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/ogg-dev/attachments/20100511/3939df3c/attachment.htm
On 11/05/10 22:05, narendra sisodiya wrote:> 1) Do firefox stream whole video file and play only audio part > OR > 2) Do firefox stream only audio part of the file and play it. > > I want to know, is there any bandwidth advantage with <audio/> tag over > <video> tag ?Whether you use <audio> or <video> it will stream the entire contents of the file (ie. both video and audio tracks). If the file contains multiple audio tracks and/or other information that will be streamed and ignored by Firefox too. Chris. -- http://bluishcoder.co.nz
On 11 May 2010 19:05, narendra sisodiya <narendra.sisodiya at gmail.com> wrote:> > > -- > ??????????????????????????? > ? ? ?Narendra Sisodiya ( ???????? ???????? ) > ? ? ?Society for Knowledge Commons > ? ? ?Web : http://narendra.techfandu.org > ???????????????????????????Dear all, > I downloaded big buck movie in video format. when i use > > <video src="Big_Buck_Bunny_Trailer_400p.ogg" controls="controls"> > your browser does not support the video tag > </video> > > It show me , video + audio > > but when I use > > <audio src="Big_Buck_Bunny_Trailer_400p.ogg" controls="controls"> > your browser does not support the video tag > </audio> > > It only play audio.. > > I have tested in Firefox > > Now my question is, > If i use <audio/> tag with src as a video file, then > > 1) Do firefox stream whole video file and play only audio part > OR > 2) Do firefox stream only audio part of the file and play it. > > I want to know, is there any bandwidth advantage with? <audio/> tag over > <video> tag ? > > If I am unable to explain, do let me know, I will try again...as Chris said, there is no bandwidth advantage. So if you want to just play the audio and not send any video, you need to prepare a new file containing only the audio track, eg: $ oggz rip -c vorbis -o Big_Buck_Bunny_Trailer_audio.ogg Big_Buck_Bunny_Trailer_400p.ogg and then use the newly created file in the audio tag: <audio src="Big_Buck_Bunny_Trailer_audio.ogg" controls="controls"> your browser does not support the audio tag </audio> Conrad.
Thanks, It will be very good if HTML5 API specify this. I mean, Say, If we use <audio> tag , then It must stream only audio part of the file irrespective of the fact that the src field contains a video file. PS: sorry for top post On Tue, May 11, 2010 at 3:53 PM, Chris Double <chris.double at double.co.nz>wrote:> On 11/05/10 22:05, narendra sisodiya wrote: > > 1) Do firefox stream whole video file and play only audio part > > OR > > 2) Do firefox stream only audio part of the file and play it. > > > > I want to know, is there any bandwidth advantage with <audio/> tag over > > <video> tag ? > > Whether you use <audio> or <video> it will stream the entire contents of > the file (ie. both video and audio tracks). If the file contains > multiple audio tracks and/or other information that will be streamed and > ignored by Firefox too. > > Chris. > >-- ??????????????????????????? ? Narendra Sisodiya ( ???????? ???????? ) ? Society for Knowledge Commons ? Web : http://narendra.techfandu.org ??????????????????????????? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/ogg-dev/attachments/20100511/f9188c06/attachment.htm