Correct rendering of MP4 TTEXT subtitles

Feature requests for VLC.
Capitán Centollo
New Cone
New Cone
Posts: 4
Joined: 14 Oct 2006 10:00

Correct rendering of MP4 TTEXT subtitles

Postby Capitán Centollo » 15 Oct 2006 10:24

Aparently the VideoLan Media Player isn't able to render the empty text chains ("") of a TextSample tag in a TTEXT subtitle muxed into a MP4 container.

This empty chains are used to clean the last shown subtitle at the ending time in this way:

<TextSample sampleTime="ending time" text="">
<\TextSample>

if they aren't rendered the subtitles stay in the screen until the next subtitle is shown or until the end of the video.

Actually i solve the problem putting a blank space into each empty chain (" ").

TonyC
New Cone
New Cone
Posts: 6
Joined: 14 Sep 2006 14:11

Postby TonyC » 19 Oct 2006 09:36

Hi Capitán Centollo

I have the same issue and I tried the same trick as you did by putting a blank space into each empty chain. However when I mux the files into a MP4 container using mp4box, the blank space is removed and replaced by an empty chain ("") again.

May I ask how you did the mux, and what muxer did you use?

Regards
Tony

Capitán Centollo
New Cone
New Cone
Posts: 4
Joined: 14 Oct 2006 10:00

Postby Capitán Centollo » 21 Oct 2006 22:33

I used MP4BOX to Mux with YAMB GUI or meGUI tool MP4Muxer, wich is another MP4Box GUI. To edit the TTEXT file i used the Windows Notepad and saved the file as UTF-8.

TonyC
New Cone
New Cone
Posts: 6
Joined: 14 Sep 2006 14:11

Postby TonyC » 23 Oct 2006 09:22

Ahh, thanks! I tried to edit the file while it was still in .srt format. Editing it when in .ttxt format did the trick.

Thanks again.


Return to “VLC media player Feature Requests”

Who is online

Users browsing this forum: No registered users and 10 guests