Jump to content


Welcome to DBSTalk


Sign In 

Create Account
Welcome to DBSTalk. Our community covers all aspects of video delivery solutions including: Direct Broadcast Satellite (DBS), Cable Television, and Internet Protocol Television (IPTV). We also have forums to discuss popular television programs, home theater equipment, and internet streaming service providers. Members of our community include experts who can help you solve technical problems, industry professionals, company representatives, and novices who are here to learn.

Like most online communities you must register to view or post in our community. Sign-up is a free and simple process that requires minimal information. Be a part of our community by signing in or creating an account. The Digital Bit Stream starts here!
  • Reply to existing topics or start a discussion of your own
  • Subscribe to topics and forums and get email updates
  • Send private personal messages (PM) to other forum members
  • Customize your profile page and make new friends
 
Guest Message by DevFuse

Photo
- - - - -

Media Share - Mediatomb Is Now Working


  • Please log in to reply
636 replies to this topic

#26 OFFLINE   boilerjt

boilerjt

    Icon

  • Topic Starter
  • Registered
  • 908 posts
Joined: Jan 11, 2007

Posted 23 May 2008 - 09:23 AM

I didn't mean to imply that photo thumbnails are working. Jpegs display as very small and at the center of the screen, one at a time in a slide show. It's my interpretation that I'm seeing thumbnails in place of a proper display.


To me, it seems like the HR20 displaying photos at 640x480 and downscaling if the photos are at a higher resolution. It looks like if the photos are less than 640x480, it displays them on a 640x480 canvas, keeping the original size. I can see where this may be a problem on a smaller screen with small photos, but it doesn't bother me much on my 61" 1080p.

If you do want the photos enlarged, they can probably be transcoded using image magick.

Jin says that mediatomb supports photo thumbnails per the uPnP spec, but he says the HR20 does not follow the spec and thus thumbnails are not displayed. TVersity probably has a hack in place to display the thumbnails.

...Ads Help To Support This Site...

#27 OFFLINE   boilerjt

boilerjt

    Icon

  • Topic Starter
  • Registered
  • 908 posts
Joined: Jan 11, 2007

Posted 23 May 2008 - 09:29 AM

Thanks for all the great information. I had previously installed the Fedora RPM, but couldn't get transcoding to work. I've now compiled mediatomb from SVN, but I can't find a way to specify that my network is on eth1 rather than eth0. The Fedora RPM sets up a daemon with a config file: /etc/mediatomb/conf. It has a line for specifying the network interface. How is this done when you're not using the daemon?


I have not tried using the daemon yet, but it is on my list to autostart mediatomb using the daemon someday. Right now, I am starting mediatomb from the command line by simply tying mediatomb (or specify the complete path if needed). I also found this in the documentation for the command line:

--interface or -e

Interface to bind to, for example eth0, this can be specified instead of the ip address.

#28 OFFLINE   tuff bob

tuff bob

    Icon

  • Registered
  • 645 posts
Joined: Mar 04, 2007

Posted 23 May 2008 - 01:08 PM

wow, this is great. i did some informal hacking of mediatomb to make it work with the HR20. if this works it might be the 'killer app' that puts the HR20 over the top of the HR10 for the wife :lol:

#29 OFFLINE   DCSholtis

DCSholtis

    Up The Irons!

  • Registered
  • 5,775 posts
Joined: Aug 07, 2002

Posted 23 May 2008 - 01:37 PM

I'll try it this weekend. I'm running Mac OS 10.5.2
Dan Sholtis
"The Raiders will be back. I have unshakable confidence, the will to win, and I just know that the fire that burns brightest in this building is the will to win. And we will win. We will win."---Al Davis. Rest In Peace, Al

#30 OFFLINE   boilerjt

boilerjt

    Icon

  • Topic Starter
  • Registered
  • 908 posts
Joined: Jan 11, 2007

Posted 23 May 2008 - 01:49 PM

