Yepp, working
But I have yet one tiny problem ;-)
Playing movies with <embed filename=3D"/path/to/filename.mpg" =
height=3D100%
width=3D100%></embed> shows the video only in original size (not zoomed =
to the
full iframe-size)
Doing the same with <embed src=3D"/path/to/filename.mpg" height=3D100%
width=3D100%></embed> gets the video zoomed to the full size of the =
particular
iframe....
The difference is only src and filename. Also special an special avi =
file
(beavis and butthead) doesn't play but all other mplayer formats (wmv, =
mpg,
quicktime etc are working) do.=20
Is a solution known for that behaviour?
-----Urspr=FCngliche Nachricht-----
Von: mplayerplug-in-devel-admin@...
[mailto:mplayerplug-in-devel-admin@...] Im Auftrag von
Kevin DeKorte
Gesendet: Donnerstag, 23. Februar 2006 17:27
An: mplayerplug-in-devel@...
Betreff: Re: AW: [Mplayerplug-in-devel] Nasty buffering problem while
playing video stream from mpeg2 hardwaredecoder
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Christoph,
I'd be interested to know if this change works as well...
First undo the previous change
And do this one instead
Around line 1938 in plugin.cpp
change
if (n->play =3D=3D 1) {
if (n->mmsstream =3D=3D 1) {
to
if (n->play =3D=3D 1) {
if (n->localcache !=3D NULL && nomediacache =3D=3D 1) {
fclose(n->localcache);
}
if (n->mmsstream =3D=3D 1) {
Please let me know if either of these work.
Kevin
Kevin DeKorte wrote:
> Christoph,
>=20
> Here is something to try
>=20
> in plugin.cpp around like 1644 you should see this line
>=20
> if ((nomediacache =3D=3D 1) && (stream->end > 16384)) {
>=20
>=20
> Try changing that to
>=20
> if (nomediacache =3D=3D 1) {
>=20
>=20
> And see if that fixes the problem...
>=20
>=20
> Kevin
>=20
>=20
>=20
>=20
> CHCNET Consulting Office wrote:
>>> Yes, Yes, Yes, YESS!!!!! Finally it does what it should. With video=20
>>> files, everything is working fine.
>>>
>>> BUT: If I'm referencing my video card's mpeg2 encoding device=20
>>> /dev/video0 (delivering a nice and cosy mpeg2 data stream B-))
>>>
>>> Mplayer doesn't play and dies, because he cannot open /dev/video0,=20
>>> as it is already opened by another application. As there is only=20
>>> firefox running, only mplayerplug-in can be the guilty one, who=20
>>> doesn't close the file :-(
>>>
>>> Is there outside anybody who can help me out with that? Can't find=20
>>> the bug in the sourcecode
>>>
>>> Kr
>>> Christoph
>>> =20
>>>
>>> -----Urspr=FCngliche Nachricht-----
>>> Von: mplayerplug-in-devel-admin@...
>>> [mailto:mplayerplug-in-devel-admin@...] Im Auftrag =
>>> von Kevin DeKorte
>>> Gesendet: Dienstag, 21. Februar 2006 15:00
>>> An: mplayerplug-in-devel@...
>>> Betreff: Re: [Mplayerplug-in-devel] Nasty buffering problem while=20
>>> playing video stream from mpeg2 hardwaredecoder
>>>
>>> Christoph Christ (MCP) wrote:
>>>>> well, in fact, I did it, but the program stops with a status of=20
>>>>> initializing...
>>>>>
>>>>> Could you also tell me more about the correct syntax for the=20
>>>>> embed statement? I couldn't find anything about that on the web...
>>>>>
>>>>> Kevin DeKorte schrieb:
>>>>>
>>>>> Christoph Christ (MCP) wrote:
>>>>> =20
>>>>>
>>>>>>>> Hi guys (and gals :-))
>>>>>>>>
>>>>>>>> I've possibly encountered a bug in mplayerplug-in. I have the=20
>>>>>>>> following
>>>>>>>> setup:
>>>>>>>>
>>>>>>>> mplayer 1.0.2006xxx (currennt CVS), mplayerplug-in 3.21 and=20
>>>>>>>> firefox
>>>>>>>> 1.0.7 for gentoo compiled.
>>>>>>>>
>>>>>>>> I have a Hauppauge PVR 350 TV-Card, which produces an mpeg2=20
>>>>>>>> stream on /dev/video0 (directly called, mplayer does exactly=20
>>>>>>>> what he has to do - playing the video stream).
>>>>>>>>
>>>>>>>> Now I want to play this stream with mplayerplug-in.
>>>>>>>>
>>>>>>>> I reference the file as file:///dev/video0
>>>>>>>>
>>>>>>>> Obviously I do not want to buffer the videostream, because,=20
>>>>>>>> when the tv runs for several hours several gigabyte of data are =
>>>>>>>> buffered and the /tmp partition is full or even worse, the=20
>>>>>>>> harddisk is
>>> completely full.
>>>>>>>> But whatever I do, I cannot switch off the buffering. If I=20
>>>>>>>> start firefox with mplayerplugin and it starts playing,=20
>>>>>>>> ewverything is fine, but the buffers, being filled up. If I=20
>>>>>>>> then delete in the background those /tmp/mplayXXXXXX buffer=20
>>>>>>>> files, they won't be created anymore and everything runs =
smoothly
and without problem.
>>>>>>>>
>>>>>>>> Is it possible to completely disable the buffering, because all =
>>>>>>>> video files, played by mplayer come directly from the same=20
>>>>>>>> harddisk (only referenced with http://localhost/afilename.mpg)?
>>>>>>>>
>>>>>>>> Thanks for reading until here
>>>>>>>>
>>>>>>>> Christoph
>>>>>>>> =20
>>>>> Yup set "nomediacache=3D1" in the config file. You can also set=20
>>>>> "nocache=3Dtrue" in the embed tag of the HTML to do the same thing =
>>>>> but just for that page.
>>>>>
>>>>> Something like this
>>>>>
>>>>> <html>
>>>>> <body>
>>>>> <embed nocache=3Dtrue width=3D640 height=3D480=20
>>>>> filename=3D"file:///dev/video0"> </embed> </body> </html>
>>>>>
>>>>>
>>>>> Kevin
>>>>>
>>>>>
>>>>> --
>>>>> Get my public GnuPG key from
>>>>> http://keyserver.veridis.com:11371/export?id=3D7574690260641978351
>>> I forget to set the type in the embed tag... Here is one that works=20
>>> for me
>>>
>>>
>>> <html>
>>> <body>
>>> Media without caching<br>
>>> <embed type=3D"video/divx" nocache=3Dtrue width=3D640 height=3D480=20
>>> filename=3D"file:///home/kdekorte/Movies/TheHunt.divx">
>>> </embed>
>>> </body>
>>> </html>
>>>
>>> As for documentation search for "html embed example" at google...=20
>>> there is plenty. But mplayerplug-in tries to emulate Windows Media=20
>>> Player and Apple Quicktime so the same structure is there, but not =
all
commands do anything.
>>>
>>> Kevin
>>>
>>>
>>>
>>> --
>>> Get my public GnuPG key from
>>> http://keyserver.veridis.com:11371/export?id=3D7574690260641978351
>=20
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log =
> files for problems? Stop! Download the new AJAX search engine that=20
> makes searching your log files as easy as surfing the web. DOWNLOAD
SPLUNK!
> =
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D103432&bid=3D230486&dat=3D=
1216
> 42 _______________________________________________
> Mplayerplug-in-devel mailing list
> Mplayerplug-in-devel@...
> https://lists.sourceforge.net/lists/listinfo/mplayerplug-in-devel
>=20
>=20
>=20
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting=20
> language that extends applications into web and mobile media. Attend=20
> the live webcast and join the prime developer group breaking into this =
new
coding territory!
> =
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=110944&bid$1720&dat=121642
> _______________________________________________
> Mplayerplug-in-devel mailing list
> Mplayerplug-in-devel@...
> https://lists.sourceforge.net/lists/listinfo/mplayerplug-in-devel
>=20
>=20
>=20
> --
> Get my public GnuPG key from
> http://keyserver.veridis.com:11371/export?id=3D7574690260641978351
- -------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting =
language
that extends applications into web and mobile media. Attend the live =
webcast
and join the prime developer group breaking into this new coding =
territory!
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=110944&bid$1720&dat=121642
_______________________________________________
Mplayerplug-in-devel mailing list
Mplayerplug-in-devel@...
https://lists.sourceforge.net/lists/listinfo/mplayerplug-in-devel
- --
Get my public GnuPG key from
http://keyserver.veridis.com:11371/export?id=3D7574690260641978351
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (GNU/Linux)
iD8DBQFD/eJraR60qN0tF+8RAmMAAJ0QS/uUONa7Y0jA6s4Yyg4+7+G5DACgi8NM
ygEsfxROz2PqI4pGlvaMoiM=3D
=3Drylz
-----END PGP SIGNATURE-----
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting =
language
that extends applications into web and mobile media. Attend the live =
webcast
and join the prime developer group breaking into this new coding =
territory!
http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=110944&bid$1720&dat=121642
_______________________________________________
Mplayerplug-in-devel mailing list
Mplayerplug-in-devel@...
https://lists.sourceforge.net/lists/listinfo/mplayerplug-in-devel
|