Opened 5 years ago

Closed 5 years ago

#920 closed defect (fixed)

Error capture picutre IV41 of ffmpeg0.9.1

Reported by: johnson Owned by:
Priority: normal Component: undetermined
Version: 0.9.1 Keywords: indeo4
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

1 Info
[root@dev]# ffmpeg -i iv41.avi
ffmpeg version 0.9.1, Copyright (c) 2000-2012 the FFmpeg developers

built on Jan 15 2012 18:01:25 with gcc 4.1.2 20080704 (Red Hat 4.1.2-51)
configuration: --prefix=/usr/ffmpeg --disable-yasm
libavutil 51. 32. 0 / 51. 32. 0
libavcodec 53. 42. 4 / 53. 42. 4
libavformat 53. 24. 2 / 53. 24. 2
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 53. 0 / 2. 53. 0
libswscale 2. 1. 0 / 2. 1. 0

Input #0, avi, from 'iv41.avi':

Duration: 00:04:30.90, start: 0.000000, bitrate: 12399 kb/s

Stream #0:0: Video: indeo4 (IV41 / 0x31345649), yuv410p, 720x480, 30 tbr, 30 tbn, 30 tbc
Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 2 channels, s16, 1536 kb/s

2 cmd and ErrorMsg?

cmd: ffmpeg -i iv41.avi -y -f image2 -ss 00:10 -s 360*240 -t 1 -vframes 1 2.jpg

ErrorMsg?:
[indeo4 @ 0x195afc00] Error decoding picture header
Error while decoding stream #0:0
[indeo4 @ 0x195afc00] Invalid picture start code!
[indeo4 @ 0x195afc00] Error decoding picture header
Error while decoding stream #0:0
[indeo4 @ 0x195afc00] Invalid picture start code!
[indeo4 @ 0x195afc00] Error decoding picture header
Error while decoding stream #0:0
[indeo4 @ 0x195afc00] Invalid picture start code!
[indeo4 @ 0x195afc00] Error decoding picture header
Error while decoding stream #0:0
[indeo4 @ 0x195afc00] Invalid picture start code!
[indeo4 @ 0x195afc00] Error decoding picture header
Error while decoding stream #0:0
[indeo4 @ 0x195afc00] Invalid picture start code!
[indeo4 @ 0x195afc00] Error decoding picture header
Error while decoding stream #0:0

Change History (6)

comment:1 Changed 5 years ago by johnson

Anyone figure me out, thanks

comment:2 Changed 5 years ago by cehoyos

Please provide the complete, uncut console output for the failing command line and please provide the sample.

comment:3 Changed 5 years ago by johnson

The file is too large about 410M, this is the link http://116.204.127.26/test/iv41.avi.

When I run the cmd "ffmpeg -i iv41.avi -y -f image2 -ss 00:00:10 -s 360X240 -t 1 -vframes 1 iv41.jpg > o.txt", the screen scrolls very fast, I can not catche the first screen.

Thanks for your help.

comment:4 Changed 5 years ago by johnson

I add one parameter to run the command, then get the uncut console output.


ffmpeg -i iv41.avi -y -f image2 -ss 00:00:10 -s 360X240 -xerror -t 1 -vframes 1 iv41.jpg

ffmpeg version 0.9.1, Copyright (c) 2000-2012 the FFmpeg developers

built on Jan 15 2012 18:01:25 with gcc 4.1.2 20080704 (Red Hat 4.1.2-51)
configuration: --prefix=/usr/ffmpeg --disable-yasm
libavutil 51. 32. 0 / 51. 32. 0
libavcodec 53. 42. 4 / 53. 42. 4
libavformat 53. 24. 2 / 53. 24. 2
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 53. 0 / 2. 53. 0
libswscale 2. 1. 0 / 2. 1. 0

Input #0, avi, from 'iv41.avi':

Duration: 00:04:30.90, start: 0.000000, bitrate: 12399 kb/s

Stream #0:0: Video: indeo4 (IV41 / 0x31345649), yuv410p, 720x480, 30 tbr, 30 tbn, 30 tbc
Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 2 channels, s16, 1536 kb/s

Incompatible pixel format 'yuv410p' for codec 'mjpeg', auto-selecting format 'yuvj420p'
[buffer @ 0x1d502d40] w:720 h:480 pixfmt:yuv410p tb:1/1000000 sar:0/1 sws_param:
[scale @ 0x1d5451a0] w:720 h:480 fmt:yuv410p -> w:360 h:240 fmt:yuvj420p flags:0x4
Output #0, image2, to 'iv41.jpg':

Metadata:

encoder : Lavf53.24.2
Stream #0:0: Video: mjpeg, yuvj420p, 360x240, q=2-31, 200 kb/s, 90k tbn, 30 tbc

Stream mapping:

Stream #0:0 -> #0:0 (indeo4 -> mjpeg)

Press [q] to stop, ? for help
[indeo4 @ 0x1d500c00] Invalid picture start code!
[indeo4 @ 0x1d500c00] Error decoding picture header
Error while decoding stream #0:0

comment:5 Changed 5 years ago by cehoyos

  • Keywords indeo4 added
  • Reproduced by developer set
  • Status changed from new to open
  • Version changed from unspecified to 0.9.1

Reproducible with fate-suite/iv41/indeo41-partial.avi and ffmpeg -i indeo41-partial.avi out.png

comment:6 Changed 5 years ago by michael

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

fixed in the 0.9 branch, fix will be in 0.9.2

Note: See TracTickets for help on using tickets.