I'll try it this weekend. I'm running Mac OS 10.5.2


Great :) Some Mac users are needed to make sure it works as well as it does with Linux. Hopefully, you can find all of the libraries needed to build MediaTomb in repositories so you won't have to compile all of them. After you get the thing compiled, it's a breeze. I'll be around this weekend to help as much as I can

#31 OFFLINE   mikehome

mikehome

    Mentor

  • Registered
  • 43 posts
Joined: May 28, 2006

Posted 23 May 2008 - 04:01 PM

Anyway somone could post a working compiled code of media tomb that will work with HR20's and PS3's? I have a hard time with all the coding

#32 OFFLINE   tuff bob

tuff bob

    Icon

  • Registered
  • 645 posts
Joined: Mar 04, 2007

Posted 23 May 2008 - 07:18 PM

I'll give it a shot on solaris. yeah, I know, who cares rigtht. :sure:

#33 OFFLINE   GregLee

GregLee

    Hall Of Fame

  • Registered
  • 1,686 posts
Joined: Dec 28, 2005

Posted 23 May 2008 - 07:26 PM

To me, it seems like the HR20 displaying photos at 640x480 and downscaling if the photos are at a higher resolution. It looks like if the photos are less than 640x480, it displays them on a 640x480 canvas, keeping the original size. I can see where this may be a problem on a smaller screen with small photos, but it doesn't bother me much on my 61" 1080p.

The Jpegs I have in my database are all considerably larger than 640x480. Whatever the HR20 is doing, it's obviously the wrong thing.

I've now revised my mediatomb config.xml and added scripts and programs as appropriate (I didn't have vlc on my system, so it took some time). Audio files are working fine, now. The video files I've tried are also working fine (though I haven't tried trick play).
Greg

#34 OFFLINE   boilerjt

boilerjt

    Icon

  • Topic Starter
  • Registered
  • 908 posts
Joined: Jan 11, 2007

Posted 23 May 2008 - 07:31 PM

I'll give it a shot on solaris. yeah, I know, who cares rigtht. :sure:


Let me know how it goes :) Here is a link I found how how to get mediatomb running on Solaris:

http://blogs.sun.com...tomb_on_solaris

Do not use the version 0.11.0 tar.gz that is referenced on this page. You have to get the latest from subversion. Just make sure subversion is installed and issue the following command:

svn co https://mediatomb.sv...mediatomb/trunk mediatomb

This will download the latest SVN code into a mediatomb directory (referenced from the directory you issued the command) At least this is the way it works in linux :)

Good Luck!

#35 OFFLINE   boilerjt

boilerjt

    Icon

  • Topic Starter
  • Registered
  • 908 posts
Joined: Jan 11, 2007

Posted 23 May 2008 - 07:38 PM

The Jpegs I have in my database are all considerably larger than 640x480. Whatever the HR20 is doing, it's obviously the wrong thing.

I've now revised my mediatomb config.xml and added scripts and programs as appropriate (I didn't have vlc on my system, so it took some time). Audio files are working fine, now. The video files I've tried are also working fine (though I haven't tried trick play).


