Jo M

Results 17 comments of Jo M

@lukedempsey is this going to be merged soon?

Hi I get a 404 at that URL: ![image](https://github.com/jo-m/trainbot/assets/2587503/b6ee28f1-138c-4588-876f-a2d4a081a81c)

Well, turns out this was simply a bug, and I used the wrong number from ffprobe.

[Also, I had to increase the max allowed length (rather, make it configurable)](https://github.com/jo-m/trainbot/commit/58b9c5400ea7676b59a7d9c82932b35cac2d8626) because your train was too long for my hardcoded default. Now spits out this JPEG which my...

Can you send me one of your video files, in your exact pixel format? Then I can try to reproduce. What ffmpeg version do you have? In general, as you...

> I actually wonder if all could be done with ffmpeg alone? Could it read in from any of its supported formats (e.g. including not just local file, but also...

> So yes, I'd love if basically I could pass basically any source (and options) to ffmpeg and then I suppose trainbot would just tack on whatever final rawvideo-type arguments...

We crop the image and then pass around only the cropped image. The original frame is thrown away. However, I have as slight suspicion for where this could be going...

Hm, any chance you could send me an example video? Can be a link to GDrive via email or similar.

I tested this on my own machine, with the x86_64 binary from [this CI run](https://github.com/jo-m/trainbot/actions/runs/9149885939). ``` ./trainbot \ --log-pretty \ --log-level debug \ --input ./rot.mp4 \ --rect-x 1403 \ --rect-y...