Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

1

Dienstag, 13. April 2021, 13:42

Best way to add subtitles in a 360° video tour

Hello,
i need subtitles in a 360° Video which is running in a videopano Tour.
I dont wanna use two videos, one with and one without subtitles because of the size. Instead i would like to use the typical subtitle files like .sub, .txt, .srt or .vtt. But how can i manage this to get this to work? Is it working over the textfield plugin or the video plugin?
If possible please add some example code. There are a few topics about this but no solution which is working without putting every line in a single textfield...

Here is the videopano Code.

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<krpano>

	<action name="startup" autorun="onstart">
		
		if(device.panovideosupport == false,
			error('Sorry, but panoramic videos are not supported by your current browser!');
		  ,
			loadscene(videopano);
		  );
	</action>

	<scene name="videopano" title="360° Video">
		
		<!-- include the videoplayer interface / skin (with VR support) -->
		<include url="skin/videointerface.xml" />
		<include url="skin/vtourskin_design_glass.xml"       />

		<!-- include the videoplayer plugin -->
		<plugin name="video"
		        url.html5="%VIEWER%/plugins/videoplayer.js"
		        url.flash="%VIEWER%/plugins/videoplayer.swf"
				posterurl="video-3840x1920-poster.jpg"
		        pausedonstart="false"
		        loop="false"
		        volume="1.0"
		        onloaded="add_video_sources(); videointerface_play('Hoch 3840x1920');"
				userinteractionworkarounds="true"
		        />

		<!-- use the videoplayer plugin as panoramic image source -->
		<image devices="panovideosupport">
		<sphere url="plugin:video" />
	</image>

		<!-- set the default view -->
		<view hlookat="0" vlookat="0" fovtype="DFOV" fov="130" fovmin="75" fovmax="130" distortion="0.0" />
		
		<action name="add_video_sources" >
				videointerface_addsource('Gering 1024x512', 'video-1024x512.mp4', 'video-1024x512-poster.jpg');
				videointerface_addsource('Mittel 1920x960', 'video-1920x960.mp4', 'video-1920x960-poster.jpg');
				videointerface_addsource('Hoch 3840x1920', 'video-3840x1920.mp4', 'video-3840x1920-poster.jpg');
			);
			videointerface_play('Hoch 3840x1920');
		</action>

	</scene>

</krpano>


I hope someone knows what i mean and can give me some answers *smile*
would be really nice

thanks in advance

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Stemarmischias« (13. April 2021, 14:30)


2

Montag, 14. August 2023, 22:13

You can dynamically load .vtt or .srt files as your video progresses. This way, you aren't manually entering every single line, and the text automatically appears based on the video's timestamp.


Also, when I needed translations for my YouTube guides, I worked with one of the best subtitling agencies out there. Their precision was on point, and they knew the nuances of ensuring the text matched the immersive experience.

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »alexsunny123« (16. August 2023, 20:01)


Ähnliche Themen