PDA

View Full Version : using media_url=


lundman
16-04-09, 15:03
Rather than hi-jack the other thread, I thought I would start again.

I've attempted to take the mymovies test directory structure given, and change one of the media urls.

So we have

cat ./-/dune_folder.txt
icon_path = -.aai
media_url = http://movies.apple.com/movies/sony_pictures/cloudywithachanceofmeatballs/cloudywithachanceofmeatballs-tlr1_480p.mov
icon_dx = 0
icon_dy = 0
icon_valign = top


Which launches the file_player as usual with the playlist. The playlist contains:


$ cat /tmp/run/playlist.internal
-1
-
http://movies.apple.com/movies/sony_pictures/cloudywithachanceofmeatballs/cloudywithachanceofmeatballs-tlr1_480p.mov
2


But alas, i get error followed by recovery. The debug file says:


Error opening file http://movies.apple.com/movies/sony_pictures/cloudywithachan
ceofmeatballs/cloudywithachanceofmeatballs-tlr1_480p.mov
quitting due to error RM_ERROR_NOT_MP4 (87)...


Which I guess means it does work, but will not actually support apple trailers due to codecs used? Oh well. Unless it supports the format all apple trailers are in, there probably is no reason for me to carry on.

Even piping through mencoder will not help as it would use quicktime intel codecs.

Binnerup
16-04-09, 16:22
I was wondering if the http thing even works.

In the trailers section of the implementation in My Movies I have added the http media url also. It points to a standard WMV file, which the Dune ought to play, but it won't.

http://wiki.mymovies.dk/GetFile.aspx?File=Devices%2fDune%2fInterface%2fDun e-06.jpg

HDI_fw_dev
06-05-09, 08:24
> http://movies.apple.com/movies/sony_pictures/cloudywithachanceofmeatballs/cloudywithachanceofmeatballs-tlr1_480p.mov
> Which I guess means it does work, but will not actually support apple trailers due to codecs used? Oh well. Unless it supports the format all apple trailers are in, there probably is no reason for me to carry on.

If you download the URL, you can see that this actually a sort of Apple playlist/symlink file (which can not be parsed/handled by Dune, true). It contains just 103 bytes, and it contains a reference to the URL with the video data:
http://movies.apple.com/movies/sony_pictures/cloudywithachanceofmeatballs/cloudywithachanceofmeatballs-tlr1_h480p.mov

The file with video data seems to play OK on Dune.

lundman
12-05-09, 12:01
Sorry, I completely missed your reply here. MPCforum has weird way of notifying me of new posts.

I actually checked those redirects, but failed to get it to work, but you are right, plays just fine. Sigh, I must have done a typo. I can easily parse those blocks, and pull out the real URLs. I could even do it in libc, but I'd rather not.

No perl/python/php/ruby on Dune damnit, I'll roll my own :)

Thanks,