Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance regression with AVCHD in commit c48ed741443ffdc9ba510d0a99354d3a9fd89676 #18

Closed
zuf opened this issue Nov 14, 2012 · 7 comments

Comments

@zuf
Copy link

zuf commented Nov 14, 2012

Hello.

I found significant performance regression with playing AVCHD clips in melt (and kdenlive).
I made git bisect and found commit (c48ed74) with this regression. Without this commit I can smoothly play my project (1080p 25fps) in kdenlive or melt (CPU load is about 60-80% for one core). After this commit CPU load always around 100% and I see video with about 15 fps only.

@ddennedy
Copy link
Member

Perhaps this is because the AVCHD is marked as full color range. I might need to revert part of this change. I will look into it.

@ddennedy
Copy link
Member

If you run "ffprobe -i the.mts" against your AVCHD clip, does it report colorspace yuvj420p or just yuv420p?

@ddennedy
Copy link
Member

Fixed in git commit 06ead5b

@zuf
Copy link
Author

zuf commented Nov 15, 2012

Thank you!

@zuf
Copy link
Author

zuf commented Nov 15, 2012

Hello again. Now I start working with kdenlive and I found that performance degradation still exists (some frames drops). It works faster with latest git. But with reverted c48ed74 kdenlive works much faster.

Info about my video clips.

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'MVI_0719.MOV':
  Metadata:
    major_brand     : qt  
    minor_version   : 537331968
    compatible_brands: qt  CAEP
    creation_time   : 2012-08-17 21:01:16
  Duration: 00:03:07.92, start: 0.000000, bitrate: 45323 kb/s
    Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuvj420p, 1920x1080, 43783 kb/s, 25 fps, 25 tbr, 25k tbn, 50k tbc
    Metadata:
      creation_time   : 2012-08-17 21:01:16
    Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, 2 channels, s16, 1536 kb/s
    Metadata:
      creation_time   : 2012-08-17 21:01:16

@ddennedy
Copy link
Member

Sorry, but it is doing something more correct now because the colorspace is yuvj420p instead of simply yuv420p and thereby fixes a bug. You can see about how to tell the camera to not use the full luma range or in the Advanced Clip Properties, you can override it and turn it off.

@zuf
Copy link
Author

zuf commented Nov 15, 2012

Ok, thank you for explanations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants