Opened 16 years ago

Last modified 13 years ago

#1248 new defect

Support CAVS in MPEG-PS for native demuxer

Reported by: rectalogic@… Owned by: reimar
Priority: normal Component: demuxer
Version: HEAD Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

Mplayer does not properly detect AVS video (Audio Video Standard). It detects it as MPEG-PS and does not render video. Forcing "-demuxer lavf" works properly.

Attachments (2)

mplayer-misdetect.log (14.2 KB ) - added by rectalogic@… 16 years ago.
mplayer log misdetecting AVS
mplayer-lavf.log (14.6 KB ) - added by rectalogic@… 16 years ago.
mplayer log with -demuxer lavf

Download all attachments as: .zip

Change History (7)

by rectalogic@…, 16 years ago

Attachment: mplayer-misdetect.log added

mplayer log misdetecting AVS

comment:1 by rectalogic@…, 16 years ago

by rectalogic@…, 16 years ago

Attachment: mplayer-lavf.log added

mplayer log with -demuxer lavf

comment:2 by rectalogic@…, 16 years ago

comment:3 by compn, 16 years ago

did you run into a file in the wild?
i thought these avs were rare?

patch below fixes it, but i'm not sure if its correct with the avisynth extension above it.

Index: extension.c
===================================================================
--- extension.c (revision 27419)
+++ extension.c (working copy)
@@ -63,6 +63,7 @@

{ "apl", DEMUXER_TYPE_LAVF },
{ "mac", DEMUXER_TYPE_LAVF },
{ "str", DEMUXER_TYPE_LAVF },

+ { "avs", DEMUXER_TYPE_LAVF },

At least the following are hacks against broken autodetection
that should not be there

comment:4 by compn, 13 years ago

Owner: changed from r_togni@… to reimar

comment:5 by reimar, 13 years ago

Summary: MPlayer misdetects AVS containerSupport CAVS in MPEG-PS for native demuxer

The video is MPEG-PS, MPlayer just can't parse CAVS format.
Considering how crash-happy the CAVS decoder is anyway it's currently not that much of a loss.
A quick hack for this would be for the MPEG-PS demuxer to detect files containing CAVS and just refusing to handle them.

Note: See TracTickets for help on using tickets.