Android Petrolhead and GoPro video export: "Error Code 7"
Android Petrolhead and GoPro video export: "Error Code 7"
I have video from a GoPro Hero3+ recorded as an MP4 at 1920x180 @ 48 fps. I downsampled it to an MP4 at 1280x720 @ 30 fps using QuickTime 7 on a Mac. I copied it to my Nexus 5, added the video to a lap, and set the end frame for the lap.
When I tried to do an Overlay export I was first warned h/w accelerated encoding is not possible, software encoding will be used. After pressing Continue, I got the error "LapTimer failed writing the overlaid video. Error reported is 'Code: 7, opening video codec failed'.
When I tried to do an Overlay export I was first warned h/w accelerated encoding is not possible, software encoding will be used. After pressing Continue, I got the error "LapTimer failed writing the overlaid video. Error reported is 'Code: 7, opening video codec failed'.
Re: Android Petrolhead and GoPro video export: "Error Code 7
What is the exact file name for the video?
Re: Android Petrolhead and GoPro video export: "Error Code 7
221-720p.mp4 located in the top level Movies folder under sdcard.
Re: Android Petrolhead and GoPro video export: "Error Code 7
The file name is fine. Nevertheless, there is some kind of format issue / video format incompatibility. I'd suggest to use a proven conversion using ffmpeg (a free command line tool you can download from the net for any platform):
Instead of using 221-720p.mp4 as the stating point, you may consider using your original GoPro file. The above snippet will convert whatever format into something LapTimer should be able to work on.
- Harry
Code: Select all
C:\> ffmpeg -i 221-720p.mp4 -s hd720 -c:v libx264 -crf 23 -c:a aac -strict -2 output.mp4
- Harry
Re: Android Petrolhead and GoPro video export: "Error Code 7
Seeing all kinds of people having to covert their videos to something iOS / Android compatible, I wanted to recommend Handbrake, a free cross platform encoder also using ffmpeg but with a nice GUI and helpful presets. With that tool, you basically load a source file, choose a preset, maybe change the output resolution and that's it...doesn't get easier.
http://handbrake.fr/
http://handbrake.fr/
Re: Android Petrolhead and GoPro video export: "Error Code 7
Thanks. Re-encoding with ffmpeg worked. An actionable error would have helped as well.
One question is I recall I was getting OBD-II data when I was running that lap, but the Overlap Configuration screen shows "OBD II Gadget: none". Is there a way I could see whether OBD data exists for that lap?
One question is I recall I was getting OBD-II data when I was running that lap, but the Overlap Configuration screen shows "OBD II Gadget: none". Is there a way I could see whether OBD data exists for that lap?
Re: Android Petrolhead and GoPro video export: "Error Code 7
Do you have a Handbrake preset you use?bulls23 wrote:Seeing all kinds of people having to covert their videos to something iOS / Android compatible, I wanted to recommend Handbrake, a free cross platform encoder also using ffmpeg but with a nice GUI and helpful presets. With that tool, you basically load a source file, choose a preset, maybe change the output resolution and that's it...doesn't get easier.
http://handbrake.fr/
Re: Android Petrolhead and GoPro video export: "Error Code 7
Yes, check the Lap Details view for any lap. Scroll down to the Data Recording section and check the "Fixes" row. It shows both the number if fixes recorded and the type of data available (GPS, ACCEL, OBD).pawliger wrote:One question is I recall I was getting OBD-II data when I was running that lap, but the Overlap Configuration screen shows "OBD II Gadget: none". Is there a way I could see whether OBD data exists for that lap?
- Harry
Re: Android Petrolhead and GoPro video export: "Error Code 7
Yes, check the Lap Details view for any lap. Scroll down to the Data Recording section and check the "Fixes" row. It shows both the number if fixes recorded and the type of data available (GPS, ACCEL, OBD).Harry wrote:pawliger wrote:One question is I recall I was getting OBD-II data when I was running that lap, but the Overlap Configuration screen shows "OBD II Gadget: none". Is there a way I could see whether OBD data exists for that lap?
Hm. None of my laps show OBD data listed there in Lap Details yet I had an external OBD device BT paired with the phone and I'm fairly certain it showed up in the System Status as well before I started driving. Do I need to do anything to add OBD data to the laps? I assumed it would be automatic.
Re: Android Petrolhead and GoPro video export: "Error Code 7
It certainly is automatic... Next time, please make sure you see a valid update rate for OBD - just to be sure data is really coming in.
Harry
Harry