Torque

Forums

Forums

Guest  

Show or hide header
Welcome Guest, posting in this forum require registration.




Torque » Torque OBD ECU Scanner » Torque Discussion / Ideas » Track recorder

Pages: 1 2 3 [4] 5 6 7 8 9 10 11 12 13 14
Author Topic: Track recorder
bachmark
Member
Posts: 14
Post Re: Track recorder
on: October 13, 2011 (GMT)

Hi

No, I do not reboot after installing Xuggler. Is this also necessary only to find the videos?
Yes, the Videos are located on M:\torqueRecorder\ there are subfolders containing video.mp4, pidlog.cvs and dashboard.dat.
My current logs are not recorded with the newest TrackRecoder(no video.str File) but the newest Recorder is installed and play those Videos.

Thanks

speed2006
Member
Posts: 60
Post Re: Track recorder
on: October 13, 2011 (GMT)

Not work. I do not see anything in the window. Tried on win 7 and win xp. USB driver correct, Torque recorder folder correct, reboot ok, but do not want the truth. :) I think it would be better to copy computer and from there to solve.

Samsung Galaxy S7 Edge
Android 6.0.1
ELM327
BMW 325i
Skype: uborka11

piemmm
Administrator
Posts: 6629
Post Re: Track recorder
on: October 13, 2011 (GMT)

Hi

Rebooting is required to complete installation of Xuggler and the app won’t run correctly until this step is completed. It will prevent the videos from being picked up until you reboot (an unfortunate side effect of windows).

OS X users will need to logout and login so their environment is setup correctly. The app needs Xuggler installed, without it, it will not work

speed2006
Member
Posts: 60
Post Re: Track recorder
on: October 13, 2011 (GMT)

I know. but it does not work.

Samsung Galaxy S7 Edge
Android 6.0.1
ELM327
BMW 325i
Skype: uborka11

piemmm
Administrator
Posts: 6629
Post Re: Track recorder
on: October 13, 2011 (GMT)

EDIT: New jar created: http://prowl.org/misc/TorqueEncoder4.jar have a try with this one. It should be a lot better with a bit of luck.

If it still doesn’t work, start a command prompt, CD into the directory where the jar file is, and type:

java -jar TorqueEncoder.jar

That will start the app in a mode where you can get some debug into a file. If you see any text appear like ‘Exception at org.prowl.torquevideo.blah.blah.Something’ then cut and paste it here and I’ll have some feedback on what went wrong so I can fix it for you!

Thanks

Ian

speed2006
Member
Posts: 60
Post Re: Track recorder
on: October 13, 2011 (GMT)

https://picasaweb.google.com/lh/photo/WvPWM109HClTrV4bQrmmqA?feat=directlink

Samsung Galaxy S7 Edge
Android 6.0.1
ELM327
BMW 325i
Skype: uborka11

piemmm
Administrator
Posts: 6629
Post Re: Track recorder
on: October 13, 2011 (GMT)

Hi

You need to CD into the directory where the TorqueEncoder3.jar is, not anything that belongs to Xuggler :-) but that is the kind of thing I’m looking for when it’s not working

speed2006
Member
Posts: 60
Post Re: Track recorder
on: October 13, 2011 (GMT)

https://picasaweb.google.com/lh/photo/JkhfWh13ID0tYrVaYjLELw?feat=directlink

Samsung Galaxy S7 Edge
Android 6.0.1
ELM327
BMW 325i
Skype: uborka11

piemmm
Administrator
Posts: 6629
Post Re: Track recorder
on: October 13, 2011 (GMT)

Thanks!

That’s good and bad…. there’s no exceptions being thrown which means everything is working inside the app correctly, but it hasn’t detected the phone connected via the USB disk/storage mode.

Copy the ‘torqueRecorder’ folder from the phone to c:\ then restart the app – it should pick the folder (and it’s contents) up

bachmark
Member
Posts: 14
Post Re: Track recorder
on: October 13, 2011 (GMT)

Hi

I’m one step further, I can start the converter and get the following error:

