[vlc-devel] commit: Manually backport [2123e7c23fe7879ed1ddc4efcedcf6da5d16a7f8] to improve our support for MPEG2 content provided by FCP ( Felix Paul Kühne )
git version control
git at videolan.org
Tue Jun 3 17:35:30 CEST 2008
vlc | branch: 0.8.6-bugfix | Felix Paul Kühne <fkuehne at videolan.org> | Tue Jun 3 17:33:59 2008 +0200| [78c4cba96e4186e47e7392de870b5d1da45f2957]
Manually backport [2123e7c23fe7879ed1ddc4efcedcf6da5d16a7f8] to improve our support for MPEG2 content provided by FCP
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=78c4cba96e4186e47e7392de870b5d1da45f2957
---
NEWS | 1 +
modules/demux/mp4/mp4.c | 15 +++++++++++++++
2 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/NEWS b/NEWS
index 7c42268..470a9c8 100644
--- a/NEWS
+++ b/NEWS
@@ -11,6 +11,7 @@ Goodies:
* Miscellaneous bugfixes in multiple modules and in libvlc
(ftp access, record access filter, video filters, RC interface,
playlist demuxer, IP networking, MPJPEG muxer, stream outputs)
+ * Improved support for MPEG2 content created by Final Cut Pro
* New Serbian translation
* Updated Rumanian translation
diff --git a/modules/demux/mp4/mp4.c b/modules/demux/mp4/mp4.c
index deaf781..503f2bd 100644
--- a/modules/demux/mp4/mp4.c
+++ b/modules/demux/mp4/mp4.c
@@ -1392,6 +1392,21 @@ static int TrackCreateES( demux_t *p_demux, mp4_track_t *p_track,
switch( p_sample->i_type )
{
/* qt decoder, send the complete chunk */
+ case VLC_FOURCC ('h', 'd', 'v', '1'): // HDV 720p30
+ case VLC_FOURCC ('h', 'd', 'v', '2'): // HDV 1080i60
+ case VLC_FOURCC ('h', 'd', 'v', '3'): // HDV 1080i50
+ case VLC_FOURCC ('h', 'd', 'v', '5'): // HDV 720p25
+ case VLC_FOURCC ('m', 'x', '5', 'n'): // MPEG2 IMX NTSC 525/60 50mb/s produced by FCP
+ case VLC_FOURCC ('m', 'x', '5', 'p'): // MPEG2 IMX PAL 625/60 50mb/s produced by FCP
+ case VLC_FOURCC ('m', 'x', '4', 'n'): // MPEG2 IMX NTSC 525/60 40mb/s produced by FCP
+ case VLC_FOURCC ('m', 'x', '4', 'p'): // MPEG2 IMX PAL 625/60 40mb/s produced by FCP
+ case VLC_FOURCC ('m', 'x', '3', 'n'): // MPEG2 IMX NTSC 525/60 30mb/s produced by FCP
+ case VLC_FOURCC ('m', 'x', '3', 'p'): // MPEG2 IMX PAL 625/50 30mb/s produced by FCP
+ case VLC_FOURCC ('x', 'd', 'v', '2'): // XDCAM HD 1080i60
+ case VLC_FOURCC ('A', 'V', 'm', 'p'): // AVID IMX PAL
+ p_track->fmt.i_codec = VLC_FOURCC( 'm','p','g','v' );
+ break;
+ /* qt decoder, send the complete chunk */
case VLC_FOURCC( 'S', 'V', 'Q', '3' ):
case VLC_FOURCC( 'S', 'V', 'Q', '1' ):
case VLC_FOURCC( 'V', 'P', '3', '1' ):
More information about the vlc-devel
mailing list