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

#621 OFFLINE   skyboysea

skyboysea

    Icon

  • Registered
  • 540 posts
Joined: Nov 01, 2002

Posted 20 November 2010 - 10:56 PM

If that's the case the problem is on your receiver, not on Mediatomb. The dialog appears before the request is sent to the server. What model do you have and on which firmware version?

...Ads Help To Support This SIte...

#622 OFFLINE   WarrenC

WarrenC

    Cool Member

  • Registered
  • 23 posts
Joined: Nov 19, 2010

Posted 20 November 2010 - 11:03 PM

additional info: I installed and configured Fuppes and behavior is exactly the same- can navigate through folders, see files, but when I click on them nothing happens... is there any configuration on the receiver I need to do?

#623 OFFLINE   WarrenC

WarrenC

    Cool Member

  • Registered
  • 23 posts
Joined: Nov 19, 2010

Posted 20 November 2010 - 11:05 PM

additional info: I installed and configured Fuppes and behavior is exactly the same- can navigate through folders, see files, but when I click on them nothing happens... is there any configuration on the receiver I need to do?



sorry- posted before I read yours... yeah, feels like a receiver thing... it's an HR24-100... firmware 0x419, thus 11/18 (that's what is says under "software"... assume that's the firmware ver.)

#624 OFFLINE   skyboysea

skyboysea

    Icon

  • Registered
  • 540 posts
Joined: Nov 01, 2002

Posted 20 November 2010 - 11:41 PM

I think I saw some post about problem with Mediashare and the HR24. Maybe you can try asking in the hw section to see if someone has the same issues you have. Sorry I can't help more.

#625 OFFLINE   WarrenC

WarrenC

    Cool Member

  • Registered
  • 23 posts
Joined: Nov 19, 2010

Posted 22 November 2010 - 06:46 PM

check out this awesome thread from directv: http://forums.direct...92590#e10792590

wonderful.

guess i will just be content with running a monitor cable to my TV.

#626 OFFLINE   WarrenC

WarrenC

    Cool Member

  • Registered
  • 23 posts
Joined: Nov 19, 2010

Posted 23 November 2010 - 06:57 AM

I tired to update software last night, and it installed same version and rebooted... suddenly now it works!... well, it plays files now.... looks like some transcoding errors, but definitely progress now!

#627 OFFLINE   WarrenC

WarrenC

    Cool Member

  • Registered
  • 23 posts
Joined: Nov 19, 2010

Posted 23 November 2010 - 07:22 AM

OK- images now work, and I can launch mp3s and avi videos, but when I do so I get errors. terminal output is below... any advice?

MediaTomb UPnP Server version 0.12.0 - http://mediatomb.cc/

===============================================================================
Copyright 2005-2008 Gena Batsyan, Sergey Bostandzhyan, Leonhard Wimmer.
MediaTomb is free software, covered by the GNU General Public License version 2

