Opened 16 months ago

Last modified 12 months ago

#5581 open defect

vp6: support decoding of interlaced video

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

Description

another sample is here:

https://trac.videolan.org/vlc/ticket/3338

C:\>ffmpeg -i C:\vp6_interlaced.avi out.avi
ffmpeg version N-80043-g1499242 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.5.0 (GCC) 20100414 (Fedora MinGW 4.5.0-1.fc14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-pthreads --enable-memalign-hack --enable-runtime-cpudetect --
enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -lw
inmm -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snapsh
ots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/sna
pshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3 --
enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-li
bvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-li
bopencore-amrwb --enable-libmp3lame --enable-libfreetype --enable-libvpx --disab
le-decoder=libvpx
  libavutil      55. 24.100 / 55. 24.100
  libavcodec     57. 42.100 / 57. 42.100
  libavformat    57. 36.100 / 57. 36.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 46.100 /  6. 46.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Input #0, avi, from 'C:\vp6_interlaced.avi':
  Duration: 00:00:12.64, start: 0.000000, bitrate: 1572 kb/s
    Stream #0:0: Video: vp6 (VP60 / 0x30365056), yuv420p, 320x240, 1567 kb/s, 23
.97 fps, 23.97 tbr, 23.97 tbn
File 'out.avi' already exists. Overwrite ? [y/N] y
[avi @ 0x28c52e0] Using AVStream.codec to pass codec parameters to muxers is dep
recated, use AVStream.codecpar instead.
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf57.36.100
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 320x240, q=2-31, 200
 kb/s, 23.97 fps, 23.97 tbn
    Metadata:
      encoder         : Lavc57.42.100 mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
Stream mapping:
  Stream #0:0 -> #0:0 (vp6 (native) -> mpeg4 (native))
Press [q] to stop, [?] for help
[vp6 @ 0x28c4ee0] Interlacing is not implemented. Update your FFmpeg version to
the newest one from Git. If the problem still occurs, it means that your file ha
s a feature which has not been implemented.
Error while decoding stream #0:0: Not yet implemented in FFmpeg, patches welcome

Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 118 times
[vp6 @ 0x28c4ee0] Interlacing is not implemented. Update your FFmpeg version to
the newest one from Git. If the problem still occurs, it means that your file ha
s a feature which has not been implemented.
Error while decoding stream #0:0: Not yet implemented in FFmpeg, patches welcome

Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 118 times
[vp6 @ 0x28c4ee0] Interlacing is not implemented. Update your FFmpeg version to
the newest one from Git. If the problem still occurs, it means that your file ha
s a feature which has not been implemented.
Error while decoding stream #0:0: Not yet implemented in FFmpeg, patches welcome

Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 41 times
[vp6 @ 0x28c4ee0] Interlacing is not implemented. Update your FFmpeg version to
the newest one from Git. If the problem still occurs, it means that your file ha
s a feature which has not been implemented.
Error while decoding stream #0:0: Not yet implemented in FFmpeg, patches welcome

Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 18 times
frame=    0 fps=0.0 q=0.0 Lsize=       6kB time=00:00:00.00 bitrate=N/A speed=
 0x
video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing ove
rhead: unknown
Output file is empty, nothing was encoded (check -ss / -t / -frames parameters i
f used)
Conversion failed!

Attachments (2)

vp6_interlaced.avi (2.4 MB) - added by ami_stuff 16 months ago.
vp_interlaced.diff (4.7 KB) - added by cehoyos 12 months ago.
Patch by Aurelien Jacobs

Change History (6)

Changed 16 months ago by ami_stuff

comment:1 Changed 16 months ago by ami_stuff

comment:2 Changed 12 months ago by richardpl

I do not see patch. Can you attach it here.

Changed 12 months ago by cehoyos

Patch by Aurelien Jacobs

comment:4 Changed 12 months ago by cehoyos

  • Component changed from undetermined to avcodec
  • Keywords vp6 added
  • Reproduced by developer set
  • Status changed from new to open
  • Version changed from unspecified to git-master
Note: See TracTickets for help on using tickets.