Feature #2275

TBX: 0.7.8: TextTranscription2TRS macro, add media file name into TRS header

Ajouté par Serge Heiden il y a environ un mois.

Statut:New Début:06/11/2017
Priorité:Normal Echéance:
Assigné à:- % réalisé:

0%

Catégorie:Macros Temps passé: -
Version cible:TXM 0.8

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)

Formats disponibles : Atom PDF