Commit 78c4cba9 authored by Felix Paul Kühne's avatar Felix Paul Kühne

Manually backport [2123e7c2] to improve our...

Manually backport [2123e7c2] to improve our support for MPEG2 content provided by FCP
parent 47f59e6d
...@@ -11,6 +11,7 @@ Goodies: ...@@ -11,6 +11,7 @@ Goodies:
* Miscellaneous bugfixes in multiple modules and in libvlc * Miscellaneous bugfixes in multiple modules and in libvlc
(ftp access, record access filter, video filters, RC interface, (ftp access, record access filter, video filters, RC interface,
playlist demuxer, IP networking, MPJPEG muxer, stream outputs) playlist demuxer, IP networking, MPJPEG muxer, stream outputs)
* Improved support for MPEG2 content created by Final Cut Pro
* New Serbian translation * New Serbian translation
* Updated Rumanian translation * Updated Rumanian translation
......
...@@ -1392,6 +1392,21 @@ static int TrackCreateES( demux_t *p_demux, mp4_track_t *p_track, ...@@ -1392,6 +1392,21 @@ static int TrackCreateES( demux_t *p_demux, mp4_track_t *p_track,
switch( p_sample->i_type ) switch( p_sample->i_type )
{ {
/* qt decoder, send the complete chunk */ /* 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', '3' ):
case VLC_FOURCC( 'S', 'V', 'Q', '1' ): case VLC_FOURCC( 'S', 'V', 'Q', '1' ):
case VLC_FOURCC( 'V', 'P', '3', '1' ): case VLC_FOURCC( 'V', 'P', '3', '1' ):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment