Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Ben Rose

Pages: 1 2 3 ... 27
1
Hi- yes, it's counterintuitive but the file size can increase due to the encoding used within the AVI file. TinyTV uses a very low power microcontroller so the AVI contains a MJPEG video stream and uncompressed audio which is all it can handle. The compression ratio is low compared to H264 that might be in a MP4 file, but that's how we're able to achieve the video playback on a device this size/cost.

Thanks,
Ben

2
TinyTV & Tiny Video Player / Re: Replace Battery with external Power
« on: March 27, 2024, 04:52:57 PM »
Yes, for the TinyTV DIY Kit you can replace the battery with a switched 3-5V supply connected to the JST SH connector. Note that 5V should absolutely not be exceeded on this input! It can damage the battery charging circuit. Less than 5V will not damage the battery charging circuit.

Thanks,
Ben

3
TinyTV & Tiny Video Player / Re: My TinyTV 2 experience thus far:
« on: January 17, 2024, 01:54:57 PM »
Ok- that sounded pretty reproducible, so I tested a few longer movies here and sometimes got the "always starts at the beginning", sometimes not. Started digging and it looks like we have issues properly handling any movie over 1GB! I'm pretty sure only the first 1-2 hours(1GB of the file) are playing back. We haven't heard about this at all! So maybe some large videos pop out of the converter(ffmpeg) differently and are compatible. But that lets me start working on FW changes to hopefully address this.

Thanks,
Ben

4
TinyTV & Tiny Video Player / Re: My TinyTV 2 experience thus far:
« on: January 11, 2024, 05:06:09 PM »
Thanks for all the feedback! Glad you like it overall but sorry about the SD card failure! We'd replace it if you like but sounds like you're past that.

We had one other post about some videos starting at the beginning but that user said 8 hour videos worked, but 10h+ did not, so I didn't put it too high up our list- if you have a shorter video that doesn't, any way you could send that our way? I'll test it here and see if I can reproduce the issue. We should be able to get it fixed up.

5
What I think you're seeing is the 'live' video playback where each channel is always 'playing' on loop- try updating to the latest firmware if you haven't already, and turn off the Live Video and Random Start Time settings on the settings page. Videos should start at the beginning every time then, let me know.

6
Hi, sorry about the issue! Honestly, that sounds like a firmware bug- there would be some finite limit that could be between 8 and 10 hours. If you can, please try making the videos a little shorter or split in half etc, and let me know if that works for you- hope that can fix it before Christmas!

Thanks,
Ben

7
TinyTV & Tiny Video Player / Re: tsvconverter on macOS Monterey
« on: December 19, 2023, 04:39:31 PM »
Hi- sorry about the documentation issue, it's definitely old news and I think documentation was reverted a few times while we worked on different solutions. We've landed on the new app( https://tinytv.us/TinyTV-Converter-App/ ) supporting both TSV(in a menu option) and the AVI format we're using in the new cross platform firmware. I just submitted some website changes that should cover what you were seeing that's still pointing to the TSV converter. Let us know if the new app is working for you.

Thanks,
Ben

8
General Discussion / Re: TinyScreen+ Question
« on: November 30, 2023, 03:49:22 PM »
Yes, pullup resistors should be available and implemented on all pins for the TinyScreen+, let me know if you're seeing an issue with that.

Thanks,
Ben

9
General Discussion / Re: LED Sensor
« on: November 30, 2023, 03:47:23 PM »
Hi John, looks like the Color Sensor Wireling to me, at https://tinycircuits.com/products/color-sensor-wireling - it works by having two LEDs for illumination and a color sensor between them.

Thanks,
Ben

10
TinyTV & Tiny Video Player / Re: Parameters for ffmpeg conversion
« on: September 22, 2023, 04:43:23 PM »
Some LCD initialization values seem to have changed back to some generic values instead of what was recommended by the LCD manufacturer(well, distributor)- I attached an adjusted file that you could throw in your TinySceen library within the firmware source folder. It definitely changes how some colors are displayed, other stuff, not so much- I'm not sure if the change is 'good' or not really. Let me know if you try it.

11
TinyTV & Tiny Video Player / Re: Parameters for ffmpeg conversion
« on: September 22, 2023, 01:47:34 PM »
Hmm.. I think this is most likely an issue at the LCD initialization level or possibly in the JPEGDEC library. Also keep in mind some limitations of a lower cost LCD with 16 bit color, but I do think it can be better. I'll try to look at the initialization today.

12
TinyTV & Tiny Video Player / Re: Parameters for ffmpeg conversion
« on: September 21, 2023, 05:42:57 PM »
Thanks! I should keep up with this thread with some things I've found recently. We've needed to add some additional audio filters to handle certain input streams, the audio filter portion we're testing looks like:

Code: [Select]
-ac 1 -acodec pcm_u8 -af "volume=0.0dB,aresample=10000,aresample=async=1000,aresample=osf=u8,asetnsamples=n=210:p=0"
The asetnsamples is the important part, 210 is a somewhat arbitrary value that results in about 2 chunks of samples per video frame, which the TV firmware can easily consume. Typically ffmpeg does something like that with the average mp4 input, but some inputs can result in huge chunks of audio spanning many frames, which the TV firmware can't handle.

Somewhat unexpectedly, the conversion to 8 bit seems to lower amplitude on some streams, so it seems like we need to run volumedetect on a resampled stream, for example:

Code: [Select]
ffmpeg -i input.mp4 -vn -ac 1 -af "aresample=10000,aresample=async=1000,asetnsamples=n=210:p=0,aresample=osf=u8,volumedetect" -f null /dev/null

The absolute value of the peak output value can replace the 0.0dB in the first snippet to normalize the way that https://github.com/slhck/ffmpeg-normalize does peak normalization. This seems to get things peak normalized without clipping in the testing we've done.

We do plan to get this integrated into the app but I'm not sure exactly when!

13
Well, very cool, sorry you had to put time in on this but I think that's a valid path to let the interrupt states variables run, but only 'keep' the latest change. Did you test this with decreasing timeouts? For example 10ms instead of 20ms? Just out of curiosity as to how much time is needed for your hardware with the more significant issue.

Otherwise, we'll test here and I'll let you know how it goes.

Thanks,
Ben

14
TinyTV & Tiny Video Player / Re: Random video position on boot?
« on: September 21, 2023, 05:10:41 PM »
Hey thanks! Looks good and well thought out, so I pulled it in- I think we might change some of the high level stuff, I think we want just one setting for this feature and will either default to the random startup time or 'resume' time etc, but I'm not sure what the outcome will be yet.

15
TinyTV & Tiny Video Player / Re: "There's a problem with this drive"
« on: September 21, 2023, 04:23:09 PM »
I don't have an answer for exactly how/why, but there must be some minor filesystem error that Windows doesn't like, but isn't enough to cause file read/write errors by Windows or the firmware.  We see it here during development when connecting/disconnecting very frequently but don't hear about it from users very often. We're not able to reproduce it here in a way that allows us to determine/fix whatever the issue might be. Reformatting through Windows or the firmware utility(accessed through the Settings page on tinytv.us) is an option if you happen to be deleting most of the videos anyway.

Pages: 1 2 3 ... 27
SMF spam blocked by CleanTalk