Opened 11 years ago

Last modified 9 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: Analyzed by developer:

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@… 11 years ago.
mplayer log misdetecting AVS
mplayer-lavf.log (14.6 KB) - added by rectalogic@… 11 years ago.
mplayer log with -demuxer lavf

Download all attachments as: .zip

Change History (7)

Changed 11 years ago by rectalogic@…

mplayer log misdetecting AVS

comment:1 Changed 11 years ago by rectalogic@…

Changed 11 years ago by rectalogic@…

mplayer log with -demuxer lavf

comment:2 Changed 11 years ago by rectalogic@…

comment:3 Changed 11 years ago by compn

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 Changed 9 years ago by compn

  • Owner changed from r_togni@… to reimar

comment:5 Changed 9 years ago by reimar

  • Summary changed from MPlayer misdetects AVS container to Support 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.