On 28 January 2014 15:09, Tim Ansell <
mit...@mithis.com> wrote:
> On 28 January 2014 17:21, Andrew Cooks <
aco...@gmail.com> wrote:
>>
>> The info on the blog is really great! It seems they've opted for zero
>> configuration in the IP code, which makes things much simpler in the
>> device.
>
> "zero configuration" in the automagically config system, or "zero
> configuration" as in NO configuration (this one I think).
Yeah, I can see that wasn't very clear. I meant that the user cannot
change anything, but I don't know if it's using hard-coded IP
addresses or apipa or whatnot.
> BTW, I just saw "Thank you Chinese engineers! Because of wrong length in IP
> header (1044) I have to listen on raw socket!"
Yes, that sucks, but we can work around that in software ;-)
>>
>> I wonder if it's
>> the HDMI output that's low-res (even though the datasheet says it
>> supports 1080p@30Hz [1]) or if they're mangling the images in the
>> processor due to some limitation (I couldn't find a datasheet for it).
>
>
> It's probably a bandwidth issue, see below.
>
>> But why output 1080p@18Hz? Why not 720p at input rate?
>>
>> 1.
>>
http://en.honestar.com/product/datasheet/ITE/IT6604%20Datasheet%20v0%207%20.pdf
>
>
> Bandwidth is a *huge* issue for HDMI on CAT5.
>
> 1080p -- 1920×1080@24 fps -- 1920*1080*24*12/1e6 ~= 597 Mbit/sec -- MJPEG is
> going to compress to ~20% of that, or ~119.4 Mbit/sec.
>
https://github.com/timvideos/HDMI2USB/wiki/Resolutions
>
> It's unclear what speed the Ethernet interface on this device is. If it is a
> 100Mbits then the "Transmitter was streaming 1080p@18fps with 90Mbps
> bitrate." makes a lot of sense.
From the serial port output, I see the device is a taifatech TF-680
that can only do 10/100Mbps on the Ethernet MAC [1]. But it still
doesn't make sense to do anything at 1080 after the input has been
degraded. They're mangling the Ethernet frames such that only their
device (or custom software) can decode the stream, so shoving 1080
MJPEG frames that only contain 720 (or less) worth of resolution down
a pipe that cannot take it is...uh...not smart. If they want to
maintain the illusion of 1080 resolution from end-to-end, then the
decoder should scale it.
720p -- 1280×720@24 fps -- 1280*720*24*12/1e6 ~= 265 Mbps
Or at 30fps, ~330Mbps
MJPEG @ 24 fps: 265 *0.2 = 53 Mbps
MJPEG @ 30 fps: ~66 Mbps
Besides the 100Mbps Ethernet bottleneck, the processor, running at
~160MHz and 32-bit wide, seems like it would struggle to handle 1080
throughput as well. So, I maintain that 720p@24fps would provide a
better user experience than fake 1080@18fps and still fit within the
restrictions of their silicon.
Of course if we're thinking about implementing something similar on
the Atlys board, we have Gbit Ethernet, but I don't know if the
Spartan 6 could handle 1080p@24fps either.
1.
http://www.taifatech.com/files/TF-680_Product_Brief_04.pdf
Regards,
a.