Page 1 of 1
					
				recorded videos play flipped
				Posted: Sun Aug 03, 2014 1:03 pm
				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 ?
			 
			
					
				Re: recorded videos play flipped
				Posted: Sun Aug 03, 2014 1:45 pm
				by Harry
				Try a different viewer. The one you are using currently doesn't support rotation meta information (which it really should).
Harry
			 
			
					
				Re: recorded videos play flipped
				Posted: Sun Aug 03, 2014 1:45 pm
				by Harry
				VLC is pretty versatile and available on all platforms.
			 
			
					
				Re: recorded videos play flipped
				Posted: Sun Aug 03, 2014 1:53 pm
				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.
 
			 
			
					
				Re: recorded videos play flipped
				Posted: Sun Aug 03, 2014 2:03 pm
				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"
 
			 
			
					
				Re: recorded videos play flipped
				Posted: Mon Aug 18, 2014 3:08 pm
				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.