2010-11-23 08:00:21 INFO: Loading configuration from: /home/warren/.mediatomb/config.xml
2010-11-23 08:00:21 INFO: Checking configuration...
2010-11-23 08:00:21 INFO: Setting filesystem import charset to UTF-8
2010-11-23 08:00:21 INFO: Setting metadata import charset to UTF-8
2010-11-23 08:00:21 INFO: Setting playlist charset to UTF-8
2010-11-23 08:00:21 INFO: Configuration check succeeded.
2010-11-23 08:00:21 INFO: Initialized port: 49152
2010-11-23 08:00:21 INFO: Server bound to: 192.168.2.104
2010-11-23 08:00:23 INFO: MediaTomb Web UI can be reached by following this link:
2010-11-23 08:00:23 INFO: http://192.168.2.104:49152/
2010-11-23 08:15:29 INFO: Arguments: -size 1080x720 %in -auto-orient -resize 112.5%x100% +profile '*' %out
2010-11-23 08:15:36 INFO: Arguments: -size 1080x720 %in -auto-orient -resize 112.5%x100% +profile '*' %out
2010-11-23 08:15:39 INFO: Arguments: -size 1080x720 %in -auto-orient -resize 112.5%x100% +profile '*' %out
2010-11-23 08:16:10 INFO: Arguments: -I dummy %in --sout #transcode{acodec=s16l,ab=192,channels=2}:standard{access=file, mux=wav,dst=%out} vlc:quit
VLC media player 1.0.6 Goldeneye
[0x8d4d5e8] dummy interface: using the dummy interface module...
[0x8d59a30] stream_out_standard stream out error: no mux specified or found by extension
[0x8d58ed0] stream_out_transcode stream out error: cannot create chain
[0x8d53f98] main stream output error: stream chain failed for `transcode{acodec=s16l,ab=192,channels=2}:standard{access=file,'
[0x8d4c850] main input error: cannot start stream output instance, aborting
[0x8d592b0] stream_out_standard stream out error: no mux specified or found by extension
[0x8d59108] stream_out_transcode stream out error: cannot create chain
[0x8d548a0] main stream output error: stream chain failed for `transcode{acodec=s16l,ab=192,channels=2}:standard{access=file,'
[0x8d4c850] main input error: cannot start stream output instance, aborting
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
************************************************
** **
** No css library available. See **
** /usr/share/doc/libdvdread4/README.Debian **
** for more information. **
** **
************************************************
libdvdread: Could not open input: No such file or directory
libdvdread: Can't open vlc:quit for reading
libdvdnav: vm: failed to open/read the DVD
[0x8d59c18] access_file access error: cannot open file vlc:quit (No such file or directory)
[0x8d59c18] main access error: File reading failed
[0x8d59c18] main access error: VLC could not open the file "vlc:quit".
[0x8d4c850] main input error: open of `vlc:quit' failed: no suitable access module
[0x8d4c850] main input error: Your input can't be opened
[0x8d4c850] main input error: VLC is unable to open the MRL 'vlc:quit'. Check the log for details.
[0x8d41678] signals interface error: Caught Terminated signal, exiting...
2010-11-23 08:17:05 INFO: Arguments: -size 1080x720 %in -auto-orient -resize 112.5%x100% +profile '*' %out
2010-11-23 08:18:38 INFO: Arguments: %in %out 8300k 256k
177
2
FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1, Copyright © 2000-2009 Fabrice Bellard, et al.
configuration: --extra-version=4:0.5.1-1ubuntu1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --enable-shared --disable-static
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.20. 1 / 52.20. 1
libavformat 52.31. 0 / 52.31. 0
libavdevice 52. 1. 0 / 52. 1. 0
libavfilter 0. 4. 0 / 0. 4. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on Mar 4 2010 12:35:30, gcc: 4.4.3

Seems stream 0 codec frame rate differs from container frame rate: 23.98 (65535/2733) -> 23.98 (2997003/125000)
Input #0, avi, from '/home/warren/Videos/Season 1/The Big Bang Theory S01E05.avi':
Duration: 00:19:41.28, start: 0.000000, bitrate: 1242 kb/s
Stream #0.0: Video: mpeg4, yuv420p, 624x352 [PAR 1:1 DAR 39:22], 23.98 tbr, 23.98 tbn, 23.98 tbc
Stream #0.1: Audio: mp3, 48000 Hz, stereo, s16, 128 kb/s
Unable to find a suitable output format for '1'
2010-11-23 08:19:01 INFO: Arguments: -size 1080x720 %in -auto-orient -resize 112.5%x100% +profile '*' %out
2010-11-23 08:19:17 INFO: Arguments: -size 1080x720 %in -auto-orient -resize 112.5%x100% +profile '*' %out

#628 OFFLINE   MyCatsNameIsBernie

MyCatsNameIsBernie

    Cool Member

  • Registered
  • 14 posts
Joined: Dec 31, 2008

Posted 23 November 2010 - 11:08 AM

[0x8d548a0] main stream output error: stream chain failed for `transcode{acodec=s16l,ab=192,channels=2}:standard{access=file,'

It looks like you have some line breaks in your config.xml after "access=file,"; I can see 2 of them in your earlier posts. Remove the line breaks and try again.

#629 OFFLINE   WarrenC

WarrenC

    Cool Member

  • Registered
  • 23 posts
Joined: Nov 19, 2010

Posted 23 November 2010 - 05:53 PM

Sweet- that worked- audio is now working.

Video is still no good...

i REALLY appreciate your help btw! ;)

here is output from attempt to launch video... tried w/ a few different vids, but result is always the same... on .avi though- that's all I have on my machine...

warren@warren-laptop:~$ mediatomb

MediaTomb UPnP Server version 0.12.0 - http://mediatomb.cc/

===============================================================================
Copyright 2005-2008 Gena Batsyan, Sergey Bostandzhyan, Leonhard Wimmer.
MediaTomb is free software, covered by the GNU General Public License version 2

2010-11-23 18:50:13 INFO: Loading configuration from: /home/warren/.mediatomb/config.xml
2010-11-23 18:50:13 INFO: Checking configuration...
2010-11-23 18:50:13 INFO: Setting filesystem import charset to UTF-8
2010-11-23 18:50:13 INFO: Setting metadata import charset to UTF-8
2010-11-23 18:50:13 INFO: Setting playlist charset to UTF-8
2010-11-23 18:50:13 INFO: Configuration check succeeded.
2010-11-23 18:50:13 INFO: Initialized port: 49152
2010-11-23 18:50:13 INFO: Server bound to: 192.168.2.104
2010-11-23 18:50:14 INFO: MediaTomb Web UI can be reached by following this link:
2010-11-23 18:50:14 INFO: http://192.168.2.104:49152/
2010-11-23 18:50:32 INFO: Arguments: %in %out 8300k 256k
133

FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1, Copyright © 2000-2009 Fabrice Bellard, et al.
configuration: --extra-version=4:0.5.1-1ubuntu1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --enable-shared --disable-static
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.20. 1 / 52.20. 1
libavformat 52.31. 0 / 52.31. 0
libavdevice 52. 1. 0 / 52. 1. 0
libavfilter 0. 4. 0 / 0. 4. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on Mar 4 2010 12:35:30, gcc: 4.4.3
[avi @ 0x8d55a60]sample size (1) != block align (1024)
Input #0, avi, from '/home/warren/Videos/hawaiivids/VID00069.AVI':
Duration: 00:01:01.77, start: 0.000000, bitrate: 4789 kb/s
Stream #0.0: Video: mpeg4, yuv420p, 640x480 [PAR 1:1 DAR 4:3], 30 tbr, 30 tbn, 30 tbc
Stream #0.1: Audio: adpcm_ms, 44100 Hz, mono, s16, 177 kb/s
Unable to find a suitable output format for '1'


Just in case, here is revised config.xml... think I got rid of all the line breaks...

<?xml version="1.0" encoding="UTF-8"?>
<config version="1" xmlns="http://mediatomb.cc/config/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://mediatomb.cc/config/1 http://mediatomb.cc/config/1.xsd">
<!--
Read /usr/share/doc/mediatomb-common/README.gz section 6 for more
information on creating and using config.xml configration files.
-->
<server>
<ui enabled="yes" show-tooltips="yes">
<accounts enabled="no" session-timeout="30">
<account user="mediatomb" password="mediatomb"/>
</accounts>
</ui>
<name>MediaTomb</name>
<udn>uuid:02eada53-3d2e-4455-8348-aa0c106023a1</udn>
<home>/home/warren/.mediatomb</home>
<webroot>/usr/share/mediatomb/web</webroot>
<storage>
<sqlite3 enabled="yes">
<database-file>mediatomb.db</database-file>
</sqlite3>
<mysql enabled="no">
<host>localhost</host>
<username>mediatomb</username>
<database>mediatomb</database>
</mysql>
</storage>
<protocolInfo extend="no"/><!-- For PS3 support change to "yes" -->
<!--
Uncomment the lines below to get rid of jerky avi playback on the
DSM320 or to enable subtitles support on the DSM units
-->
<!--
<custom-http-headers>
<add header="X-User-Agent: redsonic"/>
</custom-http-headers>

<manufacturerURL>redsonic.com</manufacturerURL>
<modelNumber>105</modelNumber>
-->
<!-- Uncomment the line below if you have a Telegent TG100 -->
<!--
<upnp-string-limit>101</upnp-string-limit>
-->
<extended-runtime-options>
<ffmpegthumbnailer enabled="no">
<thumbnail-size>128</thumbnail-size>
<seek-percentage>5</seek-percentage>
<filmstrip-overlay>yes</filmstrip-overlay>
<workaround-bugs>no</workaround-bugs>
</ffmpegthumbnailer>
<mark-played-items enabled="no" suppress-cds-updates="yes">
<string mode="prepend">*</string>
</mark-played-items>
</extended-runtime-options>
</server>
<import hidden-files="no">
<scripting script-charset="UTF-8">
<virtual-layout type="builtin"/>
</scripting>
<mappings>
<extension-mimetype ignore-unknown="no">
<map from="mp3" to="audio/mpeg"/>
<map from="ogg" to="application/ogg"/>
<map from="asf" to="video/x-ms-asf"/>
<map from="asx" to="video/x-ms-asf"/>
<map from="wma" to="audio/x-ms-wma"/>
<map from="wax" to="audio/x-ms-wax"/>
<map from="wmv" to="video/x-ms-wmv"/>
<map from="wvx" to="video/x-ms-wvx"/>
<map from="wm" to="video/x-ms-wm"/>
<map from="wmx" to="video/x-ms-wmx"/>
<map from="m3u" to="audio/x-mpegurl"/>
<map from="pls" to="audio/x-scpls"/>
<map from="flv" to="video/x-flv"/>
<map from="mkv" to="video/x-matroska"/>
<map from="mka" to="audio/x-matroska"/>
<!-- Uncomment the line below for PS3 divx support -->
<!-- <map from="avi" to="video/divx"/> -->
<!-- Uncomment the line below for D-Link DSM / ZyXEL DMA-1000 -->
<!-- <map from="avi" to="video/avi"/> -->
</extension-mimetype>
<mimetype-upnpclass>
<map from="audio/*" to="object.item.audioItem.musicTrack"/>
<map from="video/*" to="object.item.videoItem"/>
<map from="image/*" to="object.item.imageItem"/>
<map from="application/ogg" to="object.item.audioItem.musicTrack"/>
</mimetype-upnpclass>
<mimetype-contenttype>
<treat mimetype="audio/mpeg" as="mp3"/>
<treat mimetype="application/ogg" as="ogg"/>
<treat mimetype="audio/x-flac" as="flac"/>
<treat mimetype="image/jpeg" as="jpg"/>
<treat mimetype="audio/x-mpegurl" as="playlist"/>
<treat mimetype="audio/x-scpls" as="playlist"/>
<treat mimetype="audio/x-wav" as="pcm"/>
<treat mimetype="audio/L16" as="pcm"/>
<treat mimetype="video/x-msvideo" as="avi"/>
<treat mimetype="video/mp4" as="mp4"/>
<treat mimetype="audio/mp4" as="mp4"/>
<treat mimetype="application/x-iso9660" as="dvd"/>
<treat mimetype="application/x-iso9660-image" as="dvd"/>
<treat mimetype="video/x-matroska" as="mkv"/>
<treat mimetype="audio/x-matroska" as="mka"/>
</mimetype-contenttype>
</mappings>
<online-content>
<!-- Make sure to setup a transcoding profile for flv -->
<YouTube enabled="no" refresh="28800" update-at-start="no" purge-after="604800" racy-content="exclude" format="flv" hd="no">
<favorites user="mediatomb"/>
<standardfeed feed="most_viewed" time-range="today"/>
<playlists user="mediatomb"/>
<uploads user="mediatomb"/>
<standardfeed feed="recently_featured" time-range="today"/>
</YouTube>
<Weborama enabled="no" refresh="28800" update-at-start="no">
<playlist name="Active" type="playlist" mood="active"/>
<playlist name="Metal" type="playlist">
<filter>
<genres>metal</genres>
</filter>
</playlist>
</Weborama>
<AppleTrailers enabled="no" refresh="43200" update-at-start="no" resolution="640"/>
</online-content>
</import>
<transcoding enabled="yes">
<mimetype-profile-mappings>
<transcode mimetype="audio/mpeg" using="vlcwav"/>
<transcode mimetype="video/x-flv" using="vlcyoutube"/>
<transcode mimetype="video/mp4" using="transvideo"/>
<transcode mimetype="video/x-quicktime" using="transvideo"/>
<transcode mimetype="application/ogg" using="vlcwav"/>
<transcode mimetype="audio/x-ms-wma" using="vlcwav"/>
<transcode mimetype="audio/x-ms-asf" using="vlcwav"/>
<transcode mimetype="audio/x-flac" using="ffmpegwav"/>
<transcode mimetype="audio/x-aac" using="vlcwav"/>
<transcode mimetype="audio/mp4" using="vlcwav"/>
<transcode mimetype="video/x-msvideo" using="transvideo"/>
<transcode mimetype="video/x-ms-wmv" using="transvideo"/>
<transcode mimetype="video/mpeg" using="mpeg2trans"/>
<transcode mimetype="video/x-matroska" using="transvideo"/>
<transcode mimetype="image/jpeg" using="rescalejpeg"/>
</mimetype-profile-mappings>
<profiles>
<profile name="transvideo" enabled="yes" type="external">
<mimetype>video/mpeg</mimetype>
<accept-url>no</accept-url>
<first-resource>yes</first-resource>
<agent command="ffmpegvideo" arguments="%in %out 8300k 256k"/>
<buffer size="57600000" chunk-size="128000" fill-size="10000000"/>
</profile>
<profile name="mpeg2trans" enabled="yes" type="external">
<mimetype>video/mpeg</mimetype>
<accept-url>no</accept-url>
<first-resource>yes</first-resource>
<hide-original-resource>yes</hide-original-resource>
<agent command="ffmpegvideo" arguments="%in %out 8000k 256k"/>
<buffer size="28800000" chunk-size="512000" fill-size="120000"/>
</profile>
<profile name="ffmpegwav" enabled="yes" type="external">
<use-chunked-encoding>no</use-chunked-encoding>
<mimetype>audio/wav</mimetype>
<accept-url>no</accept-url>
<first-resource>yes</first-resource>
<agent command="ffmpegaudio" arguments="%in %out"/>
<buffer size="1048576" chunk-size="131072" fill-size="262144"/>
</profile>
<profile name="vlcwav" enabled="yes" type="external">
<use-chunked-encoding>no</use-chunked-encoding>
<mimetype>audio/wav</mimetype>
<accept-url>yes</accept-url>
<first-resource>yes</first-resource>
<agent command="vlc" arguments="-I dummy %in
--sout #transcode{acodec=s16l,ab=192,channels=2}:standard{access=file,mux=wav,dst=%out} vlc:quit"/>
<buffer size="512000" chunk-size="32000" fill-size="64000"/>
</profile>
<profile name="rescalejpeg" enabled="yes" type="external">
<mimetype>image/jpeg</mimetype>
<accept-url>no</accept-url>
<first-resource>yes</first-resource>
<accept-ogg-theora>no</accept-ogg-theora>
<agent command="convert" arguments="-size 1080x720 %in -auto-orient -resize 112.5%x100% +profile '*' %out"/>
<buffer size="50000" chunk-size="100" fill-size="100"/>
</profile>
<profile name="ffyoutube" enabled="no" type="external">
<mimetype>video/mpeg</mimetype>
<accept-url>no</accept-url>
<first-resource>yes</first-resource>
<accept-ogg-theora>yes</accept-ogg-theora>
<agent command="ffmpegyoutube" arguments="%in %out"/>
<buffer size="14400000" chunk-size="256000" fill-size="80000"/>
</profile>
<profile name="vlcyoutube" enabled="yes" type="external">
<mimetype>video/mpeg</mimetype>
<accept-url>yes</accept-url>
<first-resource>yes</first-resource>
<accept-ogg-theora>yes</accept-ogg-theora>
<agent command="vlc" arguments="-I dummy %in --sout #transcode{vcodec=mp2v,vb=4096,canvas-width=448,canvas-height=252,acodec=mpga,ab=64,samplerate=44100,channels=1}:standard{access=file, mux=ts,dst=%out} vlc:quit"/>
<buffer size="14400000" chunk-size="256000" fill-size="80000"/>
</profile>
</profiles>
</transcoding>
</config>

#630 OFFLINE   drpepper733

drpepper733

    New Member

  • Registered
  • 1 posts
Joined: Dec 17, 2010

Posted 17 December 2010 - 04:50 PM

I feel like I've done a thorough sweep of this thread and didn't really see a direct answer to my issue.

MediaTomb shows up on my HR-22, but shows Xs next to many file types. Mkv filetypes show up as playable, but when I try to play them, it acts like it's going to (gives me the "Please Wait" dialogue) and then stops.

I get the following in the terminal afterward:

2010-12-17 17:41:44 INFO: Arguments: %in %out 8300k 256k
/usr/bin/ffmpegvideo: line 16: /usr/local/bin/mediainfo: No such file or directory
/usr/bin/ffmpegvideo: line 17: /usr/local/bin/mediainfo: No such file or directory
(standard_in) 1: syntax error

/usr/bin/ffmpegvideo: line 27: [: : integer expression expected

/usr/bin/ffmpegvideo: line 49: exec: ffmpeg: not found


It looks like i'm having issues with mediainfo and ffmpeg. I know I don't have mediainfo installed. I've tried using the blogspot-hosted tutorial that someone posted (http: / /juliensimon.blogspot . com/2009/01/howto-compiling-mediainfo-cli-gui-on . html), but I got an error at the last step "sudo make install." Is there another way for me to install it?

As for as the ffmpeg issues go, I'm totally lost.

Surely somebody else has had this issue. Anybody have a solid solution on it?

#631 OFFLINE   MyCatsNameIsBernie

MyCatsNameIsBernie

    Cool Member

  • Registered
  • 14 posts
Joined: Dec 31, 2008

Posted 13 April 2011 - 10:43 AM

I finally admitted defeat and made the switch from PC to Mac. I have been a happy user of MT on a separate Linux system for the past 2 years, so I decided to give it try on my Mac. The mediatomb website recommends the Mac port in Fink, but that version is still 0.11. So I gave the 0.12 port in MacPorts a try. I am using OS X 10.6.7 (Snow Leopard).

Mediatomb built successfully on my Mac on the first try, and it works great with my HR-22. MacPorts also has ports of ffmpeg, imagemagick, dcraw, and vlc/cvlc needed for transcoding.

The only Linux feature I found not supported on the Mac was inotify, but I can live with timed directory scans.

#632 OFFLINE   skuse

skuse

    New Member

  • Registered
  • 3 posts
Joined: Aug 19, 2008

Posted 07 October 2013 - 09:18 PM

Hi all,

 

Reopening up an old thread... I have a Linux (CentSO 6.4) server running mediatomb... I'm trying to stream to my HR24 DVR.  I set things up like suggested on various blogs/forums but not having much luck.  The odd thing is that it seems to work fine with my non-DVR version receiver (H24???)!?!?!?  I've tweaked a lot of different parameters (bitrates,etc.) but no joy.

 

I get two error messages... the first is that it cant play the audio... in then select the option to still play the video but it then indicates that the bitrate is too high...

 

Anyone else ever hear of anything like this?  Also, seems like there was a lot of interest in this a few years ago but now seems completely dead.. what is everyone else using?

 

thanks



#633 OFFLINE   KyL416

KyL416

    Hall Of Fame

  • Registered
  • 1,877 posts
  • LocationTobyhanna, PA
Joined: Nov 10, 2005

Posted 07 October 2013 - 09:35 PM

The key is to make sure you use a constant bitrate, I was able to get 10mbps working.

As for audio, what are you using to transcode the video in the config file?

VLC's developers screwed up a while back and removed the option to specify mpeg2 audio with VLC 2.0, it was brought back in a more recent version but your distribution might not have the newer version in their repository.

With ffmpeg/avconv you need to specify -acodec mp2 in the arguments.

This is what I have:

agent command="ffmpeg" arguments="-i %in -b:v 6144k -maxrate 6144k -minrate 6144k -bufsize 4473k -bt 380k -threads 2 -ar 48000 -ab 192k -acodec mp2 -f dvd -y %out"

#634 OFFLINE   skuse

skuse

    New Member

  • Registered
  • 3 posts
Joined: Aug 19, 2008

Posted 08 October 2013 - 07:20 AM

Thanks for the quick reply... From the looks of it you are using a different config.xml that I am.  I'm using the one like a few posts above [http://mediatomb.cc/...r2x_transcoding].  Either way, I took your ffmeg settings and hardcoded them in my launch script but no luck... same issue.

 

Are you using a HR24?  Like I mentioned, my settings work fine with my non-DVR based directv set top box (I think its an H24).



#635 OFFLINE   GregLee

GregLee

    Hall Of Fame

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

Posted 08 October 2013 - 02:57 PM

Anyone else ever hear of anything like this?  Also, seems like there was a lot of interest in this a few years ago but now seems completely dead.. what is everyone else using?

Yes, I have heard of that.  These bitrate-is-too-high messages are why, years ago now, I gave up on Mediashare.  I found I could get it working again by lowering the bitrate sent by Mediatomb, logically enough, but then of course the picture got worse.  As you, I also had problems with the sound, which seemed the same bitrate problem, except with less clear error messages.

 

I like a nice picture with nice sound.  After lowering the bitrates several times for both the video and the sound, I found the degraded quality displeasing, and so I lost interest.  I suppose the D* programmers had their reasons for lowering the Mediashare quality, but it just wasn't good enough, any more.  I gave up.


Greg

#636 OFFLINE   KyL416

KyL416

    Hall Of Fame

  • Registered
  • 1,877 posts
  • LocationTobyhanna, PA
Joined: Nov 10, 2005

Posted 08 October 2013 - 05:56 PM

Are you using a HR24?  Like I mentioned, my settings work fine with my non-DVR based directv set top box (I think its an H24).

HR24, there are other settings that I have different though. These are the values that I have in the profile for where it says buffer:
buffer size="157600000" chunk-size="512000" fill-size="120000"

I forget what exactly they mean since I haven't messed with the settings in over a year.

As for the bitrate message, it turns out it wasn't the high bitrate that killed it, it's the swings that come with vbr encoding that kills it. i.e. some live web streams where they put up a static image during commercial breaks, even if the the setting was as low as 3mbps (which is fine for a 640x360 webstream), it would either throw an error message while the static image was on the screen thinking the stream stopped since the bitrate is very low after the static image is displayed, or throw the high bitrate error shortly after the video resumed. With CBR I was able to get as high as 10 mbps but that took too much cpu and memory resources (and oddly enough my blu-ray player didn't like a bitrate that high at all, it gave up at 8mbps) so I lowered mine to 6mbps for realtime transcoding and re-encoded 1080p content to mpeg2 in advanced.

#637 OFFLINE   skuse

skuse

    New Member

  • Registered
  • 3 posts
Joined: Aug 19, 2008

Posted 10 October 2013 - 06:23 AM

Thanks for the replies guys but none of them seemed to help... anyone else have any suggestions?






spam firewall