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

burek burek021 at gmail.com
Fri Dec 8 03:05:01 EET 2017


[00:01:36 CET] <SortaCore> everyone activate your reality anchors
[00:01:50 CET] <iive> furq: mister president, I had no idea you also irc, not just twitter!
[00:11:07 CET] <kerio> scranton pls
[00:20:11 CET] <delsol> the other thing thats awesome about YYYY-MM-DD is that you can use 2017-11-00 and 2017-11-99 for start of month/end of month files..... and they ALSO sort correctly.
[00:20:55 CET] <delsol> (where you have stuff that happens nebulously before start of business on the 1st of the month, or happens nebulously after end of business on last day of month.
[00:21:16 CET] <alexmarkley> hey friends, i am looking at the ffmpeg-tutorial referenced from the documentation page: https://github.com/chelyaev/ffmpeg-tutorial
[00:21:32 CET] <alexmarkley> very helpful for understanding some basic concepts, however appears to be somewhat out of date
[00:22:27 CET] <alexmarkley> i have tutorial06.c compiling and working (albiet with lots of deprecation warnings) in my fork: https://github.com/markleybros/ffmpeg-tutorial/commit/054b60b0c85824031b44914876348a23183a1d8c
[00:23:09 CET] <alexmarkley> can somebody look at that commit / patch and tell me if i am introducing a memory management issue by removing references to *release_buffer ?
[00:24:51 CET] <pzich> I would think so. There's an av_malloc() above that and you're not freeing it
[00:24:56 CET] <alexmarkley> i am also going to be combing through the code and trying to fix deprecation warnings and such
[00:26:40 CET] <alexmarkley> pzich, that's what i suspected -- what is the newer / recommended API for accomplishing this?
[00:27:21 CET] <alexmarkley> i notice that currently ffplay does not use get_buffer2 at all
[00:27:46 CET] <alexmarkley> struggling to follow the recommended flow here
[00:29:05 CET] <pzich> why do you need to remove the free?
[00:30:14 CET] <alexmarkley> pzich, the "release_buffer" struct member is completely gone in the current version of the API
[00:30:31 CET] <alexmarkley> as is avcodec_default_release_buffer()
[00:30:56 CET] <alexmarkley> not finding a ton of discussion around it either
[00:32:24 CET] <pzich> hmm, unfortunately I don't know much about it. does the middle response here sound reasonable? https://lists.ffmpeg.org/pipermail/libav-user/2013-November/005840.html
[00:36:42 CET] <alexmarkley> pzich, yeah i'm just now coming to a similar conclusion
[00:36:52 CET] <alexmarkley> i think the get_buffer callback is declared incorrectly
[00:40:21 CET] <JEEB> alexmarkley: under docs there's examples in the git tree
[00:40:34 CET] <JEEB> they're not perfect but they should get you through the usual things
[00:40:51 CET] <JEEB> and the new push/pull decoding API and the refcounted AVFrames thing are generally <3
[00:40:57 CET] <JEEB> https://www.ffmpeg.org/doxygen/trunk/group__lavc__encdec.html
[00:42:41 CET] <alexmarkley> JEEB, i saw some examples there... got stuck trying to figure out how to automatically detect the proper codec for the video file
[00:42:47 CET] <Rajko> hmm how do i get the decode/presentation order from an AVFrame after decoding ?
[00:42:55 CET] <Rajko> both of those variables seem to be 0
[00:45:28 CET] <alexmarkley> oh hmm, looks like docs/examples/demuxing_decoding.c has the basics
[00:45:35 CET] <JEEB> yes
[00:45:44 CET] <JEEB> lavf for reading/writing streams into files/streams
[00:45:47 CET] <JEEB> lavc for decoding/encoding
[00:45:54 CET] <JEEB> lavfi for filtering video/audio
[00:48:48 CET] <alexmarkley> JEEB, thanks for pointing this out... i will start here and come back when i have more questions ;)
[00:50:17 CET] <JEEB> alright
[02:33:33 CET] <TheRock> I heard all warnings will be fixed until today evening
[03:47:51 CET] <fella> ^sb e
[06:03:18 CET] <DeexGerm> Hello, is it possible to use fading effects (crossfade) after every image file with concat in the textfile?
[07:57:23 CET] <rjp421> during ./configure, how do i force it to find OMX_Core.h?
[07:59:56 CET] <rjp421> which type of path do i need to define? ELIB?
[08:02:55 CET] <rjp421> -extra-libs or --extra-ldflags etc
[08:04:24 CET] <rjp421> the file is in /opt/vc/include/IL
[08:59:24 CET] <rjp421> i removed --enable-omx and kept enable-omx-rpi, seems to be working now
[10:17:38 CET] <traw> is avcodec_send_packet/frame functions are thread safe?
[10:39:10 CET] <EriC^^> is there a way to make ffmpeg faster?
[10:43:10 CET] <Nacht> EriC^^: There are a few ways, but it really depends on what you're doing
[10:43:24 CET] <Nacht> And what you wish the output to be
[10:43:53 CET] <JEEB> traw: not sure, never looked into calling those from different threads
[10:44:05 CET] <JEEB> they might or might not be
[10:45:02 CET] <EriC^^> Nacht: i'm trying to convert .opus to .mp3 128K bitrate
[10:46:04 CET] <Nacht> EriC^^: Do you have to transcode ?
[10:46:36 CET] <EriC^^> Nacht: tbh i dont know what that is
[10:46:48 CET] <EriC^^> it's already 128K .opus
[10:47:06 CET] <EriC^^> Stream #0:0(eng): Audio: opus, 48000 Hz, stereo, fltp
[10:47:20 CET] <EriC^^> Stream #0:0(eng): Audio: mp3 (libmp3lame), 48000 Hz, stereo, fltp
[10:47:23 CET] <JEEB> that doesn't really matter, you're taking something in, decoding it, then passing it to another encoder
[10:47:37 CET] <JEEB> and that should in theory be darn fast already
[10:47:48 CET] <JEEB> the best way to optimize is to do multiple files at once then
[10:59:30 CET] <EriC^^> i noticed that youtube-dl runs ffmpeg after it downloads the file and ffmpeg only uses 4% of the cpu, when i run ffmpeg it uses 80% so it's way faster
[11:00:24 CET] <JEEB> CPU usage != speed
[11:00:27 CET] <EriC^^> how could i tell youtube-dl to just download the webm music and i could use ffmpeg after that manually, if i run youtube-dl without the -x (extract audio) argument it downloads a huge video file
[11:00:40 CET] <JEEB> just tell it to only pick the audio format?
[11:00:44 CET] <JEEB> -F for listing them
[11:00:45 CET] <EriC^^> JEEB: it is actually making a huge difference, 1min vs 20secs
[11:02:28 CET] <infinisil> EriC^^: Try figuring out how youtube-dl and you are invoking ffmpeg differently
[11:02:32 CET] <JEEB> then it's something else
[11:02:52 CET] <EriC^^> how can i tell what to download? i tried youtube-dl -f webm
[11:03:00 CET] <EriC^^> infinisil: ok i'll check the command it's running
[11:03:51 CET] <infinisil> EriC^^: And I believe you can use --postprocessor-args to give additional arguments to ffmpeg
[11:13:27 CET] <JEEB> EriC^^: -F gives you the full list of alternative streams
[11:13:33 CET] <JEEB> which with youtube includes audio-only
[11:13:51 CET] <JEEB> after that read the darn youtube-dl documentation on how to tell youtube-dl to only download that specific thing
[11:13:56 CET] Action: JEEB goes back to $dayjob
[11:14:10 CET] <sfan5> >being on IRC @ work
[12:07:03 CET] <mz_> Hello, I'm curious about the -copyts flag
[12:07:52 CET] <mz_> Can omitting it desynchronize audio and video?
[12:58:32 CET] <wouter> hi -- I've got a .webm file and several .vtt subtitle files
[12:58:56 CET] <wouter> I'd like to create one .webm file with all the subtitles in the same container, and the proper metadata so that the language tags are assigned
[12:59:42 CET] <wouter> "ffmpeg -i foo.webm -i foo.en.webm -i foo.nl.webm -y foo.subbed.webm" only contains the first subtitle, so I'm assuming I'll need to add a -map?
[12:59:50 CET] <wouter> I'd also need to be able to set the subtitle metadata...
[13:09:02 CET] <wouter> nvm, found it
[13:09:52 CET] <wouter> ffmpeg -i foo.webm -i foo.en.vtt -i foo.nl.vtt -map 0:v -map 0:a -map 1:s -map 2:s -metadata:s:a language=eng -metadata:s:s:0 language=eng -metadata:s:s:1 language=nld -c copy -y foo.subbed.webm
[13:14:48 CET] <CoreX> why do i keep thinking ffplay can also encode ?
[14:53:37 CET] <termos> can't seem to get the "image2" muxer to work properly, "file image.jpg" just tells me the image is data. Is there a header missing?
[14:55:12 CET] <termos> hm I guess I can't use h264 encoded data into any image container?
[14:57:37 CET] <SortaCore> hmm, maybe explicit codec, maybe filename needs macros
[14:58:21 CET] <kepstin> termos: for image formats, they usually have bespoke formats per codec. So you puts jpeg images in jpeg (well, jif/jfif) files; png images in png files, etc.
[14:58:58 CET] <kepstin> as far as I know, there's no widely supported still image container which you can put h264 into
[15:00:04 CET] <termos> i see, thanks! my program is using the libavcodec for this so I need to make support for another codec to encode into then
[15:00:35 CET] <kepstin> libavcodec can encode to many popular still image formats, you shouldn't need any other library
[15:00:45 CET] <kepstin> just encode to the correct format for the desired output type
[15:20:55 CET] <BtbN> Aren't jpeg and an h264 I-Frame pretty similar?
[15:50:13 CET] <termos> I guess they should be, some dct'ed data
[15:56:19 CET] <tommy``> guys whats wrong on my command?
[15:56:23 CET] <tommy``> ffmpeg -i "What is Planet Hulk.mp4" -vf subtitles=PlanetHulk.it_it.srt force_style=FontName=Arial,FontSize=16,OutlineColour=&H55000000,BorderStyle=3,Alignment=6 PH.mp4
[16:07:30 CET] <Nacht>  subtitles=PlanetHulk.it_it.srt force_style=FontName=Arial >  subtitles=PlanetHulk.it_it.srt,force_style=FontName=Arial ?
[16:08:24 CET] <Nacht> Anyone know the max ammount of input's a filter_complex allows ?
[16:27:00 CET] <alexpigment> has anyone done any testing with the h264_amf (AMD hardware) encoder?
[16:27:18 CET] <alexpigment> i can't figure out how to control the constant quality mode
[16:29:15 CET] <alexpigment> maybe I have to specify each qp_i/qp_b/qp_p rather than a global option?
[16:39:13 CET] <DHE> alexpigment: from the source, did you specify an "-rc" value?  For constant quality you set cqp but this is NOT the same thing as x264's -crf
[16:39:51 CET] <alexpigment> DHE: no, i didn't explicitly set it, because that's the default option
[16:40:05 CET] <alexpigment> i was looking for a global command to set the qp
[16:40:24 CET] <alexpigment> i'm now specifying each b/i/p quality, but it's a bit tedious
[16:48:42 CET] <tomtomb> Hello all.. I got a question, hope somebody could help
[16:49:53 CET] <tomtomb> i'm trying to split an xdcam mxf file to 3 different files, one for video, one for audio1, one for audio2 (3 opatom's) however ffmpeg says it needs a video stream for mxf files... is there anyway to split op1a to 3atoms with ffmpeg?
[16:51:38 CET] <alexpigment> tomtomb: can you pastebin your command and include the error as well?
[16:54:45 CET] <tomtomb> alexpigment: https://pastebin.com/0xykdVXf - thanks!
[16:56:39 CET] <alexpigment> tomtomb: what happens if you set your outputs to video.m2v, audio1.wav, and audio2.wav ?
[16:57:16 CET] <tommy``> Nacht, strange i got another error now: ffmpeg -i "What is Planet Hulk.mp4" -vf subtitles=PlanetHulk.it_it.srt,force_style=FontName=Arial,FontSize=16,OutlineColour=&H55000000,BorderStyle=3,Alignment=6 PH.mp4
[16:57:37 CET] <tommy``> "At least one output file must be specified" but i've PH.mp4
[16:59:48 CET] <alexpigment> tommy: put a colon after .srt
[17:00:49 CET] <alexpigment> you might also need to do force_style='parameters,parameters,parameters'
[17:01:00 CET] <alexpigment> it shows that in the documentation
[17:01:10 CET] <alexpigment> https://ffmpeg.org/ffmpeg-filters.html#toc-subtitles-1 (see last example)
[17:01:15 CET] <tommy``> ok
[17:01:18 CET] <tommy``> let see
[17:02:29 CET] <tommy``> alexpigment now i've:
[17:02:30 CET] <tommy``> >ffmpeg -i "What is Planet Hulk.mp4" -vf subtitles=PlanetHulk.it_it.srt:force_style='FontName=Arial,FontSize=16,OutlineColour=&H55000000,BorderStyle=3,Alignment=6' PH.mp4
[17:02:47 CET] <alexpigment> yeah, that looks correct compared to the example
[17:02:53 CET] <tommy``> same error
[17:03:33 CET] <alexpigment> tommy: i wonder if it's possible the name isn't being escaped correctly
[17:03:47 CET] <tommy``> the input? yes i've used TAB
[17:03:52 CET] <alexpigment> does the same error occur if you use PlanetHulk.srt etc?
[17:04:18 CET] <tommy``> yes
[17:05:05 CET] <alexpigment> no clue then. i'd remove each option (e.g. Alignment=6) and see if it starts working after your remove one of the options
[17:05:23 CET] <alexpigment> maybe someone else here can spot the problem
[17:05:25 CET] <tommy``> seems it doesnt like the HEX code
[17:05:45 CET] <tommy``> outlineColour=&H5500000
[17:05:51 CET] <alexpigment> ah
[17:05:54 CET] <tomtomb> alexpigment, if I set it to mxf, wav and wav it works.. but I need it as an mxf, to create opatom to import into avid's interplay system
[17:05:55 CET] <alexpigment> it uses that in the example
[17:06:28 CET] <alexpigment> tomtomb: it may just be a limitation of ffmpeg's mxf muxer
[17:06:38 CET] <alexpigment> it seems to explicitly need a video stream to exist as the first stream
[17:06:48 CET] <alexpigment> in which case, the pcm streams will fail
[17:07:31 CET] <tomtomb> alexpigment, sounds about right.. so you think ffmpeg isn't capable of creating mxf atoms at all?
[17:07:40 CET] <tommy``> >ffmpeg -i "What is Planet Hulk.mp4" -vf subtitles=PlanetHulk.it_it.srt PH.mp4
[17:07:42 CET] <tommy``> ops
[17:07:43 CET] <tommy``> sorry
[17:09:10 CET] <tommy``> alexpigment, found solution!!!!!
[17:09:33 CET] <tommy``> need ----> " before subtitles and at the end of Alignement=6' "
[17:10:01 CET] <alexpigment> tommy: good work :) i figured it was a character escaping issue
[17:10:24 CET] <alexpigment> tomtomb: honestly, i'm not familiar enough with working with mxf files that only have audio streams
[17:10:41 CET] <tommy``> alexpigment econding speed=0.274 :((
[17:10:50 CET] <alexpigment> tomtomb: i'll have to take your word for it that avid can't accept wav files
[17:11:26 CET] <alexpigment> tommy: if speed is a concern, you may want to try -preset veryfast
[17:11:49 CET] <alexpigment> understanding that veryfast produces slightly worse quality at a given crf value
[17:11:50 CET] <tommy``> no no, i don't have rush, it's my pc that is 10 years aold :D
[17:12:00 CET] <alexpigment> tommy: oh, that'll do it :)
[17:12:02 CET] <alexpigment> core 2 duo?
[17:12:13 CET] <tommy``> you're a wizard, yes
[17:12:21 CET] <tommy``> E6600 with 6GB ram and ssd 250gb
[17:13:34 CET] <alexpigment> well, i'm not sure where you're at, but decommissioned business desktop computers (e.g. dell optiplex, hp elitedesk, etc) are usually very cheap on ebay
[17:13:51 CET] <alexpigment> and a 3-year old core i5 or i7 is going to be miles ahead of what you have
[17:14:04 CET] <alexpigment> on the other hand, a newer AMD Ryzen is a fine choice for encoding
[17:18:53 CET] <alexpigment> tomtomb: https://ffmpeg.org/pipermail/ffmpeg-devel/2015-January/168073.html
[17:19:11 CET] <alexpigment> that was ~3 years ago, but it seems to explicitly mention that audio won't work in the muxer
[17:27:10 CET] <alexpigment> tomtomb: add -f mxf_opatom to each output
[17:29:28 CET] <tommy``> alexpigment the guide of ffmpeg in the website exists in pdf?
[17:31:49 CET] <alexpigment> tommy: not sure. i've only ever looked at the website
[17:31:59 CET] <alexpigment> which is probably a good thing, because it changes regularly
[18:22:43 CET] <tommy``> is possible before enconding to see the result of encodes live during settings?
[18:25:03 CET] <takov751> greetings
[18:25:29 CET] <takov751> Is there anyone who has experience with ffmpeg build with cuvid support?
[18:28:54 CET] <SortaCore> wasn't it replaced with nvenc?
[18:29:50 CET] <alexpigment> cuvid is still used for decoding, at least in name
[18:30:05 CET] <alexpigment> takov751: are you talking about accelerated decoding or encoding?
[18:32:22 CET] <alexpigment> at any rate, if you actually mean nvenc encoding, then yes. i have a decent amount of experience
[18:33:07 CET] <takov751> decoding
[18:33:20 CET] <alexpigment> ah, then the answer is "i have very little" ;)
[18:33:21 CET] <takov751> i just found the officall build instruction
[18:35:17 CET] <takov751> but the whole problem is probably that i have a geforce 840m (mg108)
[18:35:36 CET] <takov751> but on the windows version i could use it
[18:36:03 CET] <takov751> which is really annoying
[18:36:13 CET] <alexpigment> is this is a linux driver thing?
[18:37:30 CET] <takov751> might be
[18:37:37 CET] <alexpigment> have you tried vdpau?
[18:38:01 CET] <takov751> its not seems to be working with the property driver
[18:38:05 CET] <alexpigment> that might be your only option if cuvid doesn't work
[18:38:06 CET] <takov751> and with nouveau
[18:38:16 CET] <alexpigment> hmm
[18:40:28 CET] <takov751> i did downloaded the video sdk which was suggested in the nvidia website
[18:46:16 CET] <BtbN> takov751, build ffmpeg without --disable-cuvid, and you will get it.
[18:47:44 CET] <takov751> when i builted it it was with --enable-cuvid XD
[18:47:50 CET] <takov751>  --enable-nonfree --enable-nvenc --enable-nvresize --enable-gpl --enable-libx264 --enable-cuda --enable-cuvid --enable-libnpp
[18:48:04 CET] <BtbN> That's for some nvidia-crippled version of ffmpeg.
[18:48:08 CET] <BtbN> There is no nvresize in ffmpeg.
[18:50:28 CET] <takov751> yes i had to remove that option, and it did build that way
[18:50:37 CET] <takov751> butstill the same error
[18:51:26 CET] <alexpigment> takov751: for what it's worth, i don't think you ever mentioned what the error was
[18:51:37 CET] <alexpigment> (or i may have missed it)
[19:05:46 CET] <takov751> [h264_cuvid @ 0x563c06e0dc60] Codec h264_cuvid is not supported.
[19:08:31 CET] <BtbN> Is this an Optimus card?
[19:09:33 CET] <takov751> yep
[19:09:42 CET] <BtbN> They don't have a video unit.
[19:09:45 CET] <takov751> but nvidia prime working
[19:09:48 CET] <BtbN> You are supposed to use the Intel Card.
[19:10:02 CET] <takov751> with the libmfx?
[19:10:09 CET] <BtbN> vaapi
[19:10:54 CET] <sfan5> optimus configurations have no video units??
[19:11:02 CET] <BtbN> Not in the Nvidia-Side of things, no
[19:11:18 CET] <BtbN> It's made for energy efficiency. So having two of them would be counter-productive.
[19:11:43 CET] <sfan5> huh
[19:12:46 CET] <alexpigment> BtbN: are you sure you're not talking about nvenc specifically?
[19:12:53 CET] <BtbN> yes I am
[19:13:16 CET] <alexpigment> unless they turn off the nvdec feature of the 840m when it's paired with intel, it should be able to do hardware decoding from what I understand
[19:13:25 CET] <alexpigment> https://en.wikipedia.org/wiki/Nvidia_PureVideo
[19:13:27 CET] <alexpigment> 840m
[19:13:40 CET] <BtbN> well, that's exactly what they do in Optimus-Setups
[19:13:42 CET] <alexpigment> feature set E
[19:13:49 CET] <BtbN> They just completely turn off that part of the chip, to save energy
[19:13:54 CET] <alexpigment> BtbN: ok, i'll take your word for it
[19:14:08 CET] <BtbN> So far I had two optimus laptops where that was and is the case
[19:14:12 CET] <BtbN> latest one has a 940M
[19:14:28 CET] <BtbN> So I can't say for sure if it's still like this with Pascal, but everything older definitely works like that
[19:15:12 CET] <alexpigment> i mean it makes sense from one perspective, but it also seems weird to turn off something that the chip natively has and probably performs better than the built-in intel solution
[19:15:47 CET] <BtbN> The Nvidia chip is turned off most of the time
[19:15:52 CET] <BtbN> And is only powered on for games
[19:16:02 CET] <alexpigment> BtbN: yes, but you're saying a particular feature is completely disabled from the GPU
[19:16:04 CET] <BtbN> It makes perfect sense to leave video de/encoding to the Intel chip, which is on at all times
[19:16:26 CET] <alexpigment> again, i'll take your word for it
[19:17:05 CET] <BtbN> It really shouldn't be any performance difference
[19:17:18 CET] <BtbN> Intel GPUs are well capable of decoding stuff in real time
[19:17:39 CET] <BtbN> It's just annoying because of all the different APIs. On Windows it's perfectly transparent, as both use the same API
[19:17:42 CET] <alexpigment> BtbN: I was really referring to quality, but yes, anything will be fast
[19:18:00 CET] <BtbN> At least on the decoder side there is no quality difference
[19:18:21 CET] <BtbN> And from my experience the intel and nvidia encoders are about even. But never did any serious quality comparisons.
[19:18:37 CET] <alexpigment> the deinterlacing on Nvidia seems superior to my eyes
[19:18:39 CET] <BtbN> But you have to deal with QSV or VAAPI to use them
[19:19:41 CET] <BtbN> https://developer.nvidia.com/nvidia-video-codec-sdk even specifically mentions that GM108 is not supported
[19:19:53 CET] <BtbN> so it might just be that specific chip that's lacking a video unit
[19:20:35 CET] <sfan5> decoding is certainly supported/enabled on both cards https://0x0.st/sHfS.txt
[19:20:43 CET] <sfan5> my nvidia card doesn't have nvenc so can't check that
[19:21:36 CET] <BtbN> What card is that?
[19:21:58 CET] <BtbN> it looks old, being snb
[19:22:00 CET] <sfan5> GTX 520M
[19:22:07 CET] <sfan5> old indeed
[19:22:20 CET] <BtbN> yeah, so it might just be specifically the GM108 that's lacking any kind of video acceleration
[19:22:30 CET] <BtbN> My 940M is one as well
[19:22:37 CET] <BtbN> 840M should be as well
[19:26:29 CET] <takov751> thanks for the help :D
[19:50:39 CET] Action: kepstin notes for reference that the gp108 (GTX 1030, MX150) has video decoding, but not encoding.
[19:50:53 CET] <Rajko> for real ?
[19:52:22 CET] <kepstin> er, it's GT 1030, not GTX 1030. Apparently the cut down card wasn't felt worthy of the X ;)
[19:53:02 CET] <DHE> yeah the really low-end cards don't have nvenc support
[21:08:13 CET] <redrabbit> weak !
[21:12:24 CET] <alexpigment> man, this AMF encoder causes all kinds of weird graphical issues when playing the videos back in WMP
[21:12:48 CET] <alexpigment> i don't even know what this implies, but there will be places in the video that have just random colors until the next IDR
[21:24:41 CET] <mbrr> Cross-compiling FFmpeg for RPi3, Asus Tinkerboard, and Beaglebone Black. Following the guide for the Pi. Do I need to change "--extra-cflags='-march=armv6' --extra-ldflags='-march=armv6'" in the Compiling libx264 section? I read ARMv7 is backwards compatible but just checking.
[21:44:41 CET] <korpen> Hi! I am following the ffmpeg tutorial over at dranger.com but I am quickly running into problems. The code there was updated in 2015, and seeing as some stuff has been deprecated since then I'm wondering: does anyone know of a more up-to-date tutorial or at least a list of deprecations? I'm looking at the documentation and can find in what version the feature was removed but I can't for the life of me find what was supposed to replace
[21:45:49 CET] <alexpigment> korpen: this isn't exactly an answer to your question, but what exactly is not working or deprecated?
[21:46:01 CET] <alexpigment> also most of the stuff on ffmpeg's wiki and documentation is still accurate
[21:47:21 CET] <korpen> AVStream::codec has been deprecated, avcodec_copy_context, avpicture_get_size, avpicture_fill, avcodec_decode_video2, av_free_packet
[21:48:34 CET] <BtbN> What are you even building that you need to care about that?
[21:49:09 CET] <BtbN> If you're just building ffmpeg, you don't need to care about deprecation warnings it throws
[21:49:44 CET] <korpen> I'm building an application that uses the ffmpeg libraries, I figured the first step then is to get a video playing
[21:50:37 CET] <korpen> The problem is in using the libraries, not building them
[21:51:47 CET] <BtbN> If it hasn't been updated for the new APIs, you're going to have a hard time with that
[21:55:05 CET] <korpen> Which is why I asked if there was some deprecation documentation that I have been unable to find
[21:55:57 CET] <BtbN> http://git.videolan.org/?p=ffmpeg.git;a=blob;f=doc/APIchanges
[21:57:00 CET] <korpen> Thanks!
[21:59:38 CET] <JEEB> anyways, since the AVStream's avcodec context was never meant to be re-used it has since been in removal
[22:00:29 CET] <JEEB> what's supposed to happen is you create your own avcodec context for the avstream's codec, and then use the "copy from codec parameters" function to initialize your own avcodec context :)
[22:17:47 CET] <sparks56> hello chatpeople --> need help compiling vlc
[22:19:43 CET] <sparks56> problem -->  configure fails on libavcodec and libavutil.  I just compiled and installed the latest version of ffmpeg  and vlc will not recognize it
[22:20:45 CET] <sparks56> anyone out there
[22:20:54 CET] <sfan5> ..
[22:20:56 CET] <sfan5> pastebin the configure logfile
[22:21:15 CET] <BtbN> stable vlc does not support current ffmpeg master
[22:22:41 CET] <sparks56> ./configure --prefix=/usr --enable-gpl  --doxygen=doxygen --enable-nonfree --enable-shared --enable-libx264 --enable-libmp3lame --enable-libpulse --enable-libtheora --enable-libvorbis --enable-libxvid --as=yasm
[22:26:47 CET] <sparks56> BtbN: what is the preferred branch
[22:27:22 CET] <BtbN> you should ask the vlc people
[22:28:47 CET] <sparks56> recommendation for vlc build
[22:30:02 CET] <sparks56> need to fight with pillow bye for now
[22:32:12 CET] <teratorn> what do folks use instead of ffserver for basic rtp publishing?
[23:39:34 CET] <teratorn> anyone know how you would connect the output of ffmpeg to dvblast?
[00:00:00 CET] --- Fri Dec  8 2017


More information about the Ffmpeg-devel-irc mailing list