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
xx has quit [Ping timeout: 260 seconds]
minimal has quit [Quit: Leaving]
five6184803391 has quit [Remote host closed the connection]
five6184803391 has joined #ffmpeg
vampirefrog has quit [Ping timeout: 245 seconds]
emmanuelux has quit [Quit: au revoir]
solomoncyj has joined #ffmpeg
Suchiman has quit [Quit: Connection closed for inactivity]
solomoncyj has quit [Quit: Connection closed]
<FH_thecat> I have mp4 video file, just few seconds long but it is 90MB. How can I make it smaller, under 10MB, perhaps by increasing compression, lower bitrate, or fewer frames?
<FH_thecat> or perhaps how can I create animated gif from it?
<FH_thecat> it is recording of my screen, so the rate per second can set quite low
CarlFK has joined #ffmpeg
<aaabbb> FH_thecat: you'd want to use a slow preset
<aaabbb> ffmpeg -i in.mp4 -c:v libx265 -preset slower -crf 28 -g 600 -tag:v hvc1 -c:a copy out.mp4
<aaabbb> at a minimum, adjust crf to your liking
<aaabbb> FH_thecat: what's the resolution? are you fine with a lower resolution?
System_Error has joined #ffmpeg
pyre has quit [Remote host closed the connection]
pyre has joined #ffmpeg
DHE has quit [Ping timeout: 252 seconds]
CarlFK has quit [Ping timeout: 246 seconds]
<FH_thecat> aaabbb: thank you, that reduced the size from 90MB to 8MB, with good quality
<aaabbb> FH_thecat: you're welcome. using an even slower preset can (slightly) increase quality, and you can use crf to adjust birate (higher = lower bitrate)
<aaabbb> also, doing -pix_fmt yuv420p10le increases compression too, but makes playback more resource-intesive
FH_thecat has quit [Quit: Leaving]
FH_thecat has joined #ffmpeg
another is now known as another|
rv1sr has joined #ffmpeg
YuGiOhJCJ has joined #ffmpeg
jarthur has quit [Quit: jarthur]
coldfeet has joined #ffmpeg
squeaktoy has joined #ffmpeg
dallemon has quit [Quit: The Lounge - https://thelounge.chat]
dallemon has joined #ffmpeg
lavaball has joined #ffmpeg
ifreund has left #ffmpeg [#ffmpeg]
Suchiman has joined #ffmpeg
dallemon has quit [Quit: The Lounge - https://thelounge.chat]
dallemon has joined #ffmpeg
mark4o has joined #ffmpeg
rsx has joined #ffmpeg
markh has quit [Ping timeout: 276 seconds]
mark4o is now known as markh
DeHackEd has joined #ffmpeg
vampirefrog has joined #ffmpeg
squeaktoy has quit [Ping timeout: 272 seconds]
squeaktoy has joined #ffmpeg
Blacker47 has joined #ffmpeg
zmt01 has joined #ffmpeg
zmt00 has quit [Ping timeout: 260 seconds]
jpsollie has joined #ffmpeg
Tano has quit [Quit: WeeChat 4.3.4]
<jpsollie> hello everyone, I'm trying to setup a NAS where my mobile phones can be backed up (images, videos etc), and automatically verified on sync. For the verification, I found the following command to work properly:
<jpsollie> ffmpeg -err_detect explode -i "$i" -c:v rawvideo -c:a anull -f null - >/dev/null 2>&1;
<jpsollie> so far so good, but this takes a lot of CPU
<jpsollie> I have an amdgpu GPU built-in which should be able to do basic h264 decoding to see whether the image is valid
<jpsollie> but it fails with the error: "Codec h264 profile 66 not supported for hardware decode."
<jpsollie> ffmpeg -v warning -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -i janpieter/2023-12-02-14-56-18-702.mp4 -c:v rawvideo -c:a anull -f null /dev/null
<jpsollie> vainfo shows: VAProfileH264ConstrainedBaseline: VAEntrypointVLD
<jpsollie> so, why is it not possible?
swamp_ has joined #ffmpeg
<jpsollie> and if possible, can I mark it as a main profile and let the vaapi decoder try to decode it anyway?
<jpsollie> VAProfileH264ConstrainedBaseline: VAEntrypointVLD
<jpsollie> VAProfileH264Main : VAEntrypointVLD
<jpsollie> VAProfileH264High : VAEntrypointVLD
lockywolf has quit [Remote host closed the connection]
<jpsollie> it would be nice if GPU offloading could be used here ...
lockywolf has joined #ffmpeg
zmt01 has quit [Ping timeout: 252 seconds]
Sakura`Kinomoto has quit [Remote host closed the connection]
zmt00 has joined #ffmpeg
swamp_ has quit [Ping timeout: 260 seconds]
five6184803391 has quit [Quit: The Lounge - https://thelounge.chat]
lucasta has joined #ffmpeg
zmt01 has joined #ffmpeg
<BtbN> Well, the error seems quite clear
<BtbN> The video is using too high of a profile that the hardware decoder does not support
five6184803391 has joined #ffmpeg
zmt00 has quit [Ping timeout: 265 seconds]
<jpsollie> yes, but can I instead decode it as a main profile?
<jpsollie> I mean, mpv (which mostly works using ffmpeg's libs) has a vd-lavc-check-hw-profile switch
<jpsollie> how do I do that using plain ffmpeg?
<jpsollie> https://github.com/FFmpeg/FFmpeg/blob/master/libavcodec/vaapi_decode.c <-- the vaapi profile map doesn't even list baseline profile here, so there should be a way to override it
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
Tano has joined #ffmpeg
Blacker47 has quit [Quit: Life is short. Get a V.90 modem fast!]
Blacker47 has joined #ffmpeg
lavaball has quit [Remote host closed the connection]
five6184803391 has quit [Remote host closed the connection]
five6184803391 has joined #ffmpeg
xx has joined #ffmpeg
Sakura`Kinomoto has joined #ffmpeg
iNKa has joined #ffmpeg
Brocker has quit [Ping timeout: 245 seconds]
Sakura`Kinomoto has quit [Remote host closed the connection]
five6184803391 has quit [Remote host closed the connection]
minimal has joined #ffmpeg
kmikita has quit [Ping timeout: 245 seconds]
hussein1 has quit [Remote host closed the connection]
Sakura`Kinomoto has joined #ffmpeg
hussein1 has joined #ffmpeg
<CounterPillow> That's because baseline profile is not a strict subset of main, and constrainedbaseline was made as a "mea culpa" to fix that situation. It's rare to see baseline actually used.
<CounterPillow> You can't decode baseline with main profile I'm pretty sure because that's the entire issue with that original baseline profile spec, it's not a subset.
TroubleHelix has quit [Quit: The Lounge - https://thelounge.chat]
kmikita has joined #ffmpeg
fling has joined #ffmpeg
lavaball has joined #ffmpeg
travisghansen has quit [Quit: The Lounge - https://thelounge.github.io]
travisghansen has joined #ffmpeg
TroubleHelix has joined #ffmpeg
coldfeet has quit [Ping timeout: 246 seconds]
finsternis has joined #ffmpeg
coldfeet has joined #ffmpeg
HerbY_NL has joined #ffmpeg
HerbY_NL has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rsx has quit [Quit: rsx]
emanuele6 has quit [Read error: Connection reset by peer]
emanuele6 has joined #ffmpeg
jarthur has joined #ffmpeg
lucasta has quit [Remote host closed the connection]
Muimi has joined #ffmpeg
fling has quit [Remote host closed the connection]
lullerhaus has quit []
coldfeet has quit [Remote host closed the connection]
lullerhaus has joined #ffmpeg
Muimi has quit [Quit: Going offline, see ya! (www.adiirc.com)]
iive has joined #ffmpeg
beastd has joined #ffmpeg
HerbY_NL has joined #ffmpeg
MoC has joined #ffmpeg
rvalue- has joined #ffmpeg
MoC has quit [Client Quit]
rvalue has quit [Ping timeout: 264 seconds]
rvalue- is now known as rvalue
HerbY_NL has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
beastd has quit [Ping timeout: 244 seconds]
lavaball has quit [Quit: lavaball]
<Epakai> I have some inogeni usb capture devices. On first record they give a start_time value, but subsequent ones give 0 so there is a large offset (often several hours) between the video start and first frame. Can I fix that at capture time?
<Epakai> I have been working around by running usbreset on the device, but that's slow, or just recopy the video stream after.
<kepstin> is this video only, or video and audio?
<Epakai> both
<kepstin> hmm. i'm not sure what the best way to do that while keeping both in sync would be :(
DauntlessOne has joined #ffmpeg
beastd has joined #ffmpeg
darkapex has quit [Remote host closed the connection]
darkapex has joined #ffmpeg
System_Error has quit [Ping timeout: 260 seconds]
<Epakai> video only would be useful too. I tried -copyts, and there even the first capture has the large offset. -start_at_zero, and -ss don't seem to have effect
<kepstin> what input format is this? v4l2?
<kepstin> for video frames, you could try adding "-vf setpts=PTS-STARTPTS" to subtract the value of the first-seen timestamp from all timestamps, which should remove the offset.
<Epakai> yeah, v4l2. that is effective
System_Error has joined #ffmpeg
lavaball has joined #ffmpeg
Blacker47 has quit [Quit: Life is short. Get a V.90 modem fast!]
Haxxa has quit [Quit: Haxxa flies away.]
Haxxa has joined #ffmpeg
Muimi has joined #ffmpeg
iive has quit [Ping timeout: 246 seconds]
rv1sr has quit []
iconoclasthero has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Juest has quit [Ping timeout: 265 seconds]
beastd has quit [Ping timeout: 246 seconds]
HarshK23 has quit [Quit: Connection closed for inactivity]
iive has joined #ffmpeg
iconoclasthero has joined #ffmpeg
Juest has joined #ffmpeg
iconoclasthero has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
iconoclasthero has joined #ffmpeg
Muimi has quit [Quit: Going offline, see ya! (www.adiirc.com)]
lavaball has quit [Remote host closed the connection]
<bcn_> ffmpeg is barfing while trying to concatenate large numbers of wyzecam video files. didn't used to do this: https://paste.centos.org/view/e5ec614a the file list shows no oddness. the files are there, and all about the same size. it barfs at the same time repeatably. and it's not BETWEEN input files either. its mid file the same file each time. Is there an integrity test I could run on each input file to check if its good before adding it to the list?
<bcn_> it's not just one input file either, several. probably 2% of them, and so far I'm just removing each from the list and trying again.. grrr
intrac has quit [Quit: Konversation terminated!]
intrac has joined #ffmpeg
SuicideShow has quit [Ping timeout: 246 seconds]
SuicideShow has joined #ffmpeg
intrac has quit [Excess Flood]
intrac has joined #ffmpeg
Muimi has joined #ffmpeg
xx has quit [Ping timeout: 260 seconds]
iive has quit [Quit: They came for me...]
Traneptora has quit [Remote host closed the connection]