[FFmpeg-devel] [PATCH] libavf: Auto-detect mjpeg 2000 in mpeg-ts
Ståle Kristoffersen
staalebk at ifi.uio.no
Thu Oct 13 12:45:12 EEST 2016
On 2016-10-12 at 23:05, Carl Eugen Hoyos wrote:
<snip>
> Perhaps you can provide ffmpeg -i output for a file with PMT and PAT
> if you cannot share a sample?
Okay, here are three samples i have:
$ ffmpeg -i sample1.ts
ffmpeg version N-80172-g79b6c9a Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.9.2 (Debian 4.9.2-10)
configuration:
libavutil 55. 24.100 / 55. 24.100
libavcodec 57. 44.100 / 57. 44.100
libavformat 57. 37.101 / 57. 37.101
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 46.100 / 6. 46.100
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 0.101 / 2. 0.101
[mpegts @ 0x306c2a0] PES packet size mismatch
Last message repeated 1 times
Input #0, mpegts, from 'sample1.ts':
Duration: 00:00:05.21, start: 16724.490189, bitrate: 153721 kb/s
Program 1
Stream #0:0[0x40]: Video: jpeg2000 ([33][0][0][0] / 0x0021), yuv422p10le, 1920x540, 29.97 fps, 29.97 tbr, 90k tbn
Stream #0:1[0x41]: Audio: s302m (BSSD / 0x44535342), 48000 Hz, stereo, s32 (20 bit), 2304 kb/s
Stream #0:2[0x42]: Audio: s302m (BSSD / 0x44535342), 48000 Hz, stereo, s32 (20 bit), 2304 kb/s
At least one output file must be specified
$ ffmpeg -i sample2.ts
ffmpeg version N-80172-g79b6c9a Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.9.2 (Debian 4.9.2-10)
configuration:
libavutil 55. 24.100 / 55. 24.100
libavcodec 57. 44.100 / 57. 44.100
libavformat 57. 37.101 / 57. 37.101
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 46.100 / 6. 46.100
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 0.101 / 2. 0.101
[mpegts @ 0x29d72a0] Stream #0: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x29d72a0] start time for stream 0 is not set in estimate_timings_from_pts
[mpegts @ 0x29d72a0] PES packet size mismatch
Last message repeated 7 times
[mpegts @ 0x29d72a0] Could not find codec parameters for stream 0 (Video: jpeg2000 ([33][0][0][0] / 0x0021), none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpegts, from 'sample2.ts':
Duration: 00:00:08.00, start: 71738.433044, bitrate: 100054 kb/s
Program 1
Stream #0:0[0x5f]: Video: jpeg2000 ([33][0][0][0] / 0x0021), none, 90k tbr, 90k tbn
Stream #0:1[0xc8](ENG): Audio: s302m (BSSD / 0x44535342), 48000 Hz, stereo, s32 (24 bit), 2696 kb/s
Stream #0:2[0xc9](ENG): Audio: s302m (BSSD / 0x44535342), 48000 Hz, stereo, s32 (24 bit), 2696 kb/s
Stream #0:3[0xca](ENG): Audio: s302m (BSSD / 0x44535342), 48000 Hz, stereo, s32 (24 bit), 2696 kb/s
Stream #0:4[0xcb](ENG): Audio: s302m (BSSD / 0x44535342), 48000 Hz, stereo, s32 (24 bit), 2696 kb/s
At least one output file must be specified
$ ffmpeg -i sample3.ts
ffmpeg version N-80172-g79b6c9a Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.9.2 (Debian 4.9.2-10)
configuration:
libavutil 55. 24.100 / 55. 24.100
libavcodec 57. 44.100 / 57. 44.100
libavformat 57. 37.101 / 57. 37.101
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 46.100 / 6. 46.100
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 0.101 / 2. 0.101
[jpeg2000 @ 0x2ce3dc0] Psot 285327 too big
[jpeg2000 @ 0x2ce3dc0] error during processing marker segment ff90
[s302m @ 0x2ce4f80] frame has invalid header
Input #0, mpegts, from 'sample3.ts':
Duration: 00:00:03.64, start: 13435.189700, bitrate: 219998 kb/s
Program 1
Stream #0:0[0x40]: Video: jpeg2000 (JPEG 2000 codestream restriction 0) ([33][0][0][0] / 0x0021), yuv422p10le, 1920x540, 29.97 fps, 29.97 tbr, 90k tbn
Stream #0:1[0x41]: Audio: s302m (BSSD / 0x44535342), 48000 Hz, quad, s32 (24 bit), 5376 kb/s
Stream #0:2[0x48]: Data: bin_data (VANC / 0x434E4156)
At least one output file must be specified
--
Ståle Kristoffersen
More information about the ffmpeg-devel
mailing list