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
<BtbN> ok, fixed it
<BtbN> You might simply be the first person trying to combine varstreams with subtitles. Cause right now it's busted, and might have been for a long while.
troyt has quit [Ping timeout: 264 seconds]
furq_ is now known as furq
<BtbN> The fix is super simple and obvious
waleee has joined #ffmpeg
<tmm360> you are great man, thanks! I'm curious, I'm learning. You said that probably I'm the first one doing this thing, but how would you add some subtitles into hls? Are there a better way?
<BtbN> It's not about subtitles in HLS
<BtbN> it's about using the varstream feature in combination with subtitles in any but the last set of streams
<BtbN> And you're apparently not the first, someone reported it over two years ago, but nobody investigated
<tmm360> I see.. I try to explain what I have to do. I've to encode into different resolutions, with different bitrates h264, packed with vod hls. I want that all resolutions shares some tracks of subs that I'm currently importing from the source mp4. How would you do this?
lexano has quit [Ping timeout: 255 seconds]
memset has quit [Ping timeout: 260 seconds]
memset has joined #ffmpeg
AbleBacon has joined #ffmpeg
troyt has joined #ffmpeg
iurirs has joined #ffmpeg
Tinos has quit [Remote host closed the connection]
kus has quit [Read error: Connection reset by peer]
five618480339 has quit [Remote host closed the connection]
five618480339 has joined #ffmpeg
waleee has quit [Ping timeout: 252 seconds]
<MisterMinister> Greetings and Salutations! Would anyone be familiar with building zmqsend in 7.0.2 please? Got few issues building it: https://pastecode.io/s/rq6ray6d
lucasta has joined #ffmpeg
<psykose> g++ instead of gcc would fix it prolly
<psykose> or more accurately you are missing the flags you need to link with zmq which are conveniently in Libs.private in libzmq.pc which you are not using from (probably) /usr/local/lib/pkgconfig/libzmq.pc
<psykose> which would put -lstdc++ in that link and fix it
<another|> BtbN: lul. apparently this fixes two tickets at once. good job
<EmberCrest> woah!!!!!
<EmberCrest> has anyone tried ffplay --help on the latest windows build??
<EmberCrest> it endlessly spits out text haha
<EmberCrest> oh wait nvm.. it's just really, really, really helpful, so it spits out a LOT of text haha. it did eventually end. wow.
<MisterMinister> psykose: thanks. That worked.
<MisterMinister> `gcc -static -o /tmp/zmqsend tools/zmqsend.c -I./ -L/usr/local/lib -Wl,--start-group /usr/local/lib/libzmq.a /usr/local/lib/libavutil.a /usr/local/lib/libavformat.a /usr/local/lib/libavcodec.a -Wl,--end-group -lstdc++ -lm -lrt -lpthread -ldl`
wobbol has quit [Ping timeout: 258 seconds]
bitbinge has quit [Ping timeout: 260 seconds]
lucasta has quit [Quit: Leaving]
Suchiman has quit [Quit: Connection closed for inactivity]
EmberCrest has quit [Quit: ibbidy-ibbidy-ibbidy-- that's all, folks!]
Dagger has quit [Ping timeout: 265 seconds]
Dagger has joined #ffmpeg
DHE has joined #ffmpeg
DeHackEd has quit [Ping timeout: 252 seconds]
GNU_world has joined #ffmpeg
archivist99 has quit [Ping timeout: 248 seconds]
Yukkuri has quit [Quit: leaving]
microchip_ has quit [Quit: There is no spoon!]
microchip_ has joined #ffmpeg
<MisterMinister> Any advice to put overlay on top of live stream at ZMQ command please? Only option seems to be to add at start with enable=1, all other varians fail to execute on "enable 1"
<MisterMinister> ` -i "$rtp1" -i "$overlay1" -filter_complex '[0:v]format=yuva420p[bg];[1:v]format=yuva420p,fps=30[fg];[bg][fg]overlay@1=x=0:y=0:enable=1' ` < this works ok. zmq and sendcommand are not working.
<MisterMinister> -filter_complex "[0:v]setpts=PTS-STARTPTS,format=yuva420p[bg];[1:v]setpts=PTS-STARTPTS,format=yuva420p,fps=30[fg];[bg][fg]overlay@1=x=0:y=0:enable=0:eof_action=pass,sendcmd=c='5 overlay@1 enable 1'" << overlay not working. And zmq the same (even though it shows reciving command via console).
microchip__ has joined #ffmpeg
microchip_ has quit [Ping timeout: 244 seconds]
archivist99 has joined #ffmpeg
microchip__ is now known as microchip_
GNU_world has quit [Ping timeout: 260 seconds]
System_Error has quit [Remote host closed the connection]
namazso has quit [Remote host closed the connection]
namazso has joined #ffmpeg
rv1sr has joined #ffmpeg
intrac has quit [Ping timeout: 248 seconds]
j45 has quit [Ping timeout: 260 seconds]
j45 has joined #ffmpeg
lavaball has joined #ffmpeg
AbleBacon has quit [Read error: Connection reset by peer]
FH_thecat has quit [Quit: Leaving]
Tinos has joined #ffmpeg
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ffmpeg
Icedream has quit [Quit: A lol made me boom.]
System_Error has joined #ffmpeg
Icedream has joined #ffmpeg
ChanServ has quit [shutting down]
ChanServ has joined #ffmpeg
FH_thecat has joined #ffmpeg
vlm has joined #ffmpeg
jtgd has quit [Quit: WeeChat 4.3.5]
Icedream has quit [Quit: A lol made me boom.]
jtgd has joined #ffmpeg
Icedream has joined #ffmpeg
Icedream has quit [Client Quit]
Icedream has joined #ffmpeg
HerbY_NL has joined #ffmpeg
Icedream has quit [Quit: A lol made me boom.]
Icedream has joined #ffmpeg
Icedream has quit [Quit: A lol made me boom.]
Icedream has joined #ffmpeg
emanuele6 has quit [Ping timeout: 255 seconds]
emanuele6 has joined #ffmpeg
emanuele6 has quit [Ping timeout: 255 seconds]
emanuele6 has joined #ffmpeg
HerbY_NL has quit [Ping timeout: 258 seconds]
emanuele6 has quit [Ping timeout: 260 seconds]
emanuele6 has joined #ffmpeg
luva880 has joined #ffmpeg
luva88 has quit [Ping timeout: 255 seconds]
luva880 is now known as luva88
Blacker47 has joined #ffmpeg
bitbinge has joined #ffmpeg
Suchiman has joined #ffmpeg
pikapika_lunar has joined #ffmpeg
pikapika_lunar is now known as militantorc
vampirefrog has quit [Quit: Leaving]
HerbY_NL has joined #ffmpeg
Mister_D has joined #ffmpeg
MisterMinister has quit [Ping timeout: 255 seconds]
Blacker47 has quit [Quit: Life is short. Get a V.90 modem fast!]
emanuele6 has quit [Ping timeout: 272 seconds]
Tinos has quit [Remote host closed the connection]
HerbY_NL has quit [Ping timeout: 252 seconds]
alexherbo2 has joined #ffmpeg
intrac has joined #ffmpeg
lavaball has quit [Remote host closed the connection]
tmm360 has quit [Quit: Leaving]
Blacker47 has joined #ffmpeg
Rena has quit [Read error: Connection reset by peer]
Rena has joined #ffmpeg
lexano has joined #ffmpeg
MisterMinister has joined #ffmpeg
Mister_D has quit [Ping timeout: 260 seconds]
rsx has joined #ffmpeg
Tano has joined #ffmpeg
waleee has joined #ffmpeg
nobiz has left #ffmpeg [WeeChat 4.3.5]
Tinos has joined #ffmpeg
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ffmpeg
waleee has quit [Ping timeout: 248 seconds]
Tinos has quit [Remote host closed the connection]
Tinos has joined #ffmpeg
lucasta has joined #ffmpeg
darkapex_ has quit [Remote host closed the connection]
darkapex_ has joined #ffmpeg
alexherbo2 has quit [Remote host closed the connection]
rvalue- has joined #ffmpeg
rvalue has quit [Ping timeout: 258 seconds]
beaver has quit [Remote host closed the connection]
beaver has joined #ffmpeg
rvalue- is now known as rvalue
HerbY_NL has joined #ffmpeg
beaver has quit [Remote host closed the connection]
bitbinge has quit [Ping timeout: 260 seconds]
beaver has joined #ffmpeg
lavaball has joined #ffmpeg
bitbinge has joined #ffmpeg
HerbY_NL has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lavaball has quit [Quit: lavaball]
Ox7C5 has quit [Ping timeout: 260 seconds]
Perflosopher has quit [Read error: Connection reset by peer]
Perflosopher0 has joined #ffmpeg
MoC has joined #ffmpeg
rsx has quit [Quit: rsx]
Traneptora has quit [Quit: Quit]
Traneptora has joined #ffmpeg
jarthur has joined #ffmpeg
<BtbN> You can't alter the filter chain at runtime like that. only send commands to existing filters
coldfeet has joined #ffmpeg
emanuele6 has joined #ffmpeg
MoC has quit [Quit: Konversation terminated!]
<MisterMinister> BtbN: just looking for a method to start playback of a file in overlay filter at ZMQ trigger.
<BtbN> Sounds to me like you're looking for OBS, not ffmpeg
<MisterMinister> Yeah heard that one before ) Why wouldn't FFmpeg be able to do it?
<BtbN> Cause it's not something it's designed for
<BtbN> You can probably hack together something, somehow
<MisterMinister> So, not possible?
<BtbN> But it won't be great or pleasant
<BtbN> while live composition of stuff is literally what OBS is designed for
<MisterMinister> Any references to an unpleasant method (assume set PTS of overlay to infinite future and then change it to ovelray event timestamp?).
<BtbN> doubt it, you'll have to cook it up yourself somehow
<MisterMinister> ok
<kepstin> specifically, this is not something the ffmpeg cli tool is designed for. obs certainly uses the ffmpeg libraries internally for some of its functionality.
HerbY_NL has joined #ffmpeg
<Lynne> I wrote a scriptable wrapper which can drain&switch filters at runtime, but yeah, you need to write Lua to use it, and ffmpeg's cli doesn't support it
lemourin has quit [Read error: Connection reset by peer]
lemourin5 has joined #ffmpeg
lemourin5 is now known as lemourin
AbleBacon has joined #ffmpeg
<MisterMinister> Lynne: would you share a link to your script? I'm thinking adding VLC and stream alpha channel through it to FFmpeg over UDP and ovarlay that... But that's pretty heavy process to manage on top of FFmpeg.
<Lynne> its not a script, its a program, https://github.com/cyanreg/txproto/
minimal has joined #ffmpeg
HerbY_NL has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vincejv has quit [Ping timeout: 258 seconds]
vincejv has joined #ffmpeg
catsoften has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in]
waleee has joined #ffmpeg
catsoften has joined #ffmpeg
Kei_N_ has joined #ffmpeg
lavaball has joined #ffmpeg
Kei_N has quit [Ping timeout: 265 seconds]
<MisterMinister> Thanks! Will check it out
Tano has quit [Quit: WeeChat 4.3.2]
coldfeet has quit [Remote host closed the connection]
waleee has quit [Ping timeout: 264 seconds]
vincejv_ has joined #ffmpeg
vincejv has quit [Ping timeout: 260 seconds]
vincejv_ is now known as vincejv
nitroxis has quit []
nitroxis has joined #ffmpeg
alexherbo2 has joined #ffmpeg
HerbY_NL has joined #ffmpeg
FlorianBad has quit [Remote host closed the connection]
FlorianBad has joined #ffmpeg
HerbY_NL has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Jhonny2x4 has quit [Quit: Jhonny2x4]
Tinos has quit [Remote host closed the connection]
Tinos has joined #ffmpeg
alexherbo2 has quit [Remote host closed the connection]
Jhonny2x4 has joined #ffmpeg
Jhonny2x4 has quit [Client Quit]
Jhonny2x4 has joined #ffmpeg
Jhonny2x4 has quit [Client Quit]
Jhonny2x4 has joined #ffmpeg
Tano has joined #ffmpeg
Tinos has quit [Ping timeout: 256 seconds]
theprofessor has joined #ffmpeg
<theprofessor> Hi, I'm trying to convert MOV (hvc1 codec) to MP4 (avc1 codec) to compress the video. I want to also copy all of the metadata.
<theprofessor> I used the following command:
<theprofessor> ffmpeg -i "/home/to_convert/one.mp4" -map_metadata 0 -movflags use_metadata_tags -crf 30 -vf format=yuv420p "/home/converted/two.mp4"
<theprofessor> I verified all of the metadata match using ffprobe (although some of the metadata is sorted differently).
<theprofessor> The problem is that when I view the video using Windows Photo Viewer, it does not show the "location" map. Does anyone know why this is and how to fix it?
Blacker47 has quit [Quit: Life is short. Get a V.90 modem fast!]
System_Error has quit [Ping timeout: 260 seconds]
vlm has quit [Quit: Leaving]
System_Error has joined #ffmpeg
<BtbN> the container and codec are laregely unrelated
<BtbN> also hvc1 is hevc I assume?
<BtbN> Cause converting that to h264 while also making it smaller won't go well, quality wise
memset has quit [Remote host closed the connection]
<BtbN> No idea about the metadata. That could be something Apple-Proprietary or something.
memset has joined #ffmpeg
lucasta has quit [Remote host closed the connection]
waleee has joined #ffmpeg
theobjectivedad has quit [Ping timeout: 260 seconds]
HerbY_NL has joined #ffmpeg
<theprofessor> yes, hvc1 is hevc.
HerbY_NL has quit [Client Quit]
theobjectivedad has joined #ffmpeg
<theprofessor> Actually, this happens with any files that are compressed (either compressing MP4 or converting MOV to MP4)
<theprofessor> so it cannot be apple proprietary (it happens with videos recorded with Android phone too)
<theprofessor> All of the metadata from fprobe looks the same as the original vs compressed
rv1sr has quit []
<BtbN> yes, which makes me think the location stuff is proprietary tack-on
<JEEB> I think I've seen ffprobe print out the gps location, but I have no idea what that is parsed out of. and whether it is a key-value kind of string metadata field which is what most likely use_metadata_tags ends up doing (?)
<JEEB> in other words, if FFmpeg parses some structure, then exposes it as a string and then of course when writing a string metadata does not write it in similar vein
<JEEB> something like L-SMASH's boxdumper or AtomicParsley might help one figure out what sort of box it is
<JEEB> probably not :P
<JEEB> 3GPP defined loci (doing ctrl+F "loc" in https://mp4ra.org/registered-types/boxes)
<JEEB> yea, I would check if the input contains loci
<JEEB> and yes, loci gets parsed to a string
<JEEB> hmm, but movenc does have loci writing from string metadata
YuGiOhJCJ has joined #ffmpeg
System_Error has quit [Remote host closed the connection]
System_Error has joined #ffmpeg
memset has quit [Remote host closed the connection]
memset has joined #ffmpeg
memset has quit [Remote host closed the connection]
memset has joined #ffmpeg
lavaball has quit [Quit: lavaball]
Tano has quit [Ping timeout: 252 seconds]
Tano has joined #ffmpeg
lucasta has joined #ffmpeg
Tano has quit [Quit: WeeChat 4.3.2]
Tano has joined #ffmpeg
SuicideShow has quit [Ping timeout: 248 seconds]
SuicideShow has joined #ffmpeg
waleee has quit [Quit: WeeChat 4.1.2]
bertieb has quit [Read error: Connection reset by peer]
Vonter has quit [Ping timeout: 252 seconds]
five618480339 has quit [Remote host closed the connection]
five618480339 has joined #ffmpeg
darkapex_ has quit [Remote host closed the connection]
darkapex_ has joined #ffmpeg
lexano has quit [Ping timeout: 255 seconds]
bitbinge has quit [Ping timeout: 260 seconds]
Icedream has quit [Quit: A lol made me boom.]
Icedream has joined #ffmpeg
System_Error has quit [Remote host closed the connection]
System_Error has joined #ffmpeg