It looks like you are on your way :) Trick play will not work and only works on ViiV :( The pause button does work, though. I've paused video for over 30 mins and the video resumes great for me :) One thing you can try is to delete all of your photos from the db using the web UI. Then import them back using the newest code, especially if you've had them in the same db for awhile.

#36 OFFLINE   GregLee

GregLee

    Hall Of Fame

  • Registered
  • 1,686 posts
Joined: Dec 28, 2005

Posted 23 May 2008 - 07:52 PM

Anyway somone could post a working compiled code of media tomb that will work with HR20's and PS3's? I have a hard time with all the coding

I would if I could. I'm lucky to get parts of it working on my own system. Putting together a generalized version that could work in other environments is just beyond me. Sorry.
Greg

#37 OFFLINE   boilerjt

boilerjt

    Icon

  • Topic Starter
  • Registered
  • 908 posts
Joined: Jan 11, 2007

Posted 23 May 2008 - 08:05 PM

Greg,

Before I forget, I just want to thank you for all of the effort you put into trying to get MediaTomb working. Your posts in the MediaTomb forum helped me a great deal in understanding how MediaTomb worked (and didn't work) with the HR2x and started me in the right direction. Jin has been so responsive these last two weeks and has incorporated fixes into the SVN that got the video working (forced HTTP chunking).

Thanks,
John

#38 OFFLINE   boilerjt

boilerjt

    Icon

  • Topic Starter
  • Registered
  • 908 posts
Joined: Jan 11, 2007

Posted 23 May 2008 - 08:12 PM

Anyway somone could post a working compiled code of media tomb that will work with HR20's and PS3's? I have a hard time with all the coding


At this point, trying to create pre-compiled binaries is a waste of time. The binaries are somewhat distro dependent and you would have to install the dependencies anyway. When the next release (0.12.0) is out, the compiled program (and dependencies) will be packaged for all major distributions and install will be a breeze.

#39 OFFLINE   boilerjt

boilerjt

    Icon

  • Topic Starter
  • Registered
  • 908 posts
Joined: Jan 11, 2007

Posted 24 May 2008 - 07:59 AM

The Jpegs I have in my database are all considerably larger than 640x480. Whatever the HR20 is doing, it's obviously the wrong thing.

I've now revised my mediatomb config.xml and added scripts and programs as appropriate (I didn't have vlc on my system, so it took some time). Audio files are working fine, now. The video files I've tried are also working fine (though I haven't tried trick play).


I may have found something. I found a few images that seem to display thumbnails. I performed a wireshark capture and found something interesting:

Here is the picture that displays good:

GET /content/media/object_id/63669/res_id/0/ext/file.JPG HTTP/1.1
Host: 192.168.1.78
Date: Sat, May 24 08:08:07 2008
Accept: */*
User-Agent: DIRECTV DLNAPlayer

HTTP/1.1 200 OK
CONTENT-LENGTH: 834921
CONTENT-TYPE: image/jpeg
DATE: Sat, 24 May 2008 13:09:01 GMT
LAST-MODIFIED: Thu, 02 Jan 2003 08:23:46 GMT
SERVER: Linux/2.6.24-16-generic, UPnP/1.0, MediaTomb/0.11.0
CONNECTION: close
Content-Disposition: attachment; filename="100_0445.JPG"
Accept-Ranges: bytes

Here is the picture that displays a thumbnail:


GET /content/media/object_id/63671/res_id/1/rct/EX_TH/ext/file.jpg HTTP/1.1
Host: 192.168.1.78
Date: Sat, May 24 08:21:15 2008
Accept: */*
User-Agent: DIRECTV DLNAPlayer

HTTP/1.1 200 OK
CONTENT-LENGTH: 6276
CONTENT-TYPE: image/jpeg
DATE: Sat, 24 May 2008 13:22:09 GMT
LAST-MODIFIED: Wed, 24 Mar 2004 04:07:09 GMT
SERVER: Linux/2.6.24-16-generic, UPnP/1.0, MediaTomb/0.11.0
CONNECTION: close

From what I see, mediatomb is indeed sending the thumbnail because the HR20 is requesting the thumbnail :nono2: I'm gonna pass this info to Jin and see what he makes of it.

#40 OFFLINE   GregLee

GregLee

    Hall Of Fame

  • Registered
  • 1,686 posts
Joined: Dec 28, 2005

Posted 24 May 2008 - 08:31 AM

I found a few images that seem to display thumbnails.

I added a new set of jpegs to my database, and they look just the same as I described earlier when displayed using the HR20. Each is shown in the middle of the screen with room for one image of the same size above it and one below it, and with room for two to the left and two to the right. So, there would be room on my 16:9 TV screen to show a 5 x 3 array of such images at once.
Greg

