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
relue has joined #ffmpeg
wobbol has quit [Ping timeout: 265 seconds]
wobbol has joined #ffmpeg
Tano has quit [Quit: WeeChat 4.4.2]
Some_Person has quit [Ping timeout: 272 seconds]
<puff>
iconoclasthero: yeah, and that's exactly what I'm doing, writing scripts to invoke ffmpeg. It's not for me, it's for my artist friend.
<puff>
Question, I have this command: ffmpeg -i $file -an -vf "scale=640:480" ${file/.mp4/_no_audio_640x480.mov/}
<puff>
if I understand correctly, ffmpeg will look at the .mov suffix and convert the .mp4 input file into a .mov, right?
<furq>
yes
<puff>
Thanks.
<puff>
Fun story, my artist friend loves this app calle Max/MSP. The other day I was singing the praises of ffmpeg and he was kinda smile-and-nodding along. A few minutes later I was googling on something about ffmpeg, can't remember what, but one of the hits was the page on Max/MSP's website where it said it uses ffmpeg :-).
Some_Person has joined #ffmpeg
Keshl has joined #ffmpeg
Traneptora has joined #ffmpeg
<BtbN>
You will want to specify the codec and everything though
<BtbN>
not sure what it picks for mov by default, but you probably want to set some options for the encoder anyway
Some_Person has quit [Ping timeout: 260 seconds]
Tano has joined #ffmpeg
lusciouslover has quit [Ping timeout: 260 seconds]
lusciouslover has joined #ffmpeg
Some_Person has joined #ffmpeg
lucasta has quit [Remote host closed the connection]
System_Error has quit [Remote host closed the connection]
secondcreek has left #ffmpeg [#ffmpeg]
<puff>
BtbN: Where would I start for that? The old files are mp4s
System_Error has joined #ffmpeg
<furq>
it defaults to h264 and aac
<furq>
so the defaults are ok
<furq>
you may want to change -crf -preset and -tune for x264 and -b:a for aac
<furq>
or never mind -b:a because you're setting -an
<noobaroo_>
not sure if i should ask this in #mpv , but im kind of trying to avoid using mpv, so guess not, anyone is there a way to make a TUI subtitle display that parses .srt files?
<noobaroo_>
Like for podcasts and stuff without video, sometimes i cant understand, and running a videoplayer is kind of heavyweight for only audio, not to mention visually obtuse with a giant black square
Suchiman has quit [Quit: Connection closed for inactivity]
<furq>
that should be easy enough to write with awk or something
<furq>
or there's an srt library for python
<aaabbb>
noobaroo_: srt is a very simple format. you can write something easily to print things out
<noobaroo_>
Sleep and print? Seems like the whole program is missing and a lot more needs to be done than that
<noobaroo_>
Firstly, how is the python program in tune with the audio player? I guess as long as no pausing is done, its doable to just start both at approximately the same time...
chiselfuse has quit [Remote host closed the connection]
<noobaroo_>
Maybe that page doesnt demonstrate the functionality very well, but it looks like it doesnt have a concept of time at all, like its just a `cat` command. But maybe it does do what i want and its just not an animated example so it doesnt show it sitting and waiting and showing the subs at the proper time.
chiselfuse has joined #ffmpeg
<noobaroo_>
But then again looking at what you say "sleep and print" seems like it, again, doesnt have any concept of time if i need to implement sleep myself
<noobaroo_>
Thanks though, its at least a start, but im surprised that no one has made a noob friendly program for this
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ffmpeg
<furq>
well if you change your mind about using mpv i just wrote a script that does it
<BrunoTheDwarf>
hello, I'm trying to convert a video file using ffmpeg: ffmpeg -i 265v.mkv -map_metadata -1 -map 0:v:0 -vf "sidedata=delete,setsar=1" -vcodec libx264 -x264-params "crf=22" -an -sn -y 265sdr.mkv - and yet the sidedata: Side data:
<BrunoTheDwarf>
Multiple -bsf, -absf or -vbsf options specified for stream 0, only the last option '-bsf:v remove_extra' will be used.
<aaabbb>
i don't know how to remove the side data, but what i gave shoudl remove as much metadata as possible
<BrunoTheDwarf>
its the sidedata I want to explicitely to remove .......
lemourin has quit [Client Quit]
lemourin has joined #ffmpeg
<aaabbb>
you asked side data and metadata, i thought you wanted to remove both, sorry
lemourin has quit [Client Quit]
lemourin has joined #ffmpeg
<Marth64>
you trying to get rid of dovi?
Krusher has joined #ffmpeg
lemourin has quit [Client Quit]
<Marth64>
is your source hevc?
Rena has joined #ffmpeg
lemourin has joined #ffmpeg
lemourin has quit [Read error: Connection reset by peer]
<Marth64>
try this before -i 265v.mkv
<Marth64>
-bsf:v 'filter_units=remove_types=39|40' (if it is hevc source)
lemourin has joined #ffmpeg
lemourin has quit [Read error: Connection reset by peer]
lemourin has joined #ffmpeg
lemourin5 has joined #ffmpeg
lemourin5 is now known as lemourin
lemourin is now known as Guest9369
<BrunoTheDwarf>
aaabbb, well yeah, ideally both, but the main metadata seems to be ok, its the dovi sidedata thas giving me the hassles
<BrunoTheDwarf>
Marth64, I get this: ffmpeg -bsf:v "filter_units=remove_types=39|40" -i 265v.mkv -map_metadata -1 -map 0:v:0 -vf "sidedata=delete,setsar=1" -vcodec libx264 -x264-params "crf=22" -an -sn -y 265sdr.mkv ==> Option bsf:v (A comma-separated list of bitstream filters) cannot be applied to input url 265v.mkv -- you are trying to apply an input option to an output file or vice versa. Move this option before the file it belongs to.
<Marth64>
ur ffmpeg version?
Guest9369 has quit [Read error: Connection reset by peer]
lemourin has joined #ffmpeg
<BrunoTheDwarf>
Marth64, trying with both 6.1.2 and 7.0.2
<Marth64>
try a 7.1
lemourin has quit [Client Quit]
<BrunoTheDwarf>
7.0.2 at least doesnt give the error - but still doesnt strip the [dovi] sidedata either
lemourin has joined #ffmpeg
lavaball has joined #ffmpeg
lemourin has quit [Read error: Connection reset by peer]
lemourin has joined #ffmpeg
<Marth64>
you're validating this by checking 265sdr.mkv?
lemourin has quit [Read error: Connection reset by peer]
<Marth64>
7.0.2 should work fine. i think input bsf was added at that point
<Marth64>
no need for 7.1 it it doesnt error
lemourin has joined #ffmpeg
lemourin has quit [Read error: Connection reset by peer]
lemourin has joined #ffmpeg
lemourin has quit [Client Quit]
<Marth64>
but still confirming is your input hevc?
lemourin has joined #ffmpeg
lemourin has quit [Read error: Connection reset by peer]
lucasta has joined #ffmpeg
Vonter has joined #ffmpeg
<BrunoTheDwarf>
Marth64, yes its hevc source
<BrunoTheDwarf>
and yes, checking the 265sdr.mkv file it still has this (according to mediainfo: HDR format : Dolby Vision, Version 1.0, Profile 8, dvhe.08.06, BL+RPU, no metadata compression
<BrunoTheDwarf>
)
elvis_a_presley has quit [Quit: smoke-bomb ; grapple-hook]
elvis_a_presley has joined #ffmpeg
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #ffmpeg
Rena has quit [Ping timeout: 255 seconds]
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #ffmpeg
vlm has joined #ffmpeg
alexherbo2 has quit [Remote host closed the connection]
ketking has quit [Quit: Leaving]
iconoclasthero has quit [Ping timeout: 276 seconds]
stolen has joined #ffmpeg
emanuele6 has quit [Quit: shutting down O:]
System_Error has quit [Remote host closed the connection]
Marth64 has quit [Quit: Leaving]
System_Error has joined #ffmpeg
emanuele6 has joined #ffmpeg
lemourin has joined #ffmpeg
lemourin has quit [Read error: Connection reset by peer]
lemourin has joined #ffmpeg
lemourin is now known as Guest3096
lemourin4 has joined #ffmpeg
Guest3096 has quit [Killed (molybdenum.libera.chat (Nickname regained by services))]
lemourin4 is now known as lemourin
kasper93 has quit [Ping timeout: 260 seconds]
lemourin has quit [Client Quit]
kasper93 has joined #ffmpeg
System_Error has quit [Remote host closed the connection]
Rena has joined #ffmpeg
System_Error has joined #ffmpeg
lemourin has joined #ffmpeg
lemourin is now known as Guest6843
Guest6843 has quit [Killed (platinum.libera.chat (Nickname regained by services))]
lemourin has joined #ffmpeg
lemourin has quit [Read error: Connection reset by peer]
lemourin has joined #ffmpeg
lucasta has quit [Quit: Leaving]
lemourin has quit [Read error: Connection reset by peer]
lemourin has joined #ffmpeg
Teraii_ has joined #ffmpeg
Teraii has quit [Read error: Connection reset by peer]
Teraii_ is now known as Teraii
migul has joined #ffmpeg
coldfeet has quit [Remote host closed the connection]
putacho has quit [Quit: There is no spoon!]
microchip_ has joined #ffmpeg
microchip_ is now known as elChippo
noobaroo has joined #ffmpeg
<noobaroo>
I dont understand how dash works, but I think these m3u8 links from this one website are actually dash even though the index or whatever is a m3u8 file
<noobaroo>
is this possible?
<furq>
what makes you think they're dash
<galad>
BrunoTheDwarf: that's usually in the container, not in the hevc stream, I don't know if there is a way avoid such thing, but probably there is a way to discard it
<JEEB>
noobaroo: years ago apple specified fragmented MP4 segments in HLS, so getting those out of HLS is not really surprising. they also force it for HEVC and other newer video formats in HLS for their devices I think
<noobaroo>
JEEB oh okay, thanks for the info, I really dont understand DASH at all, but you are indeed right, they are unreadable .mp4 files that `file` command just says "Data"
<JEEB>
so at this point technically you can create both HLS and DASH and use the same segments
<JEEB>
and funny enough in DASH you are also allowed to utilize MPEG-TS segments :P
<noobaroo>
How does the moov work ? I downloaded with streamlink with --concurrent-segments=3 and it skipped one and kept going and only the first 2 seconds of the file is playable
<JEEB>
it's just that pretty much no-one does that
<JEEB>
use something like boxdumper from L-SMASH or atomicparsley to look at the insides if you want to know how it works? together with the 14496-12 2015 pdf which was the last free edition, which can now be found on the interwebs