Opened 6 years ago

Closed 4 years ago

#7445 closed enhancement (fixed)

Jpeg2000 parser

Reported by: Carl Eugen Hoyos Owned by:
Priority: wish Component: avcodec
Version: git-master Keywords: j2k videolan
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Francois Cartegnie kindly uploaded a transport stream containing jpeg2000 frames: https://streams.videolan.org/streams/ts/JP2K_aperi_tr01_1s.ts
Decoding this file requires a jpeg 2000 parser.

$ ffmpeg -i JP2K_aperi_tr01_1s.ts
ffmpeg version N-91968-ge3981c5 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 6.4.0 (GCC)
  configuration: --enable-gpl --enable-gnutls --enable-libxml2
  libavutil      56. 19.101 / 56. 19.101
  libavcodec     58. 30.100 / 58. 30.100
  libavformat    58. 18.101 / 58. 18.101
  libavdevice    58.  4.103 / 58.  4.103
  libavfilter     7. 32.100 /  7. 32.100
  libswscale      5.  2.100 /  5.  2.100
  libswresample   3.  2.100 /  3.  2.100
  libpostproc    55.  2.100 / 55.  2.100
[mpegts @ 0x398f500] PES packet size mismatch
    Last message repeated 7 times
[jpeg2000 @ 0x3994240] Psot 268156 too big
[jpeg2000 @ 0x3994240] error during processing marker segment ff90
[mpegts @ 0x398f500] PES packet size mismatch
    Last message repeated 6 times
[mpegts @ 0x398f500] start time for stream 5 is not set in estimate_timings_from_pts
[mpegts @ 0x398f500] start time for stream 6 is not set in estimate_timings_from_pts
[mpegts @ 0x398f500] start time for stream 7 is not set in estimate_timings_from_pts
[mpegts @ 0x398f500] start time for stream 8 is not set in estimate_timings_from_pts
[mpegts @ 0x398f500] start time for stream 9 is not set in estimate_timings_from_pts
[mpegts @ 0x398f500] start time for stream 10 is not set in estimate_timings_from_pts
[mpegts @ 0x398f500] PES packet size mismatch
    Last message repeated 1 times
[mpegts @ 0x398f500] Could not find codec parameters for stream 5 (Audio: s302m (BSSD / 0x44535342), 0 channels): unspecified sample format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x398f500] Could not find codec parameters for stream 6 (Audio: s302m (BSSD / 0x44535342), 0 channels): unspecified sample format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x398f500] Could not find codec parameters for stream 7 (Audio: s302m (BSSD / 0x44535342), 0 channels): unspecified sample format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x398f500] Could not find codec parameters for stream 8 (Audio: s302m (BSSD / 0x44535342), 0 channels): unspecified sample format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpegts, from 'JP2K_aperi_tr01_1s.ts':
  Duration: 00:00:00.25, start: 60948.079933, bitrate: 475569 kb/s
  Program 1
    Stream #0:0[0x74]: Video: jpeg2000 ([33][0][0][0] / 0x0021), yuv422p10le, 1280x720, 59.94 fps, 59.94 tbr, 90k tbn, 90k tbc
    Stream #0:1[0x42]: Audio: s302m (BSSD / 0x44535342), 48000 Hz, stereo, s32 (24 bit), 2689 kb/s
    Stream #0:2[0x43]: Audio: s302m (BSSD / 0x44535342), 48000 Hz, stereo, s32 (24 bit), 2689 kb/s
    Stream #0:3[0x44]: Audio: s302m (BSSD / 0x44535342), 48000 Hz, stereo, s32 (24 bit), 2689 kb/s
    Stream #0:4[0x45]: Audio: s302m (BSSD / 0x44535342), 48000 Hz, stereo, s32 (24 bit), 2689 kb/s
    Stream #0:5[0x46]: Audio: s302m (BSSD / 0x44535342), 0 channels
    Stream #0:6[0x47]: Audio: s302m (BSSD / 0x44535342), 0 channels
    Stream #0:7[0x48]: Audio: s302m (BSSD / 0x44535342), 0 channels
    Stream #0:8[0x49]: Audio: s302m (BSSD / 0x44535342), 0 channels
    Stream #0:9[0xc8]: Data: bin_data ([6][0][0][0] / 0x0006)
    Stream #0:10[0xc9]: Data: bin_data ([6][0][0][0] / 0x0006)
At least one output file must be specified

Change History (2)

comment:1 by Elon Musk, 6 years ago

You are wasting time. Parser is not possible because of stupid format.

comment:2 by Carl Eugen Hoyos, 4 years ago

Resolution: fixed
Status: newclosed

Fixed by Gautam Ramakrishnan in d09c35677defb383f69395cef84a5e20c41da6d2

Note: See TracTickets for help on using tickets.