This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add English language subtitle to MP4 file | |
MP4Box -add <Subtitle>.srt:hdlr=sbtl:lang=eng <MovieWithoutSubtitle>.mp4 -out <MovieWithSubtitle>.mp4 | |
# Add English language subtitle with 1sec time delay to MP4 file | |
MP4Box -add <Subtitle>.srt:hdlr=sbtl:lang=eng:delay=1000 <MovieWithoutSubtitle>.mp4 -out <MovieWithSubtitle>.mp4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MyContextWrapper extends ContextWrapper { | |
public MyContextWrapper(Context base) { | |
super(base); | |
} | |
@SuppressWarnings("deprecation") | |
public static ContextWrapper wrap(Context context, String language) { | |
Configuration config = context.getResources().getConfiguration(); | |
Locale sysLocale = null; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using UnityEngine.EventSystems; | |
//by Ralph Barbagallo | |
//www.flarb.com | |
//www.ralphbarbagallo.com | |
//@flarb | |
public class VRInputModule : BaseInputModule { |