Search found 255 matches

by pandy
Tue Oct 29, 2019 8:26 pm
Forum: Usage
Topic: How to create a high quality video file from JPGs using FFMPEG?
Replies: 26
Views: 2814

Re: How to create a high quality video file from JPGs using FFMPEG?

There is no universal answer for your question related to framerate conversion - You can read about this (but not only) here https://www.thebattles.net/video/8mm_restoration.html - for sure i will do some test and at first shot try to not convert framerate at all - perhaps your player will be able t...
by pandy
Mon Oct 28, 2019 6:12 pm
Forum: Usage
Topic: Converting WAV to MP3 adds leading silence?
Replies: 1
Views: 372

Re: Converting WAV to MP3 adds leading silence?

You can cut sample or advance sound by modifying PTS
by pandy
Mon Oct 28, 2019 6:08 pm
Forum: Usage
Topic: How to create a high quality video file from JPGs using FFMPEG?
Replies: 26
Views: 2814

Re: How to create a high quality video file from JPGs using FFMPEG?

[libx264 @ 0x556772478a40] bad option '%x264opts%': '1' Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height Script is tailored for Windows and as such all variables... not sure how to transla...
by pandy
Sun Oct 27, 2019 8:30 pm
Forum: Usage
Topic: How to create a high quality video file from JPGs using FFMPEG?
Replies: 26
Views: 2814

Re: How to create a high quality video file from JPGs using FFMPEG?

Ok, i see... so seem there is no automatic way to not rescale and pad video so amount of lines is always MOD2 (dividable by 2 without fraction). Sorry then - seem you need to ad manually 1 line to match encoder expectations. @echo off @setlocal @set quality=12 @SET x264opts="crf=%quality%:level=4.0:...
by pandy
Sun Oct 27, 2019 7:34 pm
Forum: Usage
Topic: How to create a high quality video file from JPGs using FFMPEG?
Replies: 26
Views: 2814

Re: How to create a high quality video file from JPGs using FFMPEG?

I think your ffmpeg is outdated - zscale is present in ffmpeg since quite long time - have no macos thus can't help but seem Zeranoe precompile binariers for 64 bit macos too. his builds should support zsale. Anyway using rescale is not best idea (had this impression afterwhile) - perhaps better is ...
by pandy
Sat Oct 26, 2019 6:09 pm
Forum: Usage
Topic: How to create a high quality video file from JPGs using FFMPEG?
Replies: 26
Views: 2814

Re: How to create a high quality video file from JPGs using FFMPEG?

I just now tried running the 2nd script... had only used the 1st one so far. The 2nd script gives me this error: [libx264 @ 0x55f16f99f7c0] height not divisible by 2 (1204x885) Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters su...
by pandy
Fri Oct 25, 2019 4:35 pm
Forum: Usage
Topic: FFmpeg how to get the first drawtext's x,y value to the second's, and change the fontsize value, how to create a var?
Replies: 10
Views: 1229

Re: FFmpeg how to get the first drawtext's x,y value to the second's, and change the fontsize value, how to create a var

Script is static - ffmpeg has limited ability to pass/import variables from static script where variable is evaluated only once at the script start... perhaps some application able to control ffmpeg will work OK (trough ffmpeg API). This was my point - consider to use more appropriate application......
by pandy
Fri Oct 25, 2019 4:30 pm
Forum: Usage
Topic: Speed Up Video
Replies: 5
Views: 543

Re: Speed Up Video

mikeiz wrote:
Thu Oct 24, 2019 12:14 am
I need to get 60 fps and the input video is 50 fps. So, 50/60 is 0.8333.

Mike
Nope 50/60=0.833333333333333333333333333333333333333333... this is important
use 'setpts=(50.0/60.0)*PTS'
by pandy
Thu Oct 24, 2019 8:04 pm
Forum: Usage
Topic: How to create a high quality video file from JPGs using FFMPEG?
Replies: 26
Views: 2814

Re: How to create a high quality video file from JPGs using FFMPEG?

You may try to specify color format explicitly - for example: @echo off @setlocal @set quality=12 @SET x264opts="crf=%quality%:level=4.0:qpmin=4:vbv_maxrate=30000:vbv_bufsize=20000:cabac=1:interlaced=0:no_psnr=1:no_ssim=1:bluray_compat=1:open-gop=0:pic_struct=1:aud=1:nal_hrd=vbr:force_cfr=1:fullrang...
by pandy
Thu Oct 24, 2019 7:57 pm
Forum: Usage
Topic: FFmpeg how to get the first drawtext's x,y value to the second's, and change the fontsize value, how to create a var?
Replies: 10
Views: 1229

Re: FFmpeg how to get the first drawtext's x,y value to the second's, and change the fontsize value, how to create a var

filter complex, split on 4 , separate draw text, later stack video, or create 4 layers, create alpha mask, overlay on top of video - be creative as you searching to simulate Video NLE on top of ffmpeg...
'