Opened 16 years ago
Last modified 13 years ago
#1248 new defect
Support CAVS in MPEG-PS for native demuxer
Reported by: | 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)
Change History (7)
by , 16 years ago
Attachment: | mplayer-misdetect.log added |
---|
comment:1 by , 16 years ago
comment:2 by , 16 years ago
comment:3 by , 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 , 13 years ago
Owner: | changed from | to
---|
comment:5 by , 13 years ago
Summary: | MPlayer misdetects AVS container → 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.
mplayer log misdetecting AVS