#41 OFFLINE   boilerjt

boilerjt

    Icon

  • Topic Starter
  • Registered
  • 908 posts
Joined: Jan 11, 2007

Posted 24 May 2008 - 08:56 AM

I added a new set of jpegs to my database, and they look just the same as I described earlier when displayed using the HR20. Each is shown in the middle of the screen with room for one image of the same size above it and one below it, and with room for two to the left and two to the right. So, there would be room on my 16:9 TV screen to show a 5 x 3 array of such images at once.


I've been attempting to understand the photo display procedure between the HR20 and mediatomb using the wireshark capture. This is what I see:

1. The HR20 sends a browse request for the available photos in a container.
2. Mediatomb sends the info for each photo. I see two photo references returned: the full size photo (first item) and the thumbnail (second item).
3. The user selects the photo to be displayed from the HR20 menu.
4. The HR20 requests the photo from mediatomb
5. Mediatomb sends the photo
6. The HR20 displays the photo.

My guess is the HR20 doesn't like something about the first photo (full size) and asks for the thumbnail.
TVersity users are finding the HR20 is having issues displaying high res photos.

Just curious...what do your filenames look like and your typical resolution? The photos that displayed as thumbs for me look like this:

Dale's Pics Sue & wayne Wedding Mar 1, 2004 014.jpg (Maybe the HR20 doesn't like this with the non-text/numerical chars?)
From an Olympus camera
Resolution: 2560x1920

I sent the info to Jin and hopefully he can find something.

#42 OFFLINE   GregLee

GregLee

    Hall Of Fame

  • Registered
  • 1,686 posts
Joined: Dec 28, 2005

Posted 24 May 2008 - 08:59 AM

Not all my video files are shown on the HR20 as playable. Those with file extension ".mpg" containing mpeg 1 video are playable, but when they contain mpeg 2 or mpeg 4, they're shown with an "X".
Greg

#43 OFFLINE   boilerjt

boilerjt

    Icon

  • Topic Starter
  • Registered
  • 908 posts
Joined: Jan 11, 2007

Posted 24 May 2008 - 09:10 AM

Not all my video files are shown on the HR20 as playable. Those with file extension ".mpg" containing mpeg 1 video are playable, but when they contain mpeg 2 or mpeg 4, they're shown with an "X".


That is weird...normally if it can play MPEG1, it can play MPEG2. MPEG4 will need transcoding. Do your mpeg2s have the .mpg file extension? Also, look at the web UI (database view) and find an mpeg2 file in the tree. Click on the edit icon(pencil and paper icon). Does the mimetype say video/mpeg?

#44 OFFLINE   GregLee

GregLee

    Hall Of Fame

  • Registered
  • 1,686 posts
Joined: Dec 28, 2005

Posted 24 May 2008 - 09:45 AM

3. The user selects the photo to be displayed from the HR20 menu.

If you mean a menu of thumbnails, I never see such a menu. Just filenames.

Just curious...what do your filenames look like and your typical resolution?

Here are some examples. Some 3296x2472 jpegs (from a camera), then some 1280x1024 wallpapers. I've marked in the right column whether the H20 counts them as displayable ("OK") or not ("X").

Width                : 3296
Height               : 2472

-rw-r--r-- 1 greg wheel 1180580 May 23 11:37 tripod_c-000030.JPG	OK
-rw-r--r-- 1 greg wheel 1225144 May 23 11:37 tripod_c-000031.JPG	OK
-rw-r--r-- 1 greg wheel 1267208 May 23 11:37 tripod_c-000032.JPG	OK
-rw-r--r-- 1 greg wheel 1107552 May 23 11:38 tripod_c-000033.JPG	OK
-rw-r--r-- 1 greg wheel 1109984 May 23 11:38 tripod_c-000034.JPG	OK
-rw-r--r-- 1 greg wheel 1160660 May 23 11:38 tripod_c-000035.JPG	OK
-rw-r--r-- 1 greg wheel 1116548 May 23 11:40 tripod_c-000036.JPG	OK
-rw-r--r-- 1 greg wheel 1144964 May 23 11:40 tripod_c-000037.JPG	OK
-rw-r--r-- 1 greg wheel 1096392 May 23 11:41 tripod_c-000038.JPG	OK
-rw-r--r-- 1 greg wheel 1075468 May 23 11:41 tripod_c-000039.JPG	OK

