Marth64 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.1 is released
Guest88 has joined #ffmpeg
Guest88 has quit [Client Quit]
Guest88 has joined #ffmpeg
Guest88 has left #ffmpeg [#ffmpeg]
lucasta has quit [Read error: Connection reset by peer]
phinxy has quit [Quit: WeeChat 4.5.1]
phinxy has joined #ffmpeg
phinxy has quit [Quit: WeeChat 4.5.1]
phinxy has joined #ffmpeg
Muimi has quit [Read error: Connection reset by peer]
iive has quit [Quit: They came for me...]
Some_Person has joined #ffmpeg
Some_Person has quit [Remote host closed the connection]
Some_Person has joined #ffmpeg
abdu66 has joined #ffmpeg
Muimi has joined #ffmpeg
abdu66 has quit [Ping timeout: 240 seconds]
damian101_ has joined #ffmpeg
damian101 has quit [Ping timeout: 252 seconds]
Tano has quit [Remote host closed the connection]
Tano has joined #ffmpeg
abdu66 has joined #ffmpeg
Buliarou1 has quit [Quit: leaving]
Buliarou1 has joined #ffmpeg
minimal has quit [Quit: Leaving]
damian101_ has quit [Ping timeout: 248 seconds]
Shuriko has quit [Read error: Connection reset by peer]
Shuriko has joined #ffmpeg
\\Mr_C\\ has quit [Remote host closed the connection]
neonboy has joined #ffmpeg
neonboy has quit [Quit: WeeChat 4.5.2]
Muimi has quit [Remote host closed the connection]
abdu66 has quit [Ping timeout: 240 seconds]
someuser has joined #ffmpeg
maxim_d33 has quit [Ping timeout: 246 seconds]
maxim_d33 has joined #ffmpeg
Keshl has quit [Read error: Connection reset by peer]
Keshl_ has joined #ffmpeg
^Neo has joined #ffmpeg
^Neo has joined #ffmpeg
^Neo has quit [Ping timeout: 252 seconds]
SohamK11 has joined #ffmpeg
SohamK11 has quit [Client Quit]
nitrix has quit [Quit: ZNC 1.9.1 - https://znc.in]
SohamK39 has joined #ffmpeg
nitrix has joined #ffmpeg
__jmcantrell__ has joined #ffmpeg
jmcantrell has quit [Killed (zinc.libera.chat (Nickname regained by services))]
__jmcantrell__ is now known as jmcantrell
jmcantrell_ has joined #ffmpeg
Shuriko has quit [Read error: Connection reset by peer]
SohamK39 has quit [Quit: Client closed]
jmcantrell has quit [Quit: WeeChat 4.5.2]
jmcantrell_ is now known as jmcantrell
pyre has quit [Remote host closed the connection]
pyre has joined #ffmpeg
__jmcantrell__ has joined #ffmpeg
jmcantrell has quit [Killed (tantalum.libera.chat (Nickname regained by services))]
__jmcantrell__ is now known as jmcantrell
jmcantrell_ has joined #ffmpeg
Shuriko has joined #ffmpeg
System_Error has quit [Remote host closed the connection]
System_Error has joined #ffmpeg
gordonfish has joined #ffmpeg
YuGiOhJCJ has joined #ffmpeg
YuGiOhJCJ has quit [Remote host closed the connection]
jmcantrell has quit [Quit: WeeChat 4.5.2]
someuser has quit [Ping timeout: 244 seconds]
lavaball has joined #ffmpeg
user_oreloznog has joined #ffmpeg
hackkitten has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in]
Shine has joined #ffmpeg
olndrxyz has joined #ffmpeg
coldfeet has joined #ffmpeg
rvalue- has joined #ffmpeg
rvalue has quit [Ping timeout: 268 seconds]
rvalue- is now known as rvalue
hackkitten has joined #ffmpeg
SuicideShow has quit [Ping timeout: 260 seconds]
SuicideShow has joined #ffmpeg
Sketch has quit [Remote host closed the connection]
Sketch has joined #ffmpeg
justaguy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
hjckr has quit [Quit: ZNC 1.8.2 - https://znc.in]
hjckr has joined #ffmpeg
^Neo has joined #ffmpeg
^Neo has joined #ffmpeg
kepstin has quit [Remote host closed the connection]
kepstin has joined #ffmpeg
Shine has quit [Read error: Connection reset by peer]
Guest45 has joined #ffmpeg
Guest45 has quit [Client Quit]
Shine has joined #ffmpeg
olndrxyz has quit [Quit: Quit]
olndrxyz has joined #ffmpeg
tranzistor has joined #ffmpeg
emanuele6 has quit [Ping timeout: 244 seconds]
emanuele6 has joined #ffmpeg
emanuele6 has quit [Client Quit]
yans has quit [Ping timeout: 268 seconds]
olndrxyz has quit [Quit: Quit]
olndrxyz has joined #ffmpeg
<fsphil> more playing about. sws_dither option has no effect. if I convert to rgb24 first, then rgb32, it looks fine - no horizontal lines
dev4ever has joined #ffmpeg
SohamK35 has joined #ffmpeg
<dev4ever> Hello,
<dev4ever> I've been using ffmpeg for a few days now and I'd like to know if what I want to do is possible because at the moment I can't do it, maybe I've misunderstood how it works or something.
<dev4ever> Here's my question:
<dev4ever> I have two files containing video data
<dev4ever> the first file contains moov data, it contains the beginning of the video and I can read it.
<dev4ever> The second file contains an empty part of the duration of the first video at the beginning and then continues with the video data.
<dev4ever> Is it possible with ffmpeg to glue these two files back together so that playback is possible, without the problem of corruption?
<dev4ever> I'm trying to do streaming, but at the moment I can't manage to get a file that's viable.
<dev4ever> Thanks to all :)
rsx has joined #ffmpeg
<BtbN> You mean you have a corrupted mp4 file, and want to fix it?
<dev4ever> I'd like to assemble two parts, but since the second part contains no atom moov data, it tells me that the file is not found, so I don't know how to proceed.
TheSilentLink has quit [Ping timeout: 260 seconds]
<BtbN> What is that second file? Where does it come from?
<BtbN> Generally, an mp4/mov file without moov atom is not easily recoverable
<dev4ever> both files come from a server that sends me the parts I request. In this case, I asked him for a first part of 4mo for the first file, which contains the moov files and allows me to start playing, and the second part contains the rest of the video but without the beginning of the video. I don't know if I'm clear enough :)
SohamK35 has quit [Quit: Client closed]
lemourin has quit [Quit: The Lounge - https://thelounge.chat]
lemourin has joined #ffmpeg
<BtbN> But what kind of files are those? Is it fragmented mp4?
<BtbN> If they're individual mp4 files, the second file without moov atom is useless
SohamK has joined #ffmpeg
<dev4ever> basically I upload an mp4 video to a server
<dev4ever> the two video parts I'm requesting from the server are the original video I sent to the server, cut in two, but I can't put them back together or merge them.
<BtbN> Why not?
<BtbN> If it's just the file cut in two, you can literally just cat them back together
<BtbN> But I still don't understand from your description what's actually going on.
<dev4ever> ffmpeg won't glue them back together because it can't find the moov atom
<BtbN> Just use cat if it's just one file split in two?
<dev4ever> yes, I haven't tried just gluing them back together yet, I'll try that :)
user_oreloznog has quit [Ping timeout: 244 seconds]
user_oreloznog has joined #ffmpeg
SohamK has quit [Quit: Client closed]
frankplow has quit [Quit: Goodbye]
frankplow has joined #ffmpeg
olndrxyz has quit [Quit: Quit]
tyzoid has quit [Ping timeout: 252 seconds]
tyzoid has joined #ffmpeg
lucasta has joined #ffmpeg
turlando has quit []
turlando has joined #ffmpeg
FlorianBad has quit [Ping timeout: 260 seconds]
turlando has quit []
coldfeet has quit [Remote host closed the connection]
turlando has joined #ffmpeg
busy has joined #ffmpeg
delthas has quit [Remote host closed the connection]
delthas has joined #ffmpeg
FlorianBad has joined #ffmpeg
bitbinge has quit [Remote host closed the connection]
System_Error has quit [Remote host closed the connection]
lucasta has quit [Quit: Leaving]
abdu has joined #ffmpeg
System_Error has joined #ffmpeg
Flat_ is now known as Flat
abdu18 has joined #ffmpeg
abdu has quit [Ping timeout: 240 seconds]
zsoltiv_ has joined #ffmpeg
bitbinge has joined #ffmpeg
derpydoo has joined #ffmpeg
abdu91 has joined #ffmpeg
abdu18 has quit [Ping timeout: 240 seconds]
abdu91 has quit [Ping timeout: 240 seconds]
abdu61 has joined #ffmpeg
JanC has joined #ffmpeg
JanC has quit [Killed (mercury.libera.chat (Nickname regained by services))]
justaguy has joined #ffmpeg
jmcantrell has joined #ffmpeg
<de-facto> how can i output aac to "pipe:1" ?
<de-facto> searching for a pipeline equivalent for ffmpeg -i pipe:0 -f mp3 -b:a 64k pipe:1
<de-facto> but for aac
<furq> -f adts
<de-facto> hmm that never finishes
<de-facto> i want the stdout to be a valid aac file
JanC has joined #ffmpeg
JanC is now known as Guest6952
Guest6952 has quit [Killed (lithium.libera.chat (Nickname regained by services))]
abdu61 has quit [Quit: Client closed]
abdu has joined #ffmpeg
minimal has joined #ffmpeg
<BtbN> .aac is not a well defined file format iirc
<furq> it is
<furq> it's just not m4a which is what people think .aac is
<BtbN> m4a is mov though, which cannot be streamed to a pipe
<furq> right
<BtbN> if you want to stream aac... I'd say go mpegts or flv
<furq> mka works
jmcantrell has quit [Ping timeout: 248 seconds]
damian101 has joined #ffmpeg
<furq> if you want a file that you can play and has duration headers etc but want to do this via stdout for some reason
<BtbN> Doesn't streaming mkv result in it not having that?
<BtbN> Since that involves seeking back to the start
<furq> it works here
<BtbN> how exactly are you doing it? If you "pipe" it to a file, that is seekable
derpydoo has quit [Quit: derpydoo]
<furq> wait never mind
<furq> i was looking at the wrong file
FlorianBad has quit [Quit: Konversation terminated!]
<furq> i just happened to have another out.mka that was also 10 seconds of lc-aac
FlorianBad has joined #ffmpeg
<de-facto> yeah i meant a file with header etc
rsx has quit [Quit: rsx]
<de-facto> the streaming is just for not writing to disk, its probably going to be called via socat
<BtbN> streaming and header for seeking are pretty much mutually exclusive
<de-facto> not streaming, just output the file to stdout
<BtbN> yes
<furq> that is streaming
<BtbN> Cause to write the header, it has to seek back to the front at the end and write it
<BtbN> it cannot do that when it's not a file
<de-facto> hmm but for mp3 that works
<BtbN> mp3 has no header whatsoever
<BtbN> it's pretty much just raw bitstream dumped to disk
<BtbN> Which is why ffmpeg always detect any random file as mp3 with a low probability. Cause any file is valid mp3 bitstream :D
<furq> that will only work for cbr mp3 because the player just estimates the duration from the bitrate
<furq> bitrate and file size
<BtbN> a lot of players also just parse the whole file in one go nowadays
<de-facto> interesting
<furq> if you do it with e.g. -q:a 0 the duration will be all wrong
<furq> at least it is in my player
abdu has quit [Ping timeout: 240 seconds]
FlorianBad has quit [Remote host closed the connection]
<de-facto> i used -b:1 64k
<BtbN> that's horrible for mp3 :D
<furq> yeah that's cbr
FlorianBad has joined #ffmpeg
MisterMinister has quit [Ping timeout: 244 seconds]
<furq> cbr mp3 has no duration header
<de-facto> the input is 24k samples of wav mono
MisterMinister has joined #ffmpeg
<de-facto> my goal is to have a socat tts server that responds with valid files to text inputs via tcp
<furq> seems like this works fine with ogg
<BtbN> you'll need to use a streamable format then, without header
<furq> so maybe consider using opus
<BtbN> fragmented mp4, mpegts, flv
<furq> it's pretty widely supported nowadays
<BtbN> if you want it to play in a browser, fmp4 would be the obvious choice
<furq> opus has been supported by all browsers for a while
JanC has joined #ffmpeg
JanC is now known as Guest5447
Guest5447 has quit [Killed (tantalum.libera.chat (Nickname regained by services))]
<furq> but annoyingly safari only supports it in webm
wobbol2 is now known as wobbol
<de-facto> is -f adts a valid aac file ?
<de-facto> thanks
<furq> it's at least the default muxer in ffmpeg for the aac file extension
<furq> but usually when people say .aac they mean m4a
mven9713 has quit [Ping timeout: 245 seconds]
jmcantrell has joined #ffmpeg
coldfeet has joined #ffmpeg
Flat has quit [Quit: Rip internet]
Flat has joined #ffmpeg
TheSilentLink has joined #ffmpeg
abdu has joined #ffmpeg
mven9713 has joined #ffmpeg
coldfeet has quit [Ping timeout: 252 seconds]
squeaktoy has quit [Remote host closed the connection]
xvaclav has quit [Ping timeout: 244 seconds]
xvaclav has joined #ffmpeg
coldfeet has joined #ffmpeg
Guest45 has joined #ffmpeg
Guest45 has quit [Quit: Client closed]
Guest60 has joined #ffmpeg
iive has joined #ffmpeg
de-facto_ has joined #ffmpeg
de-facto has quit [Remote host closed the connection]
de-facto_ is now known as de-facto
FlorianBad has quit [Quit: Konversation terminated!]
Guest60 has left #ffmpeg [#ffmpeg]
YUiNA_ has joined #ffmpeg
YUiNA has quit [Ping timeout: 268 seconds]
EmleyMoor has quit [Ping timeout: 276 seconds]
abdu has quit [Ping timeout: 240 seconds]
abdu has joined #ffmpeg
YUiNA_ has quit [Remote host closed the connection]
jmcantrell has quit [Ping timeout: 260 seconds]
abdu has quit [Ping timeout: 240 seconds]
Shine has quit [Read error: Connection reset by peer]
lucasta has joined #ffmpeg
luser1 has quit [Quit: The Lounge - https://thelounge.chat]
luser1 has joined #ffmpeg
Everything has joined #ffmpeg
mven9713 has quit [Quit: Goodbye.]
squeaktoy has joined #ffmpeg
YUiNA has joined #ffmpeg
lucasta has quit [Quit: Leaving]
psykose has quit [Remote host closed the connection]
psykose has joined #ffmpeg
FlorianBad has joined #ffmpeg
FlorianBad has quit [Remote host closed the connection]
FlorianBad has joined #ffmpeg
FlorianBad has quit [Client Quit]
FlorianBad has joined #ffmpeg
EmleyMoor has joined #ffmpeg
YUiNA_ has joined #ffmpeg
YUiNA has quit [Ping timeout: 248 seconds]
SohamK50 has joined #ffmpeg
damian101_ has joined #ffmpeg
damian101 has quit [Ping timeout: 248 seconds]
Narrat has joined #ffmpeg
Guest49 has joined #ffmpeg
coldfeet has quit [Remote host closed the connection]
<Guest49> hello, I have a cross compiling issue related to pkg-config
<Guest49> this works (Linux binary): ./configure --enable-libvmaf --extra-cflags="-I../vmaf/libvmaf/include" --extra-ldflags="-L../vmaf/libvmaf/build/src"
<Guest49> this does not work: ./configure --target-os=mingw32 --arch=x86_64 --enable-libvmaf --extra-cflags="-I../vmaf/libvmaf/include" --extra-ldflags="-L../vmaf/libvmaf/build/src" --cross-prefix=x86_64-w64-mingw32-
<Guest49> ERROR: libvmaf >= 2.0.0 not found using pkg-config
<Guest49> but this works: pkg-config --modversion libvmaf
<BtbN> Of course, cause it finds the version for the host OS
<Guest49> and this also works: x86_64-w64-mingw32-pkg-config --modversion libvmaf
<BtbN> It most likely also just finds the one for the host
<Guest49> alright so what do I need to do to cross compile
<Guest49> when I build libvmaf, should I have done it for windows as well?
<BtbN> You need to make sure it finds the correct version of the library and its headers for the target
<BtbN> of course, everything you link in needs to be for the target
<Guest49> ok so these are the build instructions for libvmaf: https://github.com/Netflix/vmaf/tree/master/libvmaf
<Guest49> I followed those
theracermaster2 has joined #ffmpeg
<Guest49> commands: pkg-config --modversion libvmaf and x86_64-w64-mingw32-pkg-config --modversion libvmaf give me version 3.0.0
<Guest49> I do not usually build stuff by myself but I am trying and really struggling to understand what I need to do here
rossome has quit [Quit: WeeChat 4.5.1]
<Guest49> BtbN you are building Windows binaries, hope you have some insights here
<BtbN> There really is no simple "do this" here. You need to make sure it finds the right library, and that library needs to be built for the right target.
<BtbN> cross-compiling is always a bit of an advanture the moment dependencies get involved
rossome has joined #ffmpeg
<Guest49> right, so I understand I need to build libvmaf for Windows instead of following the official build instructions, correct?
<BtbN> yes, you cannot link libraries for Linux into a windows binary
damian101 has joined #ffmpeg
<Guest49> alright, good to know, are there any instructions to build libvmaf for Windows?
<BtbN> it's pretty standard meson stuff
<Guest49> great, I will try it and get back to you, thanks
damian101_ has quit [Ping timeout: 272 seconds]
Everything has quit [Ping timeout: 260 seconds]
Guest49 has quit [Ping timeout: 240 seconds]
Marth64 has quit [Quit: Leaving]
Everything has joined #ffmpeg
FlorianBad has quit [Remote host closed the connection]
FlorianBad has joined #ffmpeg
FlorianBad has quit [Remote host closed the connection]
FlorianBad has joined #ffmpeg
FlorianBad has quit [Client Quit]
FlorianBad has joined #ffmpeg
Abdallah-Ismail has joined #ffmpeg
Abdallah-Ismail has quit [Client Quit]
Mirarora has quit [Quit: Mirarora encountered a fatal error and needs to close]
Mirarora has joined #ffmpeg
theracermaster2 has quit [Quit: theracermaster2]
SohamK50 has quit [Quit: Client closed]
dev4ever has quit [Quit: Client closed]
abdu has joined #ffmpeg
YuGiOhJCJ has joined #ffmpeg
abdu has quit [Quit: Client closed]
abdu has joined #ffmpeg
mven9713 has joined #ffmpeg
Everything has quit [Quit: leaving]
FlorianBad has quit [Remote host closed the connection]
FlorianBad has joined #ffmpeg
lavaball has quit [Remote host closed the connection]
phantomics_ has joined #ffmpeg
phantomics has quit [Ping timeout: 265 seconds]
someuser has joined #ffmpeg
FlorianBad has quit [Remote host closed the connection]
damian101 has quit [Remote host closed the connection]
FlorianBad has joined #ffmpeg
tofran has quit [Quit: Ping timeout (120 seconds)]
Narrat has quit [Quit: They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.]
tofran has joined #ffmpeg
damian101 has joined #ffmpeg
damian101_ has joined #ffmpeg
abdu has quit [Ping timeout: 240 seconds]
damian101 has quit [Ping timeout: 268 seconds]
Guest49 has joined #ffmpeg
jmcantrell has joined #ffmpeg
paulk has quit [Ping timeout: 252 seconds]
paulk has joined #ffmpeg
Guest49 has quit [Quit: Ping timeout (120 seconds)]
Guest49 has joined #ffmpeg
<Guest49> hi, I am trying to cross compile libvmaf with CUDA support on my WSL instance
<Guest49> initial build with default settings works using this command, with pointers to libs inside the Windows host CUDA toolkit installation
<Guest49> command: meson setup build libvmaf --cross-file mingw-w64-cross.txt --buildtype release --default-library static --prefix ~/vmaf_win/built
<Guest49> then I tried to rebuild after activating CUDA support in libvmaf/meson_options.txt but the build fails:
<Guest49> libvmaf/src/meson.build:168:4: ERROR: Compiler /usr/local/cuda/bin/nvcc cannot compile programs.
<Guest49> I found this error in the log file:
<Guest49> In file included from /usr/include/stdlib.h:514,
<Guest49>                  from /usr/include/c++/10/bits/std_abs.h:38,
<Guest49>                  from /usr/include/c++/10/cmath:47,
<Guest49>                  from /usr/local/cuda/bin/../targets/x86_64-linux/include/crt/math_functions.h:8958,
<Guest49>                  from /usr/local/cuda/bin/../targets/x86_64-linux/include/crt/common_functions.h:295,
<Guest49>                  from /usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_runtime.h:115,
<Guest49>                  from <command-line>:
<Guest49>    10 | #error Only Win32 target is supported!