OpenShot / openshot-qt

OpenShot Video Editor is an award-winning free and open-source video editor for Linux, Mac, and Windows, and is dedicated to delivering high quality video editing and animation solutions to the world.
http://www.openshot.org
Other
4.35k stars 544 forks source link

choppy sound and video #478

Closed bell18 closed 6 years ago

bell18 commented 7 years ago

plays some files very choppy

StraggleCraft commented 7 years ago

Same issue with MP4 files. Sound and video are extremely choppy making the use of the application unusable. Occurs when using preview, or playing a full clip. Attempted upping the cache and tweaking the profile to match my recorded video.

OS Name Microsoft Windows 10 Pro Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz Physical Memory (RAM) 16.0 GB NVIDIA GeForce GTX 750 Ti

bell18 commented 7 years ago

my issue was mp4 also

wgaylord commented 7 years ago

Also exports choppy files as well.

nbvcxz commented 7 years ago

Confirmed - here the same with Windows 10 instance. For me a critical bug. Other video apps playing well.

jbruchon commented 7 years ago

I was told about OpenShot ten minutes ago by a friend as I was editing something in Premiere. I dragged one 1080p 59.994 fps MP4 clip into a 1080p 23.976 fps sequence with nothing else. Preview playback was unusably slow despite being on a Core i7-6700HQ. Ten minutes after installing I am uninstalling because this issue makes the software completely useless. This bug should be considered fatal. I'm on Windows 10 Pro x64. If this bug is closed I will gladly try OpenShot again.

jonoomph commented 7 years ago

Please retest this with our latest daily build. We have recently done lots of work to improve performance during real-time previews. If you find a video that has poor performance, please attach an example here (or a link), and I can test it out also. Also, I would recommend using a preview profile that is not 1080p 60fps... but something more like 720p 30fps. That also will make things much smoother while watching the real-time preview.

Please visit www.openshot.org/download, click 'Other Downloads', and install the latest daily build of OpenShot. Please reopen with the slow video attached, if you still experience an issue. Thanks!

jbruchon commented 7 years ago

@jonoomph Tested with the March 1 auto-build. Still getting stuttering with 1080p60 footage on an AMD FX-9590 desktop (16GB RAM with 10Gbps direct network link to a RAID-5 server that can send a sustained data stream in excess of 300 MB/sec.) I use for Premiere and After Effects to do 1080p60 and 2160p24 editing. Adobe Premiere renders full-res previews with effects in realtime on this machine, often with CPU to spare, and I'm running an old version of Premiere that lacks the hardware acceleration found in newer versions.

http://core.nctritech.com/da/C0002.MP4

This is the test clip I used. It's an XAVC-S 50 Mbps MP4 from a Sony action camera. I opened the program, dropped it on the timeline, and hit space to play.

Catherinewc commented 6 years ago

My issue: I used Openshot to cut and merge clips from several personal live music videos shot outdoors and saved as an MP4. When I play/view there is distortion (heavy static) during the transition between clips. How can I get rid of this? I am very new to this so any advice is appreciated. Thank you.

bell18 commented 6 years ago

@Catherinewc it seems you have a different issue. Perhaps you should open a new one.

mattwmc commented 6 years ago

Having the same problem. The sound is choppy following an export mp4.

bell18 commented 6 years ago

I ended up converting my files to another format and it worked fine. Best of luck

mattwmc commented 6 years ago

Ok. I'll give that a try. Thanks,

bell18 commented 6 years ago

Hopefully the developers will fix the bug soon

peanutbutterandcrackers commented 6 years ago

@DylanC - Does this deserve a reopening? o.O

DylanC commented 6 years ago

@peanutbutterandcrackers - Perhaps it does. Although we have plenty of other issues reporting the same kinda issue. I'll reopen for now.

peanutbutterandcrackers commented 6 years ago

Why can't I see the comment on github? o.O It's only on my email.

Either ways, thank you for pointing that out. This should help the developer a lot. :)

On Sun, Feb 25, 2018 at 9:03 PM, Jody Bruchon notifications@github.com wrote:

I pulled a 1080@60p MP4 into the latest daily built for Windows to test again and after dragging onto the timeline with no effects at all, I looked at the threads in Process Explorer. It appears that OpenShot is spending a massive amount of its CPU time returning from threads; it is using enough CPU returning from threads to peg most of my logical CPU cores at 100%. I am testing this out on an i7-6700HQ.

If you figure out what's firing off so many threads just to play back a single unaltered clip on the timeline, you'll probably be able to fix it rather easily.

[image: image] https://user-images.githubusercontent.com/1005586/36643004-359f9528-1a14-11e8-971a-b06d7138cb5c.png

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/OpenShot/openshot-qt/issues/478#issuecomment-368317473, or mute the thread https://github.com/notifications/unsubscribe-auth/AZhlAwQ_vbc-VByjSBoxmte4OdwtBd6gks5tYXnPgaJpZM4LkDfN .