Width                : 1280
Height               : 1024

-rw-r--r-- 1 greg wheel 485534 Jul 17  2007 Burto-1082578688.jpg	X
-rw-r--r-- 1 greg wheel 407293 Jul 17  2007 challin-1148789631.jpg	X
-rw-r--r-- 1 greg wheel 436455 Jul 17  2007 DixieNormus-1135913920.jpg	X
-rw-r--r-- 1 greg wheel 471312 Jul 17  2007 DixieNormus-1162292453.jpg	X
-rw-r--r-- 1 greg wheel 373907 Jul 17  2007 Foxfire66-1146355230.jpg	X
-rw-r--r-- 1 greg wheel 459075 Jul 17  2007 Mindstormer-1124471863.jpg	X
-rw-r--r-- 1 greg wheel 219777 Jul 17  2007 mnemonics-1158972868.jpg	OK
-rw-r--r-- 1 greg wheel 178217 Jul 17  2007 mouthpiece.jpg		X
-rw-r--r-- 1 greg wheel 397026 Jul 17  2007 MrXwild-1099954120.jpg	X
-rw-r--r-- 1 greg wheel 634184 Jul 17  2007 MrXwild-1104382515.jpg	X
-rw-r--r-- 1 greg wheel 504497 Jul 17  2007 MrXwild-1104639905.jpg	X
-rw-r--r-- 1 greg wheel 391044 Jul 17  2007 MrXwild-1105859448.jpg	X
-rw-r--r-- 1 greg wheel 351526 Jul 17  2007 MrXwild-1108354780.jpg	X
-rw-r--r-- 1 greg wheel 392029 Jul 17  2007 mum42-1085752824.jpg	OK
-rw-r--r-- 1 greg wheel 240929 Jul 17  2007 mythica-1072184402.jpg	X
-rw-r--r-- 1 greg wheel 341550 Jul 17  2007 mythica-1076743546.jpg	X
-rw-r--r-- 1 greg wheel 293705 Jul 17  2007 mythica-1076883802.jpg	X
-rw-r--r-- 1 greg wheel 119770 Jul 17  2007 mythica-1078644062.jpg	X
-rw-r--r-- 1 greg wheel 230559 Jul 17  2007 mythica-1082104668.jpg	X
-rw-r--r-- 1 greg wheel 303598 Jul 17  2007 Piner-1078460946.jpg	X
-rw-r--r-- 1 greg wheel 190887 Jul 17  2007 Prowler_75-1102971505.jpg	OK
-rw-r--r-- 1 greg wheel 360871 Jul 17  2007 rabagojason-1132279845.jpg	X
-rw-r--r-- 1 greg wheel 595061 Jul 17  2007 vicvog-1145056930.jpg	OK
-rw-r--r-- 1 greg wheel 515779 Jul 17  2007 vicvog-1151354479.jpg	OK
-rw-r--r-- 1 greg wheel 545436 Jul 17  2007 WENPEDER-1151328063.jpg	OK
-rw-r--r-- 1 greg wheel  70462 Jul 17  2007 xiist-1080224235.jpg	X
-rw-r--r-- 1 greg wheel 131213 Jul 17  2007 xyccoc-1119379732.jpg	X

Greg

#45 OFFLINE   bobnielsen

bobnielsen

    Éminence grise

  • DBSTalk Club
  • 8,357 posts
  • LocationBainbridge Island, WA
Joined: Jun 29, 2006

