Seamus has quit [Remote host closed the connection]
Seamus has joined #ffmpeg
hightower4 has quit [Ping timeout: 255 seconds]
Gaboradon has joined #ffmpeg
emanuele6 has quit [Quit: WeeChat 4.2.1]
mips64el has quit [Ping timeout: 264 seconds]
lexano has quit [Ping timeout: 246 seconds]
JanC has quit [Ping timeout: 256 seconds]
Seamus has quit [Remote host closed the connection]
Seamus has joined #ffmpeg
emanuele6 has joined #ffmpeg
hsv_ has joined #ffmpeg
JanC has joined #ffmpeg
hsv has quit [Ping timeout: 255 seconds]
whatsupdoc has quit [Quit: Connection closed for inactivity]
mips64el has joined #ffmpeg
Seamus has quit [Remote host closed the connection]
Seamus has joined #ffmpeg
Seamus has quit [Ping timeout: 264 seconds]
Seamus has joined #ffmpeg
fatalis has quit [Ping timeout: 255 seconds]
lavaball has quit [Remote host closed the connection]
fatalis has joined #ffmpeg
Seamus has quit [Remote host closed the connection]
Seamus has joined #ffmpeg
theobjectivedad has quit [Read error: Connection reset by peer]
theobjectivedad has joined #ffmpeg
wyatt8750 is now known as wyatt8740
Traneptora has joined #ffmpeg
<aaabbb>
is there any reason not to set no-dct-decimate for very very flat videos like a screen recording?
AbleBacon has quit [Read error: Connection reset by peer]
mrelcee has quit [Quit: I want Waffles!]
mrelcee has joined #ffmpeg
minimal has quit [Quit: Leaving]
waleee has quit [Ping timeout: 268 seconds]
Seamus_ has joined #ffmpeg
Sakura`Kinomoto has joined #ffmpeg
Dotz0cat_ has joined #ffmpeg
fatalis has quit [Ping timeout: 246 seconds]
Muimi has quit [Read error: Connection reset by peer]
Seamus has quit [Ping timeout: 246 seconds]
SakuraChan has quit [Ping timeout: 268 seconds]
fatalis has joined #ffmpeg
Dotz0cat has quit [Ping timeout: 264 seconds]
Dotz0cat_ is now known as Dotz0cat
MisterMinister has joined #ffmpeg
Seamus_ has quit [Remote host closed the connection]
Seamus has joined #ffmpeg
Muimi has joined #ffmpeg
Seamus has quit [Remote host closed the connection]
Seamus has joined #ffmpeg
Seamus has quit [Remote host closed the connection]
Seamus has joined #ffmpeg
Seamus has quit [Ping timeout: 268 seconds]
Seamus has joined #ffmpeg
five618480 has quit [Remote host closed the connection]
five618480 has joined #ffmpeg
Wenbin_Chen_ has joined #ffmpeg
Seamus has quit [Remote host closed the connection]
Wenbin_Chen has quit [Ping timeout: 256 seconds]
Seamus has joined #ffmpeg
APic has quit [Ping timeout: 264 seconds]
heartburn has joined #ffmpeg
dallemon has quit [Ping timeout: 264 seconds]
Wenbin_Chen_ has quit [Remote host closed the connection]
Wenbin_Chen has joined #ffmpeg
Wenbin_Chen has quit [Remote host closed the connection]
APic has joined #ffmpeg
Kei_N has joined #ffmpeg
mven975 has joined #ffmpeg
Kei_N_ has quit [Ping timeout: 264 seconds]
mven97 has quit [Ping timeout: 268 seconds]
mven975 is now known as mven97
catsoften has quit [Ping timeout: 255 seconds]
junaid_ has joined #ffmpeg
iliv has joined #ffmpeg
<Muimi>
would anyone potentially be able to tell me how to apply my script for resizing videos to all the videos in a directory?
<Muimi>
in debian
<Muimi>
is it just for i in *.mp4; do ffmpeg ....; done
catsoften has joined #ffmpeg
rv1sr has joined #ffmpeg
Kei_N has quit [Ping timeout: 256 seconds]
junaid_ has quit [Remote host closed the connection]
Ox7C5 has joined #ffmpeg
Kei_N has joined #ffmpeg
Ox7C5 has quit [Ping timeout: 268 seconds]
Ox7C5 has joined #ffmpeg
five618480 has quit [Remote host closed the connection]
five618480 has joined #ffmpeg
Haripesch has joined #ffmpeg
dallemon has joined #ffmpeg
<monokrome>
Muimi: pretty much, yeah
<Muimi>
My problem I'm having is that my files are still way too large
<Muimi>
for i in *.mp4; do ffmpeg -hide_banner -i "$i" -c:v libx264 -r 24 -b:v 64k -bufsize 64k -preset fast -crf 22 -vf scale=428:240 -strict -2 -profile:v high -movflags +faststart -ac 2 -c:a aac "${i%}_out.mov"; done
<Muimi>
Isn't 64k huge?
<JEEB>
you are setting both bit rate and crf :P
<JEEB>
generally those are orthogonal rate control modes
<JEEB>
also you are setting a bufsize but not a maxrate
<JEEB>
if you want to control the rate control over a buffer, you need to configure a max rate over that bufsize
<furq>
and no 64kbps is not huge for video
<JEEB>
also please do not utilize the -2 stricness thing
<JEEB>
(it's "experimental" or so I think?)
<CounterPillow>
average Debian users understanding of software
<JEEB>
the aac encoder has not been experimental for almost 10 years by now
<CounterPillow>
not setting an audio bitrate as well lol
<JEEB>
also please utilize channel_layout instead ac
Sketch has quit [Remote host closed the connection]
<JEEB>
since channel layout contains a channel count, but channel count does not tell what the requested layout is
<JEEB>
you most likely want -channel_layout stereo
Muimi has quit [Quit: Going offline, see ya! (www.adiirc.com)]
Haripesch has quit [Quit: Client closed]
Muimi has joined #ffmpeg
<Muimi>
sorry i got disconneced
<Muimi>
sorry, reconnected. can you tell me any modification of the command that could make the files extremely small with somewhat-reasonable detail?
<Muimi>
I'm not using the -2 strictness and stuff now
<Muimi>
I keep getting this deprecated pixel format used eror message
luc4 has joined #ffmpeg
<another|>
be more specific
Haripesch has joined #ffmpeg
luc4 has quit [Ping timeout: 240 seconds]
Muimi has quit [Quit: Going offline, see ya! (www.adiirc.com)]
luc4 has joined #ffmpeg
ivanich has joined #ffmpeg
omegatron has joined #ffmpeg
<aaabbb>
is there any reason not to set no-dct-decimate for very very flat videos like a screen recording?
JanC has quit [Ping timeout: 240 seconds]
JanC has joined #ffmpeg
xx has joined #ffmpeg
lavaball has joined #ffmpeg
Tinos has joined #ffmpeg
ePirat has quit [Remote host closed the connection]
Taripe has joined #ffmpeg
llyyrr has joined #ffmpeg
llyyr has quit [Ping timeout: 268 seconds]
llyyrr is now known as llyyr
beaver has joined #ffmpeg
vincejv has quit [Ping timeout: 260 seconds]
vincejv has joined #ffmpeg
Blacker47 has joined #ffmpeg
jess has quit []
Rokolell has joined #ffmpeg
Rokolell has quit [Quit: Client closed]
Sketch has joined #ffmpeg
Sketch has quit [Remote host closed the connection]
Rokolell has joined #ffmpeg
Tinos has quit [Remote host closed the connection]
Tinos has joined #ffmpeg
Sketch has joined #ffmpeg
luc4 has quit [Ping timeout: 268 seconds]
lexano has joined #ffmpeg
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
vasisualiy has joined #ffmpeg
<Rokolell>
I'm trying to figure out why a h264 stream can't be decoded properly by FFmpeg but for example Windows' h264 decoder works fine. Any tips where I could start?
<vasisualiy>
Hey all! I wonder, if there is a plan to upstream the patches from https://github.com/Kwiboo/FFmpeg. The main goal is to implement HW decoding on Allwinner A64 SoC
minimal has joined #ffmpeg
<Rokolell>
I'm seeing a bunch of errors like:
<Rokolell>
libav :0:: No start code is found.
<Rokolell>
libav :0:: Error splitting the input into NAL units.
<another|>
vasisualiy: should probably ask the author of those patches
<SnakesAndStuff>
I have a question regarding the best way to record a video stream from a webcam, monitor that stream, and also save the audio in a way that it can be combined back. The current method I'm using is getting the audio out of sync.
<SnakesAndStuff>
The command I'm currently using is: ffmpeg -v verbose -f v4l2 -video_size 3840x2160 -input_format mjpeg -framerate 24 -i /dev/video0 -f alsa -i hw:2 -map 0:v -vcodec copy -an -f t^C "[f=rawvideo]video.raw|[f=mjpeg]udp://127.0.0.1:1234" -map 1:a -vn -c:a copy out.wav
<SnakesAndStuff>
any insight is greatly appreciated.
<SnakesAndStuff>
(I'm vewing the stream over udp with ffplay in another process)
lavaball has quit [Remote host closed the connection]
hsv_ is now known as hsv
<JEEB>
vasisualiy: usually people try to upstream their work; sometimes when it's important enough someone who cares about it in FFmpeg might pick the patch set and start reworking it to be good enough for integration, but that is rare.
Juest has joined #ffmpeg
Ox7C5 has quit [Quit: Lost terminal]
cryptic has quit [Ping timeout: 260 seconds]
<CounterPillow>
The people using v4l2-requests commercially are doing so through GStreamer afaik, so there's no interest from a commercial sponsor to do the upstreaming work, which means you're at the mercy of the free time and energy of people
<JEEB>
ah, so that is another v4l2-requests thing
lavaball has joined #ffmpeg
<CounterPillow>
Yeah, Kwiboo is one of the developers working in that space.
<SnakesAndStuff>
I think I got my problem on timing figured out. When putting the audio and video back together I needed an -r in front of the mjpeg video input.
<SnakesAndStuff>
(just typing it here in case there is something else obviously missing or I did something insane)
luc4 has joined #ffmpeg
kus has joined #ffmpeg
sonicrules1234 has quit [Ping timeout: 255 seconds]
javabean has quit [Remote host closed the connection]
Flat_ has joined #ffmpeg
javabean has joined #ffmpeg
Flat has quit [Ping timeout: 260 seconds]
carpenter has joined #ffmpeg
Rokolell has quit [Quit: Client closed]
darkapex has joined #ffmpeg
lucasta has joined #ffmpeg
AbleBacon has joined #ffmpeg
kmikita has joined #ffmpeg
<vasisualiy>
thank you for clarifing the state of the art
<vasisualiy>
I was about to try to use mpv on A64 machine and figured out that all depends on ffmpeg. Clearly, GStreamer has already support fot HW, but I prefer mpv over other gui apps
Vonter has quit [Ping timeout: 256 seconds]
<JEEB>
vasisualiy: v4l2-requests is in a limbo where you have X different forks (rpi, rockwhatever and now allwinner). I think there was one patch set posted on ffmpeg-devel by one of the people working on this stuff in 2020, but then it stopped. they never updated their patches.
<JEEB>
so at this point it really seems like someone who cares about v4l2-requests devices needs to just pick a fork and start working it on upstreaming
<JEEB>
clearly it seems like the original authors do not care
Vonter has joined #ffmpeg
<JEEB>
there was one person who earlier tried, with one of the other forks. then he later got contacted by the fork authors who told him that apparently they will start upstreaming it Soon(TM)
<JEEB>
I think at this point it's almost two years ago that that was :P
<vasisualiy>
JEEB as I can see that branch https://github.com/Kwiboo/FFmpeg here, Kwiboo updated is. Last commits are like from 2-3 month back
<JEEB>
yes, just like the rpi fork is updated
<JEEB>
it doesn't mean they do anything with upstream
Seamus has quit [Remote host closed the connection]
Seamus has joined #ffmpeg
Ox7C5 has joined #ffmpeg
Muimi has joined #ffmpeg
waleee has joined #ffmpeg
CashDash123 has joined #ffmpeg
<CashDash123>
So this is probably a dumb question,but how do I copy subtitle streams while reendcoding h265 to h264
jarthur has joined #ffmpeg
<CashDash123>
I don't wanna manually extract subtitles than have to add them back manually
<sonicrules1234>
I think it's -c:s copy
<kepstin>
depending what else you're doing, you might also need a -map option to select the subtitle streams to be copied
Muimi has quit [Quit: Going offline, see ya! (www.adiirc.com)]
Marth64 has joined #ffmpeg
vincejv has quit [Quit: Bye bye! Leaving for now...]
lucasta has quit [Quit: Leaving]
vincejv has joined #ffmpeg
MetaNova has quit [Ping timeout: 246 seconds]
luc4 has quit [Ping timeout: 255 seconds]
rudds has quit [Remote host closed the connection]
MetaNova has joined #ffmpeg
vasisualiy has quit [Quit: Client closed]
Peter__ is now known as Peter
Tinos has quit [Remote host closed the connection]
Tinos has joined #ffmpeg
Marth64 has quit [Ping timeout: 264 seconds]
Marth64 has joined #ffmpeg
five618480 has quit [Remote host closed the connection]
five618480 has joined #ffmpeg
Marth64 has quit [Ping timeout: 246 seconds]
devinheitmuell-1 has joined #ffmpeg
devinheitmueller has quit [Ping timeout: 264 seconds]
kmikita has quit [Ping timeout: 246 seconds]
devinheitmueller has joined #ffmpeg
remyma has joined #ffmpeg
cryptic has joined #ffmpeg
vlm has quit [Quit: Leaving]
waleee has quit [Ping timeout: 268 seconds]
MisterMinister has quit [Ping timeout: 260 seconds]
rvalue has quit [Ping timeout: 255 seconds]
kmikita has joined #ffmpeg
rvalue has joined #ffmpeg
sinjini_ has joined #ffmpeg
<sinjini_>
hey hhow to scale a video to convert it from landscape to potrait?
<sinjini_>
like from 16:9 to 9:16 aspect ratio?
yardb3rd has joined #ffmpeg
Haripesch has quit [Quit: Client closed]
Haripesch has joined #ffmpeg
hightower4 has joined #ffmpeg
Icedream has quit [Quit: A lol made me boom.]
Icedream has joined #ffmpeg
hightower3 has quit [Ping timeout: 255 seconds]
yardb3rd has quit [Quit: Leaving]
sinjini_ has quit [Ping timeout: 256 seconds]
devinheitmueller has quit [Quit: devinheitmueller]
devinheitmueller has joined #ffmpeg
devinheitmueller has joined #ffmpeg
sinjini_ has joined #ffmpeg
beaver has quit [Read error: Connection reset by peer]
xx has quit [Remote host closed the connection]
xx has joined #ffmpeg
<sinjini_>
can we scale a video into potrait mode without cropping?
<galad>
if you want really thin people, yes
<sinjini_>
uh oh!
<sinjini_>
then what is the best way to convert a landscape mode into potrait in ffmpeg other than cropping?
<devinheitmueller>
If you’re not cropping then you’re padding (i.e. adding pillar bars or letterboxing). See the “pad” video filter.
<sinjini_>
alright thanks!
sinjini_ has left #ffmpeg [#ffmpeg]
rhys has quit [Quit: See you later alligator]
rhys has joined #ffmpeg
remyma has quit [Ping timeout: 250 seconds]
Haripesch has quit [Quit: Client closed]
Haripesch has joined #ffmpeg
jarthur_ has joined #ffmpeg
Haxxa has quit [Quit: Haxxa flies away.]
jarthur has quit [Ping timeout: 246 seconds]
Haxxa has joined #ffmpeg
five618480 has quit [Remote host closed the connection]
five618480 has joined #ffmpeg
Kroko has joined #ffmpeg
iive has joined #ffmpeg
waleee has joined #ffmpeg
odrling has quit [Remote host closed the connection]
odrling has joined #ffmpeg
cosimone has joined #ffmpeg
JanC has quit [Ping timeout: 264 seconds]
hightower3 has joined #ffmpeg
hightower4 has quit [Ping timeout: 268 seconds]
Narrat has joined #ffmpeg
bitoff_ has quit [Remote host closed the connection]
JanC has joined #ffmpeg
Ox7C5 has quit [Quit: Lost terminal]
Kroko has quit [Remote host closed the connection]
Blacker47 has quit [Quit: Life is short. Get a V.90 modem fast!]
rv1sr has quit []
Tinos has quit [Remote host closed the connection]
Tinos has joined #ffmpeg
Seamus has quit [Remote host closed the connection]
Seamus has joined #ffmpeg
cosimone has quit [Remote host closed the connection]
sonicrules1234 has quit [Remote host closed the connection]
omegatron has quit [Quit: Power is a curious thing. It can be contained, hidden, locked away, and yet it always breaks free.]
sonicrules1234 has joined #ffmpeg
ivanich has joined #ffmpeg
Narrat has quit [Quit: They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.]
Tinos has quit [Remote host closed the connection]
Tinos has joined #ffmpeg
Haripesch has quit [Quit: Client closed]
Haripesch has joined #ffmpeg
Seamus has quit [Remote host closed the connection]
Seamus has joined #ffmpeg
hightower4 has joined #ffmpeg
hightower3 has quit [Ping timeout: 256 seconds]
MrZeus has joined #ffmpeg
Muimi has joined #ffmpeg
MrZeus has quit [Ping timeout: 256 seconds]
lavaball has quit [Remote host closed the connection]
SuicideShow has quit [Ping timeout: 268 seconds]
SuicideShow has joined #ffmpeg
HarshK23 has quit [Quit: Connection closed for inactivity]
ttys000_ has joined #ffmpeg
hightower3 has joined #ffmpeg
ttys000 has quit [Ping timeout: 264 seconds]
hightower4 has quit [Read error: Connection reset by peer]