Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 199448
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Luca Barbato <lu_zero@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Maciej Pawlik <yaq@world.pl>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
good.png Source frame image/png Maciej Pawlik 2007-11-17 15:41 0000 39.06 KB Details
error.png Corrupted image (same source as previous attatchment) in blender image/png Maciej Pawlik 2007-11-17 15:42 0000 69.62 KB Details
blender-2.44-swscale.patch Fixed patch. text/plain Maciej Pawlik 2007-11-17 18:02 0000 3.96 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 199448 depends on: Show dependency tree
Bug 199448 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-11-17 15:41 0000
When using blender-2.45 with ffmpeg flag, and most recent
ffmpeg-0.4.9_p20070616-r2, adding any *.avi file as an input for texture (or
source in 'sequence') results in corrupted image (attatchments).

Reproducible: Always

Steps to Reproduce:
1. emerge =blender-2.45
2. emerge =media-video/ffmpeg-0.4.9_p20070616-r2
3. add .avi file as texture source
Actual Results:  
Corrupted image instead of actual movie.


Last working configuration (and workaround):
media-video/ffmpeg-0.4.9_p20070616 (no swscaler)

and modified blender-2.45:
--- blender-2.45.ebuild 2007-09-22 01:14:57.000000000 +0200
+++ blender-2.45.ebuild.1       2007-11-17 16:38:13.000000000 +0100
@@ -58,7 +58,6 @@
        cd ${S}
        epatch ${FILESDIR}/blender-2.37-dirs.patch
        epatch ${FILESDIR}/blender-2.44-scriptsdir.patch
-       epatch ${FILESDIR}/blender-2.44-swscale.patch

        if use ffmpeg ; then
                cd ${S}/extern

I think, that this swscale patch is not taking care of input, because output to
ffmeg works fine.

------- Comment #1 From Maciej Pawlik 2007-11-17 15:41:45 0000 -------
Created an attachment (id=136172) [details]
Source frame

------- Comment #2 From Maciej Pawlik 2007-11-17 15:42:47 0000 -------
Created an attachment (id=136174) [details]
Corrupted image (same source as previous attatchment) in blender

------- Comment #3 From Luca Barbato 2007-11-17 15:59:45 0000 -------
that's annoying, instruct me on how to reproduce the issue please.

------- Comment #4 From Maciej Pawlik 2007-11-17 17:50:38 0000 -------
Start blender, choose "4-sequence" window sheme (center-top list), and move
mouse cursor to middle window. Then press space, and click "movie", choose a
file, place it somewhere in the window, then move the time slider over the clip
and observe the results in preview (black window on top right, middle mouse
pans the view).

------- Comment #5 From Maciej Pawlik 2007-11-17 18:02:16 0000 -------
Created an attachment (id=136183) [details]
Fixed patch.

Ok, found it!:)

There was an error in old version of this patch. In ffmpeg_fetchibuf() pixel
formats were in wrong order. I've noticed it while comparing new code to the
old commented-out.

------- Comment #6 From Luca Barbato 2007-11-17 18:39:40 0000 -------
patch update committed, thanks again

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug