I found that if I add the following patch to hornsey it could start to
play the real audio.
diff -ur hornsey-1.0~20090703.org/src/hrn-queue.c
hornsey-1.0~20090703/src/hrn-queue.c
--- hornsey-1.0~20090703.org/src/hrn-queue.c
+++ hornsey-1.0~20090703/src/hrn-queue.c
@@ -1642,6 +1642,13 @@
{
mimetype = "video/foo";
}
+ else if (g_str_has_suffix (uri, "rm")||
+ g_str_has_suffix (uri, "RM")||
+ g_str_has_suffix (uri, "rmvb")||
+ g_str_has_suffix (uri, "RMVB"))
+ {
+ mimetype = "audio/x-pn-realaudio";
+ }
}
g_print ("%s %s----------\n", g_file_get_uri (file), mimetype);
I add this patch because I could find the mimetype in gstreamer support
list:
$gst-inspect-0.10 | grep rmvb
typefindfunctions: application/x-pn-realaudio: rmvb, rm, ram, ra
typefindfunctions: application/vnc.rn-realmedia: rmvb, rm, ram, ra
But it is so strange that if I change the rm default mimetype to
"video/vnd.rn-realmedia",
there will have no video ouput nor audio output for the realaudio media
file.
So, any suggestions? Any help will be appreciated.
Thanks & BR,
Wang Yan
Wang Yan wrote:
> Hi, All
>
> I am trying to enable realmedia video playing feature for software
> hornsey on Moblin.
> As far as I know, the hornsey use gstreamer as back-end.
> So I compile gst-plugins-ugly and install it into Moblin system.
> After I did that, I could play rm video file using gst-launch-0.10 command.
> Like the following:
> $gst-launch-0.10 playbin uri=file:///realvideo.rm
>
> but I still can not using hornsey to play the realmedia video file.
>
> Any suggestion on how to make this work?
>
> Thanks & BR,
> Wang Yan
>
_______________________________________________
Moblin dev Mailing List
[email protected]
To manage or unsubscribe from this mailing list visit:
http://lists.moblin.org/listinfo/dev or your user account on http://moblin.org
once logged in.
For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists