Revision: 5256 Author: pebender Date: Thu Jul 30 10:45:51 2009 Log: - Patched MPlayer (SVN version) so that it supports TrueHD.
http://code.google.com/p/minimyth/source/detail?r=5256 Added: /trunk/gar-minimyth/script/mediaplayers/mplayer-svn/files/MPlayer-truehd.patch Modified: /trunk/gar-minimyth/html/minimyth/document-changelog.txt /trunk/gar-minimyth/script/mediaplayers/mplayer-svn/Makefile /trunk/gar-minimyth/script/mediaplayers/mplayer-svn/checksums ======================================= --- /dev/null +++ /trunk/gar-minimyth/script/mediaplayers/mplayer-svn/files/MPlayer-truehd.patch Thu Jul 30 10:45:51 2009 @@ -0,0 +1,69 @@ +diff -Naur MPlayer-29438-old/etc/codecs.conf MPlayer-29438-new/etc/codecs.conf +--- MPlayer-29438-old/etc/codecs.conf 2009-07-30 10:36:18.000000000 -0700 ++++ MPlayer-29438-new/etc/codecs.conf 2009-07-30 10:43:36.000000000 -0700 +@@ -3553,6 +3553,13 @@ + fourcc "MLP " ; internal MPlayer FourCC + driver ffmpeg + dll "mlp" ++ ++audiocodec fftruehd ++ info "FFmpeg TrueHD" ++ status working ++ fourcc TRHD ; internal MPlayer FourCC ++ driver ffmpeg ++ dll "truehd" + + audiocodec ffnellymoser + info "FFmpeg Nellymoser Audio" +diff -Naur MPlayer-29438-old/libmpdemux/demux_ts.c MPlayer-29438-new/libmpdemux/demux_ts.c +--- MPlayer-29438-old/libmpdemux/demux_ts.c 2009-07-24 09:24:15.000000000 -0700 ++++ MPlayer-29438-new/libmpdemux/demux_ts.c 2009-07-30 10:43:36.000000000 -0700 +@@ -77,6 +77,7 @@ + AUDIO_DTS = 0x2001, + AUDIO_LPCM_BE = 0x10001, + AUDIO_AAC = mmioFOURCC('M', 'P', '4', 'A'), ++ AUDIO_TRUEHD = mmioFOURCC('T', 'R', 'H', 'D'), + SPU_DVD = 0x3000000, + SPU_DVB = 0x3000001, + PES_PRIVATE1 = 0xBD00000, +@@ -244,7 +245,7 @@ + } TS_pids_t; + + +-#define IS_AUDIO(x) (((x) == AUDIO_MP2) || ((x) == AUDIO_A52) || ((x) == AUDIO_LPCM_BE) || ((x) == AUDIO_AAC) || ((x) == AUDIO_DTS)) ++#define IS_AUDIO(x) (((x) == AUDIO_MP2) || ((x) == AUDIO_A52) || ((x) == AUDIO_LPCM_BE) || ((x) == AUDIO_AAC) || ((x) == AUDIO_DTS) || ((x) == AUDIO_TRUEHD)) + #define IS_VIDEO(x) (((x) == VIDEO_MPEG1) || ((x) == VIDEO_MPEG2) || ((x) == VIDEO_MPEG4) || ((x) == VIDEO_H264) || ((x) == VIDEO_AVC) || ((x) == VIDEO_VC1)) + + static int ts_parse(demuxer_t *demuxer, ES_stream_t *es, unsigned char *packet, int probe); +@@ -871,6 +872,8 @@ + mp_msg(MSGT_DEMUXER, MSGL_INFO, "AUDIO LPCM(pid=%d)", param->apid); + else if(param->atype == AUDIO_AAC) + mp_msg(MSGT_DEMUXER, MSGL_INFO, "AUDIO AAC(pid=%d)", param->apid); ++ else if(param->atype == AUDIO_TRUEHD) ++ mp_msg(MSGT_DEMUXER, MSGL_INFO, "AUDIO TRUEHD(pid=%d)", param->apid); + else + { + audio_found = 0; +@@ -1410,8 +1413,11 @@ + if(stream_id==0xfd) + { + int ssid = parse_pes_extension_fields(p, pkt_len); ++ //fprintf(stderr, "\r\nssid: %d, 0x%x\r\n", ssid, ssid); + if((audio_substream_id!=-1) && (ssid != audio_substream_id)) + return 0; ++ if(ssid == 0x72) ++ es->type = type_from_pmt = AUDIO_TRUEHD; + } + + p += header_len + 9; +diff -Naur MPlayer-29438-old/libmpdemux/mp_taglists.c MPlayer-29438-new/libmpdemux/mp_taglists.c +--- MPlayer-29438-old/libmpdemux/mp_taglists.c 2009-07-24 09:24:15.000000000 -0700 ++++ MPlayer-29438-new/libmpdemux/mp_taglists.c 2009-07-30 10:43:36.000000000 -0700 +@@ -36,6 +36,7 @@ + { CODEC_ID_EAC3, MKTAG('E', 'A', 'C', '3')}, + { CODEC_ID_INTERPLAY_DPCM, MKTAG('I', 'N', 'P', 'A')}, + { CODEC_ID_MLP, MKTAG('M', 'L', 'P', ' ')}, ++ { CODEC_ID_TRUEHD, MKTAG('T', 'R', 'H', 'D')}, + { CODEC_ID_MUSEPACK7, MKTAG('M', 'P', 'C', ' ')}, + { CODEC_ID_MUSEPACK8, MKTAG('M', 'P', 'C', '8')}, + { CODEC_ID_NELLYMOSER, MKTAG('N', 'E', 'L', 'L')}, ======================================= --- /trunk/gar-minimyth/html/minimyth/document-changelog.txt Thu Jul 30 09:41:14 2009 +++ /trunk/gar-minimyth/html/minimyth/document-changelog.txt Thu Jul 30 10:45:51 2009 @@ -21,6 +21,7 @@ Modified mediaplayers - Patched FFmpeg so that it has multi-threading support. - Patched MPlayer (SVN version) so that it has multi-threading support. + - Patched MPlayer (SVN version) so that it supports TrueHD. Modified LIRC - Moved /etc/lircd.conf, /etc/lircmd.conf and /etc/lircrc to ======================================= --- /trunk/gar-minimyth/script/mediaplayers/mplayer-svn/Makefile Fri Jul 24 09:53:04 2009 +++ /trunk/gar-minimyth/script/mediaplayers/mplayer-svn/Makefile Thu Jul 30 10:45:51 2009 @@ -4,7 +4,7 @@ MASTER_SITES = svn://svn.mplayerhq.hu/mplayer/trunk/ SOURCEPKG = lib/ffmpeg lib/libdvdnav lib/libdvdread DISTFILES = $(DISTNAME).tar.bz2 -PATCHFILES = $(GARNAME)-mt_20090724.patch $(GARNAME)-gcc_4.4.0_hack.patch $(GARNAME)-vaapi_20090616.patch +PATCHFILES = $(GARNAME)-mt_20090724.patch $(GARNAME)-gcc_4.4.0_hack.patch $(GARNAME)-vaapi_20090616.patch $(GARNAME)-truehd.patch LICENSE = mplayer mplayer_LICENSE_TEXT = $(WORKSRC)/Copyright ======================================= --- /trunk/gar-minimyth/script/mediaplayers/mplayer-svn/checksums Fri Jul 24 09:53:04 2009 +++ /trunk/gar-minimyth/script/mediaplayers/mplayer-svn/checksums Thu Jul 30 10:45:51 2009 @@ -1,3 +1,4 @@ 57f7513237df092ac01dd79cda02b5d6 download/MPlayer-mt_20090724.patch 210f17863158d85c3631493ed50aeeb0 download/MPlayer-gcc_4.4.0_hack.patch 4b9acd014e063a57cee09e37762477d3 download/MPlayer-vaapi_20090616.patch +cb520ccb42d88498a94c9e544595fd34 download/MPlayer-truehd.patch --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "minimyth-commits" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/minimyth-commits?hl=en -~----------~----~----~----~------~----~------~--~---
