Sorry, hit send last time before completing the subject line.

John Molohan wrote:
> Hi,
>
> While trying to build a scraper for rte.ie for their archived video 
> which they make available in through smil links I found that mplayer 
> didn't support a particular smil format they use. One of the guys I 
> work with kindly patched it. It seems that mplayer didn't support the 
> SMIL 3.0 Tiny Profile
>
> It has been submitted to the mplayer-users list but he isn't 
> subscribed, I guess it's held for moderation so I've attached his 
> email here in case anyone is interested. You should also be able to 
> follow it on these links.
>
> http://lists.mplayerhq.hu/pipermail/mplayer-users/2009-January/thread.html 
>
> http://www.fdntech.com/pipermail/mythtv-ireland/2009-January/thread.html#311 
>
>
> John
>
> ------------------------------------------------------------------------
>
> Subject:
> [patch] fix for autodetection of SMIL files
> From:
> Gavin McCullagh <gmccull...@gmail.com>
> Date:
> Mon, 19 Jan 2009 22:57:59 +0000
> To:
> mplayer-us...@mplayerhq.hu
>
> To:
> mplayer-us...@mplayerhq.hu
> CC:
> john.molo...@gcd.ie
>
>
> Hi MPlayer folks,
>
> as always, many thanks for your awesome piece of software which I, for one,
> use all over the place.
>
> During a discussion on the Irish MythTV list, a bug was identified in
> mplayer's SMIL detection.
>
> http://www.fdntech.com/pipermail/mythtv-ireland/2009-January/thread.html#311
>
> I've come up with a patch (see below) based on on the current ubuntu jaunty
> mplayer source (2:1.0~rc2-0ubuntu17).  This allows mplayer to play this
> smil file:
>
>  http://dynamic.rte.ie/av/228-2476865-512-288.smil
>
> which is couldn't before (unless you opened the file and snagged the rtsp
> file out manually.
>
> I'm not on the list, so if you could Cc me on any discussion I'd appreciate
> it.  I'm unsure if the comparison should be to "<!DOCTYPE smil" or just
> "<!DOCTYPE".  Perhaps someone might know better?
>
> Thanks in advance,
> Gavin
>
> gavi...@bambi:~/src/mplayer-1.0~rc2$ diff -u playtreeparser.c.orig 
> playtreeparser.c
> --- playtreeparser.c.orig       2009-01-19 22:23:56.000000000 +0000
> +++ playtreeparser.c    2009-01-19 21:58:37.000000000 +0000
> @@ -450,6 +450,8 @@
>        continue;
>      if (strncasecmp(line,"<?xml",5)==0) // smil in xml
>        continue;
> +    if (strncasecmp(line,"<!DOCTYPE smil",13)==0) // smil in xml
> +      continue;
>      if (strncasecmp(line,"<smil",5)==0 || strncasecmp(line,"<?wpl",5)==0 ||
>        strncasecmp(line,"(smil-document",14)==0)
>        break; // smil header found
>
>
>
>   
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> ------------------------------------------------------------------------
>
> _______________________________________________
> Freevo-users mailing list
> Freevo-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freevo-users
>   


-- 
John Molohan
IT Manager

Griffith College Dublin
South Circular Road
Dublin 8
Ireland

Phone: +353 1 4163366
Web: www.it.gcd.ie www.gcd.ie

Disclaimer:
This E-mail is from Griffith College Dublin.
The E-mail and any files transmitted with it are confidential and may be 
privileged and are intended solely for the use of the individual or entity to 
whom they are addressed. If you are not the addressee you are prohibited from 
disclosing its content, copying it or distributing it otherwise than to the 
addressee. If you have received this e-mail in error, please immediately notify 
the sender by replying to this e-mail and delete the e-mail from your computer.

Bellerophon Ltd, trades as Griffith College (registered in Ireland No. 60469) 
with its registered address as Griffith College Campus, South Circular Road, 
Dublin 8, Ireland.


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to