google-code-export / ffmpegthumbnailer

Automatically exported from code.google.com/p/ffmpegthumbnailer
GNU General Public License v2.0
1 stars 1 forks source link

Error on some mp4 videos #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try and thumbnail the attached file.

What is the expected output? What do you see instead?
I ran:
ffmpegthumbnailer -i Jim\ Flying\ Alarm\ Clock.mp4 -o /tmp/t.png

The Error:
ffmpegthumbnailer: moviedecoder.cpp:233: bool
MovieDecoder::decodeVideoPacket(): Assertion `m_pPacket->stream_index ==
m_VideoStream' failed.
Aborted

What version of the product are you using? On what operating system?
ffmpeg-0.4.9_p20070616
ffmpegthumbnailer-1.2.5
Gentoo Linux (32 bit).

Original issue reported on code.google.com by erlend.d...@gmail.com on 22 Jul 2008 at 12:03

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I will try to reproduce it, meanwhile can you verify that it also fails when 
using
ffmpeg-0.4.9_p20080326 from portage.

Original comment by dirk.vdb on 22 Jul 2008 at 6:40

GoogleCodeExporter commented 9 years ago
I can confirm that ffmpeg-0.4.9_p20080326 gives the same problem.

Original comment by erlend.d...@gmail.com on 22 Jul 2008 at 10:34

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I also encountered what I think is a similar issue with an avi file that I 
think have
been encoded using mpeg4 codec.

This is the error I get when I run ffmpegthumbnailer -i t_gear.avi -o pic.png:

[NULL @ 0x7f16e1cdd5a0]Invalid and inefficient vfw-avi packed B frames detected
[mpeg4 @ 0x7f16e1cdd5a0]Invalid and inefficient vfw-avi packed B frames detected
[mpeg4 @ 0x7f16e1cdd5a0]Invalid and inefficient vfw-avi packed B frames detected
[mpeg4 @ 0x7f16e1cdd5a0]Invalid and inefficient vfw-avi packed B frames detected
[mpeg4 @ 0x7f16e1cdd5a0]Invalid and inefficient vfw-avi packed B frames detected
ffmpegthumbnailer: libavformat/avidec.c:1029: avi_read_seek: Assertion
`st2->time_base.den == ast2->rate' failed.
Aborted

I can confirm that ffmpegthumbnailer used to work with this file before. Maybe 
it's
related to new version of ffmpeg? (I'm using ffmpeg-20080715-14236 with
ffmpegthumbnailer-1.2.6)

Original comment by zodma...@gmail.com on 22 Jul 2008 at 3:40

GoogleCodeExporter commented 9 years ago
I can also reproduce the issue. I removed the assert and at one point I get some
videoframes which seem to belong to a different stream and this causes the 
decoding
to fail. I have yet to figure out a solution.

Original comment by dirk.vdb on 25 Jul 2008 at 5:34

GoogleCodeExporter commented 9 years ago
I have just upgrade ffmpeg on my system to the lastest svn revision (15340, I
believe), and the problem disappear! :D

Now ffmpegthumbnailer works on all the *.avi files that it used to have problem 
with
just fine.

So it appears that the problem is with the old(?) version of the ffmpeg after 
all.

Original comment by zodma...@gmail.com on 16 Sep 2008 at 10:49

GoogleCodeExporter commented 9 years ago
I just tried the thumbnailer on Jim Flying Alarm Clock.mp4 and it seems to work 
now.
I guess it was an ffmpeg thing.

I'm gonna mark this as closed.

Original comment by dirk.vdb on 11 Aug 2009 at 6:03

GoogleCodeExporter commented 9 years ago
This issue occurs for me with the latest SVN build!
Please check if fix is still in place 

Original comment by stijnspi...@gmail.com on 18 Sep 2009 at 2:11

GoogleCodeExporter commented 9 years ago
Latest svn build of what? ffmpeg or ffmpegthumbnailer. You should make sure you 
have a 
recent ffmpeg version. I never made a fix for this issue.

Original comment by dirk.vdb on 18 Sep 2009 at 2:17

GoogleCodeExporter commented 9 years ago
[h264 @ 0x1d97ae0] Missing reference picture
[h264 @ 0x1d97ae0] Missing reference picture
[h264 @ 0x1d97ae0] Missing reference picture
[h264 @ 0x1d97ae0] Missing reference picture
[h264 @ 0x1d97ae0] Missing reference picture
[h264 @ 0x1d97ae0] decode_slice_header error
[h264 @ 0x1d97ae0] concealing 8160 DC, 8160 AC, 8160 MV errors
[h264 @ 0x1d97ae0] reference picture missing during reorder
[h264 @ 0x1d97ae0] Missing reference picture

Original comment by asip...@gmail.com on 24 Nov 2013 at 8:26