Skip to content

h262 support codec tag #9472

Closed
Closed
@emveepee

Description

@emveepee

Is there a way to modify the codec tag support for h262 files in software without changing the core library? A user has provided several video samples from the US with CableCard mpeg2video that have 0x80 in the codec_tag. Exoplayer default does not detect video or flag a warning that video isn't support by the player. Video will play if I hard-code this in DefaultTsPayloadReaderFactory

      case TsExtractor.TS_STREAM_TYPE_H262:
      case 0x80:
        return new PesReader(new H262Reader(buildUserDataReader(esInfo)));

Based on this old information https://bugzilla.gnome.org/show_bug.cgi?id=697892#c3 it appears to be a know issue. gstreamer seems to support it https://github.com/GStreamer/gst-plugins-bad/blob/master/gst/mpegtsdemux/gstmpegdefs.h#L50

It looks like the alternate LPCM definition for 0x80 is not defined in ExoPlayer so while there could be issues there wouldn't be a conflict.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions