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

burek burek021 at gmail.com
Thu Jun 18 02:05:01 CEST 2015


[00:17:57 CEST] Action: _DragonsLordKERN is away: AWAY
[00:18:21 CEST] <_DragonsLord_> Good night to everyone
[00:23:06 CEST] <Brandoney> ?
[00:23:15 CEST] <Brandoney> Greetings bots. I want to capture 2 video cameras and live stream to 8-16 Internet users via http with a linux server.  Is ffmpeg and ffserver the right choice for me?
[00:36:29 CEST] <Brandoney> ffmpeg doesn't work on linux.
[00:40:34 CEST] <Nuc1eoN> hi, I would like to demux an xvid video file from an avi container
[00:40:55 CEST] <Nuc1eoN> would "mpeg" be the native output format?
[00:41:16 CEST] <Nuc1eoN> actually I thought it would be ".xvid"
[00:46:49 CEST] <dine909> Brandoney you serious? of course it works on linux
[00:47:26 CEST] <Brandoney> Lol.  No, not serious.  Just lonely.
[00:47:29 CEST] <Brandoney> Greetings bots. I want to capture 2 video cameras and live stream to 8-16 Internet users via http with a linux server.  Is ffmpeg and ffserver the right choice for me?
[00:48:27 CEST] <Anoia> what are they being viewed in?
[00:48:37 CEST] <c_14> You can probably get ffserver to work for you, but something like hls or nginx-rtmp might be easier.
[00:48:41 CEST] <Brandoney> Web browser.
[00:48:44 CEST] <Anoia> http allows html5 video
[00:49:00 CEST] <Anoia> flash players can pull RTSP or RTMP
[00:49:30 CEST] <Brandoney> Will each simultaneous user have to use a different URL?
[00:50:00 CEST] <Brandoney> So like a flash player embedded in my webpage/
[00:53:32 CEST] <Anoia> that's what we use
[00:55:27 CEST] <Brandoney> Ok.  I haven't heard of nginx-rtmp, but I'll check it out.  I have used vlc years ago for multicast over LAN, but I need it over Internet.
[00:56:34 CEST] <Brandoney> I read up on HLC but could not figure out how it's implemented.
[00:57:05 CEST] <Brandoney> HLC = HLS
[00:57:48 CEST] <Brandoney> Uh, I guess I should mention that I need to support smartphones including iphone.
[01:00:17 CEST] <DHE> HLS is a text file containing a list of .ts files which play back when concatenated
[01:00:40 CEST] <DHE> ffmpeg also supports HLS production for itself with a "-f hls" output format. then you could serve content with any ordinary http server
[01:01:12 CEST] <DHE> I've played with it, it works but you really do need to check the -hls_* family of options and decide what you're up to
[01:01:54 CEST] <Brandoney> So I guess I'm looking for camera -> hardware capture to h.264 -> ffmpeg -> (transcode to something) -> ffserver with copy -> HLS
[01:04:16 CEST] <Brandoney> And it looks like I'll need some javascript to support IE?
[01:09:54 CEST] <Nolski> Brandoney: pretty sure IE supports HTML5 video streaming
[01:15:13 CEST] <Nolski> Can you concat a section onto itself?
[01:15:40 CEST] <Nolski> I'm trying to cut a portion of the video out and concat it upon itself a number of times to loop a section of video
[01:19:55 CEST] <pzich> you should be able to pass in the video as an input multiple times, or reference 0:v etc. multiple times
[01:21:45 CEST] <Nolski> pzich: I think I might be doing it wrong then. Here is what I'm trying http://fpaste.org/232847/34496877/
[01:28:45 CEST] <Nuc1eoN> hi, I would like to demux an xvid video file from an avi container
[01:28:47 CEST] <Nuc1eoN> would "mpeg" be the native output format?
[01:28:57 CEST] <Nuc1eoN> actually I thought it would be ".xvid"
[01:31:34 CEST] <Brandoney> Hmm, so I can use an mpeg capture card and then I just need to mux instead of transcode to get my mpeg-ts for HLS.
[01:31:50 CEST] <Brandoney> Thanks for the help guys.  You saved me countless hours.
[01:35:49 CEST] <pzich> Nolski: hmm, I just ran `ffmpeg -i in.mp4 -filter_complex '[0:v]trim=start=10:end=20[v];[v][v]concat[out]' -map '[out]' out.mp4` and it seems to have worked
[01:36:05 CEST] <Nolski> wat
[01:36:13 CEST] <Nolski> hmmm
[01:37:21 CEST] <Nolski> huh that works for me as well
[01:38:37 CEST] <Nolski> Not sure why it didn't before. So I assume if I wanted to loop twice, I'd just do [out][v]concat[out] right?
[01:38:41 CEST] <Nolski> at the end?
[01:39:10 CEST] <pzich> I think you'll need a different input and output name, but that seems like it should work
[01:42:20 CEST] Action: Nolski prays that numbers work as names
[04:35:44 CEST] <xxashxx> how can i build ffmpeg for android?
[04:36:14 CEST] <xxashxx> is there someone to answer my question?
[05:26:57 CEST] <koz_> If I want to extract subtitles from a video that has them, what format should I put them into?
[05:27:07 CEST] <koz_> I want to be able to read and edit them, obviously.
[05:30:31 CEST] <kepstin> koz_, if you want a simple format to read and edit as text, use srt. If you want a format that preserves styling but it a bit more complex to edit (although it's well-supported by tools), use ass.
[05:30:48 CEST] <kepstin> if they're image subs off a dvd or bluray, well, you're out of luck :/
[05:31:11 CEST] <kepstin> (gonna have to use external software to OCR them)
[05:39:46 CEST] <koz_> kepstin: Thanks very much! How would I use ffmpeg to extract srt or ass?
[05:49:57 CEST] <koz_> It says that there are 2 PGS text streams.
[05:50:09 CEST] <koz_> Of which I assume one is the subtitle track.
[05:51:25 CEST] <kepstin> pgs is bluray image subtitles
[05:51:44 CEST] <kepstin> not text :)
[05:51:59 CEST] <koz_> FFFFFFFF.
[05:52:02 CEST] <koz_> Oh well.
[05:52:13 CEST] <koz_> Looks like I'll need to look for a subtitle track.
[05:52:20 CEST] <koz_> Thanks for all your help!
[09:50:27 CEST] <pandb> how do i rectify something like this: [mp2 @ 0xc79c20] Specified sample_fmt is not supported.
[10:00:55 CEST] <hardikj> hi, I am  trying to run ffmpeg and libx264 with profile baseline but it does not accept both profile and  profile:v
[10:01:00 CEST] <hardikj> command I am using is ffmpeg  -y -framerate 8 -f dshow
[10:01:00 CEST] <hardikj> -f gdigrab -i "desktop"  -c:v libx264 -vprofile baseline  -crf 0  -preset ultrafast
[10:01:00 CEST] <hardikj> -threads 0 temp.mkv
[10:01:25 CEST] <relaxed> pandb: look at 'ffmpeg -h encoder=mp2' and set a valid rate with -r:a
[10:02:13 CEST] <relaxed> pandb: well, I think. pastebin your command and all output if that doesn't work.
[10:02:20 CEST] <hardikj> it gives me error saying incorrect options, the error is due to "vprofile flag" i am using
[10:02:24 CEST] <hardikj> what am i missing ?
[10:03:15 CEST] <relaxed> hardikj: you're trying baseline and lossless (-crf 0), which isn't possible
[10:03:37 CEST] <hardikj> relaxed, I even tried it with crf 35
[10:04:15 CEST] <relaxed> oh, just use -profile
[10:04:51 CEST] <hardikj> I removed the crf option tried "profile", "profile:v", "vprofile", no luck :(
[10:04:54 CEST] <relaxed> or -profile:v
[10:05:12 CEST] <relaxed> pastebin your command and output
[10:05:34 CEST] <hardikj> ok
[10:07:31 CEST] <hardikj> relaxed, http://paste.ubuntu.com/11729330/
[10:08:09 CEST] <hardikj> same output with profile
[10:08:14 CEST] <hardikj> and profile:v
[10:08:28 CEST] <relaxed> oh, add -pix_fmt yuv420p
[10:08:53 CEST] <relaxed> the real error is, "x264 [error]: baseline profile doesn't support 4:4:4"
[10:09:23 CEST] <hardikj> ah, nice catch
[10:10:29 CEST] <hardikj> relaxed, it worked thanks
[10:10:36 CEST] <hardikj> what does pix_fmt means?
[10:12:08 CEST] <relaxed> pandb: forget what I said earlier, you want -sample_fmt s16
[10:13:15 CEST] <relaxed> hardikj: it sets the pixel format
[10:13:26 CEST] <hardikj> ok, cool
[10:19:24 CEST] <hardikj> relaxed, will using baseline profile help me reducing CPU power while screen capturing?
[10:20:07 CEST] <relaxed> -preset ultrafast will
[10:21:33 CEST] <hardikj> hmm, I am already using that, also is there libx264 a good choice if I am concerned about cpu usage, quality is not what I am aiming for
[10:21:54 CEST] <relaxed> did you read https://trac.ffmpeg.org/wiki/Capture/Desktop ?
[11:23:58 CEST] <Guest40450> BtbN: I want to log pts_time
[11:47:58 CEST] <bigzed> Hello guys, when I decode raw video in ffmpeg like this `ffmpeg -f rawvideo -pix_fmt <fmt> -i - -y out.mp4`. Which pix_fmt is the correct one for PixelType 16Bit RGB Planar and PixelType 16Bit RGB interleaved?
[11:54:11 CEST] <durandal_1707> bigzed: what endianess?
[11:55:35 CEST] <durandal_1707> if le: gbrp16le and rgb48le, if no alpha
[11:55:54 CEST] <bigzed> I'm not sure. The input is RED footage decode via there SDK into `rawvideo` and their documentation doesn't say anything about endianess
[11:56:45 CEST] <bigzed> They offer to choose the `VideoPixelType` e.g.: PixelType_16Bit_RGB_Planar, PixelType_16Bit_RGB_Interleaved, PixelType_8Bit_BGRA_Interleaved, PixelType_10Bit_DPX_MethodB, PixelType_12Bit_BGR_Interleaved,....
[11:57:54 CEST] <bigzed> ok, I'll try these :)
[13:55:34 CEST] <bigzed> durandal_1707, how do I shuffle planes?
[14:02:44 CEST] <durandal_1707> there is filter with
[14:02:57 CEST] <durandal_1707> same name
[14:10:16 CEST] <bigzed> thanks, shuffling planes fixed it for me. Now the colors are finally the same :)
[14:15:23 CEST] <kubast2> Hey ,how can I[on windows] convert multiply files[9 files in the same folder] dash audio container[youtube-dl] to m4a[aac ,as 9 files in a diffrent folder] ?
[14:19:15 CEST] <sp00x> kubast2:   see:  for %f in (..) do ffmpeg ..   and then use %~nf etc vars    they're documented somewhere
[14:19:50 CEST] <sp00x> kubast2:   for /?
[14:32:56 CEST] <Anoia> hand
[14:33:03 CEST] <Anoia> erm, wrong window
[15:00:26 CEST] <bigzed> durandal_1707, I still have a question left about the pixel_formats. I tried the shuffleplanes with jpg's and it worked as expected. But as soon as I try to convert the whole video instead of just a single frame into mp4 it crashes because the filter is not aplyable. Probably because mp4 needs yuv... as a pixfmt
[15:00:57 CEST] <bigzed> is it possible to tell ffmpeg to use the rawvideo, remapp the channels and use the remapped channels to create a yuv... pix fmt?
[15:02:41 CEST] <durandal_1707> crashes?
[15:03:12 CEST] <bigzed> crashing is not the correct term. It renders an error: Cannot map between a subsampled chroma plane and a luma or alpha plane. Failed to configure input pad on Parsed_shuffleplanes_3
[15:04:25 CEST] <durandal_1707> hmm pastebin whole command and output
[15:04:38 CEST] <bigzed> sure
[15:05:45 CEST] <bigzed> https://gist.github.com/bigzed/b587ab4ffca2d0948166
[15:09:55 CEST] <durandal_1707> remove last pixfmt yuv420p and use format filter: format=yuv420p after shuffleplanes filter
[15:11:49 CEST] <bigzed> Still fails with the same error https://gist.github.com/bigzed/b587ab4ffca2d0948166#file-snd-output
[15:12:24 CEST] <bigzed>  :(
[15:16:30 CEST] <bigzed> I removed all unecessary stuff from the command and now it works. Thanks so far. I will investigate it further :)
[15:21:57 CEST] <bigzed> The shuffleplanes and format filter have to be the first 2 filters
[15:22:02 CEST] <bigzed> then it works
[15:22:37 CEST] <durandal_1707> Yes I was just planed to write that
[15:33:01 CEST] <XwZ> hi, I have an issue, I try to extract images from an avi file from 04:00 to 05:30 so I use : ffmpeg -t 00:01:30 -ss 00:04:00 -i my.avi images/img_%05d.pgm but I have only black images
[15:33:28 CEST] <XwZ> my avi file info are : Stream #0:0: Video: rawvideo, pal8, 2048x2048, 838957 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
[15:36:20 CEST] <relaxed> XwZ: did you try with -t and -ss after the input?
[15:36:31 CEST] <XwZ> nope, I will
[15:39:26 CEST] <relaxed> if that doesn't work pastebin your command and output
[15:42:16 CEST] <XwZ> it "works" better but I have bunch of this http://pastebin.com/gVYbS076 and the result is http://pastebin.com/D8QqypAJ
[15:45:12 CEST] <relaxed> works better?
[15:45:58 CEST] <XwZ> it seems it try to reach the 4th minutes but nothing dumped
[15:46:46 CEST] <relaxed> "if that doesn't work pastebin your command and output"
[16:03:10 CEST] <XwZ> relaxed: ok well, now it works ... thank you :)
[16:08:46 CEST] <lucascastro> Hey, I'm trying setup ffserver, but when I stream, the server return  File '/feed1.ffm' not found
[16:09:01 CEST] <lucascastro> can someone  help me ?
[16:35:32 CEST] <ValdikSS> Hello guys. Is Intel QSV is available in Linux?
[17:43:39 CEST] <Timster> Hey, guys - I have a problem with ffmpeg reencoding a Livestream and changing Keyframe Interval / gop values. My forum post is explaining it in detail - http://ffmpeg.gusari.org/viewtopic.php?f=11&t=2164 - does somebody have an idea what could cause this? :/
[18:07:30 CEST] <DHE> so you want the re-encoded version to have its GOP settings match what the inputs?
[18:08:26 CEST] <jbruggeman> Hi. I'm messing around with the ffmpeg assembly, and i keep getting an error 'libavcodec/x86/ac3dsp.d:1: *** missing separator.  Stop.'
[18:09:07 CEST] <jbruggeman> I see this after it builds during a 'make install' as we as for an incremental build
[18:09:11 CEST] <sq6rr> Hi. I have two video inputs (BT878) and one output http. how switch input on the fly.
[18:10:05 CEST] <DHE> jbruggeman: sounds like a tab symbol got turned into spaces
[18:10:20 CEST] <DHE> or something else ended up mangling the .d file
[18:10:46 CEST] <jbruggeman> hmmm, is there a specification for a .d file?
[18:10:59 CEST] <jbruggeman> mine just has a path inside it to an asm file
[18:11:50 CEST] <DHE> they're Makefile definitions
[18:12:07 CEST] <DHE> naming a file and its build dependencies, typically a list of #include files involved
[18:12:45 CEST] <jbruggeman> Cool. Where do those get generated? Is it through ./configure?
[18:12:47 CEST] <Timster> DHE: Yes, the inputs are 40fps and Keyframe Interval of 2 seconds. I thought that fixing it with -r 40 and -g 80 in ffmpeg might help, but unfortunately it didn't.
[18:19:39 CEST] <Timster> DHE: You think that copying fps and gop from the inputs might help?
[18:22:27 CEST] <DHE> Timster: I gave no advice, I was just asking for clarification
[18:24:15 CEST] <Timster> DHE: Thanks anyways.
[18:24:30 CEST] <Timster> Does anybody have an idea regarding this?
[18:26:25 CEST] <feliwir> where can i ask generel questions about video decoding?
[18:39:14 CEST] <Nolski> I'm having a bit trouble trimming sections of a video (along with audio) and concating them to create loops of video. My output is here. https://gist.github.com/Nolski/2a9176392842ab688a1a
[18:39:48 CEST] <Nolski> The video has an audio track associated with it so I figured [0:a] and atrim would work just fine. If I remove the audio trimming, it seems to work
[19:05:55 CEST] <savah> hi guys
[19:06:04 CEST] <savah> anyone has used ffmpeg on ios ?
[19:15:26 CEST] <feliwir> savah, vlc has an ios app and they use ffmpeg
[19:16:01 CEST] <savah> is it legal ?
[19:16:21 CEST] <savah> since i've read a lot of stuff about it being illegal
[19:16:36 CEST] <Nolski> savah: yes vlc is totally illegal
[19:16:47 CEST] <feliwir> of course it is otherwise it wouldn't be in the appstore
[19:17:35 CEST] <Nolski> Why is looping sections of video in ffmpeg so freaking impossible.
[19:18:17 CEST] <feliwir> someone here is an vp6 expert by any chance?
[21:19:34 CEST] <mkoskar> hi all, I'm trying to figure out why following video doesn't stream: ffplay 'https://people.gnome.org/~carlosg/Screencast%20from%2006-17-2015%2007:09:01%20PM.webm'
[21:20:28 CEST] <mkoskar> there is some TLS warning generated though, certificate seems ok, I'm able to download it with other standard tools like e.g., curl
[21:22:06 CEST] <c_14> Works for me.
[21:22:34 CEST] <mkoskar> O_O exact command as I've posted?
[21:23:46 CEST] <c_14> Well, I used ffmpeg -i url -c copy out.webm because I don't have ffplay, but ye.
[21:23:58 CEST] <mkoskar> I got [tls @ 0x7f2e18004b80] A TLS warning alert has been received.=0/0 ... followed by line ending with Input/output error
[21:24:05 CEST] <BtbN> does your ffmpeg support tls?
[21:24:28 CEST] <c_14> If it wasn't built with ssl support you'd get a different error.
[21:24:51 CEST] <BtbN> Hm, does it know any root certs then?
[21:25:29 CEST] <mkoskar> BtbN: I did pastebin ... https://ptpb.pw/G0t8
[21:27:21 CEST] <mkoskar> I admit I don't know much about ffmpeg, ... I assume --enable-gnutls is OK, for reference it's current ArchLinux version on updated system
[21:27:26 CEST] <_DragonsLord_> hello everybody
[21:27:31 CEST] Action: _DragonsLord_ is back (gone 21:09:34)
[21:28:33 CEST] <mkoskar> brb
[21:43:01 CEST] <mkoskar> BtbN: I've passed -cafile /etc/ssl/cert.pem ... that being ArchLinux's CA bundle, so I think that wouldn't be an issue
[21:51:23 CEST] <DRAWNBOX> does anyone know how I could reduce the file size of a gif?
[22:01:07 CEST] <Nolski> DRAWNBOX: make it smaller
[22:01:17 CEST] <Nolski> DRAWNBOX: make it have less colors
[22:02:02 CEST] <mkoskar> c_14: you said it is working for you ... could you please pastebin: ffmpeg -loglevel trace -i https://people.gnome.org/\~carlosg/Screencast%20from%2006-17-2015%2007:09:01%20PM.webm -c copy out.webm
[22:02:24 CEST] <mkoskar> c_14: I'm filling a bug report for Arch and it would be helpful I think
[22:03:13 CEST] <c_14> Sure, but I'll limit it to the first 10s with -t 10
[22:04:26 CEST] <c_14> http://pb.c-14.de/t/kng.CIg1Ly
[22:04:56 CEST] <mkoskar> c_14: will do, thanks a bunch ;)
[22:12:46 CEST] <feliwir> i ask again? Someone here familiar with the vp6 codec?
[22:17:24 CEST] <feliwir> i don't see why this https://github.com/Fluffiest/splayer/blob/3482b0ffff02528a774d1888523bd3e6107b405f/src/filters/parser/flvsplitter/VP62.cpp#L168 doesn't work for me
[23:04:32 CEST] <feliwir> can anyone please look my vp6 decoder?
[23:08:12 CEST] <durandal_1707> this is ffmpeg channel and not random decoder support channel
[23:53:43 CEST] <Nolski> I'm having a bit trouble trimming sections of a video (along with audio) and concating them to create loops of video. My output is here. https://gist.github.com/Nolski/2a9176392842ab688a1a
[23:53:50 CEST] <Nolski> The video has an audio track associated with it so I figured [0:a] and atrim would work just fine. If I remove the audio trimming, it seems to work
[23:54:30 CEST] <Nolski> is ffmpeg meant to do these sorts of thibgs or should i look for another tool?
[23:55:08 CEST] <c_14> Nolski: try zeroing the pts for each of the segments
[23:55:17 CEST] <c_14> eh
[23:55:20 CEST] <c_14> and your concats are messed up
[23:55:47 CEST] <c_14> try [v][a][v][a]concat=n=2:v=1:a=1[v1][a1]
[23:56:00 CEST] <c_14> Though you might have to run the v/a through a split first
[23:56:01 CEST] <c_14> not sure though
[23:57:41 CEST] <Nolski> woah, uh... could you explain that to me a bit? why are there 2 [v][a]s?
[23:58:35 CEST] <c_14> Same reason you had [v][v] and [a][a] before
[00:00:00 CEST] --- Thu Jun 18 2015


More information about the Ffmpeg-devel-irc mailing list