Opened 8 years ago

Closed 3 years ago

#117 closed defect (fixed)

unsupported interplayvideo file

Reported by: ami_stuff Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: interplay
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: yes

Description

http://www.upitus.net/v1cb0vmtxws8

(sorry for this free crappy host with time delay, next this I will try to find something better)

the file does not convert correctly with ffmpeg (only a few frames)

with ffplay I get this:

C:\>ffplay C:\SK_DEMO.MVE
FFplay version git-N-29181-ga304071, Copyright (c) 2003-2011 the FFmpeg develope
rs
  built on Apr 18 2011 21:24:03 with gcc 4.5.2
  configuration: --enable-gpl --enable-version3 --enable-runtime-cpudetect --ena
ble-memalign-hack --enable-avisynth --enable-bzlib --enable-frei0r --enable-libo
pencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --
enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger
 --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enabl
e-libx264 --enable-libxavs --enable-libxvid --enable-zlib --cross-prefix=i686-w6
4-mingw32- --target-os=mingw32 --arch=x86_32 --extra-cflags=-I/home/kyle/softwar
e/ffmpeg/external-libraries/win32/include --extra-ldflags=-L/home/kyle/software/
ffmpeg/external-libraries/win32/lib --pkg-config=pkg-config
  libavutil    50. 40. 1 / 50. 40. 1
  libavcodec   52.120. 0 / 52.120. 0
  libavformat  52.108. 0 / 52.108. 0
  libavdevice  52.  4. 0 / 52.  4. 0
  libavfilter   1. 79. 0 /  1. 79. 0
  libswscale    0. 13. 0 /  0. 13. 0
[ipmovie @ 01D5D4F0] Estimating duration from bitrate, this may be inaccurate
Input #0, ipmovie, from 'C:\SK_DEMO.MVE':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: interplayvideo, pal8, 432x320, 1000k tbr, 1000k tbn, 100
0k tbc
[ffsink @ 01D62480] auto-inserting filter 'auto-inserted scaler 0' between the f
ilter 'src' and the filter 'out'
[scale @ 01D62700] w:432 h:320 fmt:pal8 -> w:432 h:320 fmt:yuv420p flags:0x4
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-49287)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 2, @ block
 (64, 0)
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-4088)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 3, @ block
 (240, 0)
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-4321)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 4, @ block
 (0, 0)
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-39333)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 5, @ block
 (104, 0)
[interplayvideo @ 01D5EB40]   Interplay video: Help! Mystery opcode 0x6 seen
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-50836)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 6, @ block
 (40, 0)
[interplayvideo @ 01D5EB40]   Interplay video: Help! Mystery opcode 0x6 seen
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-5600)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 7, @ block
 (16, 0)
[interplayvideo @ 01D5EB40]   Interplay video: Help! Mystery opcode 0x6 seen
    Last message repeated 4 times
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-4349)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 8, @ block
 (400, 0)
[interplayvideo @ 01D5EB40]   Interplay video: Help! Mystery opcode 0x6 seen
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-47404)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 9, @ block
 (192, 0)
