Help get this topic noticed by sharing it on Twitter, Facebook, or email.

AVI playback stutter/nonsync using Twonky but not with other UPNP server

Hi. I installed Twonky 7.0.7 on my Ubuntu 9.10 headless server a week or so back. Twonky seemed to be the best option of UPNP servers I have tried but I am having one problem with streaming AVI files. When playing back AVI files from Twonky to my media player (Himedia 600a) the sound is out of sync (advanced). When playing other AVI files I sometimes get audio stutter. All other files play fine such as MKV, MKV HD, Mpeg etc. This happens using both BubbleUPnP as a control point on my Droid devices and also using the UPNP service on the Himedia player. If I play the AVI file direct on the media player using Samba share or NFS it plays fine. So the media player can play the AVI files fine by direct access.

I tried a temporary install of Mediatomb and this streams the AVI files via UPNP fine using my control points. So UPNP streaming to the media player can work ok. I checked the media player file info and it shows "AC3 48Khz" for both the Twonky and Mediatomb streamed version. Although I don't know if this a true representation of what is in the stream.

I then upgraded Twonky to latest 7.0.9 but same result.

For your info the AVI files has the specs I have listed at the end of this post.

So I am wondering how to fix the problem with Twonky. I can't see any sort of transcoding going on in the ini file and I don't have FFMPEG loaded into the server.

I hope there is enough information here...sorry if there is too much :)

Many thanks for a generally great product with Twonky.

Cheers
Andy

*******
Format : AVI
Format/Info : Audio Video Interleave
File size : 232 MiB
Duration : 24mn 30s
Overall bit rate : 1 321 Kbps
Writing application : VirtualDubMod 1.5.10.2 (build 2540/release)
Writing library : VirtualDubMod build 2540/release

Video
ID : 0
Format : MPEG-4 Visual
Format profile : Advanced Simple@L5
Format settings, BVOP : 2
Format settings, QPel : No
Format settings, GMC : No warppoints
Format settings, Matrix : Default (H.263)
Muxing mode : Packed bitstream
Codec ID : XVID
Codec ID/Hint : XviD
Duration : 24mn 30s
Bit rate : 1 120 Kbps
Width : 512 pixels
Height : 384 pixels
Display aspect ratio : 4:3
Frame rate : 25.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.228
Stream size : 196 MiB (85%)
Writing library : XviD 1.0.3 (UTC 2004-12-20)

