ChanServ 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.1 is released
MyTDT has joined #ffmpeg
MyTDT has quit [Remote host closed the connection]
buzel has quit [Ping timeout: 244 seconds]
HelloImSteven has quit [Quit: HelloImSteven]
damian101 has quit [Ping timeout: 276 seconds]
MyTDT_ has joined #ffmpeg
buzel has joined #ffmpeg
MyTDT_ has quit [Ping timeout: 265 seconds]
System_Error has quit [Ping timeout: 264 seconds]
yans has quit [Quit: Let us play... Hide and Slay!]
System_Error has joined #ffmpeg
minimal has quit [Quit: Leaving]
Hackerpcs has quit [Quit: Hackerpcs]
usagi_mimi has joined #ffmpeg
Hackerpcs has joined #ffmpeg
Hackerpcs has quit [Max SendQ exceeded]
Hackerpcs has joined #ffmpeg
ZLima12 has quit [Remote host closed the connection]
Hackerpcs has quit [Max SendQ exceeded]
ZLima12 has joined #ffmpeg
Hackerpcs has joined #ffmpeg
Hackerpcs has quit [Max SendQ exceeded]
Hackerpcs has joined #ffmpeg
Keshl has joined #ffmpeg
upekkha has quit []
upekkha has joined #ffmpeg
Xgates has joined #ffmpeg
<Xgates> Hello all...
<Xgates> I'm using a bash script I made up in the past for ffmpeg, and I thought just to remove subtitles and nothing else this would work?
<Xgates> urxvt -g 120x32 -e /usr/local/bin/ffmpeg -i "$i" -map 0:v -map 0:a -c copy language=eng "$OUTPUT/${i%.*}.mkv"
<Xgates> or
<Xgates> urxvt -g 120x32 -e /usr/local/bin/ffmpeg -i "$i" -c:v copy -c:a copy -map 0 -sn language=eng "$OUTPUT/${i%.*}.mkv"
<Xgates> So to just copy audio/video and only strip out the subs for 7.1, how can I do this?
^Neo has quit [Ping timeout: 272 seconds]
<Xgates> OH, forgot to mention, if I run from a terminal a cmd like this, it works; ffmpeg -i video.mkv -map 0 -c copy -sn video_output.mkv
<Xgates> So I'm not sure why I'm not able to use in the bash script; -map 0 -c copy -sn
<Xgates> My bad, for some reason I can't seem to be able to use in the line; language=eng
<Xgates> So this seems to be working now;
<Xgates> urxvt -g 120x32 -e /usr/local/bin/ffmpeg -i "$i" -c:v copy -c:a copy -map 0 -sn "$OUTPUT/${i%.*}.mkv"
<Xgates> If anyone is around, can you please tell me if this last line I posted is good? THANKS
MyTDT_ has joined #ffmpeg
maxim_d33 has quit [Ping timeout: 245 seconds]
maxim_d33 has joined #ffmpeg
lolok has joined #ffmpeg
Xgates has quit [Quit: Xgates]
MyTDT_ has quit [Remote host closed the connection]
Shuriko has quit [Read error: Connection reset by peer]
MyTDT_ has joined #ffmpeg
Shuriko has joined #ffmpeg
Shuriko has quit [Read error: Connection reset by peer]
Shuriko has joined #ffmpeg
etra_ has joined #ffmpeg
etra has quit [Ping timeout: 272 seconds]
etra_ has quit [Client Quit]
shibboleth has joined #ffmpeg
etra has joined #ffmpeg
etra has quit [Changing host]
etra has joined #ffmpeg
HelloImSteven has joined #ffmpeg
HelloImSteven has quit [Client Quit]
shibboleth has quit [Quit: shibboleth]
user_oreloznog has joined #ffmpeg
cantelope has quit [Quit: Connection closed for inactivity]
HelloImSteven has joined #ffmpeg
HelloImSteven has quit [Client Quit]
HelloImSteven has joined #ffmpeg
HelloImSteven has quit [Client Quit]
HelloImSteven has joined #ffmpeg
HelloImSteven has quit [Client Quit]
HelloImSteven has joined #ffmpeg
HelloImSteven has quit [Quit: HelloImSteven]
Jan\ has quit [Ping timeout: 252 seconds]
bent-nz has joined #ffmpeg
jmcantrell has quit [Quit: WeeChat 4.6.1]
FH_thecat has quit [Quit: Leaving]
Jan\ has joined #ffmpeg
System_Error has quit [Ping timeout: 264 seconds]
rvalue- has joined #ffmpeg
rvalue has quit [Ping timeout: 260 seconds]
rvalue- is now known as rvalue
chiselfuse has quit [Ping timeout: 264 seconds]
MyTDT_ has quit [Remote host closed the connection]
chiselfuse has joined #ffmpeg
Forza has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
System_Error has joined #ffmpeg
Forza has joined #ffmpeg
damian101 has joined #ffmpeg
xx has joined #ffmpeg
MyTDT has joined #ffmpeg
Shine_ has joined #ffmpeg
derpydoo has joined #ffmpeg
TheSilentLink has quit [Quit: Good Bye! My bouncer has probably crashed or lost connection to the internet...]
ChocolateArmpits has joined #ffmpeg
coldfeet has joined #ffmpeg
rsx has joined #ffmpeg
SuicideShow has quit [Ping timeout: 272 seconds]
SuicideShow has joined #ffmpeg
Keshl has quit [Ping timeout: 276 seconds]
Keshl has joined #ffmpeg
Sketch has quit [Remote host closed the connection]
Sketch has joined #ffmpeg
figushki has joined #ffmpeg
figushki is now known as Guest6334
beastd has quit [Quit: KVIrc 5.2.6 Quasar http://www.kvirc.net/]
Guest6334 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Guest2732 has joined #ffmpeg
Guest2732 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lavaball has joined #ffmpeg
derpydoo has quit [Quit: derpydoo]
emmanuelux has quit [Read error: Connection reset by peer]
figushki has joined #ffmpeg
YuGiOhJCJ has joined #ffmpeg
Some_Person has quit [Quit: ZNC 1.8.2 - https://znc.in]
Shuriko830 has joined #ffmpeg
tm512` has joined #ffmpeg
tm512` has quit [Changing host]
tm512` has joined #ffmpeg
tm512 has quit [Read error: Connection reset by peer]
sentriz_ has joined #ffmpeg
Some_Person has joined #ffmpeg
sentriz has quit [Ping timeout: 252 seconds]
hsv has quit [Ping timeout: 252 seconds]
FlorianBad is now known as Guest6773
FlorianBad has joined #ffmpeg
Guest6773 has quit [Killed (tungsten.libera.chat (Nickname regained by services))]
rvalue has quit [Ping timeout: 252 seconds]
hsv has joined #ffmpeg
Shuriko has quit [Ping timeout: 252 seconds]
Exa has quit [Ping timeout: 252 seconds]
Offspring has quit [Ping timeout: 252 seconds]
sentriz_ is now known as sentriz
Exa has joined #ffmpeg
Offspring has joined #ffmpeg
rvalue has joined #ffmpeg
emmanuelux has joined #ffmpeg
shibboleth has joined #ffmpeg
user_oreloznog has quit [Ping timeout: 268 seconds]
user_oreloznog has joined #ffmpeg
figushki has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lemourin has quit [Quit: The Lounge - https://thelounge.chat]
lemourin has joined #ffmpeg
figushki has joined #ffmpeg
figushki is now known as Guest2413
Guest2413 has quit [Client Quit]
figushki has joined #ffmpeg
figushki is now known as Guest2232
lemourin has quit [Quit: The Lounge - https://thelounge.chat]
lemourin has joined #ffmpeg
^Neo has joined #ffmpeg
^Neo has joined #ffmpeg
MyTDT has quit [Remote host closed the connection]
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ffmpeg
shibboleth has quit [Quit: shibboleth]
Guest2232 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
Keshl_ has joined #ffmpeg
Keshl has quit [Read error: Connection reset by peer]
Keshl_ is now known as Keshl
Offspring has quit [Quit: ZNC - https://znc.in]
Offspring has joined #ffmpeg
figushki has joined #ffmpeg
figushki is now known as Guest8067
Guest8067 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
FH_thecat has joined #ffmpeg
cantelope has joined #ffmpeg
TheSilentLink has joined #ffmpeg
k777 has quit [Remote host closed the connection]
MrHAPPY has joined #ffmpeg
coldfeet has quit [Quit: Lost terminal]
shibboleth has joined #ffmpeg
EmleyMoor has quit [Ping timeout: 245 seconds]
EmleyMoor has joined #ffmpeg
luva9 has joined #ffmpeg
luva has quit [Ping timeout: 252 seconds]
luva9 is now known as luva
MrHAPPY has quit []
EmleyMoor has quit [Ping timeout: 252 seconds]
EmleyMoor has joined #ffmpeg
Juest has quit [Ping timeout: 272 seconds]
microchip_ has quit [Quit: There is no spoon!]
microchip_ has joined #ffmpeg
Juest has joined #ffmpeg
rsx has quit [Quit: rsx]
elvis_a_presley has quit [Quit: smoke-bomb ; grapple-hook]
elvis_a_presley has joined #ffmpeg
cantelope has quit [Quit: Connection closed for inactivity]
kus has quit [Read error: Connection reset by peer]
kus has joined #ffmpeg
robobub has joined #ffmpeg
BSaboia has quit [Quit: ZNC - https://znc.in]
BSaboia has joined #ffmpeg
\\Mr_C\\ has joined #ffmpeg
shibboleth has quit [Remote host closed the connection]
Exa has quit [Quit: see ya!]
cantelope has joined #ffmpeg
Exa has joined #ffmpeg
busybusybusy has joined #ffmpeg
zeromind has quit [Quit: *pooof*]
busybusybusy has quit [Remote host closed the connection]
jmcantrell has joined #ffmpeg
zeromind has joined #ffmpeg
___nick___ has joined #ffmpeg
yans has joined #ffmpeg
Sakura`Kinomoto has quit [Ping timeout: 260 seconds]
Sakura`Kinomoto has joined #ffmpeg
System_Error has quit [Remote host closed the connection]
System_Error has joined #ffmpeg
System_Error has quit [Remote host closed the connection]
System_Error has joined #ffmpeg
jafa has joined #ffmpeg
figushki has joined #ffmpeg
<jafa> this is interesting...
<jafa> I am generating multiple video streams for dash
figushki is now known as Guest8213
<jafa> 16:9 content - if I tell it to generate 1920x1080, 1280x720, and 960x540 ffmpeg works fine
<jafa> if I add 704x480 ffmpeg fails with the error "Conflicting stream aspect ratios values in Adaptation Set 1. Please ensure all adaptation sets have the same aspect ratio"
<jafa> is ffmpeg confusing the resolution with the aspect ratio?
<jafa> nowhere am I specifying the aspect ratio because I want the source aspect ratio to be used end to end
<jafa> 704x480 is a standard resolution for 16:9 content (and for 4:3 content)
<jafa> is this a bug in the dash layer of ffmpeg?
Guest8213 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jafa> nope, looks like a bug earlier that the dash layer - mediainfo reports my 704:480 stream as having an aspect ratio of 3:2
<jafa> possibly a bug in scale_qsv
jmcantrell has quit [Ping timeout: 252 seconds]
figushki has joined #ffmpeg
figushki is now known as Guest3234
<jafa> adding setdar to the filter fixes the problem
<jafa> so looks like a bug in scale_qsv
woky_ has quit [Ping timeout: 265 seconds]
<BtbN> It's absolutely correct with its claim though, jafa
<BtbN> the first 3 are 16:9, the extra one is very much not
<BtbN> not even sure what 704x480 is. It's not 4:3 but also a long shot from 16:9
<BtbN> 853.33333x480 would be 16:9
<kepstin> 704x480 is intended to be either 4:3 or 16:6, with a sar of 10/11 or 40/33 . that's correct for a lot of ntsc video.
<kepstin> note that 704x480 is _exactly_ 4:3 or 16:9 dar, while 720x480 content is slightly wider (includes additional pixels on the left/right)
woky_ has joined #ffmpeg
<jafa> 704x480 can be whatever aspect ratio you want
<jafa> pixels are not required to be square
<kepstin> sure, but you'll basically only ever see that resolution for ntsc standard def video, which will be one of two aspect ratios.
<kepstin> if you see anything else, it's probably wrong
<jafa> I am working with atsc video where 704x480 is the standard size
<kepstin> if you're working with atsc, then 704x480 is _definitely_ either 16:9 or 4:3, as a tv broadcast standard i'm pretty sure they don't require support for any other aspect ratios?
<jafa> correct
<jafa> if I rescale video it shouldn't matter what numbers I put in, it shouldn't change the DAR
<kepstin> indeed. (unless you specifically ask it to, the scale filter has an option to set sar on output to 1 but it's off by default)
<jafa> I am using scale_qsv
<jafa> thinking there is a bug in that scaler
___nick___ has quit [Ping timeout: 252 seconds]
<kepstin> either that, or dash actually requires the same _sample_ aspect ratio, not _display_ aspect ratio?
___nick___ has joined #ffmpeg
<kepstin> which would be kinda odd
<jafa> dash worked fine once I did a setdar after the scale_qsv step
<jafa> so I think dash it right
<kepstin> might be worth running the command with "-v debug", which should cause it to print out the resolution and sample aspect ratio at a few places in the filter chain, which could help identify where things are going wrong
<kepstin> what's the input video size? 1080p?
<jafa> yes
<jafa> ffmpeg + qsv is working well
<BtbN> if you give it just a resolution without any further info, it'll assume square pixels
<BtbN> If you want to deviate from that, you'll need to specify
<jafa> figure the DAR after a rescale should exactly match the DAR before the rescale as rescale doesn't change the content of the video
<kepstin> yeah, if the scale_qsv filter isn't preserving the dar (at least, by default) i'd consider that a bug. it should match the behaviour of the scale filter in that regard.
<kepstin> (that said, there can be rounding or floating point issues in some circumstances when calculating the new sample aspect ratio after scaling which result in the dar being almost, but not quite, correct)
<kepstin> but 1920x1080 to 704x480 should be possible to calculate exact values for.
<kepstin> (the expected sar of the output is 40/33 to achieve exactly 16/9 dar)
Guest3234 has quit [Changing host]
Guest3234 has joined #ffmpeg
Guest3234 has quit [Quit: Textual IRC Client: www.textualapp.com]
<jafa> that makes sense
figushki has joined #ffmpeg
<furq> yeah that works fine with just scale
<jafa> thanks for confirming, I will file a bug against scale_qsv
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<furq> Input #0, lavfi, from 'testsrc=s=1920x1080,scale=704:480':
<furq> Duration: N/A, start: 0.000000, bitrate: N/A
<furq> Stream #0:0: Video: wrapped_avframe, rgb24, 704x480 [SAR 40:33 DAR 16:9], 25 fps, 25 tbr, 25 tbn
<furq> if you get something different with that input and scale_qsv then that smells like a bug
___nick___ has joined #ffmpeg
___nick___ has quit [Client Quit]
<BtbN> Can qsv be mapped to vulkan?
___nick___ has joined #ffmpeg
<furq> if you're on linux then using vaapi instead of qsv might work for now
<furq> at least scale_vaapi appears to be more actively maintained than scale_qsv
<BtbN> qsv is just in a weird sport where you barely ever really need it
<BtbN> On Windows you can just go via d3d, on linux via vaapi, or on both via Vulkan
<furq> didn't intel deprecate qsv as well
<furq> or does the ffmpeg qsv stuff just map to the new api now
<BtbN> nah, I don't think it's deprecated on Intels end
<BtbN> they just keep renaming the API and its library
<BtbN> but it's the same old API
<furq> fair enough
<furq> onevpl or whatever it is this week
<BtbN> yeah
EmleyMoor has quit [Ping timeout: 244 seconds]
EmleyMoor has joined #ffmpeg
xx has quit [Ping timeout: 264 seconds]
gachikuku has quit [Remote host closed the connection]
gachikuku_ has joined #ffmpeg
___nick___ has quit [Ping timeout: 276 seconds]
gachikuku_ is now known as gachikuku
System_Error has quit [Remote host closed the connection]
System_Error has joined #ffmpeg
figushki has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Tano has joined #ffmpeg
gachikuku has quit [Remote host closed the connection]
gachikuku_ has joined #ffmpeg
Vonter has quit [Ping timeout: 252 seconds]
Vonter has joined #ffmpeg
hussein1 has quit [Remote host closed the connection]
hussein1 has joined #ffmpeg
gachikuku_ is now known as gachikuku
Tano has quit [Quit: WeeChat 4.4.3]
Marth64[m] has joined #ffmpeg
marth64_ has quit [Ping timeout: 245 seconds]
Traneptora has quit [Quit: Quit]
vlm has quit [Quit: vlm]
vlm has joined #ffmpeg
ChocolateArmpits has quit [Ping timeout: 252 seconds]
vlm has quit [Remote host closed the connection]
emmanuelux has quit [Read error: Connection reset by peer]
welder_ has quit [Quit: WeeChat 3.8]
welder has joined #ffmpeg
emmanuelux has joined #ffmpeg
Shine_ has quit [Read error: Connection reset by peer]
water has joined #ffmpeg
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ffmpeg
lavaball has quit [Remote host closed the connection]
System_Error has quit [Ping timeout: 264 seconds]
System_Error has joined #ffmpeg