Posted 24 May 2008 - 09:57 AM

It compiled easily on my Mac Mini, but I get a runtime error that sqlite is needed (No, I didn't RTFM). I'm installing sqlite3 from macports and will try again.

#46 OFFLINE   GregLee

GregLee

    Hall Of Fame

  • Registered
  • 1,686 posts
Joined: Dec 28, 2005

Posted 24 May 2008 - 10:33 AM

That is weird...normally if it can play MPEG1, it can play MPEG2. MPEG4 will need transcoding. Do your mpeg2s have the .mpg file extension? Also, look at the web UI (database view) and find an mpeg2 file in the tree. Click on the edit icon(pencil and paper icon). Does the mimetype say video/mpeg?

No, the mimetype for my 9 unplayable .mpg files that are MPEG-2 is given as "video/mp2p". The mimetype for my single playable .mpg file that is MPEG-1 is "video/mpeg". I don't know just what file extensions my MPEG-2 videos have, other than .mpg -- I could find out, I suppose.
Greg

#47 OFFLINE   boilerjt

boilerjt

    Icon

  • Topic Starter
  • Registered
  • 908 posts
Joined: Jan 11, 2007

Posted 24 May 2008 - 10:58 AM

If you mean a menu of thumbnails, I never see such a menu. Just filenames.

Here are some examples. Some 3296x2472 jpegs (from a camera), then some 1280x1024 wallpapers. I've marked in the right column whether the H20 counts them as displayable ("OK") or not ("X").


Width                : 3296
Height               : 2472

-rw-r--r-- 1 greg wheel 1180580 May 23 11:37 tripod_c-000030.JPG	OK
-rw-r--r-- 1 greg wheel 1225144 May 23 11:37 tripod_c-000031.JPG	OK
-rw-r--r-- 1 greg wheel 1267208 May 23 11:37 tripod_c-000032.JPG	OK
-rw-r--r-- 1 greg wheel 1107552 May 23 11:38 tripod_c-000033.JPG	OK
-rw-r--r-- 1 greg wheel 1109984 May 23 11:38 tripod_c-000034.JPG	OK
-rw-r--r-- 1 greg wheel 1160660 May 23 11:38 tripod_c-000035.JPG	OK
-rw-r--r-- 1 greg wheel 1116548 May 23 11:40 tripod_c-000036.JPG	OK
-rw-r--r-- 1 greg wheel 1144964 May 23 11:40 tripod_c-000037.JPG	OK
-rw-r--r-- 1 greg wheel 1096392 May 23 11:41 tripod_c-000038.JPG	OK
-rw-r--r-- 1 greg wheel 1075468 May 23 11:41 tripod_c-000039.JPG	OK

Width                : 1280
Height               : 1024

-rw-r--r-- 1 greg wheel 485534 Jul 17  2007 Burto-1082578688.jpg	X
-rw-r--r-- 1 greg wheel 407293 Jul 17  2007 challin-1148789631.jpg	X
-rw-r--r-- 1 greg wheel 436455 Jul 17  2007 DixieNormus-1135913920.jpg	X
-rw-r--r-- 1 greg wheel 471312 Jul 17  2007 DixieNormus-1162292453.jpg	X
-rw-r--r-- 1 greg wheel 373907 Jul 17  2007 Foxfire66-1146355230.jpg	X
-rw-r--r-- 1 greg wheel 459075 Jul 17  2007 Mindstormer-1124471863.jpg	X
-rw-r--r-- 1 greg wheel 219777 Jul 17  2007 mnemonics-1158972868.jpg	OK
-rw-r--r-- 1 greg wheel 178217 Jul 17  2007 mouthpiece.jpg		X
-rw-r--r-- 1 greg wheel 397026 Jul 17  2007 MrXwild-1099954120.jpg	X
-rw-r--r-- 1 greg wheel 634184 Jul 17  2007 MrXwild-1104382515.jpg	X
-rw-r--r-- 1 greg wheel 504497 Jul 17  2007 MrXwild-1104639905.jpg	X
-rw-r--r-- 1 greg wheel 391044 Jul 17  2007 MrXwild-1105859448.jpg	X
-rw-r--r-- 1 greg wheel 351526 Jul 17  2007 MrXwild-1108354780.jpg	X
-rw-r--r-- 1 greg wheel 392029 Jul 17  2007 mum42-1085752824.jpg	OK
-rw-r--r-- 1 greg wheel 240929 Jul 17  2007 mythica-1072184402.jpg	X
-rw-r--r-- 1 greg wheel 341550 Jul 17  2007 mythica-1076743546.jpg	X
-rw-r--r-- 1 greg wheel 293705 Jul 17  2007 mythica-1076883802.jpg	X
-rw-r--r-- 1 greg wheel 119770 Jul 17  2007 mythica-1078644062.jpg	X
-rw-r--r-- 1 greg wheel 230559 Jul 17  2007 mythica-1082104668.jpg	X
-rw-r--r-- 1 greg wheel 303598 Jul 17  2007 Piner-1078460946.jpg	X
-rw-r--r-- 1 greg wheel 190887 Jul 17  2007 Prowler_75-1102971505.jpg	OK
-rw-r--r-- 1 greg wheel 360871 Jul 17  2007 rabagojason-1132279845.jpg	X
-rw-r--r-- 1 greg wheel 595061 Jul 17  2007 vicvog-1145056930.jpg	OK
-rw-r--r-- 1 greg wheel 515779 Jul 17  2007 vicvog-1151354479.jpg	OK
-rw-r--r-- 1 greg wheel 545436 Jul 17  2007 WENPEDER-1151328063.jpg	OK
-rw-r--r-- 1 greg wheel  70462 Jul 17  2007 xiist-1080224235.jpg	X
-rw-r--r-- 1 greg wheel 131213 Jul 17  2007 xyccoc-1119379732.jpg	X


This one has me stumped... maybe Jin will find something.

#48 OFFLINE   boilerjt

boilerjt

    Icon

  • Topic Starter
  • Registered
  • 908 posts
Joined: Jan 11, 2007

Posted 24 May 2008 - 11:00 AM

It compiled easily on my Mac Mini, but I get a runtime error that sqlite is needed (No, I didn't RTFM). I'm installing sqlite3 from macports and will try again.


You can either use sqlite or mysql, but sqlite is easier because mediatomb can automatically configure it for you.

#49 OFFLINE   boilerjt

boilerjt

    Icon

  • Topic Starter
  • Registered
  • 908 posts
Joined: Jan 11, 2007

Posted 24 May 2008 - 11:09 AM

No, the mimetype for my 9 unplayable .mpg files that are MPEG-2 is given as "video/mp2p". The mimetype for my single playable .mpg file that is MPEG-1 is "video/mpeg". I don't know just what file extensions my MPEG-2 videos have, other than .mpg -- I could find out, I suppose.


The HR2x can only play video/mpeg without transcoding at this time and that is why your files are X'ed. Video/mpeg can either be MPEG1 or MPEG2. Try putting this line in your config.xml in the <extension-mimetype> section:

<map from="mpg" to="video/mpeg"/>

If your extensions are other than .mpg. replace the mpg in the mapping to whatever the extension is. You may also have to clear the old video files from the db and re-import them (using the web ui). Let me know if this works.

#50 OFFLINE   boilerjt

boilerjt

    Icon

  • Topic Starter
  • Registered
  • 908 posts
Joined: Jan 11, 2007

Posted 24 May 2008 - 11:36 AM

Greg, one more thing to try with the photos. In config.xml in the <scripting> section, is virtual-layout type "js" or "builtin"? Try changing this setting and re-import your photos (after purging from the db). Also, do not change to "js" unless you included spidermonkey javascript support when you compiled.




Protected By... spam firewall...And...