Kdenlive   bug tracker Home page

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002164KdenliveRenderingpublic2011-06-12 11:062011-06-14 20:41
Reporterdinolib 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformLinuxOSUbuntuOS Version10.10 2.6.35-30
Product VersionRecent git 
Target VersionFixed in Version 
Summary0002164: crf x264: no video rendered
Descriptionwith latest SVN kdenlive (from PPA), using this command line:

f=mp4 acodec=libfaac ab=128k ac=2 ar=48000 pix_fmt=yuv420p vcodec=libx264 threads=0 crf=24 aspect=%dar vpre=veryfast

produces a no video file (only audio).

Using constant bitrate it works.
Steps To ReproduceRender a video with the given command line.
Check the output: it does not contain video.

Use b=1000k instead of crf=24: it works.
TagsNo tags attached.
Build/Install Method3rd party package
Attached Files

- Relationships

-  Notes
(0006879)
gmarco (reporter)
2011-06-12 20:24

it is more a libx264 thing, then kdenlive.
running the command with verbose on console show the exact matter why no video is generated. i uses this too, to find out why sometimes the video is not rendered.
(maybe bitrate to low, or max bitrate is needed for profile.... )

for the reason it would be good to have an debug output in kdenlive to see such messages
(0006887)
dinolib (reporter)
2011-06-13 22:52
edited on: 2011-06-14 19:59

I think you're right. I've tried to run from command line and I got a malloc error of x264.
I think there is a problem with libraries version... Could kdenlive check the version of the libraries and warn for some incompatibility?

----
edit
I've tried 0.7.8 -> failed
0.8.0 (test repo) -> it works!

I'll investigate next days. I'll install again 0.8.2 (svn) and watch the errors.

(0006895)
dinolib (reporter)
2011-06-14 20:41
edited on: 2011-06-14 20:53

Here are the logs for the two versions:

1**********************************************

kdenlive 0.8.0 svn20110608
mlt 0.7.2

/usr/bin/melt "/tmp/kde-dinolib/kdenliveQ31357.mlt" -profile /home/dinolib/.kde/share/apps/kdenlive/profiles/customprofile4 -consumer avformat:"/home/dinolib/kdenlive/Hell's Kitchen 7x01-test2.mp4" progress=1 f=mp4 hq=1 acodec=libfaac ab=128k ac=2 ar=48000 pix_fmt=yuv420p vcodec=libx264 threads=2 crf=24 aspect=@16/9 vpre=veryfast threads=2 real_time=-1 -verbose


[mpeg2video @ 0x1d05210]mpeg_decode_postinit() failure
    Last message repeated 10 times
[mpegts @ 0x1ce10c0]max_analyze_duration reached
[NULL @ 0x1d083d0]start time is not set in av_estimate_timings_from_pts
[mpeg2video @ 0x1da0580]mpeg_decode_postinit() failure
    Last message repeated 10 times
[mpegts @ 0x1ce53a0]max_analyze_duration reached
[NULL @ 0x1dbb5a0]start time is not set in av_estimate_timings_from_pts
[mpeg2video @ 0x1da8590]mpeg_decode_postinit() failure
    Last message repeated 10 times
[mpegts @ 0x1d68d20]max_analyze_duration reached
[NULL @ 0x1dafc20]start time is not set in av_estimate_timings_from_pts
[producer avformat] audio: total_streams 2 max_stream 2 total_channels 2 max_channels 2
[mpeg2video @ 0x1da0580]warning: first frame is no keyframe

result: ENCODE OK!

======================================

2**************************************

kdenlive 0.8.1 svn20110608
mlt 0.7.3

/usr/bin/melt "/tmp/kde-dinolib/kdenliveHX3769.mlt" -profile /home/dinolib/.kde/share/apps/kdenlive/profiles/customprofile4 -consumer avformat:"/home/dinolib/kdenlive/Hell's Kitchen 7x01-test2.mp4" progress=1 f=mp4 hq=1 acodec=libfaac ab=128k ac=2 ar=48000 pix_fmt=yuv420p vcodec=libx264 threads=2 crf=24 aspect=@16/9 vpre=veryfast threads=2 real_time=-1 -verbose

[mpeg2video @ 0x254d0a0]mpeg_decode_postinit() failure
    Last message repeated 10 times
[mpegts @ 0x2528f50]max_analyze_duration reached
[NULL @ 0x2550260]start time is not set in av_estimate_timings_from_pts
[mpeg2video @ 0x2574910]mpeg_decode_postinit() failure
    Last message repeated 10 times
[mpegts @ 0x252d210]max_analyze_duration reached
[NULL @ 0x2576180]start time is not set in av_estimate_timings_from_pts
[mpeg2video @ 0x25cd960]mpeg_decode_postinit() failure
    Last message repeated 10 times
[mpegts @ 0x25e9a00]max_analyze_duration reached
[NULL @ 0x25f0dc0]start time is not set in av_estimate_timings_from_pts
[producer avformat] audio: total_streams 2 max_stream 2 total_channels 2 max_channels 2
/usr/share/ffmpeg/libx264-veryfast.ffpreset: [ ref=1, coder=1, flags=+loop, cmp=+chroma, partitions=+parti8x8+parti4x4+partp8x8+partb8x8, me_method=hex, subq=2, me_range=16, g=250, keyint_min=25, sc_threshold=40, i_qfactor=0.71, b_strategy=1, qcomp=0.6, qmin=10, qmax=51, qdiff=4, bf=3, refs=1, directpred=1, trellis=0, flags2=+bpyramid-mixed_refs+wpred+dct8x8+fastpskip-mbtree, wpredp=0 ]
[libx264 @ 0x24b8e90]using SAR=64/45
[libx264 @ 0x24b8e90]using cpu capabilities: MMX2 SSE2Fast FastShuffle LZCNT
x264 [error]: malloc of size -1073741820 failed
[mpeg2video @ 0x26262f0]mpeg_decode_postinit() failure
    Last message repeated 10 times
[mpegts @ 0x25e7a00]max_analyze_duration reached
[NULL @ 0x25401f0]start time is not set in av_estimate_timings_from_pts
[mpeg2video @ 0x26215f0]mpeg_decode_postinit() failure
    Last message repeated 10 times
[mpegts @ 0x27eb200]max_analyze_duration reached
[NULL @ 0x27f3c00]start time is not set in av_estimate_timings_from_pts
[mpeg2video @ 0x2855e60]mpeg_decode_postinit() failure
    Last message repeated 10 times
[mpegts @ 0x2857300]max_analyze_duration reached
[NULL @ 0x27c8710]start time is not set in av_estimate_timings_from_pts
[mpeg2video @ 0x26215f0]warning: first frame is no keyframe

result: ENCODE ALL BLACK :-(


- Issue History
Date Modified Username Field Change
2011-06-12 11:06 dinolib New Issue
2011-06-12 20:24 gmarco Note Added: 0006879
2011-06-13 22:52 dinolib Note Added: 0006887
2011-06-14 19:59 dinolib Note Edited: 0006887 View Revisions
2011-06-14 20:41 dinolib Note Added: 0006895
2011-06-14 20:53 dinolib Note Edited: 0006895 View Revisions


Copyright © 2000 - 2014 MantisBT Team
Powered by Mantis Bugtracker