ffmpeg can't read time-lapse parking mode clips

Shred

New Member
Joined
Dec 18, 2019
Messages
1
Reaction score
0
Location
Tasmania
Country
Australia
I noticed that a few people around here are using ffmpeg to process dashcam video clips.

I'm trying to use ffmpeg to stream the time lapse parking mode files into the "motion" motion detection software, so that I can see if anything moved near my car while it was parked. Motion allows much better control of motion detection than the built in motion detection software.

It works for normal driving clips - but that's no use to me. the problem is that ffmpeg barfs on any parking mode video clips. e.g. to try something really basic:

\bin>ffmpeg -i d:\Record\20191216_100642_PF.mp4 -c copy test.mp4

ffmpeg throws an error:
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000004b0240] STSC entry 0 is invalid (first=0 count=0 id=1)
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000004b0240] stream 1, contradictionary STSC and STCO
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000004b0240] error reading header
d:\Record\20191216_100642_PF.mp4: Invalid data found when processing input

I've tried:
* ffmpeg version 4.1.4 on Debian Linux
* ffmpeg version git-2019-12-15 (the very latest) on Windows

Also tried using the -an (disable audio) and -re switches. I always get a similar error. I guess it's related to time lapse frame rate (1 per second)?

Has anyone else had this problem?
 
Top