Comments (4)
Thanks a bunch! This was a bug in my TGrabs code and will be fixed in the next release.
Edit: Just so you know - your intuition that it had to do with an empty video was entirely correct.
from trex.
Hey Stefan, I am by no way an expert but I had an issue whereby the TGRAB couldn't read some frames of my video and the forced exited the programme. So, after searching for some possible solutions I found one with FFmpeg using terminal:
ffmpeg -i video.mkv -c copy video_fixed.mkv
This seemed to correct the missing frames and then worked after. Maybe worth giving it a go!
All the best!
Mark
from trex.
Hey both!
First of all, this can definitely happen with broken videos, and (as @MarkJThomas mentioned above), this can be fixed easily. A lot of video players "ignore" this and skip frames, but TGrabs currently does not. If this is a "real" crash, then I would first ask: Is this reproducible/does it happen every time with the same videos? In that case it would be great to be able to debug it (e.g. if you could provide a small clip that provokes it and the settings you used).
Best
-Tristan
from trex.
Thanks for the answers!
Yes, it is reproducible. I have tried copying and reencoding the video with no success.
Could it have to do with the fact that for a while no blobs are detected (because there are no objects to be detected in the frame)?
Here is a short video file that produces the error for me.
TGrabs .settings:
average_samples = 10
averaging_method = max
image_invert = true
threshold = 75
blob_size_range = [0.0001,0.002]
framerate = 25
from trex.
Related Issues (20)
- libGL error on fedora 36 HOT 3
- Error in Local conda channel Installation HOT 1
- Heatmap not working after update to 1.1.9 HOT 2
- manually setting origin HOT 4
- frame_rate doesn't seem to map predictably across parameters HOT 2
- Additional info on blob values in raw mode HOT 3
- Size of GUI HOT 3
- File format for visual fields HOT 1
- How to export problematic frames flagged timeline data HOT 1
- Training images not being saved HOT 2
- TRex crash HOT 3
- Override automatic matches HOT 3
- pvinfo not displaying information about blobs
- Visual identification fails HOT 3
- Auto_categorize not working HOT 2
- Regions of interest (ROIs) HOT 2
- Movement Initiations HOT 1
- Problem while installing TRex on MacOS HOT 1
- Trex freezes when opening video file (.mp4) HOT 8
- Endless "python not initialised" warning when entering training mode HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trex.