jliljebl / flowblade

Video Editor for Linux
GNU General Public License v3.0
2.66k stars 181 forks source link

Many Media Icons fail to create. #37

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Importing h264 videos whether in mp4 or MOV container, majority of media icons 
fail to be created, (some are created, say 2 out of 25) and using the menu item 
'Recreate Media Icons' fails to rebuild those not created already.

Console says this for the h264 in a MOV container:

[swscaler @ 0x7f16999c19e0] deprecated pixel format used, make sure you did set 
range correctly
[swscaler @ 0x7f16b07573a0] deprecated pixel format used, make sure you did set 
range correctly
[swscaler @ 0x7f16b072ac40] deprecated pixel format used, make sure you did set 
range correctly
[png @ 0x7f16b06c89a0] Provided packet is too small, needs to be 2694248
[consumer avformat] error with video encode 0
failed to make icon from: 
/home/xeon/Thumbnails/6471ed22dd521dfa9f840b4b17da2fba.png

And this for the very same h264 file remuxed into an mp4 container:

[png @ 0x7f1698649740] Provided packet is too small, needs to be 2904152
[consumer avformat] error with video encode 0
failed to make icon from: 
/home/xeon/Thumbnails/cb73904663f5988ae0635edb23880cfc.png

Not wishing to confuse matters regarding container as I'm aware why the pixel 
formats differ, but why failure to create thumbnail.

Flowblade built from git

MLT found, version: 0.9.1

Python 2.7.4 (default, Jul  5 2013, 08:21:57)

[GCC 4.7.3]

GTK+ version: (2, 24, 17)

libpng12-0 version 1.2.49-1ubuntu2

Ubuntu 13.04 64bit

I added a couple of other libpng packages (libpng3 & libpng++-dev 0.2.5-1) and 
recompiled flowblade but still no good.

Congrats on new release and look forward to future developments. Many thanks.

Original issue reported on code.google.com by yellowsblog%blueyonder.co.uk@gtempaccount.com on 1 Sep 2013 at 1:33

GoogleCodeExporter commented 9 years ago
Just tested with interlaced DV source and with HDV source with repsective 
project templates and both fail with identical error to above. Including many 
warnings for the HDV mpeg2 source as expected due to ffmpeg/libav's iffy 
support for the format for many years now.

Original comment by yellowsblog%blueyonder.co.uk@gtempaccount.com on 1 Sep 2013 at 1:44

GoogleCodeExporter commented 9 years ago
Damn...Okay, I'm running MLT 0.8.8 here and I'm unable to reproduce.

I would very be interested if the behaviour has changed from  MLT 0.8.8 to 
0.9.1, I'm not in a position to test this in the immediate future.

Original comment by janne.li...@gmail.com on 3 Sep 2013 at 12:58

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hi, I'll contact Dan and check the MLT commits and see if I can provide a 
patch, be advised my Python is very poor so your MLT version might update 
before I manage to provide it. ;-))

Original comment by yellowsblog%blueyonder.co.uk@gtempaccount.com on 3 Sep 2013 at 9:41

GoogleCodeExporter commented 9 years ago
There has been no further reports on this so this is been marked Invalid for 
now. 

Original comment by janne.li...@gmail.com on 4 Apr 2014 at 8:42

GoogleCodeExporter commented 9 years ago
I'm getting this with libmlt 0.9.2 with H264, FFV1 and Huffyuv. I've added a 
few encoding profiles to play with (FFV1+FLAC in mkv, H264 with only qp=0 + 
FLAC in mkv) but all of them are returning this result. This is a 1080p 25fps 
project.

[ffv1 @ 0x7f79a1aafb60] Provided packet is too small, needs to be 290320384
[consumer avformat] error with video encode 0
[ffv1 @ 0x7f79a1aafb60] Provided packet is too small, needs to be 290320384
[consumer avformat] error with video encode 1
[ffv1 @ 0x7f79a1aafb60] Provided packet is too small, needs to be 290320384
[consumer avformat] error with video encode 2

[huffyuv @ 0x7f4e0c011ec0] Provided packet is too small, needs to be 2116660
[consumer avformat] error with video encode 886
[huffyuv @ 0x7f4e0c011ec0] Provided packet is too small, needs to be 2112768
[consumer avformat] error with video encode 890
[huffyuv @ 0x7f4e0c011ec0] Provided packet is too small, needs to be 2100344
[consumer avformat] error with video encode 898
[huffyuv @ 0x7f4e0c011ec0] Provided packet is too small, needs to be 2120680
[consumer avformat] error with video encode 922

[libx264 @ 0x7fbb8c003900] Provided packet is too small, needs to be 2116099
[consumer avformat] error with video encode 153
[libx264 @ 0x7fbb8c003900] Provided packet is too small, needs to be 2115338
[consumer avformat] error with video encode 154
[libx264 @ 0x7fbb8c003900] Provided packet is too small, needs to be 2107576
[consumer avformat] error with video encode 155

I have found no way to render the project.

On Debian sid, libmlt 0.9.2-dmo6, libav* 2.5.2-dmo1, flowblade 0.16.

Not sure where to fix this. Note that I'm using deb-multimedia.org packages for 
up to date libav/ffmpeg/libmlt.

Original comment by infer...@gmail.com on 31 Dec 2014 at 1:15

GoogleCodeExporter commented 9 years ago
Note that this isn't with icons, but with actual project rendering.

Original comment by infer...@gmail.com on 31 Dec 2014 at 1:16

GoogleCodeExporter commented 9 years ago
I was unable to reproduce this on my system.

I'm opening a new "h264 problems" issue for further reports.

I'm fairly certain that these problems are not Flowblade related, but instead 
relate upstream code in MLT or ffmpeg or perhaps these could be packaging 
issues.

Original comment by janne.li...@gmail.com on 5 Feb 2015 at 8:31