recorded videos play flipped

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
JonathanM
10 or more Posts ★
10 or more Posts ★
Posts: 11
Joined: Sun Aug 03, 2014 12:25 pm

recorded videos play flipped

Post by JonathanM »

Hey,

All the videos recorded by HLT are showing up as flipped when played on a PC.
They play correct on the android device, in HLT or another external media player.
If I modify the file (for instance with ffmpeg copy - from the previous trim to 2GB thread) they show as flipped on both PC and HLT.
Running HLT (latest) on Android 4.4 (Samsung S4).

Ideas ?
User avatar
Harry
Site Admin
Site Admin
Posts: 10635
Joined: Sun Sep 12, 2010 10:32 am
Location: Siegum, Germany
Contact:

Re: recorded videos play flipped

Post by Harry »

Try a different viewer. The one you are using currently doesn't support rotation meta information (which it really should).

Harry
Image Image Image Image
User avatar
Harry
Site Admin
Site Admin
Posts: 10635
Joined: Sun Sep 12, 2010 10:32 am
Location: Siegum, Germany
Contact:

Re: recorded videos play flipped

Post by Harry »

VLC is pretty versatile and available on all platforms.
Image Image Image Image
JonathanM
10 or more Posts ★
10 or more Posts ★
Posts: 11
Joined: Sun Aug 03, 2014 12:25 pm

Re: recorded videos play flipped

Post by JonathanM »

Yeah, if only that was the issue, vlc also has the same problem.

Only way I have been able to solve it so far is to re-encode the video's and strip the metadata and inject rotate="0".

Like what's discussed here:
http://thornelabs.net/2013/06/04/correc ... fmpeg.html

It's a strange one.
JonathanM
10 or more Posts ★
10 or more Posts ★
Posts: 11
Joined: Sun Aug 03, 2014 12:25 pm

Re: recorded videos play flipped

Post by JonathanM »

Going with the solution above and reencoding the videos.
Once completed they are usable on both PC and HLT.
Need to cut them to 15minutes anyway due to the 2G limit.

Code: Select all

#!/bin/bash
/usr/bin/ffmpeg -threads 4 -i "$1" -t 00:15:00 -metadata:s:v rotate="0" -vf "hflip,vflip" -dcodec copy -vcodec libx264 -crf 23 -acodec copy "15m-$1"
FreakingSeat
Fewer than 10 Posts
Fewer than 10 Posts
Posts: 1
Joined: Mon Aug 18, 2014 2:57 pm

Re: recorded videos play flipped

Post by FreakingSeat »

You can play the video's with VLC. Go to tools(or Extra)>Effects and filters> tab video-effects, here you can turn the video. You can also save it so that you can play it on any mediaplayer, go to http://www.wintips.org/how-to-rotate-an ... ia-player/ to learn how.
Post Reply