1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Media Share - Mediatomb Is Now Working

Discussion in 'DIRECTV Tips and Resources' started by boilerjt, May 18, 2008.

  1. Jan 2, 2009 #521 of 637
    GregLee

    GregLee Hall Of Fame

    1,701
    19
    Dec 28, 2005
    My version of MT, SVN 1995, does not have an "--enable-liba52" switch, but ffmpeg does (as an option), and I have my ffmpeg compiled with liba52. (liba52 was not easy to compile, I recall.)
     
  2. Jan 2, 2009 #522 of 637
    jjaromin

    jjaromin Mentor

    34
    0
    Nov 11, 2006
    Thanks all for the help on this thread:righton:. I have been able to install MT on a self built NAS running Ubuntu server 8.10. I did have to do a few things differently than the guides (mostly dependencies). I have so far tested mp3 audio, FLAC audio, mp4 video, VOB files, and a couple of picture files. They all work great so far. I have not read how to get the DVD files working yet, but it seems I have it working already. Next step for me is to read the rest of this thread :eek2:!!!
     
  3. Jan 3, 2009 #523 of 637
    jjaromin

    jjaromin Mentor

    34
    0
    Nov 11, 2006
    I get a similar error..

    [00000001] main libvlc debug: translation test: code is "C"
    [00000398] inhibit interface error: Failed to connect to the D-Bus session daemon: dbus-launch failed to autolaunch D-Bus session: Autolaunch error: X11 initialization failed.
    [00000398] main interface error: no suitable interface module
    [00000001] main libvlc error: interface "inhibit,none" initialization failed
    [00000404] dummy interface: using the dummy interface module...

    ...which repeats a half dozen times during mp3 playback. I think it may have something to do with me not having a gui available (running server only). The MP3s play back fine so I think I will dismiss this one. VLC was taken from the ubuntu repositories.
     
  4. Jan 3, 2009 #524 of 637
    GregLee

    GregLee Hall Of Fame

    1,701
    19
    Dec 28, 2005
    Try codec s16l instead of s161 (letter "ell", not "one").
     
  5. Jan 3, 2009 #525 of 637
    jjaromin

    jjaromin Mentor

    34
    0
    Nov 11, 2006
    Thanks for the help, however, I'm still a little new to linux, so your gonna have to give me a little more info:). I could not find any reference to s16l or s161 in the MT config.xml or the VLC ./configure options. Am I looking in the right place? I did not install VLC from source, will I have to?

    edit: I think Gregs' reply was actually to cyberbob25. His VLC output gave the S161 error..
     
  6. Jan 3, 2009 #526 of 637
    GregLee

    GregLee Hall Of Fame

    1,701
    19
    Dec 28, 2005
    Well, I didn't know whether you used the same mistaken codec name or not. Whatever. It's given in the vlcaudio script that boilerjt posted on the MT wiki transcoding page http://mediatomb.cc/dokuwiki/transcoding:transcoding. The vlcaudio script is referred to in the config.xml script. Why use the s16l codec? I don't know. The name suggests it is for files with 16 bit data words, low byte given first (that's the "l" standing for "low").
     
  7. Jan 3, 2009 #527 of 637
    GregLee

    GregLee Hall Of Fame

    1,701
    19
    Dec 28, 2005
    But vlc is working for you to play mp3s, right? So I guess you don't have to compile it from source (if I've understood your question).
     
  8. Jan 3, 2009 #528 of 637
    boilerjt

    boilerjt Icon

    908
    0
    Jan 11, 2007
  9. Jan 3, 2009 #529 of 637
    boilerjt

    boilerjt Icon

    908
    0
    Jan 11, 2007
    With the current ffmpeg, they now have ac3 decoding built in, so it does not need liba52. I have not tried 8.10 yet (I'm running 8.04 and Fedora 10), so the dependency names may have changed.
     
  10. Jan 3, 2009 #530 of 637
    boilerjt

    boilerjt Icon

    908
    0
    Jan 11, 2007
    Hi Greg,

    The s16l audio codec (signed 16-bit little endian pcm) is what vlc uses for wav. This is part of the vlc audio transcode from the wiki.
     
  11. Jan 6, 2009 #531 of 637
    boilerjt

    boilerjt Icon

    908
    0
    Jan 11, 2007
    Here's a quick update:

    MediaTomb 0.12 has not been released yet. The developer has been unable to work on it due to his "real" job demanding all of his attention recently. Also, the DVD feature still has a number of major bugs and may not make it into the release. Hopefully, he'll get it released soon and pre-compiled binaries will follow.
     
  12. Jan 6, 2009 #532 of 637
    GregLee

    GregLee Hall Of Fame

    1,701
    19
    Dec 28, 2005
    What's the DVD feature? (I might have it, since my mediatomb is linked agains libdvdread and libdvdnav -- but what's it for? Can Mediatomb now be given .iso DVD images?)
     
  13. Jan 6, 2009 #533 of 637
    bmeeks8

    bmeeks8 Mentor

    31
    0
    Sep 15, 2007
    Yep, version 0.12 can handle DVD ISO image files. There are still bugs as boilerjt pointed out. To stream these to an HR20, you must convert from a Program Stream to a Transport Stream with an external transcoder.
     
  14. Jan 6, 2009 #534 of 637
    boilerjt

    boilerjt Icon

    908
    0
    Jan 11, 2007
    Greg,

    With the DVD feature, you can import a DVD .iso from the WebUI and it will create a menu structure sorted by audio codec, language, and title. Each individual chapter can also be accessed in each title. With the current SVN, there are some random segfaults that may pop up and sometimes MediaTomb does not shut down properly. Also, as bmeeks8 mentioned, it outputs as a PS and has to be remuxed to TS for the ac3 audio to work on the HR2x. This feature seems to be important to Jin, but it seems that he wants to get 0.12 released pretty quickly when he has some spare time.
     
  15. Jan 9, 2009 #535 of 637
    cyberbob25

    cyberbob25 New Member

    4
    0
    Dec 24, 2008
    Thanks Greg for pointing that mistake out. MP3's now stream flawlessly to my hr20.

    New problem...has anybody had any luck streaming 1080p AVCHD content? I've recently purchased a camcorder that records in this format, and haven't figured out a reliable way to play this over wireless N without a lot of stutter.

    i've played with the buffer settings a bit, but nothing seems to help.
     
  16. jdhoover

    jdhoover Mentor

    36
    0
    Dec 2, 2008
    OK, boiler, this sounds like you're posting that the DVD iso feature "works" now?! segfaults are ok, but whats the part about PS to TS? How?
     
  17. chrisexv6

    chrisexv6 Godfather

    398
    0
    Sep 14, 2002
    Sorry if this is a dumb question :) but I couldnt find the answer quickly searching....

    Ive encoded a DVD into DivX format using DVDFab. The resulting file is a .avi, and works fine in media player. Copied it up to my MediaTomb server, but the HR20 just shows an X next to it, and wont allow it to play.

    Do I need to rename the file? Is there something I may have missed during the conversion?

    Thanks.

    -Chris
     
  18. boilerjt

    boilerjt Icon

    908
    0
    Jan 11, 2007
    The PS to TS remuxing is needed so that the HR2x can play an AC3 soundtrack and this is an obstacle right now as well. FFmpeg and vlc do an awful job of remuxing to TS as the video is horrible. Another user has hacked another solution, but right now there are annoying random quick pixellation bursts and audio dropouts. The one thing that does work is the importing of the iso file in the WebUI.
     
  19. boilerjt

    boilerjt Icon

    908
    0
    Jan 11, 2007
    The HR2x will not play divx natively. From my experience, the ffmpegvideo transcoding script posted in the wiki works well transcoding divx "on the fly" to MPEG2 TS.
     
  20. boilerjt

    boilerjt Icon

    908
    0
    Jan 11, 2007
    1080p transcoding "on the fly" is difficult, even with a powerful PC. The issue is that ffmpeg will only use one core of your PC when decoding and you have to maintain 24fps when transcoding or the video will stutter. You can view the realtime fps in ffmpeg when launching MediaTomb from the command line.

    I am using a 100Mbps wired connection right now, but I've heard other users stories about difficulties sending high bitrate video using wireless (in MediaShare and DirecTV2PC).
     

Share This Page