Video file issues when re-muxing (corrupted file?)

Nice and handy suite, good work..!👍

But I was going to comment the same – a Mac OS version would be great!
If any Mac users here occasionally dabble over on the dark side and would know how to translate the scripts etc, that would be much appreciated..! 😀
Well, i just added disclosure to my post and the edited OP post.

I can't take full credit for the scripts code, i "vibe coded" them by asking MS Co-Pilot for them.
I do have past windows scripting experience, but too lazy and been too long since i really dove into it, to make it all from scratch....i did have to manually tweak a few things in the code myself. AI tools often get you ~98% of the way there at best, in my experience.

You could save the .bat as a .txt and upload it to one of those AI tools, like ChatGPT or Google Gemini, and ask it to convert it etc to work on MacOS. See what happens. lol
I am not experienced enough with MacOS and have no clue what scripting things it uses.
 
You could save the .bat as a .txt and upload it to one of those AI tools, like ChatGPT or Google Gemini, and ask it to convert it etc to work on MacOS. See what happens. lol
I may well give that a try at some point….
What could possibly go wrong…!? 🤣
 
I have been using the same identical setup, 12v cig outlet with a 3 way adapter (that powers other things) for 10yrs. Never had this issue with any of my past cams, ever.
Not the A119 Mini 2,
A lot of these newer dash cameras are power hungry.
I'm not saying you're wrong, but I think Ben hit the nail on the head, (Power Starvation Malfunction).
I would rule out power starvation first before writing scrips & codes, (easiest / quickest first).
I would buy this Type-C Power Tester for $12 to check for power starvation issues;
https://www.amazon.com/gp/B0D529Z22P
It looks like this;
 

Attachments

  • Screenshot 2025-09-29 9.16.45 PM.webp
    Screenshot 2025-09-29 9.16.45 PM.webp
    88.1 KB · Views: 2
I have been using the same identical setup, 12v cig outlet with a 3 way adapter (that powers other things) for 10yrs. Never had this issue with any of my past cams, ever.
Not the A119 Mini 2
A lot of these newer dash cameras are power hungry.
According to this chart I stole from you know who A119 Mini 2 max power consumption is around 3.5 Watts.

A329S 3CH max power consumption is closer to 15 Watts.
That’s almost 4 times the current / amperage.
 

Attachments

  • Page 1 .webp
    Page 1 .webp
    654.8 KB · Views: 4
  • 7.) HK4 Date Code - July 2025 .webp
    7.) HK4 Date Code - July 2025 .webp
    609.7 KB · Views: 4
  • 1686152395704.webp
    1686152395704.webp
    697.4 KB · Views: 5
I'm not saying you're wrong, but I think Ben hit the nail on the head, (Power Starvation Malfunction).
I would rule out power starvation first before writing scrips & codes, (easiest / quickest first).
I would buy this Type-C Power Tester for $12 to check for power starvation issues;
https://www.amazon.com/gp/B0D529Z22P
It looks like this;

I have a couple of those, but older ones, not for usb C. And i have used A to C adapters before and they can cause issues. So best to use direct to C.
will have to pick that up
According to this chart I stole from you know who A119 Mini 2 max power consumption is around 3.5 Watts.

A329S 3CH max power consumption is closer to 15 Watts.
That’s almost 4 times the current / amperage.
The included power plug for the cam says its outputs 5V/3A. So that is max 15 watts then looks like.

I can not find specific power requirements for the Sandisk ssd i am using (SDSSDE61-1T00-G25) its the Extreme 1TB VIOFO recommends.
AI says up to 1.1amp under full load, other says ~2.5-4.5 watts under load, is typical for very fast NVME based ssd, which that portable ssd is.
However, we are not maxing out the ssd, not even close.
It is limited to USB 2.0 speeds, so it would not ever reach full load, or full power usage. Though, the data speeds may be capped to USB 2.0, but, the port could support power output of USB 3.0 perhaps?
My old Samsung T3 1TB drive, apparently uses less power due to its slower USB 3.0 spec and ability.

I still lean towards more a firmware optimization thing is needed. As, the video files themselves are not corrupted enough that video players have issue with them.

The only other thing that changed with my setup, aside from the addition of the Rear cam to make things 3ch, is i swapped out the 1.8M SSD cable, for the 2.5M one.
But again, i swear, i have came across this remuxing error before the recent changes, just was not so obvious.
 
More data/info! The plot thickens!

I ran Error Check script on the last few days of files i still have on the Sandisk ssd drive.

This included when i was in 2ch setup, with just Telephoto cam installed, and the 1.8M ssd cable.
All other settings are the same as they are now in 3ch setup. HDR ON, 4K/2K 30fps 2min file lengths

(stop means mid-trip power shut off. Last file, means end of trip power off, parked at home)

One file from the Tele only was flagged on 9-23. (short single drive, last file)
One file from the Tele only was flagged on 9-24. (short single drive, last file)
2 files from Tele & 2 files from Front was flagged 9-25. (long day out, multiple stops, mid trip, not last file)

--9-27 Added Rear Cam, 3CH setup and longer SSD cable.--

9-27 No errors in any of the files as I power cycled the cam several times, during install and initial testing/first short drive.

One file from Front was flagged (mid-drive night) 9-28 (longer drive morning 3 power stops, one in the morning, one later nighttime one stop)

2 files from Tele & 2 files from Rear flagged 9-28. These both were from the 2nd (of 3 stops) and then last file. (moderate trip, 3 stops)

Each one of those flagged files, is when i turned off my car, and thus the power was cut to the cam.
But, as you can see, it is not every time a power off happens.

I'm not saying you're wrong, but I think Ben hit the nail on the head, (Power Starvation Malfunction).
I would rule out power starvation first before writing scrips & codes, (easiest / quickest first).
I would buy this Type-C Power Tester for $12 to check for power starvation issues;
https://www.amazon.com/gp/B0D529Z22P
It looks like this;

If it is a power issue, then would using a higher output USB adapter help? One that is 5A or something?
Or is 5V/3A the highest they go?
Would the cam itself even pull higher than the 3A if plugged into a higher output adapter? They may have hardware or firmware limited its power draw.
 
Back
Top