[PATCH]Change stream id for DTS in mpeg program streams
Hi! Attached patch was suggested (and tested) in ticket #1398 (it is not related to the ticket), I don't have access to the relevant specification but several other open source projects use 0x88 for dts in mpegps. The relevant original commit is 23c99253. Please comment, Carl Eugen
On Sun, Aug 25, 2013 at 01:10:05PM +0200, Carl Eugen Hoyos wrote:
Hi!
Attached patch was suggested (and tested) in ticket #1398 (it is not related to the ticket), I don't have access to the relevant specification but several other open source projects use 0x88 for dts in mpegps. The relevant original commit is 23c99253.
Please comment, Carl Eugen
mpeg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 37a9bb70d97fc0a2b38b8e9d8cec2443674b5952 patchmpegdts.diff diff --git a/libavformat/mpeg.h b/libavformat/mpeg.h index a1e8980..cf10d6a 100644 --- a/libavformat/mpeg.h +++ b/libavformat/mpeg.h @@ -41,7 +41,7 @@ #define AUDIO_ID 0xc0 #define VIDEO_ID 0xe0 #define AC3_ID 0x80 -#define DTS_ID 0x8a +#define DTS_ID 0x88 #define LPCM_ID 0xa0 #define SUB_ID 0x20
if 0x88 is what other tools use then its ok
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
-- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB The worst form of inequality is to try to make unequal things equal. -- Aristotle
Carl Eugen Hoyos <cehoyos <at> ag.or.at> writes:
Attached patch was suggested (and tested) in ticket #1398 (it is not related to the ticket), I don't have access to the relevant specification but several other open source projects use 0x88 for dts in mpegps. The relevant original commit is 23c99253.
The patch was merged by Michael. Carl Eugen
On Tue, 10 Sep 2013 00:46:22 +0000 (UTC), Carl Eugen Hoyos wrote:
Carl Eugen Hoyos <cehoyos <at> ag.or.at> writes:
Attached patch was suggested (and tested) in ticket #1398 (it is not related to the ticket), I don't have access to the relevant specification but several other open source projects use 0x88 for dts in mpegps. The relevant original commit is 23c99253.
The patch was merged by Michael.
there were some requests to put entries into our changelog when we change the behavior of the program. would something like this be acceptable? diff --git a/Changelog b/Changelog index f069145..c4b1251 100644 --- a/Changelog +++ b/Changelog @@ -18,6 +18,7 @@ version <next> - DVB teletext decoder - phase filter ported from libmpcodecs - w3fdif filter +- change DTS stream id in mpeg ps muxer from 0x8a to 0x88 -compn
On 2013-09-10 08:01 -0400, compn wrote:
On Tue, 10 Sep 2013 00:46:22 +0000 (UTC), Carl Eugen Hoyos wrote:
Carl Eugen Hoyos <cehoyos <at> ag.or.at> writes:
Attached patch was suggested (and tested) in ticket #1398 (it is not related to the ticket), I don't have access to the relevant specification but several other open source projects use 0x88 for dts in mpegps. The relevant original commit is 23c99253.
The patch was merged by Michael.
there were some requests to put entries into our changelog when we change the behavior of the program. would something like this be acceptable?
Seems certainly a good idea to mention it.
diff --git a/Changelog b/Changelog index f069145..c4b1251 100644 --- a/Changelog +++ b/Changelog @@ -18,6 +18,7 @@ version <next> - DVB teletext decoder - phase filter ported from libmpcodecs - w3fdif filter +- change DTS stream id in mpeg ps muxer from 0x8a to 0x88
OK, with me. Maybe for consistency do not use imperative but past tense, e.g "changed DTS stream id..." Not sure if they are overall consistent. Probably not, so don't take my comment to serious. Alexander
participants (4)
-
Alexander Strasser -
Carl Eugen Hoyos -
compn -
Michael Niedermayer