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

burek burek021 at gmail.com
Sun Apr 7 03:05:02 EEST 2019


[02:57:40 CEST] <CCFL_Man> ffmpeg0 in freebsd has ffserver0
[05:05:04 CEST] <tombert> Howdy, I'm trying to do an HLS stream using this following command: ffmpeg -y  -i /dev/video0  -vcodec h264_omx -f hls -hls_time 30     -hls_segment_filename "fileSequence%Y%03d.ts"     prog_index.m3u8
[05:05:27 CEST] <tombert> I want to put the year in the filename, but the file will have the literal %Y in the name
[05:05:36 CEST] <tombert> how do I go about making the filename have a timestamp
[05:07:09 CEST] <fella> $(date +%Y)
[05:12:05 CEST] <tombert> What if I want the filenames to update automatically?
[05:14:09 CEST] <tombert> if I do the $(date) thing, won't that only load the date initially
[05:14:09 CEST] <tombert> ?
[05:14:47 CEST] <furq> tombert: -strftime -hls_segment_filename fileSequence%Y%%03d.ts
[05:15:45 CEST] <furq> oh i guess you need -hls_flags second_level_segment_index as well
[05:16:29 CEST] <furq> https://www.ffmpeg.org/ffmpeg-formats.html#Options-5
[05:20:12 CEST] <texasmynsted> it seems I need remux a video h264 but the timestamps/timecodes are invalid or incomplete
[05:25:30 CEST] <tombert> furq: that worked, thank you!
[05:25:44 CEST] <tombert> my home security system is complete!
[06:15:38 CEST] <lindylex> What is the last thing I should see when I build ffmpeg from source?  I see this at the end "STRIP	ffprobe"
[06:23:24 CEST] <furq> if you don't see an error then congratulations, you won
[06:24:32 CEST] <lindylex> I saw lots of these "fftools/ffprobe.c:2920:13: warning: codec is deprecated [-Wdeprecated-declarations]"
[06:24:42 CEST] <ricekrispie> warnings aren't errors
[06:24:45 CEST] <ricekrispie> you're fine
[06:24:46 CEST] <furq> ^
[06:25:25 CEST] <lindylex> This is a line in the ./config
[06:25:27 CEST] <lindylex> PATH="$HOME/bin:$PATH" PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure \
[06:25:37 CEST] <ricekrispie> ok
[06:25:44 CEST] <lindylex> I guess this installs to my home directory?
[06:25:56 CEST] <furq> no
[06:26:07 CEST] <lindylex> Where?
[06:26:11 CEST] <furq> --prefix
[06:26:19 CEST] <furq> but if you didn't run make install then it hasn't installed anywhere yet
[06:26:38 CEST] <lindylex> Ok now I get it.  I did not do that.
[06:26:50 CEST] <ricekrispie> most open source projects just have the resulting binary in the same directory that you started the build in
[06:26:52 CEST] <ricekrispie> try ./ffmpeg
[06:27:03 CEST] <furq> it's in ffbuild/ now afaik
[06:27:12 CEST] <ricekrispie> o
[06:27:19 CEST] <ricekrispie> I haven't built ffmpeg in a long time
[06:27:23 CEST] <ricekrispie> carry on
[06:27:57 CEST] <lindylex> Ok this is awesome the binary is there and this is what I wanted.  I do not want to make install it.
[06:28:19 CEST] <furq> did you build with --enable-static
[06:28:30 CEST] <lindylex> The binary is in the ./ffmpeg
[06:29:17 CEST] <lindylex> This is what my full configure was https://pastebin.com/bFPCW7DL
[06:29:42 CEST] <pridkett> what is the command to use AV1 video codec with ffmpeg?
[06:29:45 CEST] <lindylex> furg :  i did not.
[06:30:00 CEST] <lindylex> Let me try adding this.
[06:31:17 CEST] <lindylex> Sorry here it is https://pastebin.com/bFPCW7DL
[06:31:38 CEST] <furq> if you don't want to install it then you'll want --enable-static
[06:32:14 CEST] <lindylex> Like this https://pastebin.com/CGaruRKh
[06:35:45 CEST] <lindylex> I am really trying to build ffmpeg-gl-transition and have encountered so many errors.
[06:54:41 CEST] <pridkett> where can i get binary for ffmpeg 4.1.3 ?
[06:56:31 CEST] <lindylex> pridett you can build it http://ffmpeg.org/download.html#build-linux
[06:56:38 CEST] <lindylex> What OS is this for?
[06:56:51 CEST] <pridkett> win64
[06:57:08 CEST] <lindylex> Ok I do not know how to do that for Windows.
[06:58:32 CEST] <lindylex> pridkett : try thi https://ffmpeg.zeranoe.com/builds/
[06:58:46 CEST] <pridkett> i don't see 4.1.3
[12:34:59 CEST] <^Neo> I'm trying to use two BMD Quad 2's in a single machine with FFmpeg and the cards get enumerated with the same name... is this correct?
[12:35:53 CEST] <^Neo> i.e. `DeckLink Quad (1)` through `DeckLink Quad (8)` and then `DeckLink Quad (1)` through `DeckLink Quad (8)`
[12:36:21 CEST] <JEEB> I think we're just reading them how the system is providing them
[12:36:30 CEST] <JEEB> is this dshow or which module?
[12:36:50 CEST] <^Neo> uhhh on linux, so the decklink module
[12:37:15 CEST] <^Neo> I was going to start digging into decklink_dec.cpp
[12:37:34 CEST] <^Neo> I saw that going from 3.x to 4.x the enumeration code had changed
[12:37:35 CEST] <JEEB> then quite likely how the decklink lib is exporting them
[12:37:46 CEST] <^Neo> yeah, I figured...
[13:38:46 CEST] <^Neo> @JEEB, so new to 4.x is the `-sources` option which gives some sort of colon delimited triplet that can be used to uniquely select ports on separate cards
[13:38:57 CEST] <^Neo> so that works for me :+1:
[13:39:28 CEST] <^Neo> I think 3.x FFmpeg only gave the name which would duplicate and had no notion, but I haven't tested that out
[13:39:42 CEST] <JEEB> coolio
[16:15:04 CEST] <gamelaster> Hi everyone, I have command which joining 1000 png frames with transparent bg into webm. Problem is that, after the rendering is complete, my webm contains default removed background (which isn't in frames), how is this possible and how to fix it? Thanks
[16:27:59 CEST] <pink_mist> I don't believe webm supports alpha channel (a.k.a. transparency)
[16:28:06 CEST] <pink_mist> I could be wrong, but that's my belief
[16:28:25 CEST] <JEEB> vpX series of formats kind of support it, but it's a special snowflake
[16:29:07 CEST] <JEEB> so the decoding might not work correctly with FFmpeg's internal decoder
[16:29:18 CEST] <JEEB> you might want to check how something utilizing libvpx's decoding fares
[16:29:28 CEST] <JEEB> also check that you are passing to the encoder something with the alpha channel intact
[16:29:34 CEST] <JEEB> yuvaBLAH
[16:29:39 CEST] <JEEB> instead of yuvBLAH
[16:29:46 CEST] <JEEB> the a noting that it has alpha
[16:52:32 CEST] <gamelaster> ffmpeg -framerate 12 -f image2 -i frame%04d.png -c:v libvpx-vp9 -vf format=rgba -pix_fmt yuva420p output.webm
[16:53:13 CEST] <gamelaster> I'm using this, it works for few frames, but after that, it using "hidden" pixels, and I see my frames, but with old background, what is really crazy
[17:04:29 CEST] <gamelaster> the images have "dirty transparency" problem, but I have no idea how to fix it
[18:17:32 CEST] <nitrxgen> gamelaster, seems like something i wouldnt let ffmpeg try to fix, no way to batch edit the images first?
[18:21:31 CEST] <nitrxgen> i think webm does support transparency, seems to be demonstrated here > http://www.sciencelifeny.com/transparency/transparency.html#
[18:23:19 CEST] <nitrxgen> but actually it looks like that's done with video masking
[18:58:30 CEST] <JEEB> nitrxgen: VPx formats since ancient times (at least VP6 series) have had transparency but it has kind of been a separate "video" within the video stream, so it was kind of outside the "normal" video decoding
[18:58:45 CEST] <JEEB> which is why FFmpeg doesn't support it with at least some of the VPx formats
[18:59:04 CEST] <JEEB> if you encode and decode with libvpx then you most likely can get it with VP8/9
[18:59:32 CEST] <JEEB> and I think the libvpx encoder/decoder wrappers might even support it if you pass YUVA into the encoder
[19:00:41 CEST] <nitrxgen> that doc i linked to seemed to instruct you to double the height of the created video and use the bottom half for the mask, the rest seems to be done with js
[19:01:47 CEST] <nitrxgen> as far as in depth video container/stream format stuff goes it's beyond me, not gonna lie lol
[19:03:16 CEST] <JEEB> yea, that's just a hack :P
[19:03:28 CEST] <nitrxgen> oh of course
[19:03:32 CEST] <JEEB> the VPx formats actually have alpha layer
[19:03:39 CEST] <JEEB> but it's not part of the primary image coding
[19:03:43 CEST] <JEEB> which is why it's easy to "skip" it
[19:03:51 CEST] <JEEB> (like I think FFmpeg does with VP8/9 decoding)
[19:03:57 CEST] <JEEB> with the internal decoder, that is
[19:04:03 CEST] <JEEB> I think the ye olde VP6 decoder has support for it
[19:22:05 CEST] <pridkett> what do you people think about AV1 ? it's claiming it can produce same quality as  half size of x264
[19:30:00 CEST] Last message repeated 1 time(s).
[19:30:29 CEST] <durandal_1707> it is best
[19:30:55 CEST] <pridkett> durandal_1707 then why aren't people using?
[19:31:07 CEST] <pridkett> it
[19:35:53 CEST] <durandal_1707> pridkett: are you troll?
[19:36:01 CEST] <pridkett> durandal_1707 huh?
[19:36:18 CEST] <pridkett> did i something that wasn't true?
[19:36:23 CEST] <pridkett> did i say something that wasn't true?
[19:36:31 CEST] <durandal_1707> you are trolling
[19:36:41 CEST] <pridkett> because i asked about av1 ?
[19:37:42 CEST] <durandal_1707> no
[19:39:10 CEST] <pridkett> i don't understand then
[19:50:54 CEST] <another> durandal_1707: imho pridkett is either trolling or ... i don't know
[19:51:07 CEST] <pridkett> another because i asked about av1 ?
[19:53:01 CEST] <another> no, because of the nature and structure of your questions
[19:53:45 CEST] <pridkett> another, lol okay, what words should i have used to asked the exact same question then?
[19:55:46 CEST] <another> *sigh* read my sentence again
[19:57:09 CEST] <durandal_1707> av1 is going to be used soonTM
[22:43:14 CEST] <wallace_mu> hi all, how do I scale image with filter_complex, i have this command but it's complaining scale2ref not found
[22:43:17 CEST] <wallace_mu> ffmpeg -i inputfile
[22:43:18 CEST] <wallace_mu> -i ../1/logo.png
[22:43:18 CEST] <wallace_mu> -i ../1/xin.png
[22:43:19 CEST] <wallace_mu> -i ../1/comment.png
[22:43:21 CEST] <wallace_mu> -filter_complex
[22:43:23 CEST] <wallace_mu> "[0][1]overlay=main_w/2-overlay_w/2-10:main_h-overlay_h-10:scale2ref=(W/H)*ih/8:ih/8[v1];
[22:43:25 CEST] <wallace_mu> [v1][2]overlay=main_w-overlay_w/2-10:main_h-overlay_h-10[v2];
[22:43:27 CEST] <wallace_mu> [v2][3]overlay=main_w/2-overlay_w-10:main_h-overlay_h-10
[22:49:25 CEST] <DHE> scale2ref is its own filter
[22:49:33 CEST] <DHE> ffmpeg -h filter=scale2ref
[22:50:21 CEST] <DHE> wallace_mu: see also https://ffmpeg.org/ffmpeg-filters.html
[22:53:24 CEST] <wallace_mu> anyway i can combine these together?
[22:53:26 CEST] <wallace_mu> DHE:
[22:55:43 CEST] <wallace_mu> DHE: so looks like, for image it only has coreimage filter
[22:56:11 CEST] <wallace_mu> still don't figure out how it apply to my command
[00:00:00 CEST] --- Sun Apr  7 2019


More information about the Ffmpeg-devel-irc mailing list