BtbN changed the topic of #ffmpeg to: Welcome to the FFmpeg USER support channel | Development channel: #ffmpeg-devel | Bug reports: https://ffmpeg.org/bugreports.html | Wiki: https://trac.ffmpeg.org/ | This channel is publically logged | FFmpeg 7.0 is released
vampirefrog has quit [Ping timeout: 272 seconds]
psykose has quit [Remote host closed the connection]
psykose has joined #ffmpeg
System_Error has quit [Remote host closed the connection]
chandash has joined #ffmpeg
System_Error has joined #ffmpeg
KombuchaKip has quit [Quit: Leaving.]
psykose_ has joined #ffmpeg
psykose has quit [Ping timeout: 264 seconds]
psykose_ is now known as psykose
KombuchaKip has joined #ffmpeg
waleee has quit [Ping timeout: 246 seconds]
System_Error has quit [Remote host closed the connection]
deus0ww has quit [Ping timeout: 264 seconds]
deus0ww has joined #ffmpeg
vampirefrog has joined #ffmpeg
System_Error has joined #ffmpeg
foul_owl has quit [Ping timeout: 256 seconds]
foul_owl has joined #ffmpeg
chandash has quit [Quit: WeeChat 4.2.2]
Arokh has quit [Ping timeout: 264 seconds]
lexano has quit [Ping timeout: 255 seconds]
Arokh has joined #ffmpeg
Kei_N has quit [Ping timeout: 255 seconds]
Kei_N has joined #ffmpeg
Suchiman has quit [Quit: Connection closed for inactivity]
<BtbN>
you realize that that's 20 "still frames" per second?
<BtbN>
Sounds to me more like you're looking for motion detection or something?
iliv has quit [Ping timeout: 268 seconds]
<zamba>
BtbN: yes, but i want to extract those 20 still frames
<BtbN>
I don't follow
<BtbN>
it's not 20 in total. It's 20 every second.
<zamba>
i know
<zamba>
sorry. those 20 still frames per second
<BtbN>
I'm still confused what you mean by still frames
<BtbN>
Are you just asking "how to convert input into series of png/other lossless format images?"
<zamba>
and at the highest quality possible. so i don't want the extraction to take 20 still images of the moving "video". but if it's possible to get the 20 "raw" frames that the video is made up of?
<zamba>
if that makes sense?
<BtbN>
no, that doesn't make sense
<BtbN>
a video is a series of frames
<zamba>
mjpeg? doesn't that work that way?
<BtbN>
there is no two versions of those frames
<BtbN>
_video_ works that way
<BtbN>
Video literally is just a series of images, presented at a given framerate
<zamba>
i know
<zamba>
but mjpeg is a bit different, no?
<BtbN>
no
<BtbN>
it's just a different codec
<zamba>
ok, so what is then the way to extract those 20 frames per second to file?
<zamba>
to individual images?
<BtbN>
just a simple out%d.png as output should do the trick
<zamba>
can you show me the command?
<BtbN>
Literally just put out%d.png as the output
Tinos has quit [Ping timeout: 250 seconds]
lexano has joined #ffmpeg
<zamba>
thanks :)
waleee has quit [Ping timeout: 255 seconds]
michaelni has quit [Quit: Leaving]
michaelni has joined #ffmpeg
HerbY_NL has joined #ffmpeg
relue has joined #ffmpeg
HerbY_NL has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lavaball has quit [Remote host closed the connection]
lavaball has joined #ffmpeg
makidoll has quit [Ping timeout: 264 seconds]
makidoll has joined #ffmpeg
s2r has quit [Read error: Connection reset by peer]
e^pi-1 has quit [Quit: WeeChat 4.3.2]
s2r has joined #ffmpeg
lavaball has quit [Quit: lavaball]
kts has joined #ffmpeg
minimal has joined #ffmpeg
kts has quit [Ping timeout: 268 seconds]
beaver has joined #ffmpeg
tranzistor has quit [Quit: lahko noč]
tranzistor has joined #ffmpeg
Hackerpcs has joined #ffmpeg
five61848033 has quit [Remote host closed the connection]
five61848033 has joined #ffmpeg
lucasta has joined #ffmpeg
System_Error has quit [Remote host closed the connection]
EmleyMoor has joined #ffmpeg
Muimi_ has joined #ffmpeg
System_Error has joined #ffmpeg
Vonter has quit [Quit: WeeChat 4.3.1]
Vonter has joined #ffmpeg
minimal has quit [Quit: Leaving]
coldfeet has joined #ffmpeg
EmleyMoor has quit [Ping timeout: 256 seconds]
EmleyMoor has joined #ffmpeg
robobub has quit [Quit: Connection closed for inactivity]
five61848033 has quit [Remote host closed the connection]
five61848033 has joined #ffmpeg
j45 has quit [Ping timeout: 240 seconds]
j45 has joined #ffmpeg
AbleBacon has joined #ffmpeg
beaver has quit [Remote host closed the connection]
beaver has joined #ffmpeg
beaver has quit [Remote host closed the connection]
<s2r>
Hi. Which parameter should use if I would like to do multiple -ss and -to (cuting multiple parts) on a video? The video has an intro, video, standby, end. I would like to cut the intro and standby out.
<kepstin>
s2r: there is only one "-ss" and "-to" value permitted per input file in ffmpeg cli.
five618480338 has joined #ffmpeg
<kepstin>
s2r: you could potentially use the same file as an input multiple times (use multiple -i options, with separate -ss and -to for each) and concatenate the result
five61848033 has quit [Ping timeout: 240 seconds]
five618480338 is now known as five61848033
<s2r>
kepstin: I started to read an example using filter_complex but I don't fully understand it yet.
<s2r>
kepstin: to concat with mp3 I need to use .ts format and then recode?
<s2r>
kepstin: sorry, mp4
<kepstin>
nah, the command should like like "ffmpeg -ss 30 -to 40 -i file.mp4 -ss 10:30 -to 15:00 -i file.mp4 -filter_complex concat=n=2:v=1:a=1 <encoding options> output.mp4"
<kepstin>
update the n= value to match the number of segments that you have separate inputs for
<s2r>
kepstin: If all videos are mp4 is there any faster way? I tried with filter_complex concat and it takes almost 10 seconds to concat 1 minute of the video.
<kepstin>
the only faster way would be to to a copy instead of re-encoding, but that means that you can't accurately cut the videos (because it would only be able to cut where there happen to be keyframes)
<s2r>
kepstin: I don't mind copying instead of re-encoding
<kepstin>
s2r: then i'd recommend using the method described in https://ffmpeg.org/ffmpeg-formats.html#concat - make a concat "script" file that specifies the same input file multiple fimes with different inpoint and output for each, then run "ffmpeg -f concat -i concat-script.txt -c copy output.mp4"
<kepstin>
but beware that it can end up having some strange issues at file joins due to the keyframe problem.
<kepstin>
different "inpoint" and "outpoint" for each *
<kepstin>
if you need exact seeking, there's no way around it - you will have to re-encode the video.
<furq>
well there is one way around it which is to get lucky with where the keyframes are in the source video
<furq>
if you're cutting on scenecuts then you can sometimes be lucky
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
rsx has quit [Quit: rsx]
System_Error has quit [Remote host closed the connection]
lavaball has joined #ffmpeg
System_Error has joined #ffmpeg
AbleBacon has quit [Read error: Connection reset by peer]
HerbY_NL has joined #ffmpeg
HerbY_NL has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
System_Error has quit [Remote host closed the connection]
System_Error has joined #ffmpeg
rv1sr has quit []
Muimi_ has quit [Quit: Going offline, see ya! (www.adiirc.com)]
HerbY_NL has joined #ffmpeg
noobaroo has quit [Ping timeout: 268 seconds]
minimal has joined #ffmpeg
HerbY_NL has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
s2r has quit [Read error: Connection reset by peer]
s2r has joined #ffmpeg
s2r has quit [Read error: Connection reset by peer]
s2r has joined #ffmpeg
<s2r>
kepstin: Thank you!
AbleBacon has joined #ffmpeg
five61848033 has quit [Remote host closed the connection]
five61848033 has joined #ffmpeg
s2r has quit [Read error: Connection reset by peer]
s2r has joined #ffmpeg
waleee has joined #ffmpeg
s2r has quit [Ping timeout: 255 seconds]
s2r has joined #ffmpeg
s2r has quit [Read error: Connection reset by peer]
s2r has joined #ffmpeg
System_Error has quit [Remote host closed the connection]
s2r has quit [Read error: Connection reset by peer]
s2r has joined #ffmpeg
System_Error has joined #ffmpeg
s2r has quit [Read error: Connection reset by peer]
s2r has joined #ffmpeg
Blacker47 has quit [Quit: Life is short. Get a V.90 modem fast!]
fossdd_ is now known as fossdd
five61848033 has quit [Remote host closed the connection]
five61848033 has joined #ffmpeg
lucasta has quit [Quit: Leaving]
System_Error has quit [Remote host closed the connection]
System_Error has joined #ffmpeg
lavaball has quit [Remote host closed the connection]
coldfeet has quit [Remote host closed the connection]
jagannatharjun has quit [Quit: Connection closed for inactivity]
Galisma has joined #ffmpeg
Galisma has quit [Client Quit]
kron has quit [Quit: kron]
kron has joined #ffmpeg
five61848033 has quit [Remote host closed the connection]
five61848033 has joined #ffmpeg
SuicideShow has quit [Ping timeout: 268 seconds]
SuicideShow has joined #ffmpeg
e^pi-1 has joined #ffmpeg
System_Error has quit [Remote host closed the connection]
System_Error has joined #ffmpeg
Dotz0cat has quit [Ping timeout: 256 seconds]
Dotz0cat has joined #ffmpeg
odrling has joined #ffmpeg
travisghansen has quit [Read error: Connection reset by peer]
travisghansen has joined #ffmpeg
rsx has joined #ffmpeg
rsx has quit [Remote host closed the connection]
beaver has joined #ffmpeg
lucasta has joined #ffmpeg
noobaroo has joined #ffmpeg
<noobaroo>
For 3 days I have been trying to downscale a video taken from my mom's phone, a Samsung Galaxy (not sure which one) it's HDR, and I have converted somewhere between 30 and 50 times and I can't get the colors right
<noobaroo>
I will upload some stuff I've tried so I won't spam chat, hold on