LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   "internal data stream error " for flv from youtube in totem (http://www.linuxquestions.org/questions/linux-newbie-8/internal-data-stream-error-for-flv-from-youtube-in-totem-782512/)

sumeet inani 01-15-2010 09:46 PM

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.

TB0ne 01-16-2010 12:36 PM

Quote:

Originally Posted by sumeet inani (Post 3828224)
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.

sumeet inani 01-16-2010 10:33 PM

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 ?

TB0ne 01-17-2010 11:45 AM

Quote:

Originally Posted by sumeet inani (Post 3829302)
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.

sumeet inani 01-24-2010 07:58 AM

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 ?

sumeet inani 04-22-2010 06:59 AM

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 ?

TB0ne 04-22-2010 08:45 AM

Quote:

Originally Posted by sumeet inani (Post 3943872)
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"???

sumeet inani 05-03-2010 07:56 AM

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?.

sumeet inani 06-23-2010 07:22 AM

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

sumeet inani 06-24-2010 03:06 AM

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?


All times are GMT -5. The time now is 08:02 PM.