[interplayvideo @ 01D5EB40]   Interplay video: Help! Mystery opcode 0x6 seen
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-338)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 10, @ bloc
k (96, 0)
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-53651)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 11, @ bloc
k (32, 0)
[interplayvideo @ 01D5EB40]   Interplay video: Help! Mystery opcode 0x6 seen
    Last message repeated 2 times
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-4212)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 13, @ bloc
k (96, 0)
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-273)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 15, @ bloc
k (160, 0)
[interplayvideo @ 01D5EB40]   Interplay video: Help! Mystery opcode 0x6 seen
    Last message repeated 1 times
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-4176)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 17, @ bloc
k (144, 0)
[interplayvideo @ 01D5EB40]   Interplay video: Help! Mystery opcode 0x6 seen
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-205)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 19, @ bloc
k (224, 0)
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-3816)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 21, @ bloc
k (64, 0)
[interplayvideo @ 01D5EB40]   Interplay video: Help! Mystery opcode 0x6 seen
    Last message repeated 5 times0KB vq=   38KB sq=    0B f=6/6
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-126)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 23, @ bloc
k (304, 0)
[interplayvideo @ 01D5EB40]   Interplay video: Help! Mystery opcode 0x6 seen
    Last message repeated 8 times
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-4137)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 25, @ bloc
k (192, 0)
[interplayvideo @ 01D5EB40]   Interplay video: Help! Mystery opcode 0x6 seen
    Last message repeated 2 times
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-42725)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 27, @ bloc
k (144, 0)
[interplayvideo @ 01D5EB40]   Interplay video: Help! Mystery opcode 0x6 seen
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-4308)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 29, @ bloc
k (16, 0)
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-4167)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 31, @ bloc
k (144, 0)
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-3870)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 33, @ bloc
k (16, 0)
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-4274)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 35, @ bloc
k (48, 0)
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-4660)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 37, @ bloc
k (80, 0)
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-4027)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 39, @ bloc
k (288, 0)
[interplayvideo @ 01D5EB40]   Interplay video: Help! Mystery opcode 0x6 seen
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-4300)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 41, @ bloc
k (32, 0)
[interplayvideo @ 01D5EB40]   Interplay video: Help! Mystery opcode 0x6 seen
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-1187)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 43, @ bloc
k (112, 0)
[interplayvideo @ 01D5EB40]   Interplay video: Help! Mystery opcode 0x6 seen
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-4123)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 45, @ bloc
k (208, 0)
[interplayvideo @ 01D5EB40]   Interplay video: Help! Mystery opcode 0x6 seen
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-3858)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 47, @ bloc
k (32, 0)
[interplayvideo @ 01D5EB40]   Interplay video: Help! Mystery opcode 0x6 seen
    Last message repeated 1 times
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-51416)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 49, @ bloc
k (112, 0)
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-48544)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 51, @ bloc
k (160, 0)
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-38769)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 53, @ bloc
k (0, 0)
[interplayvideo @ 01D5EB40]   Interplay video: Help! Mystery opcode 0x6 seen
    Last message repeated 2 times
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-3787)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 55, @ bloc
k (112, 0)
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-432)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 57, @ bloc
k (0, 0)
[interplayvideo @ 01D5EB40]   Interplay video: Help! Mystery opcode 0x6 seen
    Last message repeated 1 times
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-4203)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 59, @ bloc
k (128, 0)
[interplayvideo @ 01D5EB40]   Interplay video: Help! Mystery opcode 0x6 seen
    Last message repeated 2 times
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-622)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 61, @ bloc
k (240, 0)
[interplayvideo @ 01D5EB40]   Interplay video: Help! Mystery opcode 0x6 seen
    Last message repeated 5 times
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-1131)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 63, @ bloc
k (160, 0)
[interplayvideo @ 01D5EB40]   Interplay video: Help! Mystery opcode 0x6 seen
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-54293)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 65, @ bloc
k (24, 0)
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-52546)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 67, @ bloc
k (32, 0)
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-4237)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 69, @ bloc
k (96, 0)
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-4293)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 71, @ bloc
k (16, 0)
[interplayvideo @ 01D5EB40]   Interplay video: Help! Mystery opcode 0x6 seen
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-219)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 73, @ bloc
k (208, 0)

Attachments (1)

SK_DEMO_cut.MVE (2.4 MB) - added by cehoyos 7 years ago.

Change History (11)

Changed 7 years ago by cehoyos

comment:1 Changed 7 years ago by cehoyos

  • Reproduced by developer set
  • Status changed from new to open
  • Version changed from unspecified to git-master

comment:2 Changed 7 years ago by cehoyos

  • Keywords interplay added

comment:3 Changed 6 years ago by richardpl

  • Component changed from undetermined to avcodec

comment:5 follow-up: Changed 5 years ago by ami_stuff

mve2avi tool decodes "SK_DEMO.MVE" file with audio and video while ffmpeg's demuxer recognizes only video stream

http://return0.pisem.net/graph.html#mve2avi

comment:6 Changed 5 years ago by gjdfgh

I'd like to add that Descent 2 videos don't decode correctly. I can provide a sample if someone wants to work on this. It's probably unrelated, though.

comment:7 in reply to: ↑ 4 Changed 4 years ago by ami_stuff

some info from Kostya:

"SimCity files use older coding scheme that is not supported (opcodes
0xE+0xF+0x10 instead of simply opcode 0x11)"
"SK_DEMO.MVE starts as video-only stream, outputs nothing
for a while and then reinitialises video and adds an audio stream too. Without
that audio stream audio packets are sent to video decoder too and cause
decoding errors and garbage on top of properly decoded frames. If I hack
demuxer to tolerate init and dummy chunk types and add an audio stream on
reinit then video plays fine but audio is still ignored."
Last edited 4 years ago by ami_stuff (previous) (diff)

comment:8 in reply to: ↑ 5 Changed 4 years ago by ami_stuff

Replying to ami_stuff:

mve2avi tool decodes "SK_DEMO.MVE" file with audio and video while ffmpeg's demuxer recognizes only video stream

http://return0.pisem.net/graph.html#mve2avi

maybe more useful:

http://teamx.ru/site_arc/utils/mvestuff.rar

(Library for playing MVE. MVE converter into EXE. With the source and a description of the format.)

comment:9 Changed 4 years ago by cehoyos

  • Analyzed by developer set

comment:10 Changed 3 years ago by michael

  • Resolution set to fixed
  • Status changed from open to closed

Fixed in 8e0fdb03a2f17131c13df3fe9814d34c1fc972af

If other files posted in this ticket still fail, then please open separate tickets

Note: See TracTickets for help on using tickets.