jbruchon commented 6 years ago

@peanutbutterandcrackers I deleted it because it was not quite correct. The "end thread" bits are because the threads on Windows "enter" through the thread ending call so that upon thread termination it is automatically cleaned up. It is interesting that the program is running a lot of threads in any case; it would not surprise me if the inefficiency is as simple as passing too much data between threads. It's bringing down an i7-6700HQ while only playing a single 1080@60p AVC/AAC stream which means something is horribly wrong. It also means that it should be easy to catch and fix. Based on just a little poking in ProcExp I'd guess that large chunks of data are changing hands between threads way too often.

peanutbutterandcrackers commented 6 years ago

@jbruchon - I see. I don't use windows. And OpenShot lacks windows developers to help us out. (We only have a single developer, as a matter of fact.) I wonder if you could dig into this a little deeper and figure out what should be done to fix this, and perhaps, even make a Pull Request. If nothing else, your investigation will surely be of significant help to Mr. Jonathan Thomas --- the creator and the mostly solo developer of OpenShot --- to fix them bugs. We need more capable people like you to help us out, good sir!

jbruchon commented 6 years ago

I generally do everything in C and Bash. I don't know C++ or Python. If I could help and had enough time to do so, I would. I want to see something open source challenge Adobe Premiere Pro so I try to help in the ways that time and skills allow. I see a lot of things in libopenshot that look like functions that are too small to justify having as functions instead of macros but for all I know that could just be a C++ thing I don't know about.

peanutbutterandcrackers commented 6 years ago

@jbruchon - I see. But I still hope you try and stick around with the community and provide insights to fixing bugs. Even that will be of quite a lot of value to the community. :)

acal commented 6 years ago

Latest release Win 10. Running an mp4 video track with audio. I have the crackling audio and occasional video blip isolated to this single mp4 track with its own audio. This occurs without a second track with other video. The original does not exhibit this behaviour.

DylanC commented 6 years ago

@acal - What do you mean by latest release? v2.4.2? If so can you try v2.4.3?

acal commented 6 years ago

@acal - What do you mean by latest release? v2.4.2? If so can you try v2.4.3?

Will do! I had v2.4.2 which seemed to be the latest when I went to download it around a week ago. Happy to try .3.Will report back.

acal commented 6 years ago

@acal - What do you mean by latest release? v2.4.2? If so can you try v2.4.3?

Afraid that with 2.4.3 I still have audio popping/clipping spuriously. From an MP4 file solo. You can hear it in the preview and in the exports. Seems even louder in the exports though.

DylanC commented 6 years ago

@acal - Oh dear. Well thanks for letting us know.

DylanC commented 6 years ago

@acal - Actually does the video play smooth? This issue more relates to the video. We have other bugs open about the sound popping which is a separate issue.

acal commented 6 years ago

Oddly, the video does get momentary static in some viewers instead of picture for fractions of a second but only on export and not on all viewers! I don't literally see a video problem when in preview mode just hear an audio clipping.

DylanC commented 6 years ago

@acal - Alright, well if the preview is okay I'm happy to close this one out. Maybe follow the progress of #1911 or the older one #1069 for the popping audio issue.

acal commented 6 years ago

Sounds good thanks!

Amberkins commented 6 years ago

Still getting this bug As soon as I take out the sound file its fine. ( tired multiple different files to make sure)

TheUnderTaker11 commented 5 years ago

I know this is mainly dead but it's one of the top google search results, and when using Openshot it will constantly lag, frame repeating, go back a frame or 2, and it also exports EXACTLY how it looks in the preview, which is a good thing about the preview but bad overall, since it exports unusable footage.

Evo224 commented 5 years ago

I need to give my thoughts here too. Sometimes the software will just totally lag out and the preview becomes choppy and starts stuttering in the audio. On export, the original edited audio track is fine, but the FLAC I put over it is still choppy and cutting off in close intervals.

Goobye commented 5 years ago

Facing the same issue in 1080p 60fps videos in .mp4 format. Any solution yet?

Catherinewc commented 5 years ago

I never came across a fix. It drove me crazy so I switched to Video Pad.

On Fri, May 24, 2019 at 11:09 AM Goobye notifications@github.com wrote:

Facing the same issue in 1080p 60fps videos in .mp4 format. Any solution yet?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/OpenShot/openshot-qt/issues/478?email_source=notifications&email_token=AIQLSPR52YAYGH3NFMJ6CY3PXAAI3A5CNFSM4C4QG7G2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWFVMHA#issuecomment-495670812, or mute the thread https://github.com/notifications/unsubscribe-auth/AIQLSPXTDPA35ZBULP7ZNMDPXAAI3ANCNFSM4C4QG7GQ .

benjaminvanrenterghem commented 5 years ago

Sad! Software is unusable because of this

r3k2 commented 5 years ago

Same problem on arch GNU/Linux back to kdenlive