Feature #2275
TBX: 0.7.8: TextTranscription2TRS macro, add media file name into TRS header
Status: | New | Start date: | 11/06/2017 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% |
|
Category: | Macros | Spent time: | - | |
Target version: | TXM X.X |
Description
Media filename may be missing from header for some application of .TRS files.
Solution 1.1¶
Add media file name into TRS header in TextTranscription2TRS macro:
<Trans scribe="SCRIBE" audio_filename="" version="1.0" version_date="110110" elapsed_time="0">
->
<Trans scribe="SCRIBE" audio_filename="P1S8 30 avril 2014.mp4" version="1.0" version_date="110110" elapsed_time="0">Additionnal macro parameter:
- possibly computed from file content:
- audio_filename (may be computed from the transcription filename)
Solution 1.2¶
Complete the TRS header:
<Trans scribe="SCRIBE" audio_filename="" version="1.0" version_date="110110" elapsed_time="0">
->
<Trans scribe="$transcriber_name" audio_filename="$audio_filename" version="1.0" version_date="$transcription_date" elapsed_time="$total_elapse_time">Additionnal macro parameters:
- input form:
- transcriber_name
- possibly computed from file content:
- audio_filename (may be computed from the transcription filename)
- transcription_date (current date by default)
- total_elapse_time (may be computed from file content)
History
#1 Updated by Sebastien Jacquot almost 5 years ago
- Target version changed from TXM 0.8.0a (split/restructuration) to TXM 0.8.0
#2 Updated by Matthieu Decorde about 4 years ago
- Target version changed from TXM 0.8.0 to TXM X.X