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