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

burek burek021 at gmail.com
Sun May 8 02:05:02 CEST 2016


[00:01:40 CEST] <vade_> strategy question - im currently running libswresample to resample some audio and libswscale to re-size and convert pixel formats. I also need to run an audio normalization filter - convert some command line args into libavfilter invokations. Does libavfilter sort of encapsulate libswscale / libswresample - and can I build my current libswresample and libswscale code via filter graph invocations?
[00:03:44 CEST] <Prelude2004c> any light here.. check this out http://pastebin.com/raw/nHV4eYfK.. blowing me away... what does this have to do with FFMPEG ?
[00:29:46 CEST] <pfelt> anyone around that's used ffmpeg to capture from a decklink sdi card?  i'm not seeming to be able to get anything out of the card unless i use bmdcapture
[00:57:10 CEST] <rsully> relaxed you around?
[01:01:12 CEST] <rsully> relaxed wondering if your build script for your static binaries is public or not, I'm having trouble building gnutls dependency
[01:10:14 CEST] <rsully> speaking of which, any one have input on openssl vs gnutls?
[01:10:19 CEST] <rsully> ignoring licensing differences
[01:14:59 CEST] <iive> i've heard a lot of developers complain that gnutls has major bugs, stuff related to accepting or rejecting certificates... but that's kind of old info.
[01:15:29 CEST] <iive> openssl seems to be used by everybody and everything, yeh, here and there it hits the news with some major exploit.
[01:15:52 CEST] <iive> probably because it tries to implement the whole mess of standard...
[01:35:10 CEST] <DHE> libressl forked openssl trying to gut it of all those unnecessary, old or maybe risky features
[02:04:13 CEST] <rsully> DHE yeah but does ffmpeg support libre?
[02:21:27 CEST] <rsully> relaxed how do you build with gnutls statically? p11-kit can't be built as a static library
[02:22:23 CEST] <furq> --without-p11-kit
[02:23:08 CEST] <furq> https://github.com/qruf/ffmpeg-mingw/blob/master/src/gnutls/rules.mak
[02:23:12 CEST] <furq> those are the options i use fwiw
[02:23:20 CEST] <furq> (with apologies to vlc)
[02:27:39 CEST] <rsully> any reason for disabling a bunch of the other stuff?
[02:27:46 CEST] <rsully> e.g. nls
[02:27:58 CEST] <furq> that's pretty much just ripped from the vlc contrib makefile
[02:28:09 CEST] <furq> you'd have to ask them
[02:30:26 CEST] <rsully> some of those flags look out of date
[02:30:30 CEST] <rsully> at least for 3.4
[02:30:36 CEST] <rsully> but i should be able to adjust
[02:31:09 CEST] <furq> iirc 3.4 wouldn't build with those flags
[02:31:14 CEST] <furq> which is why i'm using 3.3
[02:31:30 CEST] <rsully> I'm just using --enable-static --disable-shared --without-p11-kit --disable-doc
[02:31:42 CEST] <rsully> compiling now
[02:31:54 CEST] <furq> you might as well disable guile and openpgp, i don't t hink those are of any use for ffmpeg
[02:31:57 CEST] <furq> not sure about the others
[02:32:25 CEST] <rsully> just trying to use as few flags as necessary to give me what i want
[02:32:42 CEST] <furq> and gtk-doc/doc/tests are wasted time if you're not going to use them
[02:32:51 CEST] <rsully> disabled by default, for 3.4 at least
[02:33:57 CEST] <rsully> well, gtk docs
[02:34:02 CEST] <rsully> tests are enabled, but whatever
[02:38:45 CEST] <rsully> furq woo it works
[02:39:09 CEST] <rsully> only 3 days of trying, but i have a usable static ffmpeg binary
[02:39:24 CEST] <rsully> gnutls, not openssl though :(
[03:30:09 CEST] <Prelude2004c> hey guys.. good day
[03:30:19 CEST] <Prelude2004c> sorry to be a bother.. can someone look at this and tell me if i need to chagne anything
[03:30:20 CEST] <Prelude2004c> http://pastebin.com/raw/wT41HQMk
[03:31:32 CEST] <Prelude2004c> basically.. i want the input to loop through the concat files.. and when it reaches the end shuffle again and keep going .. while the second phase output will just sit listen to the input and keep segmenting forever... so first one is the action script pushing data to fifo and the second is the listener which takes the data and transcodes&segments it.
[04:58:07 CEST] <Prelude2004c> hey, anyone know how to get around these errors ?
[04:58:08 CEST] <Prelude2004c> Non-monotonous DTS in output stream 0:0; previous: 97745983, current: 3826584; changing to 97745984. This may result in incorrect timestamps in the output file.
[06:16:46 CEST] <JamJams> When using AVPacket ->data on an ac3 frame there appears to be 14 bytes to garbage in each frame. I recently updated my libavcodec version from one I was using from Dec of 2015.
[06:16:49 CEST] <JamJams> Has something changed here?
[06:26:07 CEST] <JamJams> It's a bug every 5th frame is incorrectly allocated
[10:53:59 CEST] <langtutheky> has anybody successfully use -hls_playlist_type, I received this error Unrecognized option 'hls_playlist_type'
[11:51:07 CEST] <Videogamer555> How do I convert a frame-based video into fields? I would like to output the raw fields for editing (in external software), from a video file that is interlaced. The video is 640x480 for a single frame, so a single field should have the dimentions 640x240, when the lines of that field are shown consecutively. Is there a way to extract individual fields (not frames), from a video file, using FFMPEG?
[11:51:47 CEST] <Mavrik> hrmf
[11:51:56 CEST] <Mavrik> Videogamer555, what format would you want them in?
[11:52:23 CEST] <Videogamer555> I'd like to output them all into a single file, via -f:v rawvideo
[11:52:45 CEST] <Mavrik> hrmf.
[11:52:54 CEST] <Mavrik> look at video filters
[11:53:01 CEST] <Videogamer555> That command should output all the frames of a file into raw video usually, but I'd like a way to cause it to output FIELDS instead of frames.
[11:53:46 CEST] <Videogamer555> Is there any filter that could accomplish this that comes default with FFMPEG? Or does one not exist yet?
[11:54:15 CEST] <Mavrik> I'm 80% sure there's a filter that splits frames into individual fields, check the filter list on ffmpeg homepage
[12:05:58 CEST] <Videogamer555> So what would that filter be called?
[12:06:01 CEST] <Videogamer555> Anybody know?
[12:08:19 CEST] <JamJams> https://ffmpeg.org/ffmpeg-filters.html#separatefields
[12:32:16 CEST] <Videogamer555> Anybody here?
[12:38:20 CEST] <Videogamer555> It appears that there are 2 missing filters on my copy of FFMPEG. Just trying out some filters and it seems that vectorscope and waveform (for a waveform monitor) are missing.
[12:43:34 CEST] <JamJams> Compile it with them then?
[12:55:08 CEST] <Videogamer555> I don't have the ability to compile it. I'm running Windows.
[15:05:03 CEST] <Dariush> Hi. I have a video file that plays correctly in VLC and is correctly recognized by MediaInfo (https://i.imgur.com/3AZ5IIb.png), but ffmpeg thinks it only consist of audio: http://pastebin.com/RD6TR2s1
[15:05:57 CEST] <Dariush> When I try to copy it with ffmpeg, the resulting file has no video. How can I make it recognize the video stream?
[15:07:16 CEST] <JEEB> first of all, is it really FLV or is it ISOBMFF (colloqually known as "mp4")? although since the probe finds FLV I guess that's correct (also because it got dumped out of rtmpdump)
[15:07:19 CEST] <Dariush> this is the output of a copy attempt: http://pastebin.com/CXzesFn3
[15:07:38 CEST] <JEEB> the video track might not be there in the beginning so try adding analyzeduration
[15:07:54 CEST] <JEEB> the audio also came after the header [flv @ 000000000047a760] audio stream discovered after head already parsed
[15:10:05 CEST] <Dariush> Hm, I'm not seeing this option in the documentation and googling only returns user discussions. Which value should I start off with?
[15:10:10 CEST] <JEEB> set it to 10000000 for double (default is 5000000)
[15:10:18 CEST] <JEEB> uhh, it is in the docs
[15:10:22 CEST] <JEEB> https://www.ffmpeg.org/ffmpeg-all.html
[15:10:29 CEST] <JEEB> ctrl+F analyzeduration
[15:10:49 CEST] <JEEB> probesize is another related variable but might not be required
[15:11:26 CEST] <Dariush> oh, you are right. I was looking at https://ffmpeg.org/ffmpeg.html
[15:12:59 CEST] <Dariush> wow, it helped, and the video even opened in MPC-HC, where it didn't work previously. thanks a lot :)
[15:14:40 CEST] <JEEB> mpc-hc uses LAV Filters => LAV Filters uses FFmpeg to demux => uses same probing logic
[15:14:53 CEST] <JEEB> although there should be a callback for new streams
[15:14:58 CEST] <Dariush> by the way, what does latency in the documentation for this option mean?
[15:15:03 CEST] <JEEB> not sure what LAV does with that, if anything
[15:15:21 CEST] <JEEB> Dariush: well you're reading stuff from input for 10 seconds worth of stuff
[15:15:26 CEST] <JEEB> so if you're doing live streaming
[15:15:29 CEST] <JEEB> that's quite a bit :P
[15:16:00 CEST] <Dariush> so I'm working with static files, there's no reason not to set it to 10000000?
[15:16:03 CEST] <Dariush> if*
[15:16:21 CEST] <JEEB> yeh
[15:18:39 CEST] <Dariush> all right, thanks again :)
[15:19:54 CEST] <JEEB> ugh, kind of wanted him to check if he got the report_new_stream thing to appear :)
[15:21:09 CEST] <JEEB> since ffmpeg.c does log that (oh, even as a warning so default logging level should get it)
[15:58:02 CEST] <Dariush> JEEB: can I somehow fix the videofiles to make them get recognized correctly without the analyzeduration option? I can copy them, but that would take a huge amount of time, so I'd like something faster.
[16:19:22 CEST] <JEEB> Dariush: not without manually adding the track header, unfortunately. they just happen to pop up after the default analyze duration has gone past. BTW, when you copy stuff without analyzeduration, do you get this log message? https://github.com/FFmpeg/FFmpeg/blob/master/ffmpeg.c#L2765
[16:20:56 CEST] <JEEB> that should happen in case a new stream gets found during runtime
[16:21:26 CEST] <JEEB> (unfortunately ffmpeg.c also purely ignores that track since it doesn't support dynamic addition)
[16:21:52 CEST] <Dariush> yep, but it looks rather strange: New (null) stream 0:1 at pos:245398 and DTS:9.947s
[16:22:06 CEST] <JEEB> lol
[16:22:31 CEST] <JEEB> probably because FLV in such case can't have any predefined info on the track
[16:22:39 CEST] <JEEB> so you'd have to once again probe through it
[16:23:04 CEST] <JEEB> and man that analyzeduration barely hit that DTS :D
[16:23:18 CEST] <JEEB> that DTS is like half a second before 10s
[16:24:43 CEST] <JEEB> but yeah, nope quick way unless you know how to build a header :P
[16:25:02 CEST] <JEEB> because ffmpeg can only do it when rebuilding
[16:35:09 CEST] <Dariush> oh, all right. guess I'll do it the slow way. thanks :)
[16:51:35 CEST] <xlinkz0> hey, i'm having trouble transcoding an mkv video i downloaded from youtube with youtube-dl
[16:51:57 CEST] <xlinkz0> I get this error even though i'm specifying the pixel format : [buffer @ 03c1b4a0] Unable to parse option value "-1" as pixel format
[16:52:16 CEST] <xlinkz0> this is my command : ffmpeg -y -i test.mkv -c:v libx264 -pix_fmt yuv420p out.mp4
[16:52:48 CEST] <c_14> try setting -pixel_format yuv420p before -i
[16:53:29 CEST] <c_14> and/or -pix_fmt yuv420p before -i
[16:53:57 CEST] <xlinkz0> tried both, says Option pixel_format not found.
[16:54:29 CEST] <c_14> yeah, pixel_format is for some input devices. What about -pix_fmt ?
[16:54:35 CEST] <c_14> Or does it say that for both?
[16:54:39 CEST] <xlinkz0> bot
[16:54:41 CEST] <xlinkz0> both
[16:54:47 CEST] <xlinkz0> yep, strange
[16:54:55 CEST] <xlinkz0> says pixel_format even when i use pix_fmt
[16:55:12 CEST] <c_14> Which youtube video is this? (so I can test on my computer)
[16:55:22 CEST] <c_14> And what version of ffmpeg are you using
[16:55:39 CEST] <xlinkz0> ah, 2013 :D
[16:55:56 CEST] <xlinkz0> i'll update
[16:56:24 CEST] <xlinkz0> ffmpeg version N-56404-g4d09d2e
[16:56:24 CEST] <xlinkz0> built on Sep 17 2013 22:33:41 with gcc 4.7.3 (GCC)
[16:58:18 CEST] <xlinkz0> works now, thanks :)
[18:31:32 CEST] <Roest> hi
[18:54:19 CEST] <arbi> I need help please. I want to encode a video into a standard format so that a blue ray player can play it. What ever I do either the format is unsupported or video is not shown or audio is not there.
[18:54:48 CEST] <arbi> For example when I create an mp4 with mpeg-4 video and mp3 audio the player doesn't recognize the audio. But strangely if I have a mp3 music it plays it
[18:55:06 CEST] <arbi> If I change the audio codec to AAC then the file becomes unsupported
[18:56:51 CEST] <Roest> hi, could anyone help me with encoding video on Win10 using the precompiled libs from the download page, it's pretty much the encoding example with a few adjustment to my code, it works however it only encodes 10 seconds then stops, the issue is that got_packet, line 170 in the pastebin is zero after that
[18:56:56 CEST] <Roest> http://pastebin.com/Nrpz75bX
[19:05:45 CEST] <arbi> What is a typic AV codecs for an mp4 file?
[19:07:58 CEST] <DHE> h264 video, aac or ac3 audio
[19:08:30 CEST] <DHE> I could be wrong about the audio, those are just common
[19:09:38 CEST] <arbi> Then why doesn't my blue ray player understand AAC? It just says format unsupported :-/
[19:10:41 CEST] <arbi> Is information missing in the file?
[19:11:01 CEST] <tdr> or some bitrate it cant play
[19:11:05 CEST] <BtbN> Because it's a bluray player.
[19:11:25 CEST] <BtbN> I wouldn't expect it to play anything except what's on a normal bluray.
[19:11:28 CEST] <furq> hardware players tend to be quite bad at playing videos
[19:12:08 CEST] <arbi> It plays videos made on my android phone which are in mp4 format
[19:12:52 CEST] <furq> which codecs are the working files using
[19:13:08 CEST] <arbi> AVC and AAC
[19:13:59 CEST] <furq> well that sounds like a lot of fun
[19:14:04 CEST] <furq> maybe it's the thing tdr said about bitrates
[19:14:22 CEST] <furq> i know a lot of old hardware players refused to play vbr mp3
[19:14:36 CEST] <arbi> hmm.. then I'll try to use the exact same setup
[19:16:41 CEST] <arbi> Yeah bitrate seems to be different.. but it's AAC not mp3
[19:20:35 CEST] <furq> in my experience hardware players are incredibly picky about what they'll play
[19:20:47 CEST] <furq> especially older ones
[19:21:14 CEST] <tdr> depends alot on the brand too
[19:21:23 CEST] <furq> i'm not an expert on mp3 but it could even be down to the way the mp4 is muxed
[19:21:25 CEST] <furq> s/mp3/mp4
[19:24:54 CEST] <arbi> hmm
[19:28:09 CEST] <arbi> ok I need the audio to be AAC constant bitrate 96kbs, 1 channel
[19:28:37 CEST] <arbi> now I have vbr 196k and 2 channels
[19:28:54 CEST] <furq> if you're asking how to do that with ffmpeg then -b:a 96k -ac 1
[19:28:58 CEST] <arbi> s/196k/192k
[19:29:20 CEST] <arbi> thanks I was gonna ask about the channel :)
[19:29:25 CEST] <furq> it could be any of those things though (mono, cbr, 96k)
[19:29:32 CEST] <furq> obviously you want stereo and a higher bitrate if it works
[19:30:00 CEST] <arbi> yea.. but I've been trying to long that I'll be very happy IF it works hehe
[19:34:17 CEST] <arbi> the parameter -ac 1 creates another channel entry which says channel_original=1 but the old channel=2 still exists
[19:34:40 CEST] <arbi> I'm using mediainfo to view this
[20:52:09 CEST] <Xen0_> if im running ffserver and want anyone to be able to stream to it what do i need to set ACL allow to?
[20:53:54 CEST] <Xen0_> i keep gettin
[20:53:56 CEST] <Xen0_> /etc/avserver.conf:13: ACL refers to invalid host or ip address '#
[23:57:27 CEST] <idlus> hello, Im trying to invoke the crop filter with parameters 1:ih:0:0
[23:57:50 CEST] <idlus> but it returns with "invalid too big or non positive size for width"
[00:00:00 CEST] --- Sun May  8 2016


More information about the Ffmpeg-devel-irc mailing list