C:\tmp>java -jar TorqueEncoder3.jar
L:(label0) r:(Speed)
L:(label1) r:(Accel(y))
L:(label2) r:(Accel(z))
L:(y0) r:(0.0)
L:(unit1) r:(g)
L:(y1) r:(0.0)
L:(y2) r:(0.0)
L:(unit0) r:(km/h)
L:(unit2) r:(g)
L:(x2) r:(280.0)
L:(min2) r:(-1.0)
L:(x0) r:(0.0)
L:(x1) r:(140.0)
L:(max0) r:(0.0)
L:(max1) r:(1.0)
L:(max2) r:(1.0)
L:(min1) r:(-1.0)
L:(min0) r:(0.0)
L:(class0) r:(org.prowl.recorder.widgets.MeterB)
L:(class1) r:(org.prowl.recorder.widgets.MeterB)
L:(class2) r:(org.prowl.recorder.widgets.MeterB)
L:(pid0) r:(13)
L:(pid2) r:(16716322)
L:(pid1) r:(16716321)
Title:Speed
Title:Accel(y)
Title:Accel(z)
21:42:05.281 [Thread-11] ERROR org.ffmpeg – [mpeg4 @ 0x447dc60] timebase not sup
ported by mpeg 4 standard
21:42:05.296 [Thread-11] WARN com.xuggle.xuggler – Error: could not open codec
(../../../../../../../csrc/com/xuggle/xuggler/StreamCoder.cpp:686)
Exception in thread “Thread-11” java.lang.RuntimeException: could not open strea
m com.xuggle.xuggler.IStream@73316304[index:1;id:2;streamcoder:com.xuggle.xuggle
r.IStreamCoder@72519288[codec=com.xuggle.xuggler.ICodec@73317968[type=CODEC_TYPE
_VIDEO;id=CODEC_ID_MPEG4;name=mpeg4;];time base=1/90000;frame rate=0/0;pixel typ
e=YUV420P;width=720;height=480;];framerate:0/0;timebase:1/90000;direction:OUTBOU
ND;]: Operation not permitted
at com.xuggle.mediatool.MediaWriter.openStream(MediaWriter.java:1199)
at com.xuggle.mediatool.MediaWriter.getStream(MediaWriter.java:1059)
at com.xuggle.mediatool.MediaWriter.encodeAudio(MediaWriter.java:837)
at com.xuggle.mediatool.MediaWriter.onAudioSamples(MediaWriter.java:1448
)
at com.xuggle.mediatool.AMediaToolMixin.onAudioSamples(AMediaToolMixin.j
ava:89)
at com.xuggle.mediatool.MediaToolAdapter.onAudioSamples(MediaToolAdapter
.java:106)
at com.xuggle.mediatool.AMediaToolMixin.onAudioSamples(AMediaToolMixin.j
ava:89)
at com.xuggle.mediatool.MediaReader.dispatchAudioSamples(MediaReader.jav
a:628)
at com.xuggle.mediatool.MediaReader.decodeAudio(MediaReader.java:555)
at com.xuggle.mediatool.MediaReader.readPacket(MediaReader.java:469)
at org.prowl.torquevideo.Encoder.nowEncode(Unknown Source)
at org.prowl.torquevideo.Encoder.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Is there some software (codec) missing on my pc?

Thanks

piemmm
Administrator
Posts: 6629
Post Re: Track recorder
on: October 13, 2011 (GMT)

Hm,

It appears that there is something wrong/odd with the audio stream inside the video file that is causing the encoder to balk. Is it possible to get a copy of that video (or another short video that doesn’t work?)

Thanks

Ian

bachmark
Member
Posts: 14
Post Re: Track recorder
on: October 13, 2011 (GMT)

Quote from admin on October 13, 2011
Hm,

It appears that there is something wrong/odd with the audio stream inside the video file that is causing the encoder to balk. Is it possible to get a copy of that video (or another short video that doesn’t work?)

Thanks

Ian

The video is on its way to your email

Thanks

speed2006
Member
Posts: 60
Post Re: Track recorder
on: October 13, 2011 (GMT)

Quote from admin on October 13, 2011
“Thanks!

That’s good and bad…. there’s no exceptions being thrown which means everything is working inside the app correctly, but it hasn’t detected the phone connected via the USB disk/storage mode.

Copy the ‘torqueRecorder’ folder from the phone to c:\ then restart the app – it should pick the folder (and it’s contents) up”
————————————————————-
Do not touch that! :) I copied the ‘torqueRecorder’ folder on the C: And it works.

http://www.youtube.com/watch?v=YCDUGAyZdOQ

Samsung Galaxy S7 Edge
Android 6.0.1
ELM327
BMW 325i
Skype: uborka11

steeleshark2
Member
Posts: 22
Post Re: Track recorder
on: October 14, 2011 (GMT)

It all worked for me except it only transferred the speed gauge and not the rpm over. I am running windows 7 with a Droid X.

piemmm
Administrator
Posts: 6629
Post Re: Track recorder
on: October 14, 2011 (GMT)

Thanks for the feedback, got the problematic video email too, thanks. I can reproduce the issue here so hopefully can fix

bachmark
Member
Posts: 14
Post Re: Track recorder
on: October 14, 2011 (GMT)

Quote from admin on October 14, 2011
Thanks for the feedback, got the problematic video email too, thanks. I can reproduce the issue here so hopefully can fix

Hi

Search result from google on:

http://jaredforsyth.com/blog/2009/jan/6/convert-videos-ffmpeg/

if it complains about “timebase not supported by mpeg 4 standard”, try adding this parameter (before the outfile param):

-r 25

Maybe it helps

Thanks

piemmm
Administrator
Posts: 6629
Post Re: Track recorder
on: October 14, 2011 (GMT)

Yes.

The problem is with the recorder app not setting the frame rate correctly. There will be a version out soon (that might work with android 2.1 as well) that should fix this for new videos.

bachmark
Member
Posts: 14
Post Re: Track recorder
on: October 14, 2011 (GMT)

Quote from admin on October 14, 2011
Yes.

The problem is with the recorder app not setting the frame rate correctly. There will be a version out soon (that might work with android 2.1 as well) that should fix this for new videos.

Thanks, is there a chance to modify already existing recordings?

piemmm
Administrator
Posts: 6629
Post Re: Track recorder
on: October 16, 2011 (GMT)

I’m not sure – you should be able to use those options to transcode the video manually however (the plugin api for video encoding doesn’t appear to expose the bits I need to be able to work around it).

There’s a wiki page for the encoder now, rather than post jars on here:
http://torque-bhp.com/wiki/Exporting_Video

speed2006
Member
Posts: 60
Post Re: Track recorder
on: October 16, 2011 (GMT)

Next year I’m going up a lot of track days. It would be nice if I could measure lap time and split time. You can solve? It does not matter if the plugin is not free. Gladly pay for it.

Samsung Galaxy S7 Edge
Android 6.0.1
ELM327
BMW 325i
Skype: uborka11

Pages: 1 2 3 [4] 5 6 7 8 9 10 11 12 13 14
WP-Forum by: Fredrik Fahlstad, Version: 2.4
Page loaded in: 0.071 seconds.

  Follow me on twitter