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
minimal has quit [Quit: Leaving]
StephenLynx has quit [Ping timeout: 252 seconds]
Unit640 has quit [Quit: Leaving]
StephenLynx has joined #ffmpeg
kasper93 has quit [Remote host closed the connection]
kasper93 has joined #ffmpeg
Suchiman has quit [Quit: Connection closed for inactivity]
earthwormjim has joined #ffmpeg
Vonter has joined #ffmpeg
Icycle has joined #ffmpeg
Icedream has quit [Ping timeout: 252 seconds]
earthw0rmjim has joined #ffmpeg
earthwormjim has quit [Ping timeout: 252 seconds]
ewomer has quit [Read error: Connection reset by peer]
earthw0rmjim has quit [Quit: Toodles]
vlm has quit [Ping timeout: 265 seconds]
haritz has quit [Ping timeout: 248 seconds]
haritz has joined #ffmpeg
Cheetahze has joined #ffmpeg
ewomer has joined #ffmpeg
lucasta has quit [Quit: Leaving]
Cheetahze has quit [Quit: Remote host closed connection]
NovaHorizon has joined #ffmpeg
ewomer has quit [Ping timeout: 246 seconds]
ewomer has joined #ffmpeg
Marth64[m] has quit [Quit: Leaving]
StephenLynx has quit [Quit: Leaving]
System_Error has quit [Ping timeout: 260 seconds]
Nixkernal has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
ewomer has quit [Read error: Connection reset by peer]
ewomer has joined #ffmpeg
System_Error has joined #ffmpeg
Muimi has joined #ffmpeg
Muimi has quit [Client Quit]
Muimi has joined #ffmpeg
Icycle has quit [Ping timeout: 252 seconds]
Icedream has joined #ffmpeg
Muimi has quit [Quit: Going offline, see ya! (www.adiirc.com)]
Some_Person has quit [Ping timeout: 264 seconds]
YuGiOhJCJ has joined #ffmpeg
dmr104 has joined #ffmpeg
<dmr104> what is the difference between -c:a copy and -c:a aac
Some_Person has joined #ffmpeg
<galad> the fist copy the data without re-encoding, the second encodes to aac
<galad> *the first copies
<dmr104> i have an m4a file and a subtitle file and a jpg image. i wish to create an mp4 video of a still image with subtitles which can be manually turned off by the user.
<dmr104> should i be putting -c:a aac before the input file or before the output file?
Forza_ has joined #ffmpeg
Forza has quit [Ping timeout: 260 seconds]
rv1sr has joined #ffmpeg
Icedream has quit [Quit: A lol made me boom.]
x_x has joined #ffmpeg
Blacker47 has joined #ffmpeg
tybu has joined #ffmpeg
x_x has quit [Remote host closed the connection]
x_x has joined #ffmpeg
YuGiOhJCJ has quit [Ping timeout: 260 seconds]
YuGiOhJCJ has joined #ffmpeg
j45 has quit [Ping timeout: 248 seconds]
j45 has joined #ffmpeg
Suchiman has joined #ffmpeg
lavaball has joined #ffmpeg
turlando has joined #ffmpeg
Juest has quit [Ping timeout: 252 seconds]
<BtbN> you shouldn't be putting it anywhere, since there is no reason to re-encode the audio
<BtbN> copying it is just fine
<BtbN> the image however will need re-encoded, to be an actual video
microlappy has joined #ffmpeg
Juest has joined #ffmpeg
microlappy has quit [Client Quit]
StephenLynx has joined #ffmpeg
Juest has quit [Ping timeout: 252 seconds]
Juest has joined #ffmpeg
snoriman has quit [Quit: WeeChat 4.4.2]
Juest has quit [Ping timeout: 244 seconds]
Perflosopher has quit [Ping timeout: 272 seconds]
tybu has quit [Quit: Client closed]
Perflosopher has joined #ffmpeg
Juest has joined #ffmpeg
Juest has quit [Ping timeout: 252 seconds]
Juest has joined #ffmpeg
iconoclasthero has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
iconoclasthero has joined #ffmpeg
tybu has joined #ffmpeg
<dmr104> can you give me an example of what command i ought to be using?
emanuele6 has quit [Ping timeout: 248 seconds]
Some_Person has quit [Ping timeout: 248 seconds]
Some_Person has joined #ffmpeg
tybu has quit [Quit: Client closed]
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ffmpeg
FH_thecat has quit [Quit: Leaving]
<dmr104> i am using ffmpeg -loop 1 -i image.jpg -vf "subtitles=00001.srt" 00001.mp4
<dmr104> i have 00001.srt in my working directory but ffmpeg doesn't find it
emanuele6 has joined #ffmpeg
<dmr104> oh no. sorry. i was not in the correct working directory
<dmr104> my audio bitrate is below 192k and my jpg is 264kb of a 100dpi image. how do i minimize the size of the end mp4 file?
<DeHackEd> it might help to lower the framerate. there are some subtleties that go on there though, such as keyframe interval for seeking and how often the subtitles are updating
<dmr104> i believe that the command i showed encodes hard subtitles into the video which cannot be turned off. what is the command for soft subtitles, or am i thinking about this wrong?
microchip_ is now known as bruchip
<DeHackEd> you use -i multiple times, importing the .srt files as a second input file. though I've not done this myself and don't konw what the gotchas are...
<DeHackEd> in fact you can import the audio this way as well and do the whole thing in a single shot.
FH_thecat has joined #ffmpeg
tybu has joined #ffmpeg
dilaver_ has quit [Quit: The Lounge - https://thelounge.chat]
dilaver_ has joined #ffmpeg
<dmr104> can i firstly convert the audio and jpeg into an mp4, and then add the soft subtitles to this mp4?
<DeHackEd> ffmpeg doesn't modify files in place. it rebuilds them. so doing it all at once is probably the best strategy
<DeHackEd> if you need to play with it several times, pre-processing the "video" might be worthwhile though
minimal has joined #ffmpeg
celmor has joined #ffmpeg
tybu has quit [Quit: Client closed]
tybu has joined #ffmpeg
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
Marth64 has joined #ffmpeg
Icedream has joined #ffmpeg
celmor has quit [Quit: Client closed]
lavaball has quit [Remote host closed the connection]
<dmr104> ffmpeg -loop 1 -i image.jpg -i 00001.m4a -r 1 -c:v libx264 -preset veryslow -crf 28 -pix_fmt yuv420p -c:a aac -b:a 192k -shortest -vf scale="1280:720" -c:s mov_text 00001.mp4
<dmr104> my command produces 2 minutes of silence at the end. i thought the -shortest option was supposed to prevent this.
<dmr104> if i include an -i 00001.m4a option i get soft coded subtitles but it misses the last 4 seconds of the subtitles on the audio
crossby1004 has joined #ffmpeg
System_Error has quit [Remote host closed the connection]
crossby1004 has quit [Quit: leaving]
<dmr104> if i omit the -shortest option the mp4 just grows in size and takes far too long to process
Kei_N has joined #ffmpeg
Kei_N_ has quit [Read error: Connection reset by peer]
lucasta has joined #ffmpeg
vlm has joined #ffmpeg
<dmr104> ffmpeg -loop 1 -i image.jpg -i audio.m4a -filter_complex "[0:v]scale=1280:720,subtitles=subtitle.srt[v];[1:a]anull[a]" -map "[v]" -map "[a]" -r 4 -c:v libx264 -preset veryslow -crf 28 -pix_fmt yuv420p -c:a aac -b:a 192k output.mp4
<dmr104> i set -r 1
<dmr104> any pointers would be appreciated. i got all this from chatgpt and i have 1 day of experience with ffmpeg
moviuro has quit [Quit: Reboot? Or did my jail(8) just die?]
vlm has quit [Remote host closed the connection]
vlm has joined #ffmpeg
moviuro has joined #ffmpeg
<dmr104> the last command just runs for 10 minutes. i need a command which is computationally feasible
yans has joined #ffmpeg
crossby1004 has joined #ffmpeg
crossby1004 has quit [Max SendQ exceeded]
crossby1004 has joined #ffmpeg
crossby1004 has quit [Max SendQ exceeded]
crossby1004 has joined #ffmpeg
crossby1004 has quit [Max SendQ exceeded]
crossby1004 has joined #ffmpeg
crossby1004 has quit [Max SendQ exceeded]
crossby1004 has joined #ffmpeg
crossby1004 has quit [Client Quit]
kmikita has quit [Remote host closed the connection]
kmikita has joined #ffmpeg
crossby1004 has joined #ffmpeg
crossby1004 has quit [Client Quit]
makidoll has joined #ffmpeg
five61848033917 has quit [Remote host closed the connection]
five61848033917 has joined #ffmpeg
tybu has quit [Quit: Client closed]
Tano has quit [Quit: WeeChat 4.4.2]
\\Mr_C\\ has joined #ffmpeg
lavaball has joined #ffmpeg
ewomer has quit [Quit: WeeChat 4.4.2]
lavaball has quit [Quit: lavaball]
lavaball has joined #ffmpeg
lucasta has quit [Quit: Leaving]
Unit640 has joined #ffmpeg
MrZeus has joined #ffmpeg
MrZeus_ has joined #ffmpeg
MrZeus has quit [Ping timeout: 272 seconds]
MrZeus__ has joined #ffmpeg
MrZeus_ has quit [Ping timeout: 252 seconds]
Some_Person has quit [Ping timeout: 260 seconds]
Some_Person has joined #ffmpeg
EmleyMoor has joined #ffmpeg
Tano has joined #ffmpeg
xoip has quit [Ping timeout: 265 seconds]
Sakura`Kinomoto has quit [Remote host closed the connection]
emanuele6 has quit [Ping timeout: 260 seconds]
kmikita has quit [Ping timeout: 245 seconds]
System_Error has joined #ffmpeg
MrZeus_ has joined #ffmpeg
Sakura`Kinomoto has joined #ffmpeg
MrZeus__ has quit [Ping timeout: 248 seconds]
jemius has joined #ffmpeg
moviuro has quit [Quit: Reboot? Or did my jail(8) just die?]
moviuro has joined #ffmpeg
Sakura`Kinomoto has quit [Ping timeout: 276 seconds]
ChocolateArmpits has joined #ffmpeg
Sakura`Kinomoto has joined #ffmpeg
emanuele6 has joined #ffmpeg
kmikita has joined #ffmpeg
xoip has joined #ffmpeg
jemius has quit [Quit: Leaving]
BtbN has quit [Remote host closed the connection]
BtbN has joined #ffmpeg
MrZeus_ has quit [Read error: Connection reset by peer]
coldfeet has joined #ffmpeg
arbitercoin has joined #ffmpeg
lemourin has quit [Quit: The Lounge - https://thelounge.chat]
vlm has quit [Quit: vlm]
lemourin has joined #ffmpeg
arbitercoin has quit [Ping timeout: 255 seconds]
<dmr104> i have since discovered that the missing 4 seconds of subtitles actually appear (hence is there) if i use windows media player
FlorianBad has quit [Quit: Konversation terminated!]
vlm has joined #ffmpeg
vlm has quit [Client Quit]
FlorianBad has joined #ffmpeg
FlorianBad has quit [Remote host closed the connection]
FlorianBad has joined #ffmpeg
FlorianBad has quit [Quit: Konversation terminated!]
coldfeet has quit [Remote host closed the connection]
Nact has joined #ffmpeg
FlorianBad has joined #ffmpeg
lemourin has quit [Quit: The Lounge - https://thelounge.chat]
ttys000 has joined #ffmpeg
lemourin has joined #ffmpeg
rv1sr has quit [Ping timeout: 252 seconds]
rv1sr has joined #ffmpeg
Blacker47 has quit [Quit: Life is short. Get a V.90 modem fast!]
ChocolateArmpits has quit [Ping timeout: 245 seconds]
AMM has quit [Ping timeout: 276 seconds]
AMM has joined #ffmpeg
lemourin has quit [Quit: The Lounge - https://thelounge.chat]
lemourin has joined #ffmpeg
\\Mr_C\\ has quit [Remote host closed the connection]
FlorianBad has quit [Quit: Konversation terminated!]
FlorianBad has joined #ffmpeg
FlorianBad has quit [Client Quit]
buu has joined #ffmpeg
FlorianBad has joined #ffmpeg
<buu> I want to do something like "scan through a video file using OCR to look for a specific string appearing in the top right corner", is there any kind of a way to like.. read a frame from a video, then skip forward 5 minutes, read another frame, etc; without like re-parsing the entire file every time?
FlorianBad has quit [Client Quit]
<furq> yeah but it involves decoding the entire video
<furq> it'll probably be quicker to just seek multiple times
<buu> it's a 10 hour video and I need to do something like a binary search
<buu> The general characteristics will be something like.. the string will first appear in roughly 30 minutes, then the next one I'm looking for will be 3-4 hours after that
<buu> doesn't ffplay have some kind of scrub function?
<furq> not in a way that could be replicated with ffmpeg
<furq> ffmpeg can only seek once per input
<furq> you can get every nth frame with the select filter but you'd need to decode every frame
<buu> hm
<buu> Is there any like, lower level api type functions if I'm using the library?
<furq> maybe just -skip_frame nokey if you're not fussy about which frames you want
<furq> that would get you every keyframe (or every nth keyframe with the select filter) which will decode much faster
<furq> you can seek as much as you want with the libs
<furq> that would definitely be the quickest way
FlorianBad has joined #ffmpeg
<furq> but i don't know if it's fast enough to make up for how long it'll take to write it
lemourin has quit [Ping timeout: 248 seconds]
lemourin has joined #ffmpeg
jtgd has quit [Quit: WeeChat 4.4.2]
jtgd has joined #ffmpeg
lemourin has quit [Client Quit]
FlorianBad has quit [Quit: Konversation terminated!]
lemourin has joined #ffmpeg
FlorianBad has joined #ffmpeg
emmanuelux_ has joined #ffmpeg
emmanuelux has quit [Read error: Connection reset by peer]
emmanuelux_ has quit [Remote host closed the connection]
Traneptora has quit [Quit: Quit]
Juesto has joined #ffmpeg
Juest has quit [Ping timeout: 264 seconds]
FlorianBad has quit [Quit: Konversation terminated!]
Juesto is now known as Juest
FlorianBad has joined #ffmpeg
MrZeus has joined #ffmpeg
MrZeus_ has joined #ffmpeg
MrZeus has quit [Ping timeout: 260 seconds]
TheSilentLink has quit [Ping timeout: 272 seconds]
TheSilentLink has joined #ffmpeg
FlorianBad has quit [Quit: Konversation terminated!]
FlorianBad has joined #ffmpeg
lusciouslover has quit [Remote host closed the connection]
luva888 has quit [Quit: Ping timeout (120 seconds)]
lusciouslover has joined #ffmpeg
m5zs7k_ has joined #ffmpeg
acovrig60122 has joined #ffmpeg
luva888 has joined #ffmpeg
acovrig6012 has quit [Read error: Connection reset by peer]
acovrig60122 is now known as acovrig6012
mven973 has joined #ffmpeg
mven97 has quit [Read error: Connection reset by peer]
mven973 is now known as mven97
m5zs7k has quit [Ping timeout: 265 seconds]
Hackerpcs has quit [Ping timeout: 265 seconds]
s55 has quit [Ping timeout: 265 seconds]
s55 has joined #ffmpeg
ciphrCat has quit [Quit: outta here]
Hackerpcs has joined #ffmpeg
Hackerpcs has quit [Max SendQ exceeded]
ciphrCat has joined #ffmpeg
System_Error has quit [Remote host closed the connection]
m5zs7k_ is now known as m5zs7k
Hackerpcs has joined #ffmpeg
Hackerpcs has quit [Max SendQ exceeded]
System_Error has joined #ffmpeg
MisterMinister has quit [Read error: Connection reset by peer]
pyre has quit [Remote host closed the connection]
Arokh has quit [Quit: //ThisShouldNeverHappen]
MisterMinister has joined #ffmpeg
pyre has joined #ffmpeg
Arokh has joined #ffmpeg
rpthms has quit [Ping timeout: 265 seconds]
Hackerpcs has joined #ffmpeg
Hackerpcs has quit [Max SendQ exceeded]
lemourin has quit [Quit: The Lounge - https://thelounge.chat]
Hackerpcs has joined #ffmpeg
Hackerpcs has quit [Max SendQ exceeded]
Hackerpcs has joined #ffmpeg
lemourin has joined #ffmpeg
Hackerpcs has quit [Max SendQ exceeded]
Hackerpcs has joined #ffmpeg
Hackerpcs has quit [Max SendQ exceeded]
Hackerpcs has joined #ffmpeg
Hackerpcs has quit [Max SendQ exceeded]
rv1sr has quit []
Hackerpcs has joined #ffmpeg
Hackerpcs has quit [Max SendQ exceeded]
rpthms has joined #ffmpeg
Some_Person has quit [Ping timeout: 244 seconds]
JanC has joined #ffmpeg
JanC is now known as Guest5025
Guest5025 has quit [Killed (lead.libera.chat (Nickname regained by services))]
five61848033917 has quit [Remote host closed the connection]
five61848033917 has joined #ffmpeg
Some_Person has joined #ffmpeg
lucasta has joined #ffmpeg
SuicideShow has quit [Ping timeout: 245 seconds]
lexano has quit [Quit: Leaving]
SuicideShow has joined #ffmpeg
lavaball has quit [Remote host closed the connection]
x_x has quit [Ping timeout: 260 seconds]
emmanuelux has joined #ffmpeg
JanC_ has joined #ffmpeg
JanC is now known as Guest4724
Guest4724 has quit [Killed (silver.libera.chat (Nickname regained by services))]
JanC_ is now known as JanC
MrZeus__ has joined #ffmpeg