Changes between Version 1 and Version 2 of Ticket #1398, comment 22


Ignore:
Timestamp:
Apr 23, 2014, 8:12:27 AM (6 years ago)
Author:
goodthanks
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1398, comment 22

    v1 v2  
    2020
    2121The following needs to inserted into that switch function
    22 <code>case AV_CODEC_ID_DTS:
     22{{{case AV_CODEC_ID_DTS:
    2323            stream_type = STREAM_TYPE_AUDIO_DTS;
    2424            break;
    25 </code>
     25}}}
    2626This will result in the output file having a stream ID of 0x8a which should work. If not line 61 of libavformat\mpegts.h probably needs to be changed to
    27 <code>#define STREAM_TYPE_AUDIO_DTS       0x82</code>
     27{{{#define STREAM_TYPE_AUDIO_DTS       0x82}}}
    2828from
    29 <code>#define STREAM_TYPE_AUDIO_DTS       0x8a</code>
     29{{{#define STREAM_TYPE_AUDIO_DTS       0x8a}}}
    3030
    3131Got no idea how to compile ffmpeg on windows so hopefully someone else can confirm.