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
<Neville> My current ffmpeg command generates an MP4 file with a 23.98 frame rate, even though I explicitly set both the input frame rate (-framerate 24000/1001) and output frame rate (-r 24000/1001) in the parameters.
<Neville> The goal is for ffprobe to display the frame rate as 23.976 fps (avoiding the rounded value of 23.98). Could you suggest additional parameters or adjustments to the parameter order to achieve this?
<Neville> Below is my ffmpeg command for reference:
<Neville> ffmpeg -start_number 00001000 -framerate 24000/1001 -i <input_file.%08d.exr> -vcodec libx264 -pix_fmt yuv420p -preset veryslow -tune stillimage -crf 8 -timecode 00:00:41:16 -r 24000/1001 -force_fps "<output_file.h264.mp4>"
lavaball has quit [Remote host closed the connection]
<furq> ffprobe -show_entries stream=avg_frame_rate foo.mkv
<furq> the framerate displayed in the summary is always rounded to two decimal places
saulosilva has joined #ffmpeg
wziko has quit [Ping timeout: 272 seconds]
deus0ww has quit [Ping timeout: 276 seconds]
deus0ww has joined #ffmpeg
<Neville> I do have Quicktimes that display as 23.976 with ffprobe.
odrling has quit [Remote host closed the connection]
odrling has joined #ffmpeg
Kei_N_ has joined #ffmpeg
Kei_N has quit [Read error: Connection reset by peer]
wziko has joined #ffmpeg
wziko has quit [Ping timeout: 252 seconds]
saulosilva has quit [Quit: Client closed]
saulosilva has joined #ffmpeg
saulosilva has quit [Client Quit]
Mirarora has quit [Quit: Mirarora encountered a fatal error and needs to close]
Mirarora has joined #ffmpeg
saulosilva has joined #ffmpeg
relue has quit [Read error: Connection reset by peer]
ferreum has quit [Quit: bye]
ferreum has joined #ffmpeg
saulosilva has quit [Quit: Client closed]
e^pi-1 has joined #ffmpeg
minimal has quit [Quit: Leaving]
Vonter has quit [Quit: WeeChat 4.5.1]
rsx has joined #ffmpeg
System_Error has quit [Remote host closed the connection]
System_Error has joined #ffmpeg
nitrix has quit [Quit: ZNC 1.8.2 - https://znc.in]
nitrix has joined #ffmpeg
xx has quit [Remote host closed the connection]
boombatz has joined #ffmpeg
<boombatz> this line doesn't work what am I doing wrong?
<boombatz> ffmpeg -i input.mp4 -c copy -metadata:s:v:0 rotate=90 output.mp4
nitrix has quit [Quit: ZNC 1.8.2 - https://znc.in]
nitrix has joined #ffmpeg
rsx has quit [Quit: rsx]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
duderonomy has joined #ffmpeg
rossome has quit [Quit: WeeChat 4.5.1]
StephenLynx has quit [Remote host closed the connection]
wziko has joined #ffmpeg
wziko has quit [Max SendQ exceeded]
Kei_N has joined #ffmpeg
Kei_N_ has quit [Ping timeout: 252 seconds]
mven97 has quit [Quit: Goodbye.]
mven97 has joined #ffmpeg
e^pi-1 has quit [Quit: WeeChat 4.5.1]
e^pi-1 has joined #ffmpeg
olndrxyz has joined #ffmpeg
olndrxyz has quit [Client Quit]
xx has joined #ffmpeg
Marth64 has joined #ffmpeg
rvalue has quit [Ping timeout: 252 seconds]
rvalue has joined #ffmpeg
jemius has joined #ffmpeg
coldfeet has joined #ffmpeg
darkapex has quit [Quit: WeeChat 3.8]
darkapex has joined #ffmpeg
rvalue has quit [Ping timeout: 248 seconds]
rvalue has joined #ffmpeg
makidoll has quit [Quit: https://maki.cafe]
makidoll has joined #ffmpeg
olndrxyz has joined #ffmpeg
jemius has quit [Quit: Leaving]
System_Error has quit [Remote host closed the connection]
EmleyMoor has joined #ffmpeg
System_Error has joined #ffmpeg
coldfeet has quit [Ping timeout: 265 seconds]
Sketch has quit [Remote host closed the connection]
Sketch has joined #ffmpeg
coldfeet has joined #ffmpeg
bitbinge has joined #ffmpeg
pyre has quit [Remote host closed the connection]
pyre has joined #ffmpeg
lavaball has joined #ffmpeg
olndrxyz has quit [Read error: Connection reset by peer]
olndrxyz has joined #ffmpeg
olndrxyz has quit [Client Quit]
System_Error has quit [Remote host closed the connection]
System_Error has joined #ffmpeg
microlappy has joined #ffmpeg
lavaball has quit [Remote host closed the connection]
microlappy has quit [Quit: Konversation terminated!]
microlappy has joined #ffmpeg
microlappy has quit [Client Quit]
microlappy has joined #ffmpeg
microlappy has quit [Client Quit]
lavaball has joined #ffmpeg
System_Error has quit [Remote host closed the connection]
jemius has joined #ffmpeg
System_Error has joined #ffmpeg
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ffmpeg
wziko has joined #ffmpeg
coldfeet has quit [Remote host closed the connection]
bitbinge has quit [Ping timeout: 264 seconds]
wziko has quit [Ping timeout: 244 seconds]
makidoll has quit [Quit: Ping timeout (120 seconds)]
makidoll has joined #ffmpeg
Neville has quit [Quit: Client closed]
wziko has joined #ffmpeg
wziko has quit [Max SendQ exceeded]
bitbinge has joined #ffmpeg
coldfeet has joined #ffmpeg
jemius has quit [Quit: Leaving]
coldfeet has quit [Remote host closed the connection]
theracermaster2 has joined #ffmpeg
<grib> boombatz: there's a few things to fix -- the "rotate=90" is an output filename at the moment, you probably want -filter:v (or the shortcut -vf) for a simple video filter
<grib> unless you mean the rotate=90 to be part of the metadata specifier?
<grib> if you mean to turn the video 90 *degrees* (sideways), -vf "rotate=PI/2" because the angle is in radians (and PI/2 is equivalent of 90 degrees)
<BtbN> That's exactly the point, so NOT re-encode
<BtbN> can't copy and filter
<BtbN> mp4 supports rotation metadata.
wziko has joined #ffmpeg
<grib> ah, i get it.
<BtbN> Just use -display_rotation really
<grib> for what it's worth, the original line that boombatz gave does actually seem to work now that i try it
<BtbN> Yeah, it's the old way of doing it.
<BtbN> It entirely relies on the player actually respecting the rotation metadata though
<BtbN> and not all do
StephenLynx has joined #ffmpeg
wziko has quit [Ping timeout: 248 seconds]
Vonter has joined #ffmpeg
wziko has joined #ffmpeg
wziko has quit [Ping timeout: 244 seconds]
elvis_a_presley has quit [Quit: smoke-bomb ; grapple-hook]
elvis_a_presley has joined #ffmpeg
minimal has joined #ffmpeg
e^pi-1 has quit [Quit: WeeChat 4.5.1]
olndrxyz has joined #ffmpeg
Kei_N_ has joined #ffmpeg
Kei_N has quit [Read error: Connection reset by peer]
rossome has joined #ffmpeg
olndrxyz has quit [Quit: Quit]
Kruppt has joined #ffmpeg
rex has quit [Ping timeout: 264 seconds]
superded has joined #ffmpeg
rex has joined #ffmpeg
rsx has joined #ffmpeg
emanuele6 has quit [Ping timeout: 265 seconds]
emanuele6 has joined #ffmpeg
Kruppt has quit [Remote host closed the connection]
phonemic has left #ffmpeg [The Lounge - https://thelounge.chat]
lucasta has joined #ffmpeg
Narrat has joined #ffmpeg
darkapex has quit [Remote host closed the connection]
darkapex has joined #ffmpeg
sihloo has quit [Quit: ZNC 1.9.1 - https://znc.in]
bitbinge has quit [Ping timeout: 264 seconds]
coldfeet has joined #ffmpeg
sihloo has joined #ffmpeg
jemius has joined #ffmpeg
acidbunny has quit [Remote host closed the connection]
acidbunny has joined #ffmpeg
Xafg has joined #ffmpeg
<Xafg> Encoded Date + Tagged Date how to remove because I've been sitting for 2 days and none of the commands I found work. Thanks for your help
<another|> What exactly do you mean by that? What problem do you have?
<Xafg> Hello, I don't want the media info to show the file encoding date.
<Xafg> Unfortunately ffmpeg always adds information about Encoded Date + Tagged Date
<another|> What "the media info" are you talking about?
MisterMinister has joined #ffmpeg
<Xafg> mediainfo is a program for checking video files
<Xafg> ffmpeg adds information about the file encoding date to the metadata. But I know it can be removed but I don't know how
<Xafg> Here you have an example, but the command they gave here doesn't work.
<another|> Do you have an example file?
sonicrules1234 has quit [Remote host closed the connection]
<Xafg> Here is the file that was created and each time I have information saved in it when the file was created.
lusciouslover has quit [Ping timeout: 246 seconds]
<Xafg> Audio
<Xafg> ID                                       : 1
<Xafg> Format                                   : AAC
<Xafg> Format/Info                              : Advanced Audio Codec
<Xafg> Format profile                           : LC
<Xafg> Codec ID                                 : 40
<Xafg> Duration                                 : 2 min 0 s
lusciouslover has joined #ffmpeg
<Xafg> Duration_LastFrame                       : -1 ms
<Xafg> Bit rate mode                            : Constant
<Xafg> Bit rate                                 : 322 kb/s
<Xafg> Channel(s)                               : 2 channels
<Xafg> Channel positions                        : Front: L R
<Xafg> Sampling rate                            : 44.1 kHz
<Xafg> Frame rate                               : 43.066 FPS (1024 spf)
<Xafg> Compression mode                         : Lossy
<Xafg> Stream size                              : 4.60 MiB (100%)
<Xafg> Default                                  : Yes
<Xafg> Alternate group                          : 1
<Xafg> This is an example and as you can see the last 2 lines always have information about the encoding date
<another|> No, I can not see that. Because those lines where not properly send. Which is why you should not paste omre than 2 lines to IRC.
* elChippo sees no info about encoding date in his AAC files + MediaInfo
<another|> as far the example file: `ffmpeg -i test.mp4 -c copy foo.mp4`
<Xafg> in mediainfo it shows the date of encoding
<Xafg> screenshot from mediainfo, in metadata the file encoding date is saved
<elChippo> Xafg: which mediainfo version? this is what I get here on an AAC file (encoded with ffmpeg + libfdk-aac) https://pastebin.com/exD31jPQ
<elChippo> i do not have any dates
<Xafg> MediaInfo 24.06
<Xafg> look i have all info about date
<elChippo> mine is 22.12
<Xafg> I have done 400 tests of different commands and each time I have information about the encoding date.
<another|> <another|> as far the example file: `ffmpeg -i test.mp4 -c copy foo.mp4`
<another|> strips out any date tag for me
<elChippo> Xafg: i installed latest Mi (24.12) and still nothing
bitbinge has joined #ffmpeg
<Xafg> How is it possible that it shows me and not you?
<Xafg> :/
<elChippo> Xafg: try upgrade to 24.12
<another|> ffmpeg -version
<Xafg> ffmpeg version N-117825-g970d57988d Copyright (c) 2000-2024 the FFmpeg developer
<elChippo> could be a "bug" in Mi
<Xafg> I updated mediainfo and still have the information about the encoding date
<elChippo> weird
<Xafg> Only the encoding date is displayed correctly, so the correct information must be saved in the metadata
<another|> try HEAD
<Xafg> Head ?
<another|> elChippo: I think you're completely on the wrong track
<elChippo> ?
<Xafg> -vf scale="'if(gt(a,16/9),1920,-2)':'if(gt(a,16/9),-2,1080)'" -c:v libx264 -crf 25 -maxrate 6000k -bufsize 12000k -g 240 -preset medium -profile:v high -level 4.0 -b-pyramid strict -pix_fmt yuv420p -color_primaries bt709 -color_trc bt709 -colorspace bt709 -movflags +faststart -an -map_metadata -1 -f mp4
<another|> elChippo: There seems to be nothing wrong with mediainfo
<another|> Xafg: ffmpeg HEAD -> master
<Xafg> This is my command and -map_metadata -1 should remove everything but it doesn't
Everything has joined #ffmpeg
boombatz has left #ffmpeg [#ffmpeg]
<elChippo> Xafg: oh, I see it on a video file but not audio file
<Xafg> Since audio is separate and you are using Dash for this this is a video only command
<elChippo> I don't use Dash
<elChippo> have you tried -bitexact ?
<another|> I cannot reproduce this with either 7.1 nor master
rex has quit [Ping timeout: 260 seconds]
<another|> none have any date set
<Xafg> ok i try
<another|> e.g. `ffmpeg -i test.mp4 -c copy bar.mp4`
<Xafg> It didn't help, I still have the file creation date
<Xafg> Maybe dash is adding something to the header because I have no idea how to solve this
<another|> wait. dash?
<Xafg> Yes
<another|> What is dash having to do with this?
<Xafg> It shouldn't do anything, but I don't know where the problem is that removing the date doesn't work in any way
<Xafg> I'll keep looking and let you know if I find a solution. Thanks for your help
Xafg has quit [Quit: Client closed]
rex has joined #ffmpeg
sonicrules1234 has joined #ffmpeg
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #ffmpeg
coldfeet has quit [Quit: Lost terminal]
rsx has quit [Quit: rsx]
lucasta has quit [Remote host closed the connection]
makidoll has quit [Remote host closed the connection]
makidoll has joined #ffmpeg
iive has joined #ffmpeg
wziko has joined #ffmpeg
wziko has quit [Max SendQ exceeded]
wziko has joined #ffmpeg
duderonomy has joined #ffmpeg
lucasta has joined #ffmpeg
Tano has quit [Ping timeout: 252 seconds]
Tano has joined #ffmpeg
wobbol has quit [Ping timeout: 276 seconds]
jemius has quit [Quit: Leaving]
wobbol has joined #ffmpeg
wobbol has quit [Max SendQ exceeded]
Everything has quit [Quit: leaving]
wobbol has joined #ffmpeg
wziko has quit [Ping timeout: 265 seconds]
EmleyMoor has quit [Ping timeout: 248 seconds]
EmleyMoor has joined #ffmpeg
wziko has joined #ffmpeg
Xafg has joined #ffmpeg
<Xafg> On Windows it removes the date to install the latest ffmpeg on the server and the same command on Windows removes it on Linux, any ideas how to remove the file creation date?
wziko has quit [Ping timeout: 248 seconds]
<another|> Could not parse.
<Xafg> It would be best if someone from dev could comment because I have no idea how to solve this.
lucasta has quit [Quit: Leaving]
<BtbN> First step would be describing what you mean in an understandable way.
<Xafg> I need to remove Encoded Date + Tagged Date from metadata, on windows after converting Encoded Date + Tagged Date is removed, the same done on linux does not remove Encoded Date + Tagged Date
<BtbN> That seems rather unlikely, there are no differences like that depending on the OS
<Xafg> So where to look for the cause?
<BtbN> probably just vastly different versions?
bitbinge has quit [Ping timeout: 264 seconds]
<Xafg> No my friend both 2 versions are the latest 7.1
yans has joined #ffmpeg
TheSilentLink has quit [Quit: Good Bye! My bouncer has probably crashed or lost connection to the internet...]
<another|> Full command and full output
SuicideShow has quit [Ping timeout: 252 seconds]
<Xafg> -vf scale="'if(gt(a,16/9),1920,-2)':'if(gt(a,16/9),-2,1080)'" -c:v libx264 -crf 25 -maxrate 6000k -bufsize 12000k -g 240 -preset medium -profile:v high -level 4.0 -b-pyramid strict -pix_fmt yuv420p -color_primaries bt709 -color_trc bt709 -colorspace bt709 -movflags +faststart -an -map_metadata -1 -f mp4 -y output-1080.mp4
<Xafg> I use Dash so there is only a video command here
SuicideShow has joined #ffmpeg
<Xafg> The same command on windows returned a file without Encoded Date + Tagged Date
<another|> that is neither the full command nor the full output
<furq> are you using the same input on both
<welder> I'm toying around with the routines written in assembly. Is there a method in ffmpeg to benchmark these?
<Xafg> No, because on Linux I have a script in Laravel and on Windows I run the command manually.
<Xafg> I will run the conversion manually on the server and see if it will be the same
<another|> welder: checkasm