[FFmpeg-trac] #1135(avcodec:new): ffmpeg/ffplay crashes with lowres=1 or lowres=3 with 1080i mpeg2 video on arm-neon

FFmpeg trac at avcodec.org
Tue May 22 04:13:50 CEST 2012


#1135: ffmpeg/ffplay crashes with lowres=1 or lowres=3 with 1080i mpeg2 video on
arm-neon
------------------------------------+-----------------------------------
             Reporter:  yiwang      |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avcodec
              Version:  git-master  |               Resolution:
             Keywords:  arm         |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+-----------------------------------

Comment (by yiwang):

 I tried a build with latest master as of May 21, 2012

 This time it does not crash but it failed with an error saying 'The
 maximum value for lowres supported by the decoder is 0'. I think this is
 not correct because lowres should work for mpeg2video. Full console
 output:

 ./ffmpeg_master_may_21 -vlowres 1 -i v/video_6.ts -benchmark -f null
 null.file
 ffmpeg version git-2012-01-20-97e3fe4 Copyright (c) 2000-2012 the FFmpeg
 developers
   built on May 21 2012 21:54:27 with llvm_gcc 4.2.1 (Based on Apple Inc.
 build 5658) (LLVM build 2377.00)
   configuration: --prefix=/Users/yiwang/src/oss/ffmpeg-ios-build-master
 /dist-armv7 --enable-cross-compile --target-os=darwin --arch=armv7
 --cross-
 prefix=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/
 --sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk
 --extra-
 ldflags=-L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/usr/lib/system
 --disable-bzlib --disable-doc --disable-ffplay --disable-ffserver
 --disable-ffprobe --enable-neon --as='gas-preprocessor.pl
 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc'
 --extra-ldflags='-arch armv7' --extra-cflags='-  configuration:
 --prefix=/Users/yiwang/src/oss/ffmpeg-ios-build-master/dist-ffmpeg version
 git-2012-01-20-97e3fe4 Copyright (c) 2000-2012 the FFmpeg developers
   built on May 21 2012 21:54:27 with llvm_gcc 4.2.1 (Based on Apple Inc.
 build 5658) (LLVM build 2377.00)
   configuration: --prefix=/Users/yiwang/src/oss/ffmpeg-ios-build-master
 /dist-armv7 --enable-cross-compile --target-os=darwin --arch=armv7
 --cross-
 prefix=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/
 --sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk
 --extra-
 ldflags=-L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/usr/lib/system
 --disable-bzlib --disable-doc --disable-ffplay --disable-ffserver
 --disable-ffprobe --enable-neon --as='gas-preprocessor.pl
 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc'
 --extra-ldflags='-arch armv7' --extra-cflags='-arch armv7 -mfpu=neon -g'
 --extra-cxxflags='-arch armv7' --cpu=cortex-a8 --enable-pic
   libavutil      51. 53.100 / 51. 53.100
   libavcodec     54. 21.101 / 54. 21.101
   libavformat    54.  6.100 / 54.  6.100
   libavdevice    53.  4.100 / 53.  4.100
   libavfilter     2. 75.100 /  2. 75.100
   libswscale      2.  1.100 /  2.  1.100
   libswresample   0. 15.100 /  0. 15.100
 [mpeg2video @ 0x114f800] The maximum value for lowres supported by the
 decoder is 0
     Last message repeated 1 times
 [mpegts @ 0x114b800] PES packet size mismatch
 Input #0, mpegts, from 'v/video_6.ts':
   Duration: 00:01:02.65, start: 87684.495911, bitrate: 18104 kb/s
   Program 3
     Stream #0:0[0x31]: Video: mpeg2video ([2][0][0][0] / 0x0002), 960x540,
 17164 kb/s, 45.29 fps, 29.97 tbr, 90k tbn, 59.94 tbc
     Stream #0:1[0x34](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz,
 5.1(side), s16, 384 kb/s
 [buffer @ 0xd68660] Invalid pixel format '-1'
 Error opening filters!

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1135#comment:15>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list