LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-15-2010, 09:46 PM   #1
sumeet inani
Member
 
Registered: Oct 2008
Posts: 908
Blog Entries: 26

Rep: Reputation: 49
playing flv file in firefox


Hi,
i am using ubuntu 8.04.
I downloaded flv from youtube which on playing in totem gives "internal data stream error"
I have installed gstreamer0.10-ffmpeg,gstreamer0.10-plugins-ugly,gstreamer0.10-plugins-ugly.
I tried with ffplay(Note:I have medibuntu ffmpeg) it says "[flv @ 0xb7f3a110]Unsupported video codec (7)".
what do you suggest ?
Please don't tell me to transcode to other format or install other player like vlc,mplayer etc.
I hope totem (being media player from GNOME) should have solution.

Last edited by sumeet inani; 06-21-2010 at 07:33 AM. Reason: last post can be answered better
 
Old 01-16-2010, 12:36 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by sumeet inani View Post
Hi,
i am using ubuntu 8.04.
I downloaded flv from youtube which on playing in totem gives "internal data stream error"
I have installed gstreamer0.10-ffmpeg,gstreamer0.10-plugins-ugly,gstreamer0.10-plugins-ugly.
I tried with ffplay(Note:I have medibuntu ffmpeg) it says "[flv @ 0xb7f3a110]Unsupported video codec (7)".
what do you suggest ?
Please don't tell me to transcode to other format or install other player like vlc,mplayer etc.
I hope totem (being media player from GNOME) should have solution.
If you only want people to tell you what you want to hear, why bother asking a question?

FLV's play fine with vlc, mplayer, etc. If you want to use Totem, convert it, or use another player. And a quick Google search indicates the latest version of Ubuntu/totem, plays FLV's just fine.
 
1 members found this post helpful.
Old 01-16-2010, 10:33 PM   #3
sumeet inani
Member
 
Registered: Oct 2008
Posts: 908

Original Poster
Blog Entries: 26

Rep: Reputation: 49
I thought that there should be solution for totem I am not aware of.
No intention to offend others.
I installed ubuntu-restricted-extras but invain.
Can you suggest anything else or point me to a relevant link ?
 
Old 01-17-2010, 11:45 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by sumeet inani View Post
I thought that there should be solution for totem I am not aware of.
No intention to offend others.
I installed ubuntu-restricted-extras but invain.
Can you suggest anything else or point me to a relevant link ?
Can you re-read my other post? The part where I say the latest version of Ubuntu supports FLV's through Totem??

Upgrade to the latest version of Ubuntu, convert the file, or use another player.
 
Old 01-24-2010, 07:58 AM   #5
sumeet inani
Member
 
Registered: Oct 2008
Posts: 908

Original Poster
Blog Entries: 26

Rep: Reputation: 49
So it is clear that upgrading ubuntu or totem is only solution for playing flv files from youtube which I have found out use h264 ,aac codec .

