[Ffmpeg-devel-irc] ffmpeg.log.20180401

burek burek021 at gmail.com
Mon Apr 2 03:05:01 EEST 2018


[00:12:12 CEST] <tomtomb> Hi, I can't seem to find a way to change the filter "showvolume" color to anything different than white, could you guys help? is it possible to set it to green for example?
[00:13:26 CEST] <durandal_1707> tomtomb: yes, it is possible
[00:14:27 CEST] <tomtomb> durandal_1707, hi again! :) I found online somebody saying I should use the "c=0xff0000" param but in the documentation c can be VOLUME/PEAK/CHANNEL, do I need to apply another filter on it?
[00:15:04 CEST] <JEEB> see ffmpeg-all.html
[00:15:37 CEST] <JEEB> https://www.ffmpeg.org/ffmpeg-all.html#showvolume
[00:15:43 CEST] <SilverShroud> hello, the following command:
[00:15:49 CEST] <SilverShroud> ffmpeg -f concat -safe 0 files.txt -threads 8 -c:a flac -compression_level 12 concat.flac
[00:15:57 CEST] <SilverShroud> is giving the following output:
[00:16:05 CEST] <SilverShroud> [NULL @ 0x556a8c5f60a0] Requested output format 'concat' is not a suitable output format
[00:16:05 CEST] <SilverShroud> files.txt: Invalid argument
[00:16:22 CEST] <SilverShroud> what am I doing wrong here?
[00:16:30 CEST] <JEEB> you don't have -i
[00:16:31 CEST] <tomtomb> JEEB, thanks, I am, it says c = set volume color expression but only 3 variables: VOLUME/PEAK/CHANNEL
[00:16:52 CEST] <durandal_1707> tomtomb: what is wrong with default colors?
[00:17:11 CEST] <SilverShroud> JEEB: thanks, but now:
[00:17:21 CEST] <SilverShroud> [concat @ 0x562fd4ef6fa0] Line 1: unknown keyword '01'
[00:17:21 CEST] <SilverShroud> files.txt: Invalid data found when processing input
[00:17:37 CEST] <SilverShroud> I thought "-safe 0" was like using IFS
[00:18:33 CEST] <tomtomb> durandal_1707, I showed it to some people and they complained that white doesn't look good on their clips, they are used to seeing the meters as green
[00:20:09 CEST] <durandal_1707> tomtomb: default color is not white
[00:20:36 CEST] <durandal_1707> tomtomb: add p=1
[00:20:48 CEST] <durandal_1707> this sets background opacity
[00:21:23 CEST] <SilverShroud> am I putting "-safe 0" in the wrong place?
[00:21:51 CEST] <JEEB> no, because then it would be failing to load the found file name
[00:22:03 CEST] <JEEB> it's literally not understanding wtf you mean with your text file
[00:22:29 CEST] <SilverShroud> for example: first line:
[00:22:30 CEST] <SilverShroud> 01 - Mike Watt - Walking the Cow (Live).flac
[00:22:43 CEST] <JEEB> in before you need to quote it
[00:22:58 CEST] <tomtomb> durandal_1707, if I set the opacity (p=0.9) I see the meters as white and the meter background as black... does that make sense?
[00:23:03 CEST] <JEEB> or otherwise escape the white space
[00:23:03 CEST] <SilverShroud> oh, I have to quote every file name?
[00:23:14 CEST] <JEEB> no idea, it just seems like it's parsing until the white space
[00:23:30 CEST] <JEEB> and thus it doesn't understand WTF 01 is supposed to mean as a keyword or something
[00:23:33 CEST] <durandal_1707> tomtomb: what's your command?
[00:23:41 CEST] <SilverShroud> I did try escaping before, but perhaps I forgot -i before that
[00:24:41 CEST] <tomtomb> durandal_1707, -i "d:\a.mxf" -filter_complex "[0:1]showvolume=w=100:h=20:o=v:c=VOLUME:t=false:v=false:f=0.001:s=0.1:p=0.9[fg0];[0:0][fg0]overlay=x=5:y=5[out0]" -map "[out0]" -map 0:1 -c:v libx264 -level 3.1 -aspect 16:9 -pix_fmt yuv420p -preset veryfast -c:a aac -b:a 128k "d:\out.mp4"
[00:26:05 CEST] <SilverShroud> I'm escaping now:
[00:26:06 CEST] <SilverShroud> [concat @ 0x55dcc4dd4fa0] Line 1: unknown keyword '01\'
[00:26:06 CEST] <SilverShroud> files.txt: Invalid data found when processing input
[00:26:29 CEST] <tomtomb> SilverShroud, why not use the concat filter instead?
[00:26:40 CEST] <SilverShroud> what's that?
[00:27:08 CEST] <tomtomb> SilverShroud, ffmpeg -i "concat:input1.ts|input2.ts|input3.ts" -c copy output.ts
[00:27:34 CEST] <durandal_1707> tomtomb: remove c=VOLUME
[00:28:00 CEST] <durandal_1707> that's concat protocol, not filter
[00:28:00 CEST] <tomtomb> SilverShroud, anyway - wait for the other guys response - it not might be better than what u got, i'm no ffmpeg expert
[00:28:18 CEST] <SilverShroud> tomtomb: ok
[00:28:23 CEST] <furq> SilverShroud: pastebin files.txt
[00:28:45 CEST] <JEEB> SilverShroud: I guess it's then time to try quoting and if quoting doesn't work then the thing no worky with spaces
[00:28:59 CEST] <tomtomb> durandal_1707, hm. it works. how come?
[00:29:21 CEST] <SilverShroud> https://pastebin.com/EmeCY2xD
[00:29:38 CEST] <furq> yeah every line needs to begin with "file"
[00:29:40 CEST] <furq> (without quotes)
[00:30:00 CEST] <SilverShroud> ah.
[00:30:04 CEST] <SilverShroud> I'll try that.
[00:31:10 CEST] <SilverShroud> furq: thanks!
[00:31:23 CEST] <furq> http://vpaste.net/lCOmy
[00:31:26 CEST] <SilverShroud> now to work out how to make them chapters in an mka....
[00:31:28 CEST] <furq> if you're on *nix then that should save you some time
[00:31:46 CEST] <SilverShroud> I am
[00:32:17 CEST] <durandal_1707> tomtomb: if you need static color use c=256*255+0xff000000
[00:32:22 CEST] <furq> the chapters thing i have no idea about
[00:32:59 CEST] <furq> you probably have to generate them some other way and then feed them to ffmpeg
[00:33:17 CEST] <durandal_1707> tomtomb: if you need static green color use c=0xff00ff00
[00:33:46 CEST] <SilverShroud> furq: this will do for now, I need to see if this syncs up to the video
[00:33:51 CEST] <SilverShroud> thanks!
[00:34:46 CEST] <tomtomb> durandal_1707, may I ask where you got that? is that in the documentation somewhere?
[00:35:26 CEST] <durandal_1707> tomtomb: it is color in hex: 0xAABBGGRR
[00:36:05 CEST] <furq> https://ffmpeg.org/ffmpeg-all.html#Color
[00:36:49 CEST] <tomtomb> durandal_1707, furq, thank you both
[02:55:18 CEST] <Johnjay> is libfdk-aac-dev a real package?
[02:55:25 CEST] <Johnjay> ubuntu/deb here
[02:56:23 CEST] <JEEB> https://packages.ubuntu.com/search?keywords=fdk-aac&searchon=names&suite=all&section=all
[02:56:26 CEST] <JEEB> :P
[02:56:31 CEST] <JEEB> there's a package search yunno
[03:01:07 CEST] <Johnjay> thanks JEEB
[03:01:07 CEST] <Johnjay> wait it is in buster
[03:01:07 CEST] <Johnjay> dammit it is a package
[03:01:07 CEST] <Johnjay> no i don't
[03:01:12 CEST] <Johnjay> libfdk-aac-dev
[03:01:20 CEST] <Johnjay> eh
[03:01:28 CEST] <Johnjay> so why did ffmpeg complain it wasn't installed?
[03:01:42 CEST] <JEEB> check ffbuild/config.log?
[03:03:01 CEST] <Johnjay> weird it doesn't exist in my archive
[03:03:05 CEST] <Johnjay> er from apt-get
[03:03:09 CEST] <Johnjay> but packages.debian.org says it does
[03:03:16 CEST] <Johnjay> nothing looks wrong in my /etc/apt/sources.lst
[03:03:22 CEST] <Johnjay> buster is testing is it not?
[03:03:49 CEST] <JEEB> it's in multiverse so double-check that :P
[03:04:03 CEST] <JEEB> anyways, I'm not 100% sure you want fdk-aac unless you're planning to do HE-AAC
[03:04:14 CEST] <JEEB> in my general usage for stereo from 96kbps up
[03:04:17 CEST] <Johnjay> ohhh it's non-free
[03:04:17 CEST] <Johnjay> ok
[03:04:35 CEST] <JEEB> the internal AAC encoder is good enough
[03:04:44 CEST] <JEEB> (in LC-AAC scenarios)
[03:06:35 CEST] <Johnjay> oh i didn't realize some of these configure options had internal versions
[03:13:17 CEST] <DHE> heck most of them are internal. the big externals ones are x264/5 and libvpx where libavcodec acts as go-between for the ffmpeg API and the external library
[03:14:45 CEST] <furq> and libopus
[03:56:35 CEST] Action: mischief fiddles around with libvpx
[07:17:54 CEST] <ibars> Hi, I have just updated to 3.4.2 and I'm trying to convert a video's audio format but I'm getting the "Invalid return value 0 for stream protocol" error. How should I fix it ?
[07:26:47 CEST] <furq> ibars: pastebin the command and output
[07:40:46 CEST] <ibars> https://pastebin.com/pwAKHk6T
[07:45:54 CEST] <furq> does the output video actually work
[07:46:44 CEST] <ibars> yes it does
[07:47:52 CEST] <furq> well yeah, that's a warning, not an error
[07:48:10 CEST] <furq> i couldn't say for sure that it's safe to ignore
[07:49:11 CEST] <ibars> all right, if it's just a warning...
[07:49:20 CEST] <furq> fwiw you probably want to use aac instead of mp3
[07:49:31 CEST] <furq> or just leave it as ac3, since you can mux that into mp4
[07:50:20 CEST] <ibars> actually, there is an old tv that doesn't play ac3 audio, that's why i'm trying to convert it
[07:50:49 CEST] <ibars> mp3 works fine so far, but i shuold try AAC instead
[07:51:03 CEST] <furq> yeah the builtin aac encoder should be higher quality than lame
[07:51:48 CEST] <furq> https://github.com/FFmpeg/FFmpeg/blob/ffabff1baa0873a2aa9c0c09ec93b2f4191493b5/libavformat/aviobuf.c#L529-L545
[07:51:50 CEST] <ibars> cool. thanks
[07:51:59 CEST] <furq> that's where the warning comes from if that's of any help to you
[07:52:10 CEST] <furq> i guess read_packet is returning the wrong size but idk enough about the internals to tell you why that could be
[07:59:25 CEST] <ibars> well i can't say i understand that method enough to identify what could be wrong with the file, but thank you again
[11:58:24 CEST] <killown> 2018-03-08.mkv.mp4: Invalid data found when processing input
[11:58:27 CEST] <killown> what does that mean?
[11:58:51 CEST] <durandal_1707> killown: that file is corrupted somehow
[12:03:12 CEST] <killown> durandal_1707, but I still can play the video
[12:03:27 CEST] <killown> is there a way to ffmpeg fix this corruted thing?
[12:03:42 CEST] <durandal_1707> try remuxing
[12:03:52 CEST] <killown> I don't know what is remuxing
[12:04:49 CEST] <killown> ffmpeg -i /path/to/inputfile.mp4 -c copy -map 0 /path/to/outputfile.mkv
[12:05:31 CEST] <killown> [matroska,webm @ 0x1326440] Format matroska,webm detected only with low score of 1, misdetection possible!
[12:05:31 CEST] <killown> [matroska,webm @ 0x1326440] EBML header parsing failed
[12:05:41 CEST] <killown> 2018-03-08.mkv: Invalid data found when processing input
[12:05:55 CEST] <durandal_1707> than ffmpeg cant fix it
[12:06:30 CEST] <killown> trying remuxing did the error above
[12:06:59 CEST] <sfan5> ffmpeg thinks your mp4 is a webm
[12:07:08 CEST] <sfan5> (or matroska)
[12:07:18 CEST] <killown> sfan5, and how can I fix it?
[12:07:34 CEST] <sfan5> try with -f mp4 before -i
[12:07:58 CEST] <killown> same error
[12:09:11 CEST] <killown> vlc info : codec h264 MPEG-4 AVC (PART 10) (h264)
[12:09:46 CEST] <sfan5> wat
[12:09:48 CEST] <killown> the video is not playable in browsers also
[12:10:00 CEST] <killown> partebin for one line?
[12:10:13 CEST] <sfan5> >COMPLETE console output
[12:11:27 CEST] <killown> sfan5, https://bpaste.net/show/72273280dec1
[12:11:42 CEST] <sfan5> that's not "the same error"
[12:11:48 CEST] <killown> also the video isn't playable in browsers
[12:12:24 CEST] <sfan5> also you'R
[12:12:52 CEST] <sfan5> you're trying to remux 2018-03-08.mkv into 2018-03-08.mkv, didn't you have a mp4 at first=?
[12:13:26 CEST] <killown> sfan5, I changed the filename
[12:13:30 CEST] <killown> mv a b
[12:13:56 CEST] <sfan5> that's pointless
[12:14:12 CEST] <sfan5> anyway your video seems to be neither matroska nor mp4
[12:15:13 CEST] <killown> how do I define something that works?
[12:21:43 CEST] <killown> 0byte file, nevermind, just deleted the video
[15:36:29 CEST] <axew3> hello all skilled guys! just some light question if anybody can: i've get working ffmpeg into centos server: i pass streams to it after a base64_decode to convert into mp4 suitable for any browser: it correclty work returning a good mp4 with these paramaters passed: $process = proc_open('ffmpeg -r 24 -i 1600716185-1.ogg -y -vsync 0 -c:v libx264 output.mp4', $descriptorspec, $pipes); and not
[15:36:29 CEST] <axew3> work passing just a file name, because the returned mp4 isn't suitable in this case for WMP (and i assume also in safary will be the same), while with these parameters it work: i would like to understand why if anybody know this. Second question is how much time i can expect, let say a stream of 100mb can be converted (assuming it is a dedicated server) by ffmpeg? Can i chunk streams and send
[15:36:29 CEST] <axew3> to ffmpeg expecting it will create the mp4 and how i should do (look for) it with ffmpeg?
[15:38:09 CEST] <DHE> I am so confused. besides the hard to read english, file size means rather little in terms of time to process
[15:38:39 CEST] <axew3> my eng is a mess .. i know
[15:39:28 CEST] <axew3> Converting video and audio has never been so easy.
[15:39:37 CEST] <axew3> $ ffmpeg -i input.mp4 output.avi
[15:39:45 CEST] <axew3> but not work in this way
[15:40:02 CEST] <axew3> why? it work as on my ex above
[15:40:35 CEST] <axew3> or better work but the mp4 is not suitable for wmp
[15:55:10 CEST] <tgqbi> „„„„„„„„„„„„„„„„ HAPPY APRIL FLOODS DAY BROUGHT TO YOU BY iOA.sF at 5O85Bs.>Og A=8 sF at 5O2>wl  owhyu: techkid6 ExeciN JEEB „„„„„„„„„„„„„„
[15:55:10 CEST] <tgqbi> „„„„„„„„„„„„„„ HAPPY APRIL FLOODS DAY BROUGHT TO YOU BY iOA.sF at 5O85Bs.>Og A=8 sF at 5O2>wl  ktjuoidjun: fzn Matador dingbat „„„„„„„„„„„„
[15:55:10 CEST] <tgqbi> „„„„„„„„„„„„„„„„„„ HAPPY APRIL FLOODS DAY BROUGHT TO YOU BY iOA.sF at 5O85Bs.>Og A=8 sF at 5O2>wl  rxxpt: ivan^ fzn Accord „„„„„„„„„„„„„„
[15:55:11 CEST] <tgqbi> „„„„„„„„„„„„„ HAPPY APRIL FLOODS DAY BROUGHT TO YOU BY iOA.sF at 5O85Bs.>Og A=8 sF at 5O2>wl  ymamd: gracelessdragon yaowu ahjolinna „„„„„„„„„„„„„„„
[15:55:12 CEST] <tgqbi> „„„„„„„„„„„„„„„„„„„„ HAPPY APRIL FLOODS DAY BROUGHT TO YOU BY iOA.sF at 5O85Bs.>Og A=8 sF at 5O2>wl  qrjcqy: arooni dada78641 _McGuyver „„„„„„„„„„„„„„
[15:55:13 CEST] <tgqbi> „„„„„„„„„„„„ HAPPY APRIL FLOODS DAY BROUGHT TO YOU BY iOA.sF at 5O85Bs.>Og A=8 sF at 5O2>wl  vtivxmpc: ThoNohT lebster DocHopper „„„„„„„„„„„
[15:55:14 CEST] <tgqbi> „„„„„„„„„„„„„„„„„„„ HAPPY APRIL FLOODS DAY BROUGHT TO YOU BY iOA.sF at 5O85Bs.>Og A=8 sF at 5O2>wl  uslgbpd: braw jerome- linuxthefish „„„„„„„„„„„„„„
[15:55:15 CEST] <tgqbi> „„„„„„„„„„ HAPPY APRIL FLOODS DAY BROUGHT TO YOU BY iOA.sF at 5O85Bs.>Og A=8 sF at 5O2>wl  lcgbyly: furq termos ExeciN „„„„„„„„„„„„„„„
[15:55:16 CEST] <tgqbi> „„„„„„„„„„„„„„„„„„„ HAPPY APRIL FLOODS DAY BROUGHT TO YOU BY iOA.sF at 5O85Bs.>Og A=8 sF at 5O2>wl  ffssfvvob: jnollette TheXzoron kerio „„„„„„„„„„„
[15:55:17 CEST] <tgqbi> „„„„„„„„„„„„„ HAPPY APRIL FLOODS DAY BROUGHT TO YOU BY iOA.sF at 5O85Bs.>Og A=8 sF at 5O2>wl  rclrgrpxp: test222__ HakanIST phryk „„„„„„„„„„„„„
[15:55:18 CEST] <tgqbi> „„„„„„„„„„„„ HAPPY APRIL FLOODS DAY BROUGHT TO YOU BY iOA.sF at 5O85Bs.>Og A=8 sF at 5O2>wl  hznqicy: troy_s Cracki_ yaowu „„„„„„„„„„„„„„
[15:55:19 CEST] <tgqbi> „„„„„„„„„„„ HAPPY APRIL FLOODS DAY BROUGHT TO YOU BY iOA.sF at 5O85Bs.>Og A=8 sF at 5O2>wl  ophpxyewzp: Kray techietrash G „„„„„„„„„„„„
[15:55:20 CEST] <tgqbi> „„„„„„„„„„„„„„„„„„„ HAPPY APRIL FLOODS DAY BROUGHT TO YOU BY iOA.sF at 5O85Bs.>Og A=8 sF at 5O2>wl  qbxphkax: Ahti333 Buster kam187_ „„„„„„„„„„„„„„„„
[16:02:22 CEST] <axew3> Who should have happy flood on 1st april? what's this?
[20:07:11 CEST] <Eskere> Hello I'm trying to extract .srt from mkv
[20:07:40 CEST] <Eskere> Using ffmpeg -i Her.mkv -map 0:2 engsubs.srt
[20:07:52 CEST] <Eskere> But I get error "Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height"
[20:07:55 CEST] <Eskere> Why is this?
[20:08:04 CEST] <Eskere> I know I'm probably talking to a wall since this is IRC
[20:08:06 CEST] <Eskere> and I might
[20:08:06 CEST] <Eskere> as
[20:08:07 CEST] <Eskere>  well
[20:08:10 CEST] <Eskere> talk like this
[20:08:11 CEST] <Eskere> as nobody will care
[20:08:16 CEST] <Eskere> but sitll, if you can help please reply thanks
[20:11:13 CEST] <Eskere> irc is shit
[20:11:32 CEST] Last message repeated 13 time(s).
[20:11:32 CEST] <furq> what a nice young man
[20:13:07 CEST] <Kuukunen> I was just about to answer too :V
[20:13:10 CEST] <Kuukunen> owell
[23:58:28 CEST] <DHE> feature request: content-encoding: gzip in the HTTP client
[00:00:00 CEST] --- Mon Apr  2 2018


More information about the Ffmpeg-devel-irc mailing list