Video Overlay from GoPro to Android Device

Help on issues you run into with LapTimer; in case you have a question on how to use LapTimer, use the forum "Using LapTimer" instead
Post Reply
Daffy_ED9
Fewer than 10 Posts
Fewer than 10 Posts
Posts: 3
Joined: Wed May 06, 2015 9:41 am

Video Overlay from GoPro to Android Device

Post by Daffy_ED9 »

Hy LHT Community,

i´ve already red a lot about the video overlay, but i´m not able to manage it properly :-(

I´m using a HTC One mobile with Laptimer, in addition i have a GoPro Hero 2 HD for video filming.

When i try to overlay a film within HLT I can choose the video ( preview picture is available ) but i already get a red screamer and the information that the Vid is 0 seconds long and is ubnknown. When trying to open it, i get an error saying Mediatyp not supported.
I tried several formats with several programs, all didn´t bring me the selected success.

When exporting the vid and the HLT files i could easy create a vid with Racerender, but the Layout of the gauges is not that beautiful like in HLT.

What else can i try, to overlay the vid with an Android phone and HLT?

Thanks in advance for your help
User avatar
Harry
Site Admin
Site Admin
Posts: 10642
Joined: Sun Sep 12, 2010 10:32 am
Location: Siegum, Germany
Contact:

Re: Video Overlay from GoPro to Android Device

Post by Harry »

The video in question has been recorded using the HERO2 or using HLT on HTC One?
Sounds like a video format incompatibility... What is the file size of the video?

- Harry
Image Image Image Image
Daffy_ED9
Fewer than 10 Posts
Fewer than 10 Posts
Posts: 3
Joined: Wed May 06, 2015 9:41 am

Re: Video Overlay from GoPro to Android Device

Post by Daffy_ED9 »

Hi Harry,

thanks for your quick reply.
Video was taken with the Gopro,
size is roughly somethin about 500mb for this lap. ( NOS BTG )
I already tried different resolutions and formats ( for example mp4 predefined for iphone, wmv for hd videos )
User avatar
Harry
Site Admin
Site Admin
Posts: 10642
Joined: Sun Sep 12, 2010 10:32 am
Location: Siegum, Germany
Contact:

Re: Video Overlay from GoPro to Android Device

Post by Harry »

size is roughly somethin about 500mb for this lap. ( NOS BTG )
For this lap, or overall? For the current version of LapTimer [Android], the overall file size needs to be 2 GB or smaller. For the upcoming v19, this limit will most probably go away. In case you have ffmpeg installed on your desktop, please post what

Code: Select all

ffmpeg -i <VIDEOFILE>
says.

- Harry
Image Image Image Image
Daffy_ED9
Fewer than 10 Posts
Fewer than 10 Posts
Posts: 3
Joined: Wed May 06, 2015 9:41 am

Re: Video Overlay from GoPro to Android Device

Post by Daffy_ED9 »

Anbei die Infos der beiden Videos :

>ffmpeg -i d:\trackday\1.mp4
ffmpeg version N-71959-g9253cc4 Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.9.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --
enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-l
ibilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enab
le-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --en
able-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --ena
ble-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc
--enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enabl
e-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --ena
ble-decklink --enable-zlib
libavutil 54. 23.101 / 54. 23.101
libavcodec 56. 37.102 / 56. 37.102
libavformat 56. 32.100 / 56. 32.100
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 16.101 / 5. 16.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'd:\trackday\1.mp4':
Metadata:
major_brand : mp42
minor_version : 1
compatible_brands: mp42isom
creation_time : 2015-04-26 20:58:42
Duration: 00:09:00.91, start: 0.000000, bitrate: 8120 kb/s
Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1920x1080
[SAR 1:1 DAR 16:9], 8013 kb/s, 29.97 fps, 29.97 tbr, 29970 tbn, 59.94 tbc (defa
ult)
Metadata:
creation_time : 2015-04-26 20:58:42
handler_name : AVID Video Handler
encoder : mpegable
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, flt
p, 99 kb/s (default)
Metadata:
creation_time : 2015-04-26 20:58:42
handler_name : AVID Audio Handler
At least one output file must be specified

Und Video 2 ( gleiche Datei anders konvertiert )


>ffmpeg -i d:\trackday\2.wmv
ffmpeg version N-71959-g9253cc4 Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.9.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --
enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-l
ibilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enab
le-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --en
able-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --ena
ble-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc
--enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enabl
e-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --ena
ble-decklink --enable-zlib
libavutil 54. 23.101 / 54. 23.101
libavcodec 56. 37.102 / 56. 37.102
libavformat 56. 32.100 / 56. 32.100
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 16.101 / 5. 16.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
[wmv3 @ 00000000003552e0] Extra data: 8 bits left, value: 0
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, asf, from 'd:\trackday\2.wmv':
Metadata:
DeviceConformanceTemplate: SP
IsVBR : 0
MediaFoundationVersion: 2.112
Duration: 00:09:00.94, start: 0.000000, bitrate: 8175 kb/s
Stream #0:0(eng): Audio: wmav2 (a[1][0][0] / 0x0161), 48000 Hz, 2 channels,
fltp, 128 kb/s
Stream #0:1(eng): Video: wmv3 (Simple) (WMV3 / 0x33564D57), yuv420p, 1920x10
80, 8013 kb/s, SAR 1:1 DAR 16:9, 29.97 fps, 29.97 tbr, 1k tbn, 1k tbc
At least one output file must be specified
User avatar
Harry
Site Admin
Site Admin
Posts: 10642
Joined: Sun Sep 12, 2010 10:32 am
Location: Siegum, Germany
Contact:

Re: Video Overlay from GoPro to Android Device

Post by Harry »

Hi,

The first video reports 9 minutes length and a video bitrate of 8192 kb/s which should make a file around 500MB. There is nothing wrong for this description... The second video will not be recognized by LapTimer as it comes with a .wmv extension (although the video lib will most probably be able to process it).

I'd suggest to try it again once v19 gets available. It comes with a new version of the video lib and no 2GB limit...

Please give me 1 or 2 days (depends on other stuff, not the android app) and it will be available.

In case it fails again, we will check the log for the exact issue.

Harry
Image Image Image Image
Post Reply