gust82 has quit [Remote host closed the connection]
gust82 has joined #ffmpeg
Lead has joined #ffmpeg
Lead has quit [Changing host]
Lead has joined #ffmpeg
mackies has quit []
typological has quit [Quit: Connection closed]
gust82 has quit [Remote host closed the connection]
gust82 has joined #ffmpeg
jtgd has quit [Quit: WeeChat 4.1.1]
jtgd has joined #ffmpeg
ecapi_ has quit [Ping timeout: 255 seconds]
thilo has quit [Ping timeout: 260 seconds]
lexano has quit [Ping timeout: 256 seconds]
thilo has joined #ffmpeg
ecapi has joined #ffmpeg
ecapi has quit [Ping timeout: 260 seconds]
navi has quit [Quit: WeeChat 4.0.4]
ecapi has joined #ffmpeg
Shuriko has joined #ffmpeg
lusciouslover has joined #ffmpeg
a0z has quit [Ping timeout: 255 seconds]
emanuele6 has quit [Quit: ++kernel]
emanuele6 has joined #ffmpeg
wangbin has joined #ffmpeg
lusciouslover has quit [Ping timeout: 246 seconds]
wangbin has quit [K-Lined]
ivanich has quit [Ping timeout: 260 seconds]
emanuele6 has quit [Client Quit]
emanuele6 has joined #ffmpeg
ecapi has quit [Ping timeout: 246 seconds]
ecapi has joined #ffmpeg
ecapi_ has joined #ffmpeg
ecapi_ has quit [Ping timeout: 255 seconds]
YuGiOhJCJ has joined #ffmpeg
lemourin has quit [Read error: Connection reset by peer]
lemourin has joined #ffmpeg
hightower4 has joined #ffmpeg
hightower3 has quit [Ping timeout: 264 seconds]
maxim_d33 has quit [Ping timeout: 260 seconds]
lusciouslover has joined #ffmpeg
MrZeus has quit [Ping timeout: 255 seconds]
maxim_d33 has joined #ffmpeg
ecapi_ has joined #ffmpeg
ecapi_ has quit [Ping timeout: 264 seconds]
gchounf has joined #ffmpeg
gchounf has quit [Remote host closed the connection]
Keshl_ is now known as Keshl
Keshl has quit [Quit: Konversation terminated!]
\\Mr_C\\ has quit [Remote host closed the connection]
derpydoo has quit [Ping timeout: 276 seconds]
gchounf has joined #ffmpeg
five6184807 has joined #ffmpeg
five618480 has quit [Ping timeout: 276 seconds]
five6184807 is now known as five618480
Keshl has joined #ffmpeg
Ogobaga has quit [Quit: Konversation terminated!]
Ogobaga has joined #ffmpeg
ecapi has quit [Ping timeout: 246 seconds]
durandal_1707 has quit [Ping timeout: 256 seconds]
BUSY has quit [Read error: Connection reset by peer]
durandal_1707 has joined #ffmpeg
seifeslimene has quit [Ping timeout: 252 seconds]
BUSY has joined #ffmpeg
Keshl_ has joined #ffmpeg
Keshl has quit [Killed (NickServ (GHOST command used by Keshl_))]
Keshl_ is now known as Keshl
gchounf has quit [Quit: Leaving]
waleee has quit [Ping timeout: 246 seconds]
Vonter has quit [Ping timeout: 276 seconds]
RetroPunk has joined #ffmpeg
RetroPunk has quit [Remote host closed the connection]
ecapi has joined #ffmpeg
mven has quit [Quit: Goodbye.]
mven has joined #ffmpeg
jagannatharjun has joined #ffmpeg
Lead has quit [Quit: Leaving]
HarshK23 has joined #ffmpeg
kurosu has joined #ffmpeg
_w has joined #ffmpeg
Nik- has joined #ffmpeg
Nik- has quit [Client Quit]
AbleBacon has quit [Read error: Connection reset by peer]
lusciouslover has quit [Ping timeout: 260 seconds]
rv1sr has joined #ffmpeg
tester11 has joined #ffmpeg
<tester11> hello folks!
<tester11> i wanted to add conditional statement in complex filter: if sar is 0/1, then set sar 1/1.
<tester11> some files have this 0/1 sar, and seems to cause aspect ratio loss after scaling.
<tester11> so i tried these, but ffmpeg doesn't understand me(
<tester11> if(eq(sar,0/1), setsar=1/1)
<tester11> 'if(eq(sar,0/1), setsar=1/1)'
<tester11> if(eq(sar\,0/1)\, setsar=1/1)
<aaabbb> -vf "setsar='if(eq(sar,0), 0, 1)'"
<aaabbb> well, actually -vf "setsar='if(eq(sar,0/1), 1/1, 0/1)'"
<aaabbb> that would set it to 0 if it's 1, and 1 if it's 0. is that what you're looking for?
<aaabbb> oh no i misunderstood you. tester11 if you want to set it to 1/1 if it's 0/1, but leave it the current sar otherwise, it would be this:
<aaabbb> -vf "setsar='if(eq(sar,0/1), 1/1, sar)'"
<aaabbb> with that, if sar is 0/1, it does "setsar=1/1", and if sar is 1/1, it does "setsar=sar" basically
<tester11> it actually has to somehow fit into -->>> HERE <<<-- , in vmaf comparison, before scale:
<tester11> ... -lavfi "
<tester11> [0:v]setpts=PTS-STARTPTS, -->>> HERE <<<-- scale=1920:1080: flags=bicubic:force_original_aspect_ratio=decrease, scale=iw*sar:ih[distorted];
<tester11> [1:v]setpts=PTS-STARTPTS, -->>> HERE <<<-- scale=1920:1080: flags=bicubic:force_original_aspect_ratio=decrease, scale=iw*sar:ih[reference];
<tester11> [distorted][reference]libvmaf= n_threads=16: model=version=vmaf_v0.6.1: log_path='output.json': log_fmt=json: feature=name=float_ssim|name=psnr " -f null -
<aaabbb> ... setpts=PTS-STARTPTS,setsar='if(eq(sar,0/1), 1/1, sar)',scale=1920:1080: ...
<aaabbb> try that
<tester11> thank you! let me try it
FH_thecat has joined #ffmpeg
apxx has quit [Quit: Byeeeeeeeee.]
apxx has joined #ffmpeg
kurosu has quit [Quit: Connection closed for inactivity]
<aaabbb> (i'm stupid and tired)
<aaabbb> that last explanation was wrong, so s/and if sar is/otherwise/
<tester11> aaabbb , no sir))) on the contrary
<tester11> i think it works perfectly! thank you once again! so this is what i know see in debug..
<tester11>  - so distorted video had normal sar 1/1, this is its scaling chain to 1080p:
<tester11> [Parsed_setsar_1 @ 00000230c84ca080] w:1080 h:1920 sar:1/1 dar:9/16 -> sar:1/1 dar:9/16
<tester11> [Parsed_scale_2 @ 00000230c84cad80] w:1080 h:1920 fmt:yuv420p sar:1/1 -> w:608 h:1080 fmt:yuv420p sar:1215/1216 flags:0x00000004
<tester11> [Parsed_scale_3 @ 00000230c84cb180] w:608 h:1080 fmt:yuv420p sar:1215/1216 -> w:607 h:1080 fmt:yuv420p sar:1215/1214 flags:0x00000004
<tester11>  - and reference video had this sar 0/1, this is its scaling chain to 1080p:
<tester11> [Parsed_setsar_5 @ 00000230c84ca180] w:2160 h:3840 sar:0/1 dar:9/16 -> sar:1/1 dar:9/16
<tester11> [Parsed_scale_6 @ 00000230c84cb780] w:2160 h:3840 fmt:yuv420p sar:1/1 -> w:608 h:1080 fmt:yuv420p sar:1215/1216 flags:0x00000004
<tester11> [Parsed_scale_7 @ 00000230c84c9d80] w:608 h:1080 fmt:yuv420p sar:1215/1216 -> w:607 h:1080 fmt:yuv420p sar:1215/1214 flags:0x00000004
<tester11> they now end up the exact same resolution and everything works! awesome!
<aaabbb> tester11: yeah the command was right, but my explanation was wrong. the correct explanation is that if sar is 0/1, it does "setsar=1/1", otherwise it does "setsar=sar"
<tester11> i understood that if-then-else, tertiary expression)
<tester11> * ternary.. duhh)
<aaabbb> yep, basically sets sar to "sar == 0 ? 1 : sar"
five618480 has quit [Remote host closed the connection]
five618480 has joined #ffmpeg
Ogobaga has quit [Read error: Connection reset by peer]
Ogobaga has joined #ffmpeg
Shuriko has quit [Ping timeout: 276 seconds]
tester11 has quit [Quit: Connection closed]
tester11 has joined #ffmpeg
vlm has joined #ffmpeg
dgcampea has quit [Remote host closed the connection]
dgcampea has joined #ffmpeg
Shine_ has joined #ffmpeg
paulk has quit [Read error: Connection reset by peer]
paulk-bis has joined #ffmpeg
Blacker47 has joined #ffmpeg
hays has joined #ffmpeg
fling has joined #ffmpeg
ivanich has joined #ffmpeg
fling has quit [Remote host closed the connection]
Hackerpcs has quit [Quit: Hackerpcs]
Shuriko has joined #ffmpeg
Hackerpcs has joined #ffmpeg
Hackerpcs has quit [Max SendQ exceeded]
fling has joined #ffmpeg
kurosu has joined #ffmpeg
Hackerpcs has joined #ffmpeg
FH_thecat has quit [Quit: Leaving]
FH_thecat has joined #ffmpeg
rsx has joined #ffmpeg
rvalue has quit [Ping timeout: 252 seconds]
gust82 has quit [Remote host closed the connection]
gust82 has joined #ffmpeg
rvalue has joined #ffmpeg
lavaball has joined #ffmpeg
Shine_ has quit [Read error: Connection reset by peer]
navi has joined #ffmpeg
tester11 has quit [Ping timeout: 255 seconds]
billchenchina has joined #ffmpeg
ivanich has quit [Remote host closed the connection]
MrZeus has joined #ffmpeg
kus has quit [Read error: Connection reset by peer]
Shuriko has quit [Ping timeout: 252 seconds]
Shine_ has joined #ffmpeg
swing has quit [Ping timeout: 252 seconds]
lexano has joined #ffmpeg
swing has joined #ffmpeg
stolen has joined #ffmpeg
tester11 has joined #ffmpeg
kus has joined #ffmpeg
paulk-bis has quit [Quit: WeeChat 3.0]
paulk has joined #ffmpeg
ecapi has quit [Remote host closed the connection]
ecapi has joined #ffmpeg
ZedHedTed has joined #ffmpeg
MrZeus_ has joined #ffmpeg
MrZeus__ has joined #ffmpeg
MrZeus__ has quit [Read error: Connection reset by peer]
MrZeus has quit [Ping timeout: 276 seconds]
MrZeus_ has quit [Ping timeout: 256 seconds]
MrZeus has joined #ffmpeg
MrZeus_ has joined #ffmpeg
lusciouslover has joined #ffmpeg
MrZeus has quit [Ping timeout: 245 seconds]
derpydoo has joined #ffmpeg
MrZeus__ has joined #ffmpeg
lusciouslover has quit [Ping timeout: 245 seconds]
MrZeus_ has quit [Ping timeout: 264 seconds]
waleee has joined #ffmpeg
zumba_addict has joined #ffmpeg
MrZeus_ has joined #ffmpeg
<zumba_addict> Good morning all. What's wrong with my parameters, it repeated the first video twice? https://bpa.st/MT6Q
<zumba_addict> My machine is extremely slow that it took 28 hours to complete, LMAO. I don't want to do it again
MrZeus__ has quit [Ping timeout: 264 seconds]
foul_owl has quit [Ping timeout: 264 seconds]
foul_owl has joined #ffmpeg
<furq> the filterchain looks fine
<furq> almost all of those settings are redundant though
<zumba_addict> which param caused the issue?
<furq> i don't see anything that would cause a video to repeat
<zumba_addict> I tried -c copy just to fix it but I noticed the bitrate went down half :(
<furq> uh
<zumba_addict> i only copied 5 seconds just to see if it will work
<furq> well no wonder the bitrate is different then
<zumba_addict> gotcha
<furq> anyway i assume there are scenecuts between those inputs so you can probably just chop the repeated video off
<furq> i take it you have to reencode this and you can't just use the concat demuxer
<zumba_addict> yes, that's what I did. I'm glad I did
<zumba_addict> yes, it got reencoded for like 28 hours, LOL
<zumba_addict> but what should I do next time?
<furq> well whatever blog post or stackoverflow answer you copied that command from was written by a crazy person
<zumba_addict> i followed ffmpeg docs on combining mp4 with different codecs
<furq> just -c:v libx264 -crf 18 -preset medium -c:a aac -b:a 384k out.mp4
<zumba_addict> it was generated by mystiq software and I ran `ps ax` | grep ffmpeg.
<zumba_addict> cool
<furq> almost all of those settings are default or implied by -preset medium (which is the default anyway)
<zumba_addict> so keep the filter chain the same?
<furq> except a couple of them are worse for no reason
<zumba_addict> gotcha
<furq> also 384k aac is overkill unless this is 5.1
<zumba_addict> oh, it's only stereo
<furq> 128k is fine for stereo but i guess you can use 192k for music videos
<zumba_addict> 128k is good?
<zumba_addict> k
<furq> up to you
<furq> but also check if you can just use the concat demuxer and not reencode the whole thing
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
lucasta has joined #ffmpeg
<zumba_addict> I think I did and I noticed the first video was written twice. THat's why I chose the last option
<zumba_addict> yep, that's the same link I used
<zumba_addict> I changed it to -t 00:05:00, the bitrate increased!
<zumba_addict> maybe the ffmpeg version I have is old and have a bug
<furq> the video is vbr
<zumba_addict> old? ffmpeg version 4.3.6-0+deb11u1 Copyright (c) 2000-2023 the FFmpeg developers
<furq> yeah it is but what you're seeing is normal
<zumba_addict> k
<zumba_addict> the first one I tried is the one where I created mylist.txt and inside it is "file firstvideo.mp" and so on
<zumba_addict> the firstvideo.mp4 was written twice on the final.mp4
<furq> are you sure it's not repeated in the input file or something
<zumba_addict> maybe filterchain is too long
<zumba_addict> yep, I watched it
<zumba_addict> i had the same thinking too
<zumba_addict> I'll watch the second video, one sec
<zumba_addict> oh crap
<zumba_addict> LMAO
<zumba_addict> the second video has it too
<zumba_addict> hahaha
<furq> well at least it was easy to debug
<zumba_addict> yeo
<zumba_addict> so no bug in ffmpeg
<zumba_addict> user error
<zumba_addict> i'll create a new file now using -ss 00:00:42 and -c copy :)
tester11 has quit [Ping timeout: 255 seconds]
<zumba_addict> how to be more granular in time? I need in between 41 second and 42 second?
<zumba_addict> 00:00:42.5 valid?
<zumba_addict> i mean 00:00:41.5
<zumba_addict> it accepted the value. testing it soon
<zumba_addict> looks like it got rounded off to 42
<furq> with -c copy it'll get rounded to the nearest keyframe
stolen has quit [Quit: Connection closed for inactivity]
<zumba_addict> gotcha
JanC_ has joined #ffmpeg
JanC is now known as Guest2081
Guest2081 has quit [Killed (tungsten.libera.chat (Nickname regained by services))]
JanC_ is now known as JanC
FH_thecat has quit [Quit: Leaving]
rpthms has quit [Read error: Connection reset by peer]
rpthms has joined #ffmpeg
FH_thecat has joined #ffmpeg
waleee has quit [Quit: WeeChat 4.1.0]
waleee has joined #ffmpeg
qqq has quit [Remote host closed the connection]
rsx has quit [Quit: rsx]
waleee has quit [Ping timeout: 264 seconds]
ecapi has quit [Ping timeout: 256 seconds]
JanC has quit [Remote host closed the connection]
JanC has joined #ffmpeg
ZedHedTed has quit [Quit: leaving]
Vonter has joined #ffmpeg
dgcampea has quit [Remote host closed the connection]
dgcampea has joined #ffmpeg
five618480 has quit [Remote host closed the connection]
five618480 has joined #ffmpeg
zumba_addict has quit [Quit: Client closed]
five618480 has quit [Remote host closed the connection]
five618480 has joined #ffmpeg
a0z has joined #ffmpeg
Muimi has joined #ffmpeg
ZedHedTed has joined #ffmpeg
someuser has joined #ffmpeg
lavaball has quit [Remote host closed the connection]
lavaball has joined #ffmpeg
pikapika_lunar has joined #ffmpeg
bibble has quit [Ping timeout: 256 seconds]
dallemon7 has joined #ffmpeg
moviuro has quit [Ping timeout: 268 seconds]
fling has quit [Ping timeout: 240 seconds]
jagannatharjun has quit [Quit: Connection closed for inactivity]
fling has joined #ffmpeg
pikapika has quit [Ping timeout: 268 seconds]
haihao has quit [Ping timeout: 252 seconds]
dallemon has quit [Ping timeout: 276 seconds]
dallemon7 is now known as dallemon
bibble has joined #ffmpeg
bibble has quit [Changing host]
bibble has joined #ffmpeg
haihao has joined #ffmpeg
markizano has quit [Remote host closed the connection]
moviuro has joined #ffmpeg
blb has quit [Ping timeout: 276 seconds]
blb has joined #ffmpeg
markizano has joined #ffmpeg
lucasta has quit [Quit: Leaving]
bibble_ has joined #ffmpeg
bibble has quit [Ping timeout: 276 seconds]
bibble_ is now known as bibble
bibble has quit [Changing host]
bibble has joined #ffmpeg
Fischmiep has quit [Ping timeout: 256 seconds]
five618480 has quit [Remote host closed the connection]
Fischmiep has joined #ffmpeg
five618480 has joined #ffmpeg
Vonter has quit [Ping timeout: 256 seconds]
Vonter has joined #ffmpeg
delovoilemon has joined #ffmpeg
ecapi has joined #ffmpeg
Perflosopher has quit [Quit: Ping timeout (120 seconds)]
Perflosopher has joined #ffmpeg
bibble has quit [Ping timeout: 276 seconds]
Nik- has joined #ffmpeg
bibble has joined #ffmpeg
bibble has quit [Changing host]
bibble has joined #ffmpeg
delovoilemon has quit [Quit: delovoilemon]
thomas_D8 has quit [Quit: Ping timeout (120 seconds)]
thomas_D8 has joined #ffmpeg
Capstan has joined #ffmpeg
jemius has joined #ffmpeg
gvg__ has joined #ffmpeg
gvg_ has quit [Ping timeout: 255 seconds]
Haxxa has quit [Quit: Haxxa flies away.]
Kruppt has joined #ffmpeg
Haxxa has joined #ffmpeg
five618480 has quit [Remote host closed the connection]
five618480 has joined #ffmpeg
waleee has joined #ffmpeg
ecapi has quit [Ping timeout: 276 seconds]
AbleBacon has joined #ffmpeg
swing has quit [Ping timeout: 255 seconds]
moviuro has quit [Quit: Reboot? Or did my jail(8) just die?]
ecapi has joined #ffmpeg
moviuro has joined #ffmpeg
yazooq has joined #ffmpeg
rv1sr has quit []
billchenchina has quit [Remote host closed the connection]
billchenchina has joined #ffmpeg
Capstan has quit [Quit: Client closed]
billchenchina has quit [Max SendQ exceeded]
Capstan has joined #ffmpeg
Capstan has quit [Quit: Client closed]
ecapi has quit [Ping timeout: 276 seconds]
Capstan has joined #ffmpeg
ecapi has joined #ffmpeg
goodtimesfun has joined #ffmpeg
<hsv> Hi, i have a dual screen setup and ffplay from teh command line opens on the secondary screen, is there a way to direct it to the primary screen?
<BtbN> window placement is up to the OS
<hsv> ffplay 4.1.11-0+deb10u1, linux + xfce.
<hsv> ok, that's intersesting why it puts it on the secondary screen then.
<BtbN> that's ancient
<hsv> yes it is.
<hsv> but irrelevant to the issue?
<BtbN> I don't think thereis any code in ffplay at all about where to put the window, and hasn't ever been
<BtbN> If SDL has something like that built in... no idea
<hsv> ok thanks. :)
ecapi has quit [Ping timeout: 276 seconds]
ecapi has joined #ffmpeg
gust82 has quit [Remote host closed the connection]
gust82 has joined #ffmpeg
ecapi has quit [Ping timeout: 255 seconds]
gchounf has joined #ffmpeg
ecapi has joined #ffmpeg
<ecapi> BtbN, is your name ned or nathan?
jos1 has quit [Remote host closed the connection]
Guest79 has joined #ffmpeg
goodtimesfun has quit [Ping timeout: 276 seconds]
Guest79 has quit [Client Quit]
swing has joined #ffmpeg
Blacker47 has quit [Quit: Life is short. Get a V.90 modem fast!]
yazooq has quit [Remote host closed the connection]
navi has quit [Ping timeout: 276 seconds]
gchounf has quit [Quit: Leaving]
jemius_ has joined #ffmpeg
jemius has quit [Ping timeout: 276 seconds]
ttys000 has quit [Quit: Textual IRC Client: www.textualapp.com]
navi has joined #ffmpeg
BtbN has quit [Remote host closed the connection]
BtbN has joined #ffmpeg
ivanich has joined #ffmpeg
ecapi has quit [Remote host closed the connection]
ecapi has joined #ffmpeg
kurosu has quit [Quit: Connection closed for inactivity]
gchounf has joined #ffmpeg
ecapi has quit [Remote host closed the connection]
ecapi has joined #ffmpeg
lemourin has quit [Quit: The Lounge - https://thelounge.chat]
lemourin has joined #ffmpeg
ivanich has quit [Remote host closed the connection]
ivanich has joined #ffmpeg
nina has joined #ffmpeg
brettalcox_ has joined #ffmpeg
ecapi has quit [Ping timeout: 252 seconds]
jemius_ has quit [Quit: Leaving]
ecapi has joined #ffmpeg
Nik- has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ivanich has quit [Remote host closed the connection]
ecapi has quit [Remote host closed the connection]
lucasta has joined #ffmpeg
emmanuelux has joined #ffmpeg
BtbN has quit [Remote host closed the connection]
BtbN has joined #ffmpeg
gvg has quit [Ping timeout: 264 seconds]
gvg__ has quit [Ping timeout: 256 seconds]
nina has quit [Remote host closed the connection]
Lead has joined #ffmpeg
Lead has quit [Changing host]
Lead has joined #ffmpeg
gvg has joined #ffmpeg
gvg_ has joined #ffmpeg
Capstan has quit [Ping timeout: 250 seconds]
lavaball has quit [Remote host closed the connection]
Kruppt has quit [Quit: Leaving]
vlm has quit [Remote host closed the connection]
vlm has joined #ffmpeg
derpydoo has quit [Ping timeout: 255 seconds]
vlm has quit [Ping timeout: 255 seconds]
lucasta has quit [Remote host closed the connection]
jos1 has joined #ffmpeg