[gstreamer-bugs] [Bug 597497] can't play a redirecting .mov file via playbin

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Oct 16 04:27:11 PDT 2009


https://bugzilla.gnome.org/show_bug.cgi?id=597497
  GStreamer | don't know | git

--- Comment #9 from Thiago Sousa Santos <thiagoss at embedded.ufcg.edu.br> 2009-10-16 11:27:09 UTC ---
(In reply to comment #8)
> Not really familiar with how this all fits together, but here are some random
> comments nevertheless:
> 
>  - could this be split out into a separate function? I think
>    parse_trak() is already quite long
Agreed.

> 
>  - it looks like you're assuming that the URI string is
>    NUL-terminated, which you shouldn't. Better 
>    g_strndup() and then later g_free() the string to
>    make absolutely sure it has a terminator.
Alright.

> 
>  - might want to check that the URI is a valid uri
>    and/or looks like what you're looking for (do
>    we only want URIs that redirect to rtsp://... ?)
In this case, the trak type is 'rtsp', so I guess we can check if it starts
with 'rtsp'

> 
>  - how does this work policy-wise with these URIs?
>    Do they sometimes appear in perfectly valid
>    and playable files as extra information on the
>    side (in which case the app shouldn't act on the
>    redirect message) or can we assume that if
>    there is such a redirect that's it? I don't really
>    know what we do now, but we probably should
>    think about this. Currently totem acts immediately
>    on a redirect message, IIRC.
This is on a trak, so there is nothing restricting it on
appearing with other 'normal' traks, or having multiple
rtsp traks together. I guess we should have a different message
to signal this. Something like an 'external-location' or 'external-content'.

> 
>  - if there are multiple URIs, should they be collected
>    and posted in one single message? (like the other
>    redirect code does)
Already answered.

> 
>  - does that 4-byte value that you skip make sense
>    if interpreted as bitrate?
Don't know, it is all zeroes in this sample.


I had never seen files like this before, but quicktime plays it fine. (Well,
the rtsp seems to
be inaccessible/down right now, but it does a redirect).

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list