Audio
ID : 1
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : 2000
Duration : 24mn 30s
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 33.7 MiB (15%)
Alignment : Split accross interleaves
Interleave, duration : 40 ms (1.00 video frame)
Interleave, preload duration : 500 ms
1 person has
this problem
+1
Reply
next » « previous
  • what client profile is being assigned to the Himedia 600a?
    look under sharing then media recievers from the web gui
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • Hi. Forgot to mention that :)

    Himedia 600a - "Generic Media Receiver"

    Droid table that plays AVI ok - "Android"

    Cheers
    Andy
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • I suspect that trial and error might be needed to figure out which other client profile can be used other than the generic client profile

    or a custom one is going to have to be created for it
    as it most likely needs some sort of special setting to allow twonky to stream to it correctly

    one possible way to see what is going on,
    is if your up to it, is to look at "those other media servers"
    and see what they are doing in there client profiles for the device
    which could help you tweak a twonky client profile
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • Thanks Philbertorn. Any idea what I could start trying in the "Generic_Media_Receiver.xml" file to get it working.

    Cheers
    Andy
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • Can I change the profile via selecting another profile via the web GUI under "Media Receiver Type". Does this take effect immediatly or do I need to restart Twonky and or the media player.

    Cheers
    Andy
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • you could try this for a starting point


    <Client>
    <DeviceId>
    <DisplayName>Generic Media Receiver</DisplayName>
    <HttpRecognition>
    <HttpText>DLNADOC/1.50</HttpText>
    </HttpRecognition>
    <MappingUpdatePolicy>AUTO</MappingUpdatePolicy>
    </DeviceId>
    <Adaptations>
    <DLNA>
    <Version>DLNA15</Version>
    </DLNA>
    <MimeTranslations>
    <MimeTypeMapping>
    <In>video/x-msvideo</In>
    <Out>video/avi</Out>
    </MimeTypeMapping>
    <MimeTypeMapping>
    <In>video/divx</In>
    <Out>video/avi</Out>
    </MimeTypeMapping>
    </MimeTranslations>
    </Adaptations>
    </Client>


    I added the following, as it might be a mimetype problem
    which a lot of clients seem to need


    <MimeTranslations>
    <MimeTypeMapping>
    <In>video/x-msvideo</In>
    <Out>video/avi</Out>
    </MimeTypeMapping>
    <MimeTypeMapping>
    <In>video/divx</In>
    <Out>video/avi</Out>
    </MimeTypeMapping>
    </MimeTranslations>
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • Thanks. Sorry but don't want to stuff up the current profile. What part of the profile should I add this to. My current generic xml profile is the default:

    Client>
    DeviceId>
    DisplayName>Generic Media Receiver
    HttpRecognition>
    HttpText>DLNADOC/1.50
    /HttpRecognition>
    MappingUpdatePolicy>AUTO
    /DeviceId>
    Adaptations>
    DLNA>
    Version>DLNA15
    /DLNA>
    /Adaptations>
    /Client>"

    Cheers
    Andy
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • once you figure out what to do,
    if you dont have any other clients using the generic
    it would be best to create a custom profile for the device
    and manually assign it, but doing the above to find out what to do is fine
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • dont forget to restart the server, as it wont take effect until you do
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • I took a look at the other forum
    didnt find much, except for one post about subtitles

    http://www.twonkyforum.com/viewtopic....

    im looking at the manual for any clues

    I think that there are two options at present

    1. tiral and error with other client profiles
    2. see if twonky support can find a suitable solution

    tommorow is mon, so they will be back in the office
    hopefull you'll see them chime in here on this thread
    or you could also shoot them an email

    Ask Us a Question
    Send a question directly to our Twonky team
    http://twonky.com/support/index.aspx#

    .
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • Curious, if you on a windows 7 pc
    looking at the manual, they show an example
    of using windows media sharing to stream to the client

    I wonder if using the Windows Media player or Windows 7 client profiles
    would help in any way
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • Thanks for the W7 idea. I tried using WMP to stream to the HD600a but same sync issue. If I play in WMP the sync is fine.

    I will see if Twonky support jump in and will also write a support ticket.

    Thanks for your help, especially on Sunday :)

    Cheers
    Andy
    Auckland NZ
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • Your most welcome
    I just wish we could have found you a working solution
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • Hi guys

    Hoping some of the twonky support guys can jump in here. I didn't want to double up by emailing support as well

    Cheers
    Andy
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • Just thought of something

    silly question, but Is the firmware current?

    this is what I noticed when look at the details of the most recent firmware


    1.0.7.28

    Bug Fix
    1) Fix the random issue:some network video playback have not smooth


    http://www.himedia-tech.cn/en/service...#

    1.0.7.28 (2012-07-20)

    http://v.himedia-tech.cn/himedia/hd60...

    New features:
    1) support the new video zoom mode. (can be zoomed in any ratio on X/Y )
    2) Record the second subtitle setting in the bookmark
    3) make sure the hard disk was safely uninstall during the safe shutdown mode,
    4) The music player supports repeat mode .

    Bug Fix
    1) Fix the random issue:some network video playback have not smooth .
    2) Fix the random issue:there may be white or green screen issue on 3D movie playback
    3) Fix the random issue: the focus is lost on HOME page.
    5) Enhance the SEEK function.
    6) Fix the subtitle lost issue if there is output switch.
    7) Fix the DLNA name and random crash issue.
    8) Fix YOUTUBE issue..

    Safe Mode Upgrade

    1)Rename the downloaded firmware to install.img;
    2)Copy the “install.img” to the root directory of USB disk. Insert the USB disk into the media player;
    3)Press and hold “UPGRADE” button in the little hole on the back panel of the media player;
    4)Power on the media player (Don’t release the “UPGRADE” button until the “UPGRADING START PAGE” appears);
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • Thanks for the idea. I did an upgrade to 1.0.7.28 last week and it didn't help with the AVI sync/stutter issue. Also as Mediatomb streams AVI's without the problem it seems to be an issue between Twonky and the 600a and profile.

    I found a program called "UPnP Tester" which gives me a lot of details about the UPNP server feed. Not sure if it would help as it a Twonky/HD600a issue. Might try relaoding mediatomb and seeing what difference in info I get using the Tester.

    Thanks gain for your help and interest philbertron.

    Cheers
    Andy
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • Thats a shame that it didnt help

    I agree its something we need to add to a twonky profile

    If you do load mediatomb again
    make a copy of the config.xml
    I was looking on the mediatomb site
    and noticed a lot of mapping tweaks for different media types
    It would be interesting to see what the default config.xml
    looks like, it might give us a clue as possibly where to start
    but then again it might not

    I love a good problem, its like a good book or a good movie,
    you know the ones that make you think
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • Thanks philbertron. Yes nothing like solving a problem...a chance to learn something new :)

    Here is the mediatomb config file:


    <?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">
    <server>
    <ui enabled="yes">
    <accounts enabled="no" session-timeout="30">
    <account user="mediatomb" password="mediatomb"/>
    </accounts>
    </ui>
    <name>MediaTomb</name>
    <udn>uuid:b6a8aa79-a2f6-4774-ae4c-db551aad184b</udn>
    <home>/root/.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>
    -->
    </server>
    <import hidden-files="no">
    <scripting script-charset="UTF-8">
    <common-script>/usr/share/mediatomb/js/common.js</common-script>
    <playlist-script>/usr/share/mediatomb/js/playlists.js</playlist-script>
    <virtual-layout type="builtin">
    <import-script>/usr/share/mediatomb/js/import.js</import-script>
    </virtual-layout>
    </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"/>
    <!-- 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"/>
    </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"/>
    </mimetype-contenttype>
    </mappings>
    </import>
    <transcoding enabled="no">
    <mimetype-profile-mappings>
    <transcode mimetype="video/x-flv" using="vlcmpeg"/>
    <transcode mimetype="application/ogg" using="vlcmpeg"/>
    <transcode mimetype="application/ogg" using="oggflac2raw"/>
    <transcode mimetype="audio/x-flac" using="oggflac2raw"/>
    </mimetype-profile-mappings>
    <profiles>
    <profile name="oggflac2raw" enabled="no" type="external">
    <mimetype>audio/L16</mimetype>
    <accept-url>no</accept-url>
    <first-resource>yes</first-resource>
    <accept-ogg-theora>no</accept-ogg-theora>
    <agent command="ogg123" arguments="-d raw -f %out %in"/>
    <buffer size="1048576" chunk-size="131072" fill-size="262144"/>
    </profile>
    <profile name="vlcmpeg" enabled="no" 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{venc=ffmpeg,vcodec=mp2v,vb=4096,fps=25,aenc=ffmpeg,acodec=mpga,ab=192,samplerate=44100,channels=2}:standard{access=file,mux=ps,dst=%out} vlc:quit"/>
    <buffer size="14400000" chunk-size="512000" fill-size="120000"/>
    </profile>
    </profiles>
    </transcoding>
    </config>


    Cheers
    Andy
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • Thanks for posting the config

    So from looking at that section < mappings >

    and in the sub-section < extension-mimetype ignore-unknown="no" >

    these are commented out,
    so we know we probably dont need to deal with it in twonky


    <!-- <map from="avi" to="video/divx"/> -->
    <!-- <map from="avi" to="video/avi"/> -->


    and in the sub-section < mimetype-contenttype >

    We did add that in one of the test
    Qucik question, what codecs are being used in your avi's?


    <treat mimetype="video/x-msvideo" as="avi"/>


    Back at the beginning
    This line is of interest, as there is something similiarly done for twonky clients


    <protocolInfo extend="no"/><!-- For PS3 support change to "yes" -->


    This one is kind of funny, we are in the opposite scenario with twonky
    but like the above, it is a little telling, possibly


    <!--
    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>
    -->


    So based on looking at what the config looks like
    and what I think I know about twonky =)
    I think we could try adding the following, to see if it helps
    a similiar tactic is used on some of the other client profiles


    <ExtraProtocolInfo>http-get:*:video/avi:*</ExtraProtocolInfo>


    Here it is added in


    <Client>
    <DeviceId>
    <DisplayName>Generic Media Receiver</DisplayName>
    <HttpRecognition>
    <HttpText>DLNADOC/1.50</HttpText>
    </HttpRecognition>
    <MappingUpdatePolicy>AUTO</MappingUpdatePolicy>
    </DeviceId>
    <Adaptations>
    <DLNA>
    <Version>DLNA15</Version>
    </DLNA>
    <MimeTranslations>
    <MimeTypeMapping>
    <In>video/x-msvideo</In>
    <Out>video/avi</Out>
    </MimeTypeMapping>
    <MimeTypeMapping>
    <In>video/divx</In>
    <Out>video/avi</Out>
    </MimeTypeMapping>
    </MimeTranslations>
    <ExtraProtocolInfo>http-get:*:video/avi:*</ExtraProtocolInfo>
    </Adaptations>
    </Client>


    Another possibility is to add a profile mapping


    <ProfileTranslations>
    <ProfileMapping>
    <In>AVI</In>
    <Out>*</Out>
    </ProfileMapping>
    </ProfileTranslations>


    Here it is added in


    <Client>
    <DeviceId>
    <DisplayName>Generic Media Receiver</DisplayName>
    <HttpRecognition>
    <HttpText>DLNADOC/1.50</HttpText>
    </HttpRecognition>
    <MappingUpdatePolicy>AUTO</MappingUpdatePolicy>
    </DeviceId>
    <Adaptations>
    <DLNA>
    <Version>DLNA15</Version>
    </DLNA>
    <MimeTranslations>
    <MimeTypeMapping>
    <In>video/x-msvideo</In>
    <Out>video/avi</Out>
    </MimeTypeMapping>
    <MimeTypeMapping>
    <In>video/divx</In>
    <Out>video/avi</Out>
    </MimeTypeMapping>
    </MimeTranslations>

    <ProfileTranslations>
    < ProfileMapping>
    <In>AVI</In>
    <Out>*</Out>
    </ProfileMapping>
    </ProfileTranslations>

    <ExtraProtocolInfo>http-get:*:video/avi:*</ExtraProtocolInfo>
    </Adaptations>
    </Client>


    There is also the possibility that some sort of < Quirck >
    setting is needed, still need to look them over
    to find one that would be worth using
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • this forum posting of special characters is pissing me off
    trying to edit the post so that it show correctly, sorry
    brb
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • Aight, I got the last example showing
    Note there is a space added in between < and P
    in the first < ProfileMapping> entry
    for whatever reason I could not get the pre and code
    to post it correctly, without adding a space to it, go figure...
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • Thanks but no joy I'm afraid. I tried an Ubuntu reboot as well which restarted Mediatomb without twonky running (twonky is not set to start on boot yet). Mediatomb played fine.

    I terminated mediatomb pasted your last profile in the general profile and restarted twonky but same problem.

    Cheers
    Andy
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • Aight, well, if I come up with anyother thoughts, I will pass them along
    I'll take a look at the quirks that I know of, and see if one might be applicable
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • Thanks Phiberton

    Shall I write to Twonky support as well as they haven't joined in this thread so far.

    Cheers
    Andy
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • I would send them an email

    In the meantime,
    based on reverse thinking from the mediatomb config.xml
    I saw ththe following


    <!--
    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>
    -->



    yes, you dont have that, but twonky does have something similiar
    fot the dlink dsm client profiles, where they added the ressonic setting
    I would try those to see if it helps

    D-Link DSM320
    D-Link DSM520

    dont worry we still have some tricks left in the bag =)
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • if the problem is a mimetype issue
    then the following is a real shot in the dark


    <MimeTypeMapping>
    <In>video/avi</In>
    <Out>video/x-ms-avi</Out>
    </MimeTypeMapping>
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • Thanks, tried the last mime mapping but no joy. I think you asked what the codec was on the file. It is XVID video and AC3 audio with the following info from Mediainfo:

    Format : AC-3
    Format/Info : Audio Coding 3
    Mode extension : CM (complete main)
    Format settings, Endianness : Big
    Codec ID : 2000
    Duration : 24mn 30s
    Bit rate mode : Constant
    Bit rate : 192 Kbps
    Channel(s) : 2 channels
    Channel positions : Front: L R
    Sampling rate : 48.0 KHz
    Bit depth : 16 bits

    In case it helps the audio starts straight away with the video lagging by approx 10-12 frames.

    Cheers
    Andy
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • Curious

    If you go to the web interface for twonky
    and browse to the video and look at the link what does it show?
    Im trying to see what twonky is doing for mime type classification
    as its an xvid and not a divx, not sure what it is going to do

    for example hers is a link I get for an mp4 with avc video and aac audio
    that is being presented with the dlna profile for the item


    http://homeserver:9000/disk/DLNA-PNAVC_MP4_BL_L31_HD_AAC-OP01-FLAGS01700000/O0$27I40719.mp4
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • Here is the link:

    http://192.168.1.3:9000/disk/DLNA-PNAVI-OP01-FLAGS01700000/O0$3$27I472077.avi
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • ok, its getting seen as an avi, which is good
    as I was afraid it was going to look something like this


    http://homeserver:9000/disk/NON-DLNA/O0$27I40975.mp4


    the non-dlna assingment twonky does is something that erks me to death!
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • fyi

    In 6.x there is the clients.db
    there is a list of what are now called quirks in 7.x
    a partial list of them is listed at the bottom
    of the file in the /devicedb/00readme.txt

    those quirks are the possibly what we might have to look at next
    until twonky can step in and set us both straight
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • OK. Looks like serious stuff. I will copy twonky support on this thread to see if they can join in.

    Thanks again for your great help so far.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • I got a reply from Twonky support with a couple of ideas. They asked if I had a virus protection which I don't on the Ubuntu server and to try Twonky manager on Windows which I did with the same sync problem.

    I did some more investigation today. I loaded mediatomb and used my Droid Bubbleupnp control point as per normal. The avi's played fine, as before, but I couldn't stream MKV with mediatomb, the file played for 1 second then stopped, this happened before as well.

    Then I tried using the UPNP source direct on the HD600a media player so the control point was on the media player rather than external BubbleUPNP. Interesting that the AVI file from Mediatomb now plays out of sync as per Twonky but the MKV's play fine.

    So the problem seems to be in the way the UPNP control point (be it local or on an external device) is communicating with both the server and the player. I don't know much about this side of UPNP but any ideas anyone?

    Cheers
    Andy
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • This is gonna be a shot in the dark again =)

    But I wonder, if this would have any effect on the problem
    by trying the different dlna versions, or none


    <Adaptations>
    <DLNA>
    <Version>DLNA15</Version>
    </DLNA>
    </Adaptations>



    <Adaptations>
    <DLNA>
    <Version>DLNA10</Version>
    </DLNA>
    </Adaptations>



    <Adaptations>
    <DLNA>
    <Version>DLNANO</Version>
    </DLNA>
    </Adaptations>
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • Here is another shot in the dark =(


    <Adaptations>
    <HTTP>
    <HttpSetting>chunked</HttpSetting>
    </HTTP>
    </Adaptations>



    <Adaptations>
    <HTTP>
    <HttpSetting>chunked</HttpSetting>
    <HttpSetting>1.0PROXYRESPONSE</HttpSetting>
    </HTTP>
    </Adaptations>



    <Adaptations>
    <HTTP>
    <HttpSetting>1.0RESPONSE</HttpSetting>
    </HTTP>
    </Adaptations>



    <Adaptations>
    <HTTP>
    <HttpSetting>LIVEWITHLENGTH</HttpSetting>
    </HTTP>
    </Adaptations>
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • Sorry but missed your post. I will try this and report back.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • Thanks again for your help and we have progress !!!

    Both: <HttpSetting>chunked</HttpSetting>
    & <HttpSetting>chunked</HttpSetting>
    <HttpSetting>1.0PROXYRESPONSE</HttpSetting>

    worked for the AVI, they play in sync and the same for mpg, FLV, mp4 etc. Only problem is MKV files do not play and lock the media player for 30 seconds with the control point saying no response. After that I can play the AVI's etc ok but another MKV causes a lockup. I tried the last two other HTTP settings you suggested but they didn't help the AVI sync although the MKV's played fine.

    So the chunked command works for AVI's etc but jsut not MKV. Is there a way to disable what chunked does for MKV's? What is chunked?

    Cheers
    Andy

    PS I seem to remember that Mediatomb didn't play MKV's either so maybe Mediatomb was "chunking" although I couldn't see anything in the config file that explicitly mentioned it.

    PPS Yes just confirmed that Mediatomb does not play MKV's either although it does not lock the media player. It shows that the file is starting to play then goes to stop. Looks like chunking could be the solution it but how to make it work with MKV's?
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • looks like progress

    So, If we havent already, I think we should create a profile or two
    that are for your client specifically
    My fear is that if you need the generic for any other client on your network
    well create more chaos

    1.
    make the following fix to the "resources\webconfig\config.js" for data.pop
    scroll down to where I say this near the end

    I took a look at the and config.js
    the culprit appears to be in the updateMediaReceivers funtion


    http://community.twonky.com/twonky/to...

    2.
    lets revert the default back client back to original

    Here is what the default deafult looks like, for reference

    /resources/devicedb/ Generic_Media_Receiver.xml


    <Client>
    <DeviceId>
    <DisplayName>Generic Media Receiver</DisplayName>
    <HttpRecognition>
    <HttpText>DLNADOC/1.50</HttpText>
    </HttpRecognition>
    <MappingUpdatePolicy>AUTO</MappingUpdatePolicy>
    </DeviceId>
    <Adaptations>
    <DLNA>
    <Version>DLNA15</Version>
    </DLNA>
    </Adaptations>
    </Client>


    3.
    create the following client profile

    /resources/devicedb/ HiMedia_600A_1.xml


    <Client>
    <DeviceId>
    <DisplayName>HiMedia 600A 1</DisplayName>
    <MappingUpdatePolicy>FIX</MappingUpdatePolicy>
    </DeviceId>
    <Adaptations>
    <DLNA>
    <Version>DLNANO</Version>
    </DLNA>
    <HTTP>
    <HttpSetting>chunked</HttpSetting>
    </HTTP>
    </Adaptations>
    </Client>


    4.
    create the following client profile

    /resources/devicedb/ HiMedia_600A_2.xml


    <Client>
    <DeviceId>
    <DisplayName>HiMedia 600A 2</DisplayName>
    <MappingUpdatePolicy>FIX</MappingUpdatePolicy>
    </DeviceId>
    <Adaptations>
    <DLNA>
    <Version>DLNANO</Version>
    </DLNA>
    <HTTP>
    <HttpSetting>1.0RESPONSE</HttpSetting>
    </HTTP>
    </Adaptations>
    </Client>


    5.
    create the following client profile

    /resources/devicedb/ HiMedia_600A_3.xml


    <Client>
    <DeviceId>
    <DisplayName>HiMedia 600A 3</DisplayName>
    <MappingUpdatePolicy>FIX</MappingUpdatePolicy>
    </DeviceId>
    <Adaptations>
    <DLNA>
    <PretendServer>REDSONIC</PretendServer>
    <Version>DLNANO</Version>
    <DescriptionFile>devicedescription-redsonic.xml</DescriptionFile>
    </DLNA>
    <HTTP>
    <HttpSetting>1.0RESPONSE</HttpSetting>
    </HTTP>
    </Adaptations>
    </Client>


    6.
    after makeing and saveing the above changes
    restart the server
    then from the sharing section under media receviers
    you will be able to assign the himedia one of the three himedia profiles

    which, if either work or dont work
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • Base on what or doesnt work, here is another choice

    /resources/devicedb/ HiMedia_600A_4.xml


    <Client>
    <DeviceId>
    <DisplayName>HiMedia 600A 4</DisplayName>
    <MappingUpdatePolicy>FIX</MappingUpdatePolicy>
    </DeviceId>
    <Adaptations>
    <DLNA>
    <Version>DLNA10</Version>
    </DLNA>
    <HTTP>
    <HttpSetting>chunked</HttpSetting>
    <HttpSetting>1.0PROXYRESPONSE</HttpSetting>
    </HTTP>
    </Adaptations>
    </Client>
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • Ok. Changed the js and setup the 3 configs. Restarted server and tried each config.

    1 - AVI play fine but not MKV.
    2 & 3 - AVI sync out but MKV play fine.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • just added #4
    youll have to create it and restart for it to be seen
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • I think were closer, hopefully a mimetype helps the mkv
    its that or some < quirk>

    you can just edit #4 , but you have to restart to take effect


    <Client>
    <DeviceId>
    <DisplayName>HiMedia 600A 4</DisplayName>
    <MappingUpdatePolicy>FIX</MappingUpdatePolicy>
    </DeviceId>
    <Adaptations>
    <DLNA>
    <Version>DLNA10</Version>
    </DLNA>
    <HTTP>
    <HttpSetting>chunked</HttpSetting>
    <HttpSetting>1.0PROXYRESPONSE</HttpSetting>
    </HTTP>
    <MimeTranslations>
    <MimeTypeMapping>
    <In>video/x-matroska</In>
    <Out>video/x-mkv</Out>
    </MimeTypeMapping>
    </MimeTranslations>
    </Adaptations>
    </Client>


    Or


    <MimeTypeMapping>
    <In>video/x-matroska</In>
    <Out>video/mpeg</Out>
    </MimeTypeMapping>
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • This reply was removed on 2012-09-18.
    see the change log
  • Same result I am afraid. both last 2 versions play AVI sync fine but lock on playing MKV.

    Standby, our posts crossed over, will try he lat suggestion.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • Here is one more thought

    this is the one that suttered on avi, but ok for mkv
    but this one has mappings for avi


    <Client>
    <DeviceId>
    <DisplayName>HiMedia 600A 4</DisplayName>
    <MappingUpdatePolicy>FIX</MappingUpdatePolicy>
    </DeviceId>
    <Adaptations>
    <DLNA>
    <Version>DLNA15</Version>
    </DLNA>
    <HTTP>
    <HttpSetting>chunked</HttpSetting>
    </HTTP>
    <MimeTranslations>
    <MimeTypeMapping>
    <In>video/x-msvideo</In>
    <Out>video/avi</Out>
    </MimeTypeMapping>
    <MimeTypeMapping>
    <In>video/divx</In>
    <Out>video/avi</Out>
    </MimeTypeMapping>
    </MimeTranslations>
    </Adaptations>
    </Client>
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated happy, confident, thankful, excited

next » « previous