<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
<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]