[Ffmpeg-devel-irc] ffmpeg.log.20171005
burek
burek021 at gmail.com
Fri Oct 6 03:05:01 EEST 2017
[00:39:16 CEST] <joshu> hey folks, is there a way to concatenate several mp4 files into one, while making chapter markers at the beginning of each new file?
[01:24:10 CEST] <jaggz> vids have chapter markers?
[01:24:41 CEST] <JEEB> various containers have chapters
[01:24:55 CEST] <JEEB> matroska probably being the most popular
[03:46:51 CEST] <memeka> is there a way for a codec to automatically set -pix_fmt ?
[05:09:27 CEST] <Johnjay> Well apparently the msys2 channel on Oftc is dead. even though it has dozens of users
[05:09:46 CEST] <Johnjay> good thing ffmpeg compiled on my first try with just installing a few packages
[06:47:21 CEST] <dunpeal> Hi. I have a fairly large recording in M4A format. What's the easiest way to cut of a part of its beginning?
[06:47:41 CEST] <dunpeal> Note that it has some chapter marks, which I'd like to keep intact.
[07:32:40 CEST] <Johnjay> not sure about the chapter marks
[07:32:49 CEST] <Johnjay> i use -ss and -t/-to options to cut sections i need
[08:07:12 CEST] <dunpeal> Thanks!
[08:13:51 CEST] <Johnjay> np
[09:16:19 CEST] <Bear10> d]
[09:16:58 CEST] <Bear10> has anyone gotten this message when streaming from udp to a file and seen this error / message? stderr: [libmp3lame @ 0x7fa91a838a00] Queue input is backward in time
[09:17:14 CEST] <Bear10> when I open my file the audio is fine but when i try to restream that file to an RTMP for example the audio is choppy
[11:29:13 CEST] <Bear10> https://stackoverflow.com/questions/46582105/mediarecorder-ffmpeg
[12:06:12 CEST] <HD|Laptop> hello all
[12:07:12 CEST] <HD|Laptop> assuming I have a Raspberry Pi with a USB webcam (Logitech) and a server on the Internet, can I use ffmpeg on the Pi to stream the video in best quality to the server, and re-encode it as HLS on the server using ffmpeg?
[12:07:27 CEST] <HD|Laptop> All the HLS examples I've seen on the net assume a static video file that's splitted
[12:08:10 CEST] <HD|Laptop> I know about the latency and buffering issues with HLS, that's fine with me, I dont need absolute realtime but can live with up to 5min of delay
[12:09:17 CEST] <BtbN> yes
[12:09:44 CEST] <HD|Laptop> @BtbN do you have any examples I can use as starting point?
[12:10:27 CEST] <BtbN> Not at hand, no. But I'm sure there are some to find easily.
[12:10:35 CEST] <BtbN> You want to use nginx-rtmp on the server though.
[12:11:26 CEST] <HD|Laptop> so, basically, rtmp from pi to server, and hls from server to internet?
[12:11:52 CEST] <HD|Laptop> needs to be HLS for distribution to make sure people with stupid firewalls or restricted internet can access it, too
[12:11:53 CEST] <JEEB> depends on what you get from the webcam
[12:12:06 CEST] <JEEB> nginx-rtmp is a module for nginx that takes in RTMP ingest
[12:12:07 CEST] <HD|Laptop> hmm it's a standard Logitech one
[12:12:10 CEST] <JEEB> and then produces DASH/HLS
[12:12:47 CEST] <HD|Laptop> does it need to be nginx? :/
[12:12:51 CEST] <BtbN> h264 from webcams is almost always trash
[12:13:08 CEST] <BtbN> And from my experience, even a Pi3 is too weak to re-encode mjpeg or whatever they output otherwise
[12:13:10 CEST] <JEEB> HD|Laptop: well if you can find other things that handle media servinf :)
[12:13:21 CEST] <JEEB> yea you don't want to do *any* transcoding on the device
[12:13:23 CEST] <JEEB> on the rpi
[12:13:30 CEST] <HD|Laptop> @btbn thats why I wanted to use the pi as stream dumper only ;)
[12:13:44 CEST] <JEEB> HD|Laptop: so check what formats you get from the camera
[12:13:45 CEST] <BtbN> Well, a raw uncompressed stream is not something you can stream
[12:13:56 CEST] <BtbN> And even mjpeg might be too much for the slow network the Pi has
[12:13:58 CEST] <JEEB> well he already noted that he had some other box he can transcode on
[12:14:07 CEST] <JEEB> sure, if the network is relaly bad
[12:14:09 CEST] <JEEB> it will fuck up
[12:14:10 CEST] <BtbN> The Pi only has 100Mbit out
[12:14:17 CEST] <BtbN> and it's a USB nic that shares with the webcam
[12:14:20 CEST] <JEEB> MJPEG should be "OK" I think if that's what it comes
[12:14:23 CEST] <JEEB> oh
[12:14:23 CEST] <JEEB> lol
[12:14:24 CEST] <JEEB> :D
[12:14:26 CEST] <BtbN> That _easily_ gets overwhelmed
[12:14:45 CEST] <HD|Laptop> how do I find out what the camera supplies?
[12:14:56 CEST] <HD|Laptop> and I mean, people have done livestreams on the pi already
[12:14:59 CEST] <JEEB> HD|Laptop: so start with trying to check a) what the camera outputs b) pick best alternative what to throw out
[12:15:07 CEST] <JEEB> yea, they usually use the rpi3 hw encoder for video
[12:15:17 CEST] <JEEB> which is crap so you don't want to use it if only possible
[12:15:30 CEST] <BtbN> Well, it's ok to get decent quality in less than 100Mbit/s
[12:15:30 CEST] <HD|Laptop> oh. :D
[12:15:31 CEST] <JEEB> although if you push enough bit rate into it it might be "bearable"
[12:15:44 CEST] <HD|Laptop> i'm not trying to pull cinema stuff here ;)
[12:15:50 CEST] <blap> Those who do wish for the [things of] the Hereafter, and strive therefor with all due striving, and have Faith,- they are the ones whose striving is acceptable [to Allah].
[12:15:51 CEST] <JEEB> and then you re-transcode on the other thing
[12:16:37 CEST] <BtbN> Just don't ever try to use h264 directly from a webcam
[12:16:45 CEST] <BtbN> that stuff is the most horrible and broken trash you can get
[12:17:40 CEST] <HD|Laptop> hmm I had hoped Logitech would do decent quality... I mean, when I use it as a webcam in a browser using HTML5 getMediaSource() it produces a pretty decent FullHD video
[12:18:39 CEST] <BtbN> That does not use h264.
[12:18:46 CEST] <BtbN> It's most likely raw frames
[12:20:00 CEST] <HD|Laptop> ah, with encoding on the device then
[13:05:38 CEST] <memeka> how can i profile ffmpeg?
[13:08:47 CEST] <Nacht> what ?
[13:12:52 CEST] <JEEB> memeka: perf and friends?
[13:13:06 CEST] <JEEB> just remember that you don't want to strip
[13:13:09 CEST] <JEEB> --disable-stripping
[13:13:54 CEST] <memeka> yeah :)
[13:28:16 CEST] <abel-abel> Hello, is there any simple way to convert .mkv to .flv? I tried `ffmpeg -i S03E01.mkv -c copy out.flv` but failed with:
[13:28:39 CEST] <abel-abel> [flv @ 0x7f8a43000000] FLV does not support sample rate 48000, choose from (44100, 22050, 11025)
[13:28:39 CEST] <abel-abel> [flv @ 0x7f8a43000000] Audio codec ac3 not compatible with flv
[13:28:39 CEST] <abel-abel> Could not write header for output file #0 (incorrect codec parameters ?): Function not implemented
[13:30:39 CEST] <relaxed> abel-abel: ffmpeg -i S03E01.mkv -c:v copy -c:a libmp3lame -ar 44100 out.flv
[13:31:15 CEST] <relaxed> ffmpeg -h muxer=flv
[13:32:16 CEST] <memeka> JEEB: is there a way for ffmpeg to decode then do nothing with the frames?
[13:33:09 CEST] <relaxed> memeka: -f null -
[13:33:16 CEST] <abel-abel> relaxed: Thank you so much! I'm trying your method but it seems that it takes much time. :(
[13:33:45 CEST] <relaxed> memeka: https://trac.ffmpeg.org/wiki/Null
[13:34:14 CEST] <Fyr> guys, I have the images with names are as following: "s01000.png", "s02000.png" etc. how to create a video from them?
[13:34:20 CEST] <abel-abel> relaxed: maybe not that much time. :)
[13:34:32 CEST] <abel-abel> Thank you!
[13:34:38 CEST] <relaxed> abel-abel: you're welcome
[13:35:08 CEST] <Fyr> ffmpeg -framerate 1 -start_number 0 -i "snapshot%07d.png" -c:v libx264 -filter:v "fps=1" 1.mp4
[13:35:08 CEST] <Fyr> creates video with the only image
[13:35:34 CEST] <Fyr> oops, "s%05d.png"
[13:35:49 CEST] <Fyr> "*.png" returns error.
[13:36:38 CEST] <relaxed> Fyr: look at, ffmpeg -h demuxer=image2
[13:39:32 CEST] <relaxed> Fyr: https://trac.ffmpeg.org/wiki/Slideshow
[13:40:00 CEST] <Fyr> thanks
[13:40:07 CEST] <Fyr> it was really helpful.
[13:45:29 CEST] <Fyr> why "image2" and not "image"?
[13:49:43 CEST] <Fyr> is there a difference between -vf "format=yuv420p" and -pix_fmt yuv420p?
[13:50:02 CEST] <Fyr> I mean, is there a specific order if I apply more filters?
[13:50:11 CEST] <JEEB> other is specific regarding the video filter chain, another is implicit at "some point"
[13:50:15 CEST] <JEEB> so I prefer the -vf
[13:50:29 CEST] <JEEB> it's explicit at which point that conversion is done, if the chain is any longer
[13:50:49 CEST] <JEEB> I think the pix_fmt is basically like appending format=BLAH in the filter chain's end
[13:56:02 CEST] <Fyr> ok, thanks
[14:03:45 CEST] <Fyr> can FFMPEG deal with 120 000 images?
[14:18:47 CEST] <klaxa> i don't see why not
[14:19:07 CEST] <klaxa> i think it's more a question of your computer's resources
[14:23:41 CEST] <q66> might take a few minutes
[14:23:56 CEST] <q66> at theoretical processing speed of 60 images per second, it will take around 30 minutes
[14:28:00 CEST] <broman> Hi everybody! I have some .mov files want to stream to nginx rtmp. I have already tried to stream a single .mov by FFMPEG command in terminal and it works, nginx can display the thing i streaming in live. this is the command i am using: ffmpeg -re -i file1.mov -vcodec libx264 -f flv rtmp://localhost/livepkgr/livestream ||| Now i want to stream multiple files, I tried to use above command one by one, but it seems Flash media server stop the streaming whe
[14:28:00 CEST] <broman> n file1 is finished, then start the stream with file2. It makes the stream player stopped when file1 is finish, and have to refresh the page in order to continue on file2. I wonder is that possible to let FFMPEG constantly deliver the stream by multiple files source without stopped when a file finish? or still there something i can use for coding using FFMPEG to achieve what I want to do?
[14:29:27 CEST] <thebombzen> broman: use the concat filter
[14:29:29 CEST] <thebombzen> !filter concat
[14:29:29 CEST] <nfobot> thebombzen: http://ffmpeg.org/ffmpeg-filters.html#concat
[14:29:44 CEST] Action: relaxed pets nfobot
[14:43:21 CEST] <memeka> thx relaxed
[15:20:54 CEST] <JohnDoe2> ffmpeg is driving me crazy I tried https://pastebin.com/i8mETCNx and all I get is a file with a shorter end but the start point option is always ignored. Does -ss not apply to audio?
[15:25:49 CEST] <JohnDoe2> meh not worth it, I'll just fire up audacity I guess
[16:21:27 CEST] <jerem> hi everybody
[16:21:51 CEST] <Guest80957> i need some help to compile ffmpeg 2.8.13 with lib opus on centos 7
[16:22:07 CEST] <Guest80957> please
[16:22:24 CEST] <BtbN> That's ancient
[16:22:32 CEST] <Guest80957> i have the next error : ERROR : opus not found using pkg-config
[16:22:50 CEST] <relaxed> Guest80957: did you read https://trac.ffmpeg.org/wiki/CompilationGuide/Centos
[16:22:50 CEST] <Guest80957> yes it's sure but it'necessary to product clipbucket
[16:23:56 CEST] <Guest80957> yes the problem is linked to libopus
[16:24:25 CEST] <relaxed> look at the end of ffmpeg's config.log for the issue
[16:25:51 CEST] <relaxed> where did you install libopus?
[16:34:55 CEST] <Guest80957> pkg-config don't find opus package
[16:36:17 CEST] <Guest80957> to compile do you add systematically prefix in ./configure command ?
[16:40:08 CEST] <Guest80957> i resolve my problem
[16:40:19 CEST] <Guest80957> i install devel library
[16:42:32 CEST] <qwebirc25491> hello
[16:42:40 CEST] <qwebirc25491> I am trying to statically compile an ffmpeg binary for testing on macOS
[16:42:47 CEST] <qwebirc25491> But I cannot find any decent guide that can let me do this
[16:42:55 CEST] <qwebirc25491> I tried doing it with dependencies installed from homebrew, but when I try it on a different computer it gives me a dylib: image not found error
[16:46:19 CEST] <relaxed> qwebirc25491: never built them for macs, but http://www.ffmpegmac.net/HowTo/
[16:47:03 CEST] <qwebirc25491> Yeah that's what I'm looking at, but I'm a tad confused on the instructions
[16:47:11 CEST] <qwebirc25491> Are all of these commands ran in Terminal?
[16:47:31 CEST] <qwebirc25491> or is it just the ones with $ that are ran there?
[16:47:52 CEST] <relaxed> former
[16:48:00 CEST] <qwebirc25491> ah ok
[16:48:16 CEST] <qwebirc25491> and why would you have to make a RAM disk for this
[16:48:40 CEST] <relaxed> no idea, I don't use macs
[16:48:57 CEST] <qwebirc25491> ok
[16:49:24 CEST] <relaxed> faster build times, I assume
[16:49:36 CEST] <qwebirc25491> one last question, when you see something like ${TARGET} do you replace it with something else, or is everything typed up exactly as seen?
[16:50:12 CEST] <relaxed> latter, it's a bash variable
[16:50:21 CEST] <qwebirc25491> ah ok
[16:50:43 CEST] <qwebirc25491> and you set it by doing MES=/Packages/ or TARGET="/Volumes/..." in cmd line
[16:50:48 CEST] <qwebirc25491> ?*
[16:51:30 CEST] <relaxed> it doesn't appear to be a very good howto
[16:51:46 CEST] <qwebirc25491> eh :P
[16:52:35 CEST] <Johnjay> wait qwebirc gives automatic nick names?
[16:52:39 CEST] <Johnjay> since when?
[16:53:15 CEST] <Johnjay> qwebirc25491: What version of mac os are you running?
[16:53:54 CEST] <qwebirc25491> 10.10
[16:54:52 CEST] <qwebirc25491> Johnjay: I tried using some static ffmpeg scripts I found on GitHub but neither worked due to some error with nasm
[16:56:59 CEST] <relaxed> what's the error?
[16:58:04 CEST] <qwebirc25491> I can't remember exactly, but off the top of my head it said something about nasm or yasm didn't come pre configured and you needed to run --disable-asm ?
[16:58:17 CEST] <qwebirc25491> https://github.com/zimbatm/ffmpeg-static
[16:58:21 CEST] <qwebirc25491> https://github.com/markus-perl/ffmpeg-build-script
[16:58:24 CEST] <qwebirc25491> I tried both of those ^
[16:58:39 CEST] <relaxed> compile the latest nasm and put it in your $PATH
[16:59:39 CEST] <qwebirc25491> Ok
[16:59:40 CEST] <relaxed> qwebirc25491: http://www.nasm.us/pub/nasm/releasebuilds/2.13.01/macosx/
[17:00:14 CEST] <qwebirc25491> I mean is there an easier way to do all of this? I just need to build an ffmpeg with just libvpx and libopus and I would assume there would be some script that just works off the bat :P
[17:00:33 CEST] <qwebirc25491> The scripts in the github download the nasm version automatically so idk why it wouldnt work with its own compile process?
[17:01:02 CEST] <relaxed> the easiest way would be to use linux and grab one of my builds :P
[17:02:05 CEST] <qwebirc25491> yeah but this has to be for macos :P
[17:02:26 CEST] <relaxed> do the macos static builds not work for you?
[17:02:37 CEST] <qwebirc25491> They include libx264
[17:02:42 CEST] <relaxed> so?
[17:02:45 CEST] <qwebirc25491> and I don't want to use that bc I need LGPL
[17:02:51 CEST] <qwebirc25491> and libx264 makes it GPL
[17:02:54 CEST] <qwebirc25491> (licensing)
[17:02:54 CEST] <relaxed> ah
[17:03:44 CEST] <JEEB> x264 lets you either use GPL or get a license from x264 LLC
[17:03:44 CEST] <Johnjay> qwebirc25491: does nasm and yasm have os builds?
[17:05:35 CEST] <qwebirc25491> I know but I don't want to use GPL or have to get a license, I'm not even using x264 encoding so I just need an ffmpeg with libvpx JEEB
[17:05:43 CEST] <qwebirc25491> and Johnjay I believe so, I'm not too sure
[17:06:18 CEST] <qwebirc25491> I haven't done this whole "compiling" thing in C before so I don't know a lot about getting it all to work
[17:07:31 CEST] <JEEB> qwebirc25491: yea if you don't need AVC encoding then just don't enable libx264
[17:09:39 CEST] <qwebirc25491> I know but my problem is getting it to statically compile
[17:09:43 CEST] <qwebirc25491> so it works on other mac os pcs
[17:09:59 CEST] <qwebirc25491> and that's the part I am unable to figure out
[17:10:06 CEST] <qwebirc25491> --enable-static and --disable-shared dont work
[17:10:09 CEST] <qwebirc25491> when I run ./configure
[17:10:18 CEST] <qwebirc25491> and I have the dependencies downloaded from homebrew
[17:12:09 CEST] <relaxed> qwebirc25491: --extra-ldflags="-static"
[17:13:18 CEST] <qwebirc25491> so does that compile my homebrew dependencies into the binary
[17:13:33 CEST] <qwebirc25491> I just need them included with the binary so I don't get a "dylib: image not found error"
[17:14:47 CEST] <relaxed> it should, unless they're shared libs
[17:16:11 CEST] <qwebirc25491> how do I make sure they're not shared libs lol
[17:16:21 CEST] <relaxed> but first I'd see you can compile only ffmpeg statically
[17:16:23 CEST] <bperry_> I have two files, idx and sub used with vob
[17:16:40 CEST] <bperry_> i'd like to pass the idx file via stdin, and specify where the sub file is on the fs
[17:16:40 CEST] <HD|Laptop> BtbN: still here?
[17:16:45 CEST] <bperry_> is that possible?
[17:17:17 CEST] <bperry_> ffmpeg -f vobsub -i - --sub-file ~/fdsa.sub
[17:17:26 CEST] <bperry_> that's basically what I want
[17:17:45 CEST] <HD|Laptop> i have the webcam now attached to a linux PC for now, and installed ffmpeg from the debian repos
[17:18:04 CEST] <HD|Laptop> how do I check what quality I can achieve with this webcam's built-in h264 output?
[17:18:35 CEST] <qwebirc25491> ok
[17:18:36 CEST] <HD|Laptop> can I use VLC on another PC as RTMP receiver, maybe?
[17:18:51 CEST] <relaxed> bperry_: did you see "ffmpeg -h demuxer=vobsub"
[17:19:05 CEST] <bperry_> I didn't relaxed, how does that work?
[17:19:08 CEST] <bperry_> oh
[17:19:10 CEST] <bperry_> -h is help
[17:19:16 CEST] <bperry_> I will look at that
[17:20:15 CEST] <relaxed> bperry_: it will go before the -i -
[17:20:37 CEST] <Sebas_> hi :) I am transcoding to non-muxed, webm hdr+chunks (VP9+Vorbis), now I try to combine 2x video hdr and 2x audio hdr into a mpd manifest, it gives me 'Duplicate elements' when reading the first hdr file, any tips?
[17:21:00 CEST] <bperry_> relaxed: perfect
[17:21:01 CEST] <bperry_> vobsub AVOptions: -sub_name <string> .D...... URI for .sub file
[17:21:09 CEST] <bperry_> thanks so much
[17:21:14 CEST] <relaxed> you're welcome
[17:22:35 CEST] <Johnjay> vobsub? is that in vlc?
[17:33:20 CEST] <Fyr> guys, when playing a video, the player doesn't play the last a few seconds. is it connected to the parameters FFMPEG sets?
[17:34:35 CEST] <Fyr> now it doesn't play the last 8 seconds!
[17:44:20 CEST] <kiroma> Is there an option in configure to compile ffmpeg with every possible codec?
[17:46:15 CEST] <DHE> it does by default, but external libraries are typically not checked for unless explicitly enabled.
[17:47:41 CEST] <kiroma> That's what I wanted to do.
[17:48:08 CEST] <kiroma> I wanted to enable all external libraries to check how many codecs can I fit in from official repos.
[18:05:30 CEST] <ZexaronS> hello
[18:05:48 CEST] <ZexaronS> is output status console text part of ffmpeg?
[18:06:05 CEST] <ZexaronS> warnings and stuff was, but not sure for frame, size, rate, speed
[18:06:14 CEST] <ZexaronS> im trying to find "kbit/s"
[18:06:51 CEST] <ZexaronS> because I'd like to change the spacing 512.4kbit/s into 512.4 kbit/s
[18:07:07 CEST] <ZexaronS> but I can't find where is the coded in the repo, I did a grep
[18:10:26 CEST] <relaxed> ZexaronS: grep 'bitrate=' ffmpeg.c
[18:11:36 CEST] <ZexaronS> oh thanks
[18:13:34 CEST] <ZexaronS> oh lool it's kbits/s not kbit/s
[18:13:54 CEST] <Sebas_> does anyone have experience with non-muxed, chunked, webm(VP9/Vorbis)? I get a 'Duplicate element' error from the first .hdr file when trying to create a dash manifest.
[18:45:13 CEST] <Sebas_> hmm also when not chunked (figured I would split them up myself) it gives me an error 'Could not write header for output file #0 (incorrect codec parameters ?): Operation not permitted'
[18:51:07 CEST] <relaxed> pastebin.com your command/console output and maybe someone can help
[18:56:50 CEST] <Sebas_> sure hold on
[19:00:48 CEST] <Sebas_> Info: I am creating 2x video and 2x audio webm's and after that trying to create a manifest https://pastebin.com/Vh7b5teE
[19:01:14 CEST] <Sebas_> spawning ffmpeg from my code
[19:13:17 CEST] <steve555> Hi I'm trying to get my new installation of gentoo going. However when I'm trying to build ffmpeg using emerge, it is complaining that it cannot find openjpeg. I have re-emerged it, but ffmpeg is still complaining that it cannot find it.
[19:15:48 CEST] <DHE> that's likely a gentoo problem then. their ebuild should ensure openjpeg is properly installed or it should give the ffmpeg build system the options it needs
[19:19:31 CEST] <iive> steve555: check ffmpeg configure.log for the exact reason..
[19:19:56 CEST] <iive> afaik, gentoo does not have separate development packages, so everything needed should be present.
[19:22:02 CEST] <steve555> iive: ok I'll have a look
[19:23:35 CEST] <relaxed> steve555: could be https://trac.ffmpeg.org/ticket/6719
[19:23:39 CEST] <iive> depending of version, the file might be moved into a subdirectory, e.g. ffmpeg-source/ffbuild/
[19:28:40 CEST] <steve555> Hi relaxed, thanks for the info, I think that could be the problem. The current version of openjpeg on gentoo is openjpeg-2.3.0
[19:42:17 CEST] <relaxed> steve555: I'm sure ffmpeg will fix it soon
[19:52:06 CEST] <steve555> relaxed: would I have to wait long?
[20:17:15 CEST] <hanna> is it possible that the paletteuse filter is just completely broken?
[20:17:32 CEST] <hanna> following the examples from http://blog.pkh.me/p/21-high-quality-gif-with-ffmpeg.html I get Failed to inject frame into filter network: Internal bug, should not have happened
[20:18:24 CEST] <hanna> What's weird is that I even need to bother with setting a palette because this is a grayscale animation that I'm trying to convert to an 8-bit gif
[20:18:28 CEST] <hanna> so it should be lossless without dithering
[20:24:46 CEST] <relaxed> steve555: probably not, you build without openjpeg or use https://www.johnvansickle.com/ffmpeg/ for now
[20:27:22 CEST] <steve555> relaxed: I'm talking also on the #gentoo channel for help. Even though that they suggested that I remove openjpeg form my package.use, ffmpeg fails to compile. Someone is helping me on that channel though.
[20:42:02 CEST] <fred1807> This is a famous example of an Alsa "normalizer" plugin made with compressor and limiter: https://paste.debian.net/plain/989208. Please, how/where can I set/incrase buffer_size in here ?
[20:43:45 CEST] <Sebas_> I am having this problem: https://trac.ffmpeg.org/ticket/5760 any tips?
[20:48:10 CEST] <hiihiii> hello
[20:49:03 CEST] <durandal_1707> hello
[20:49:11 CEST] <hiihiii> is there any set of rule to how forge/craft the command using the "Encoding settings" and the info in https://thepasteb.in/p/Mjhx44onMpQFV
[20:49:20 CEST] <hiihiii> for example*
[20:49:53 CEST] <hiihiii> I've read in the wiki that ffmpeg has presets but you can override them
[20:51:03 CEST] <blap> hu
[20:54:36 CEST] <hiihiii> so if there's no preset to match the "Encoding settings" I'll have to write in all of it manually, correct?. Profile, CABC, aspect ratio, framerate, color space, etc those are all settings easy to match
[20:56:08 CEST] <JEEB> set the closest preset
[20:56:18 CEST] <JEEB> and then modify what's needed
[20:57:41 CEST] <hiihiii> ok so you only specify what is to be overridden. makes sense
[21:04:48 CEST] <hiihiii> I often have to edit videos downloaded online but don't want to re-encode it again and 1) suffer from degradation 2) have to wait long periods before processing is finished
[21:06:34 CEST] <hiihiii> so I thought of splitting>re-encode the 5 seconds I need>join everything back.
[21:16:34 CEST] <Sebas_> when I do 'ffmpeg -i 480.hdr' it says Duplicate element, how can there be a duplicated 'element' in a single hdr file?
[21:19:01 CEST] <furq> Sebas_: ffmpeg didn't support rgbe last i checked
[21:26:22 CEST] <Sebas_> Did not specify any rgbe, also the input file is a mp4, that worked with h264 dashing (but has copyrights on it so I am switching codec)
[21:32:38 CEST] <Sebas_> added -pix_fmt:v yuv420p to the transcoder lines without effect
[21:32:47 CEST] <BytesBacon> Are the -tune and -qcomp switches worth it when encoding x264 from a bluray source that's action based (lots of motion on the screen).
[21:36:59 CEST] <cryptodechange> is there a rule of thumb when taking x264 params and applying it to x265?
[21:38:14 CEST] <cryptodechange> as it'll be possible to rip 4k bds soon, I'm thinking of starting to experiment with x265
[21:38:34 CEST] <cryptodechange> not sure if already possible
[21:39:19 CEST] <relaxed> https://trac.ffmpeg.org/wiki/Encode/H.265
[21:40:23 CEST] <cryptodechange> I suppose I'll go full x265 when I eventually go AMD Epyc
[21:40:39 CEST] <cryptodechange> As transcoding that on the fly will bottleneck my 6 core Xeon
[21:45:19 CEST] <ffmpegguy> hey
[21:45:22 CEST] <ffmpegguy> when compiling ffmpeg
[21:45:37 CEST] <ffmpegguy> what do the flags --enable-pthreads and --enable-filters do
[21:46:39 CEST] <furq> they enable pthreads and filters
[21:46:57 CEST] <ffmpegguy> like whats a pthread
[21:47:01 CEST] <ffmpegguy> you mean parallel processing
[21:47:06 CEST] <furq> https://en.wikipedia.org/wiki/POSIX_Threads
[21:47:29 CEST] <ffmpegguy> ah ok
[21:47:37 CEST] <furq> they're both enabled by default anyway
[21:47:41 CEST] <ffmpegguy> ah lol
[21:47:53 CEST] <ffmpegguy> so what would be the "optimal" flags for ffmpeg
[21:47:57 CEST] <ffmpegguy> or are they all enabled by default
[21:48:27 CEST] <furq> it depends on what you want
[21:50:20 CEST] <ffmpegguy> ok
[21:50:45 CEST] <furq> generally you just want to add the external libraries that you want to use
[21:50:50 CEST] <furq> e.g. libx264
[21:52:08 CEST] <ffmpegguy> I mean disregarding external libs
[21:52:29 CEST] <ffmpegguy> Like flags that dont regard enabling / disabling libs / encoders / decoders
[21:52:37 CEST] <ffmpegguy> flags that regard "optimizing" in general how ffmpeg runs
[21:52:52 CEST] <furq> there aren't really any of those except maybe --enable-lto
[21:53:23 CEST] <ffmpegguy> ah ok
[21:53:28 CEST] <ffmpegguy> thank you
[21:53:28 CEST] <furq> and you'd need to configure all your external encoders with that as well or it won't have a noticeable effect
[21:53:35 CEST] <ffmpegguy> yeah
[21:53:41 CEST] <ffmpegguy> what is enable lto anyway?
[21:53:48 CEST] <ffmpegguy> link-time optimizer?
[21:54:03 CEST] <furq> as long as you don't do something stupid like --disable-runtime-cpudetect then it should run about as well as it can
[21:54:09 CEST] <furq> and yeah
[21:54:37 CEST] <ffmpegguy> ok so --enable-runtime-cpudetect is a good thing?
[21:54:45 CEST] <furq> it's enabled by default
[21:54:50 CEST] <ffmpegguy> why would disabling it be stupid? I didn't I just don't know what it does :P
[21:55:11 CEST] <furq> it allows ffmpeg to detect cpu features (mmx, sse, avx etc) at runtime
[21:55:35 CEST] <furq> x264 etc will do the same thing by default
[21:59:37 CEST] <ffmpegguy> ok
[21:59:38 CEST] <ffmpegguy> thanks
[22:16:30 CEST] <alallein> hi, just found out about the difference between -vcodec copy -acodec copy and -vcodec copy -acodec copy -avoid_negative_ts make_zero recently, after cutting a lot of files :( is there a simple way to use ffprobe or similar to find files that won't open correctly? or should I just re-encode everything?
[22:20:12 CEST] <BtbN> acodec/vcodec are deprecated. Use -codec or just -c and stream suffixes
[22:20:47 CEST] <blap> "we had these magnificent German soldiers protecting us!"
[22:42:46 CEST] <durandal_170> blap: are you ban evader?
[22:45:29 CEST] <blap> no
[22:55:57 CEST] <blap> jews are so evil
[22:59:34 CEST] <blap> !- blap was kicked from #politics by HeyJude [blap]
[23:00:41 CEST] <Sebas_> lol @ troll
[23:02:35 CEST] <Sebas_> I looked at the ffmpeg source.. it seems 'Duplicate element' means there are multiple level1's in my webm .hdr file, howto solve this?
[23:03:49 CEST] <Johnjay> sarah silverman was evilly CUTE in "The Way of the Gun"
[23:04:05 CEST] <Johnjay> also a great comedian unlike certain netflix stars we know
[23:08:47 CEST] <blap> i keep fighting
[23:09:58 CEST] <durandal_170> dont troll
[23:13:44 CEST] <blap> "The Germans are not human beings.. .nothing gives us so much joy as German corpses." Jew Ilya Ehrenburg
[23:20:53 CEST] <llogan> thanks
[23:23:57 CEST] <furq> it gives you a new appreciation for "allah is doing"
[23:24:09 CEST] <furq> he was my favourite ;_;
[23:26:22 CEST] <BytesBacon> Is there a easier way to set zones? Or some library that can run a sample to automatic looking for motion to change the crf value.
[23:27:11 CEST] <furq> i don't understand the question
[23:27:51 CEST] <BytesBacon> The zone switch, where you can set between key frames to encode at a different bitrate/crf.
[23:28:28 CEST] <BytesBacon> I'm wondering if there is a library to aid with that, or some project, even if it's gui (don't really want to use a gui).
[23:28:54 CEST] <furq> i can't imagine you would ever need to use that with crf
[23:29:12 CEST] <furq> the whole point of crf is that it adjusts the quantiser based on the frame characteristics
[23:29:39 CEST] <BytesBacon> Well for example with credits at the end could just use crf=22 for that part to lowest overall file size.
[23:30:24 CEST] <furq> if you want a tool that does it automatically, it's crf
[23:34:21 CEST] <BytesBacon> Well I set as one of my switches, just want to see if I can dynamically change it as needed.
[23:41:18 CEST] <Sebas_> Can anyone see why my .hdr files(VP8/Vorbis,non-muxed,chunked) are badly generated/badly interpreted? https://pastebin.com/y3HmHaVP
[23:41:43 CEST] <Sebas_> (Error on last few lines)
[00:00:00 CEST] --- Fri Oct 6 2017
More information about the Ffmpeg-devel-irc
mailing list