switching audio tracks with tinypy project 2.6.8 commit ca38492

Started by Jan Gruuthuse, December 18, 2014, 07:25:12 AM

Previous topic - Next topic

Jan Gruuthuse

minor issue:
When loading an recorded mpeg-ts stream (ard satellite 19.2Ã,°) and applying the tinypy script for this kind of recordings from Custom. Avidemux terminal output shows this:
Quote[Script] Tinypy INFO - Executing /home/jan/.avidemux6/custom/Audio/0ARDhdac3to0.py...
[addAudioTrack]  ** Adding active track from pool **
  [addAudioTrack]  Adding track 2
  [dump]   Active Track 0, pool index=2
  [dump]      from video
  [audioCodecSetByName]  Setting copy audio codec for track 0
  [audioCodecSetByName]  Audio codec copy set for track 0 (index=0)
[AudioEncoder] Cannot set conf on copy! (track 0)
[setAudioCodec]  Cannot set configuration for codec copy, track 0
  [addAudioTrack]  ** Adding active track from pool **
  [addAudioTrack]  Adding track 0
  [dump]   Active Track 0, pool index=2
  [dump]      from video
  [dump]   Active Track 1, pool index=0
  [dump]      from video
  [audioCodecSetByName]  Setting copy audio codec for track 1
  [audioCodecSetByName]  Audio codec copy set for track 1 (index=0)
[AudioEncoder] Cannot set conf on copy! (track 1)
[setAudioCodec]  Cannot set configuration for codec copy, track 1
  [addAudioTrack]  ** Adding active track from pool **
  [addAudioTrack]  Adding track 1
  [dump]   Active Track 0, pool index=2
  [dump]      from video
  [dump]   Active Track 1, pool index=0
  [dump]      from video
  [dump]   Active Track 2, pool index=1
  [dump]      from video
  [audioCodecSetByName]  Setting copy audio codec for track 2
  [audioCodecSetByName]  Audio codec copy set for track 2 (index=0)
[AudioEncoder] Cannot set conf on copy! (track 2)
[setAudioCodec]  Cannot set configuration for codec copy, track 2
  [setContainer]  setting container as index 6
[Script] Tinypy INFO - Done
When doing the same, manual from audio menu: no avidemux protests?
Quote[HandleAction]  ************ AUDIO_SELECT_TRACK **************
  [setupMenu]  For track 0, index=-1
  [setupMenu]  For track 1, index=-1
  [ADM_getIndexForIso639]  Language mis not found in list
  [setupMenu]  For track 2, index=-1
  [setupMenu]  For track 3, index=-1
  [run]  Running QT4 audioTrack GUI
  [refresh]  [Vdpau]Rrefresh
  [renderCompleteRedrawRequest]  RedrawRequest
  [paintGL]  Painting dummy openGl widget
index=2 count=4
[inputChanged]  Existing track
index=0 count=4
[inputChanged]  Existing track
index=1 count=4
[inputChanged]  Existing track
  [ADM_getIndexForIso639]  Language mis not found in list
  [updateActive]  Checking input 0 for track 0
  [updateActive]     Setting language deu to pool 2
  [updateActive]  Checking input 1 for track 60
  [updateActive]     Setting language deu to pool 0
  [updateActive]  Checking input 2 for track 60
  [updateActive]     Setting language deu to pool 1
  [updateActive]  Processing input 0 for track 0
  [updateActive]  Processing input 1 for track 1
  [updateActive]  Processing input 2 for track 2
  [dump]   Active Track 0, pool index=2
  [dump]      from video
  [dump]   Active Track 1, pool index=0
  [dump]      from video
  [dump]   Active Track 2, pool index=1
  [dump]      from video
  [run]  /Running QT4 audioTrack GUI

Looks like on both occasions audio tracks are set correctly, for now.