I tried with mplayer but got
Code:
[flv @ 0x8804094]Unsupported video codec (7)
[flv @ 0x8804094]skipping flv packet: type 97, size 7627016, flags 0
[lavf] Video stream found, -vid 0
[lavf] Audio stream found, -aid 1
VIDEO:  []  0x0  0bpp  29.970 fps    0.0 kbps ( 0.0 kbyte/s)
xscreensaver_disable: Could not find XScreenSaver window.
GNOME screensaver disabled
==========================================================================
Cannot find codec matching selected -vo and video format 0x7.
Read DOCS/HTML/en/codecs.html!
==========================================================================
==========================================================================
Forced audio codec: mad
Opening audio decoder: [dmo] Win32/DMO decoders
Win32 LoadLibrary failed to load: wmspdmod.dll, /usr/lib/win32/wmspdmod.dll, /usr/local/lib/win32/wmspdmod.dll
IMediaObject ERROR: 0x88ac029  could not open DMO DLL (0x0 : 0)
ERROR: Could not open required DirectShow codec wmspdmod.dll.
ADecoder preinit failed :(
ADecoder init failed :(
Opening audio decoder: [dshow] Win32/DirectShow decoders
Win32 LoadLibrary failed to load: wmavds32.ax, /usr/lib/win32/wmavds32.ax, /usr/local/lib/win32/wmavds32.ax
Warning: DS_Filter() could not open DirectShow DLL.  (DLL=wmavds32.ax, r=0x0)
ERROR: Could not open required DirectShow codec wmavds32.ax.
ADecoder preinit failed :(
ADecoder init failed :(
Cannot find codec for audio format 0xA.
ffplay said
Code:
[flv @ 0xb7f72110]Unsupported video codec (7)
My another question is
How can I tell firefox to play the flv file considering it as streaming video ?

Last edited by sumeet inani; 01-24-2010 at 08:01 AM.
 
Old 04-22-2010, 06:59 AM   #6
sumeet inani
Member
 
Registered: Oct 2008
Posts: 908

Original Poster
Blog Entries: 26

Rep: Reputation: 49
I have video which play fine in flash player of firefox and I copied it from cache folder.How can is stream it to firefox so that I can watch it ?
 
Old 04-22-2010, 08:45 AM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by sumeet inani View Post
I have video which play fine in flash player of firefox and I copied it from cache folder.How can is stream it to firefox so that I can watch it ?
First, open a new thread for a new question, don't tack it onto the end of an older thread.

Second, did you try just opening the file in Firefox?? Click "File->Open File"???
 
Old 05-03-2010, 07:56 AM   #8
sumeet inani
Member
 
Registered: Oct 2008
Posts: 908

Original Poster
Blog Entries: 26

Rep: Reputation: 49
In this thread I was loooking to play latest video from you-tube . Everyone said upgrade from ubuntu 8.04 or get latest video player (by compiling tarball. Actually even from repositories of medibuntu you don't get latest mplayer or ffplay).
Finally I played that video in firefox like it is being streamed (though computer is networkless).
Code:
<html>
<head> stream local flv to browser without internet</head>
<body>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" width="480" height="360">
     <param name="flashvars" value="abc.flv&image=abc.jpg" />
     <param name="movie" value="mediaplayer.swf" />
     <embed src="abc.swf" width="480" height="360" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="file=abc.flv&image=abc.jpg" />
</object>
</body>
</html>
with html file,abc.flv (OR you can edit link to flv) ,abc.swf(http://www.walkernews.net/mediaplayer.swf) & abc.jpg(if you want thumbnail) in same folder.
Still it is something.
To add more
You can make symbolic link abc.flv which will allow you to play different videos just by running
Code:
ln -s Destination_video abc.flv
My question is full screen button in JW media player 3.13 does not work though audio & pause work as desired?.

Last edited by sumeet inani; 06-23-2010 at 07:22 AM.
 
Old 06-23-2010, 07:22 AM   #9
sumeet inani
Member
 
Registered: Oct 2008
Posts: 908

Original Poster
Blog Entries: 26

Rep: Reputation: 49
Seems like i am able to solve my problems.

I found out that if I add
Code:
allowfullscreen="true"
in embed tag of my html file i can get fullscreen by pressing desired button in swf.

Let there be light
 
Old 06-24-2010, 03:06 AM   #10
sumeet inani
Member
 
Registered: Oct 2008
Posts: 908

Original Poster
Blog Entries: 26

Rep: Reputation: 49
Another question
I got the swf file youtube uses via http://s.ytimg.com/yt/swf/watch-vfl172190.swf
What I liked about it is you can navigate to any second of video unlike the above I have mentioned in which right , left arrow moves 15 seconds.Rest you have to guess.

Now the question is what should be modification in html file because merely changing swf link does not play the video ONLY brings up nice interface?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
youtube-dl "t" parameter error mark_alfred Linux - Software 3 07-22-2010 01:40 AM
Ubuntu 8.1 Totem "internal data stream error" Bluetooth Headset perry Ubuntu 0 11-30-2008 11:14 AM
How to do the "RTP stream analysis" by "tethereal" only in command mode windy7704 Linux - Newbie 0 04-02-2008 03:48 AM
SpamAssassin Error "spamd: no response to STREAM cmd, Success" and other errors PlorkZ Linux - Software 1 11-18-2004 04:16 PM
I admit to lazyness: Can I "fork" a stream of data (dual use)? JZL240I-U Linux - General 7 11-13-2003 02:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration