Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
![]() |
|
Thread Tools | Search this Thread | Display Modes |
![]() |
#1 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,147
|
FFMpeg ttxt subtitles 'Invalid data found when processing input'
I got a ttxt file with the following content:
Code:
<?xml version="1.0" encoding="UTF-8"?> <!--GPAC 3GPP Text Stream--> <TextStream version="1.1"> <TextStreamHeader layer="0" translation_x="0" width="1024" height="144" translation_y="576"> <TextSampleDescription verticalText="no" verticalJustification="bottom" backColor="00 00 00 00" horizontalJustification="center" fillTextRegion="no" continuousKaraoke="no" scroll="None"> <FontTable> <FontTableEntry fontID="1" fontName="Serif"/> </FontTable> <TextBox left="0" bottom="0" right="0" top="0"/> <Style color="ff ff ff ff" fontSize="18" styles="Normal"/> </TextSampleDescription> </TextStreamHeader> <TextSample xml:space="preserve" sampleTime="00:00:00.000"/> <TextSample xml:space="preserve" sampleTime="00:00:44.712">As quickly as you can, snatch the pebble from my hand.</TextSample> </TextStream> FFmpeg on the other hand reports 'Invalid data found when processing input'. even adding '-loglevel trace' only gives Code:
Opening an input file: G:\Output\test_5m_0_en.ttxt. [NULL @ 000001c091321c00] Opening 'G:\Output\test_5m_0_en.ttxt' for reading [file @ 000001c0911ba8c0] Setting default whitelist 'file,crypto,data' [AVIOContext @ 000001c08f92e700] Statistics: 802 bytes read, 0 seeks G:\Output\test_5m_0_en.ttxt: Invalid data found when processing input [AVIOContext @ 000001c0911bac00] Statistics: 65881 bytes read, 2 seeks Cu Selur |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|