question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Huge quality drop on first/last seconds from single clips when concatenating

See original GitHub issue

Hello,

when I’m concatenating lets say 15-20 clips together, i noticed that on each clip, there is a really low quality at the start (first 1-2 seconds) and end (last 1 second) of the clips.

the only arguments im using on write_videofile are:

codec='mpeg4', 
bitrate="5000k", 
threads=8, 
temp_audiofile=final_video_file_name.replace("mp4", "mp3")

is this an known thing? I would love to know what i have to do in order to keep the quality always similar.

Many thanks

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5

github_iconTop GitHub Comments

2reactions
CayoMcommented, Jun 18, 2020

yeah, you were right again and tbh i remember now having better quality before i started using mpeg4 codec. I just switched back to xlib264 (default) and the quality is much higher. Pretty strange since the documentation explicitly says mpeg4 has produces better quality for mp4.

0reactions
tburrows13commented, Jun 18, 2020

Yeah, it is strange that the documentation says that.

Read more comments on GitHub >

github_iconTop Results From Across the Web

python - MoviePy smaller clip splitting causing glitches when ...
When trying to concatenate these videos into one larger video (code below), when the clips are joined the "transition" repeats the last few ......
Read more >
arXiv:2210.04341v1 [cs.CV] 9 Oct 2022
Abstract. In this paper, we re-examine the task of cross-modal clip-sentence re- trieval, where the clip is part of a longer untrimmed video ......
Read more >
A convex optimization framework for video quality and ...
The authors propose a practical framework that enhances the quality of video by combining different encodings of the same sequence. In this ...
Read more >
REDCap Change Log - Eastern Virginia Medical School
Improvement: In many places that display a drop-down list of records (e.g., Logging page, Email Logging, Field Comment Log, Data Quality page, ad...
Read more >
NCIC 2000 Operating Manual INTRODUCTION SECTION 1
A hit is only one element comprising sufficient legal grounds for probable cause to arrest. 2. Correct NCIC 2000 procedure requires the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found