[Ffmpeg-devel-irc] ffmpeg.log.20150601
burek
burek021 at gmail.com
Tue Jun 2 02:05:01 CEST 2015
[01:51:24 CEST] <Prelude2004c> hey everyone
[01:51:30 CEST] <Prelude2004c> anyone aware of any good playout software ?
[01:51:44 CEST] <Prelude2004c> basically taking a bunch of files.. inserting them live and the system just plays files in a loop
[01:52:01 CEST] <Prelude2004c> ffmpeg would work nicely if there wasn't such a delay in between the play
[04:55:32 CEST] <zhanshan> JEEBsv I missed your post from yesterday, could you pls post it again, my scrollback was only 500 lines after the fresh debian 8 install, sorry!
[04:55:50 CEST] <zhanshan> about the encoding with filtering (vidstab)
[04:56:10 CEST] <zhanshan> you wrote, my command line was not really good.
[05:15:29 CEST] <zhanshan> which was: $ ffmpeg -i input -c:v libx264 -preset ultrafast -qp 0 output.mkv
[05:21:07 CEST] <klaxa> zhanshan: https://ffmpeg.org/pipermail/ffmpeg-devel-irc/
[05:21:13 CEST] <klaxa> ah wait
[05:21:31 CEST] <klaxa> i think that's the wrong mailinglist
[05:21:34 CEST] <klaxa> *irc log
[05:22:55 CEST] <klaxa> ah, no you can get both channels over that
[05:26:36 CEST] <postmodern> hello, I'm trying to use avconv (the fork of ffmpeg) to convert an ac3 audio stream to opus audio
[05:27:38 CEST] <postmodern> but the result is static
[05:34:11 CEST] <postmodern> according to mkvinfo it isn't setting the write codecID in the mkv file
[05:34:34 CEST] <postmodern> oh hmm no it's set
[05:41:08 CEST] <DolpheenDream> howdy
[05:48:28 CEST] <nopea> anybody know how to use ffprobe to check a file, to see if there is an audio track?
[05:50:10 CEST] <Nemo377307289> Could ffmpeg mask a transparent background video to a common video?Transparent background video means video with alpha channel.
[05:50:13 CEST] <Nemo377307289> thank you!
[05:55:00 CEST] <DolpheenDream> how do you deinterlace with ffmpeg ?
[05:57:46 CEST] <klaxa> nopea: ffprobe somefile.mkv ?
[05:57:56 CEST] <klaxa> DolpheenDream: use the yadif video filter
[05:58:22 CEST] <klaxa> ffmpeg -i somefile.mkv -vf yadif -c copy -c:v libx264 outfile.mkv
[05:58:33 CEST] <DolpheenDream> does that always deinterlace ? or is that a decomb ?
[05:58:57 CEST] <DolpheenDream> what odes -c copy do ?
[05:59:26 CEST] <klaxa> it copies all codecs that aren't specifically defined
[05:59:38 CEST] <klaxa> it will only change the video stream but nothing else
[06:00:34 CEST] <klaxa> https://ffmpeg.org/ffmpeg-filters.html#yadif-1
[06:01:28 CEST] <DolpheenDream> aha.. cool. thx. does the re-encoding assume some default quality ? or it re-encodeds at the original input quality ?
[06:01:41 CEST] <klaxa> it assumes a default quality
[06:02:00 CEST] <DolpheenDream> and what is that ?
[06:02:04 CEST] <klaxa> see: https://trac.ffmpeg.org/wiki/Encode/H.264
[06:02:05 CEST] <DolpheenDream> crf 19 ?
[06:02:32 CEST] <DolpheenDream> 23 is default ??
[06:03:04 CEST] <klaxa> yes
[06:24:44 CEST] <zhanshan> klaxa nice treat, thanks!
[06:30:56 CEST] <Nemo377307289> Could ffmpeg mask a transparent background(AYUV) video to a common video?
[06:42:15 CEST] <zhanshan> I just don't manage to link simple LD_LIBRARY_PATH library to filter: https://gist.github.com/anonymous/8963760e5b2fc0820df9
[06:42:29 CEST] <zhanshan> what would be the right command line?
[07:05:23 CEST] <seasc> good morning, anyone else getting high cpu temp when playing 1080 videos with ffplay?
[07:05:53 CEST] <seasc> speaking of 80°C, dunno F°.
[09:17:29 CEST] <pentanol> nopea ffmpeg -codecs
[09:37:13 CEST] <pentanol> sadly he is quit
[09:37:23 CEST] <pentanol> g'luck
[09:39:53 CEST] <elmargol> Is it still safe to use -crf if the video is shaky? or should I use a fixed bitrate for this?
[13:09:37 CEST] <SDr> hello beautiful people
[13:09:58 CEST] <seasc> hi :)
[13:10:23 CEST] <SDr> what's consessus on the wisdom of throwing arbitrary user-uploaded video against ffmpeg directly on server, from rooting/opsec perspective?
[13:10:59 CEST] <seasc> whot? german please :p
[13:11:27 CEST] <SDr> um. my site requires re-coding of videos uploaded by users
[13:11:45 CEST] <SDr> having evaluated all 4 of the big ones, ffmpeg seem to suit this recoding best
[13:11:59 CEST] <cehoyos> What are the "big ones"?
[13:12:30 CEST] <SDr> I'm concerned with blackhats using nullpointer / buffer overflow / etc vulnerabilities to root my server using video uploading as an attack vector
[13:12:39 CEST] <SDr> how well-funded is this concern of mine?
[13:14:13 CEST] <cehoyos> SDr: What are the "big ones" you evaluated?
[13:14:59 CEST] <SDr> cehoyos, mencoder, handbrake, ffmpeg, mp4box
[13:15:12 CEST] <SDr> cehoyos, any alternative suggestions?
[13:15:36 CEST] <chungy> It's a legitimate concern. Run your ffmpeg in a sandboxed environment (lxc container, vm, separate machine, what have you)
[13:15:38 CEST] <cehoyos> No, my point was that you only evaluated one (to some degree, MEncoder does support some proprietary encoders)
[13:15:48 CEST] <cehoyos> The others only support libavcodec afaik.
[13:16:17 CEST] <chungy> also run ffmpeg as its own user ;)
[13:16:30 CEST] <cehoyos> Yes, I just wanted to write the same...
[13:16:50 CEST] <cehoyos> http://j00ru.vexillium.org/?p=2211 <- You may want to read this about security.
[13:17:33 CEST] <chungy> Another option would be severely restricting what kind of codecs/containers are allowed to be uploaded, too. The more obscure kinds are probably the ones most likely to have security bugs waiting.
[13:17:49 CEST] <chungy> You can build ffmpeg with the support for only what you choose.
[13:18:18 CEST] <cehoyos> The most important thing is to run a current version on your server: Either you constantly upgrade to latest git (I suspect this is difficult or impossible) or you always use the latest version of the latest release branch. If you are using an older vesion, there is a higher probability that there are issues.
[13:18:24 CEST] <chungy> eg: you probably don't care about support old Interplay video game cutscenes or Indeo :P
[13:18:56 CEST] <relaxed> until a users uploads a game cutscene
[13:19:05 CEST] <cehoyos> chungy: Do you have any support for your claim that the obscure codecs are less likely to be tested by the fuzzing guys?
[13:19:27 CEST] <SDr> cehoyos, availability of testing material
[13:19:29 CEST] <chungy> not really, but they're probably not as well tested.
[13:20:00 CEST] <cehoyos> SDr: That sounds unlikely to me...
[13:20:23 CEST] <cehoyos> Testing valid input will not help, and invalid input has to be created specifically anyway.
[13:20:45 CEST] <cehoyos> I am not saying you cannot disable features, but there are more important steps imo.
[13:21:07 CEST] <chungy> None of these suggestions are exclusive from each other ;)
[13:22:08 CEST] <chungy> I think if you run it in a unique user context without access to the rest of the system, you're probably fairly safe to keep everything enabled.
[13:23:16 CEST] <chungy> and of course, reasonably safe if you keep ffmpeg up to date (following release branches)
[13:23:58 CEST] <SDr> alright', can do.
[13:27:01 CEST] <chama> hi i have an issue with merging two ffmpeg commands...
[13:27:14 CEST] <chama> here is the base command I'm using...
[13:27:28 CEST] <chama> http://stackoverflow.com/questions/30395469/ffmpeg-audio-crossfade/30484774#30484774
[13:27:38 CEST] <chama> I need to have a watermark on this
[13:28:05 CEST] <chama> can i achive this using overlayers or any other alternatives...?
[13:35:52 CEST] <cehoyos> What's wrong with using overlay?
[13:56:24 CEST] <cehoyos> chama:: What's wrong with using overlay several times?
[13:56:57 CEST] <cehoyos> (I haven't tested right now but I believe it would be an unknown bug if using overlay several times in one filter chain has issues.)
[13:57:05 CEST] <chama> it only applies the first overlay only
[13:57:59 CEST] <chama> only the crossfade works but not the watermark
[13:59:22 CEST] <cehoyos> I just tested the following command line (using two overlay instances) and it works as expected:
[13:59:24 CEST] <cehoyos> ffmpeg -f lavfi -i testsrc=hd720 -f lavfi -i color -f lavfi -i color=white -filter_complex overlay[out],[out]overlay=x=350 -qscale 2 -t 3 out.avi
[14:00:24 CEST] <cehoyos> The following is simpler and also works as expected:
[14:00:27 CEST] <cehoyos> ffmpeg -f lavfi -i testsrc=hd720 -f lavfi -i color -f lavfi -i color=white -filter_complex overlay,overlay=x=350 -qscale 2 -t 3 out.avi
[14:21:47 CEST] <chama> thanks cehoyos
[14:59:13 CEST] <livingBEEF> Is there any way to get some CLI-accessible documentation into ubuntu/mint? The PPA installs just static binaries but no man pages or doc...
[15:06:35 CEST] <cehoyos> livingBEEF: Which PPA? I would have suspected that the only supported packaged version does provide documentation...
[15:07:27 CEST] <livingBEEF> the official one
[15:07:48 CEST] <livingBEEF> from ffmpeg.org
[15:07:53 CEST] <livingBEEF> => download page
[15:07:57 CEST] <cehoyos> ffmpeg.org does not provide a PPA
[15:08:15 CEST] <cehoyos> And our download page has issues I am afraid
[15:08:54 CEST] <livingBEEF> the download page directly links to ubuntu ppa
[15:09:27 CEST] <cehoyos> I am quite sure that the launchpad version does provide documenation. There is a very active packager, if something is missing, I am sure it will be fixed soon.
[15:10:00 CEST] <cehoyos> As said, our download page has issue, it for example lists a release first, but releases do not get much support...
[15:11:09 CEST] <elmargol> I'm trying the vidstab filter. If I'm going to remove fisheye. Do I remove fisheye bevore I stabilize de video or after?
[15:12:21 CEST] <Mavrik> I'd do removal first
[15:12:41 CEST] <Mavrik> since fisheye filters usually just have a pre-set transofmation of a frame
[15:12:58 CEST] <Mavrik> and vidstab will move the frame around and thus move the "focus" point of the fisheye effect
[15:14:00 CEST] <livingBEEF> cehoyos: apt-file shows no files at all and /usr/share/doc/ffmpeg contains only changelog and copyright, apropos ffmpeg gives nothing...
[15:16:45 CEST] <elmargol> Mavrik, do you know if there is a filter offering just moving the image around without this warp effekt?
[15:16:56 CEST] <elmargol> SImilar to blender
[15:17:41 CEST] <Mavrik> zoompan I guess
[15:17:46 CEST] <Mavrik> or crop, depending on what do you want
[15:19:12 CEST] <elmargol> Mavrik, no like one fixed point and move the frames to have the point on the same possition at all times
[15:19:31 CEST] <Mavrik> I guess vidstab is then the filter you look for :)
[15:19:35 CEST] <Mavrik> with tripod mode I guess?
[15:19:42 CEST] <Mavrik> (never used it)
[15:19:47 CEST] <elmargol> I don't like the wobblines of the effekt
[15:20:03 CEST] <elmargol> It transforms the image to avoid borders I guess?
[15:22:51 CEST] <cehoyos> livingBEEF: I still don't know what PPA you are using...
[15:23:59 CEST] <livingBEEF> cehoyos: http://ppa.launchpad.net/mc3man/trusty-media
[15:25:51 CEST] <cehoyos> https://launchpad.net/ubuntu/+source/ffmpeg
[15:25:59 CEST] <livingBEEF> I guess I can download the html doc from ffmpeg.org... it's just that having nicely formatted doc would be nice
[15:26:02 CEST] <cehoyos> Use this instead.
[15:26:18 CEST] <livingBEEF> I'll try that. thanks
[15:27:35 CEST] <Prelude2004c> hey, anyone know of a good playout server based on ffmpeg ?
[15:27:49 CEST] <Prelude2004c> i want to do playout with ads and text scroll and stuff
[15:31:31 CEST] <cehoyos> livingBEEF: Could do me a favour and provide (on pastebin) the output of your current "ffmpeg"?
[15:32:50 CEST] <cehoyos> The console output if you just type "ffmpeg".
[15:33:37 CEST] <livingBEEF> http://pastebin.com/ZtMDGrA9
[15:34:14 CEST] <livingBEEF> I have it aliased to ffmpeg -hide_banner, so it took a while longer
[15:37:51 CEST] <livingBEEF> I guess I'll just settle with the downloaded html and view it with mc... I can't even really build a deb package, because of some driver stuff and apt I did..
[15:40:56 CEST] <cehoyos> Thank you, it is as I had expected: The binary was compiled with --enable-nonfree which means that it may not be legally distributed.
[15:40:56 CEST] <Prelude2004c> anyone have any idea on the playout server?
[15:54:02 CEST] <elmargol> ffmpeg has no frameserver input plugin has it?
[15:54:16 CEST] <elmargol> The only solution i have found is using wget and a pipe
[15:54:17 CEST] <Daniel> Hi, can anyone help me with a waveform in my video?
[15:56:44 CEST] <Mavrik> elmargol, frameserver?
[15:57:26 CEST] <elmargol> blender has an option to start a frameserver. you can fetch each frame over http then. lile http://localhost:30000/0001.png
[15:58:50 CEST] <elmargol> avisynth is a tool offering a frameservcer.
[15:59:56 CEST] <elmargol> I need it the other way around *g*
[16:03:50 CEST] <brontosaurusrex> elmargol: explain
[16:04:26 CEST] <elmargol> I'd like to export my clip from blender as a frameserver. and have ffmpeg encoding it
[16:05:10 CEST] <elmargol> something like ffmpeg -i http://localhost:3000 out.mkv
[16:05:42 CEST] <ffmpeg557> hi
[16:05:59 CEST] <ffmpeg557> i am trying to build ffmpeg on windows
[16:06:25 CEST] <brontosaurusrex> elmargol: like this http://wiki.blender.org/index.php/Doc_talk:2.6/Manual/Render/Output/Frameserver ?
[16:06:45 CEST] <elmargol> brontosaurusrex, yes like this. just ffmpeg native if possible
[16:06:56 CEST] <ffmpeg557> using msys2 with visual studio 2013
[16:07:23 CEST] <ffmpeg557> i got error Creating config.mak, config.h, and doc/config.texi... ./configure: line 1311: cmp: command not found ./configure: line 1311: cmp: command not found ./configure: line 1311: cmp: command not found
[16:07:27 CEST] <brontosaurusrex> elmargol: native?
[16:07:46 CEST] <elmargol> brontosaurusrex, whitout wget
[16:08:01 CEST] <elmargol> and without bash...
[16:08:42 CEST] <ffmpeg557> i had followed how to compile ffmpeg using MSVC
[16:08:50 CEST] <ffmpeg557> i don't understand what you mean by native
[16:09:52 CEST] <ffmpeg557> anybody help me
[16:11:47 CEST] <ffmpeg557> which pkg are required by msys2 for compiling ffmpeg in windows
[16:12:57 CEST] <brontosaurusrex> elmargol: so basically how to avoid tcp/ip, right? Did you ask in #blender?
[16:13:10 CEST] <elmargol> No how to avoid bash
[16:13:29 CEST] <elmargol> tcp/ip is not the problem. the problem is the fastest pc in the house is running windows :)
[16:13:46 CEST] <elmargol> And scripting in bash powershell is a nightmare
[16:15:04 CEST] <brontosaurusrex> elmargol: well, ffmpeg -i http://somehost/file.mp4 recode.mp4
[16:15:04 CEST] <elmargol> I try to avoid rendering to a uncompressed format
[16:15:08 CEST] <brontosaurusrex> seems to work here
[16:15:18 CEST] <brontosaurusrex> elmargol: I get it
[16:15:24 CEST] <elmargol> brontosaurusrex, it is a file for each frame. not a movie
[16:15:43 CEST] <brontosaurusrex> let me try ...
[16:24:09 CEST] <brontosaurusrex> elmargol: fmpeg -f image2 -i http://someserver/%05d.jpg test.mp4
[16:24:21 CEST] <brontosaurusrex> where 00000.jpg must be first file
[16:24:30 CEST] <brontosaurusrex> is working here
[16:25:56 CEST] <brontosaurusrex> http://en.wikibooks.org/wiki/FFMPEG_An_Intermediate_Guide/image_sequence < more
[16:26:40 CEST] <elmargol> thank you I check it out
[16:27:25 CEST] <brontosaurusrex> p.s. it appears one can use -start_number 1 < to start with 00001.jpg for example
[16:28:15 CEST] <elmargol> yes I did not know image2 supports http :)
[16:29:09 CEST] <brontosaurusrex> me neither, it was a step into unknowm
[17:25:13 CEST] <livingBEEF> how do I "reverse crop" streams which need to be certain size, when I want to use some filters? I basically need to add lots of alpha around the thing
[17:40:26 CEST] <ffmpeg240> can anybody help me compiling ffmpeg with x265 in msys2+msvc+windows
[17:47:13 CEST] <ffmpeg240> how to setup msys2 in windows for building ffmpeg ?
[17:47:44 CEST] <capradmar> my application crash when deployed on another machine: ff_me_cmp_init_static + 38 (macos 10.9)
[18:02:43 CEST] <squeegily> What's a good codec with huge compression? I want to archive security camera footage in a non-professional setting
[18:03:11 CEST] <brontosaurusrex> squeegily: id go for x264
[18:03:30 CEST] <brontosaurusrex> + still
[18:04:30 CEST] <squeegily> The camera is giving me a 640x480 mjpg stream.. however, this adds up the filesize quickly. Anything I should keep in mind for the re-encoding to H.264? So as not to wound the quality completely?
[18:04:49 CEST] <squeegily> But the biggest thing for me is the filesize
[18:05:17 CEST] <brontosaurusrex> squeegily: do a few test encodes and compare to original
[18:05:29 CEST] <brontosaurusrex> use -crf
[18:06:37 CEST] <brontosaurusrex> https://trac.ffmpeg.org/wiki/Encode/H.264
[18:07:30 CEST] <ffmpeg240> i got this error /usr/bin/make.exe: error while loading shared libraries: msys-guile-2.0-22.dll: cannot open shared object file: No such file or directory
[18:30:00 CEST] <iive> ffmpeg240: i told you the build env is probably not set right. to confirm it, try to just run `make.exe`, it should give you the same error.
[18:30:18 CEST] <iive> are you using some guide for what you do (aka, installation)
[18:30:22 CEST] Action: iive goes away
[18:31:39 CEST] <ffmpeg240> i am able to make ffmpeg but how to add x265
[18:34:08 CEST] <iive> do you have x265 as library and header files, or do you try to compile one by yourself?
[18:34:54 CEST] <ffmpeg240> yes i have x265 source . i am able to build x265 using cmake + wsvc
[18:34:58 CEST] <iive> under linux you build and install x265 first. ffmpeg configure finds and and links it.
[18:35:01 CEST] <ffmpeg240> msvc
[18:35:26 CEST] <ffmpeg240> i am compiling it in windows
[18:35:32 CEST] <iive> the same way you build ffmpeg?
[18:35:59 CEST] <iive> yeh, i figured out you are under windows ;)
[18:36:37 CEST] <iive> msys, mingw64 are based on gcc i think, msvc is separate compiler.
[18:36:48 CEST] <the_gamer> i have an output by ffprobe: http://www.pasteall.org/pic/show.php?id=88859 the video on the right is played by my player, to the video on the left can't be played(error says only that-.-), what could i have done wrong when converting those with ffmpeg?
[18:37:09 CEST] <iive> ffmpeg could be built with just msvc too, no idea how ..
[18:37:37 CEST] <DarkThunder> hi guys i need help to configure a server for a stream. can someone help me?
[18:38:01 CEST] <tulga> how to remove chapter of mkv file?
[18:38:11 CEST] <the_gamer> for me it looks like th eonly difference is the length and bitrate or did i miss something?
[18:38:37 CEST] <ffmpeg480> my net got disconnetced
[18:38:56 CEST] <ffmpeg480> so please repeat your answers live
[18:39:28 CEST] <tulga> is there any way to delete chapters without removing all metadata?
[18:40:16 CEST] <ffmpeg480> when compiling ffmpeg with x265 support ,does ffmpeg uses source code or the compiled x265.exe
[18:40:21 CEST] <DarkThunder> i use this string to stream a file:./bin/ffmpeg -re -i "video.mp3" -codec copy "Broadcasting site"
[18:40:38 CEST] <DarkThunder> but i want to stream multiple files in an exact order
[18:41:19 CEST] <iive> DarkThunder: try with `ffprobe -show-streams ...`
[18:41:37 CEST] <DarkThunder> when i try to use the command "concat", my stream starts but it lags and crash
[18:41:59 CEST] <DarkThunder> -show-stream?
[18:42:45 CEST] <iive> ffmpeg480: no, ffmpeg needs library, not executable. so .dll
[18:42:49 CEST] <c_14> tulga: ffmpeg -i file -map_chapters -1 -c copy -map 0 out.mkv
[18:43:06 CEST] <ffmpeg480> you mean libx265.dll
[18:43:22 CEST] <iive> i guess. in links it is .so
[18:43:33 CEST] <iive> links/linux
[18:43:38 CEST] <ffmpeg480> so i have this lib
[18:43:47 CEST] <ffmpeg480> how to add it in to ffmpeg
[18:44:02 CEST] <iive> how do you compile ffmpeg?
[18:44:11 CEST] <iive> how do you configure it?
[18:44:22 CEST] <iive> under linux, you run the bash script `configure`
[18:44:54 CEST] <ffmpeg480> ./configure --enable-asm --enable-yasm --arch=i386 --disable-ffserver --disable-avdevice --disable-swscale --disable-doc --disable-ffplay --disable-ffprobe --enable-shared --disable-static --disable-bzlib --disable-libopenjpeg --disable-iconv --disable-zlib --enable-libx265 --prefix=/c/ffmpeg --toolchain=msvc --enable-gpl
[18:44:58 CEST] <iive> DarkThunder: the manual says it ends on "s" and it also worked like this for me.
[18:46:05 CEST] <ffmpeg480> i got ffmpeg but lots of warning
[18:46:28 CEST] <DarkThunder> i have used this guide https://trac.ffmpeg.org/wiki/EncodingForStreamingSites and this string ./ffmpeg -re -i "file.flv" -codec copy -f flv "rtmp:SITE"
[18:46:31 CEST] <DarkThunder> it works
[18:46:41 CEST] <DarkThunder> but when i try to concatenate
[18:47:58 CEST] <DarkThunder> using a .txt files, it starts the stream but then it can't continue streaming and the service (twitch) says that the streamer went offline... ffmpeg continue to stream and then stops... sorry for my bad english. I am on linux
[18:50:30 CEST] <DarkThunder> fflogger_ the exact command that i write in the command line is ./ffmpeg -re -i "file.flv" -codec copy -f flv "rtmp:SITE" and it works. when i CONCATENATE i use ./ffmpeg -f concat -i "file.txt" codec copy -f flv "twitch link and key"
[18:50:59 CEST] <the_gamer> i have an output by ffprobe: http://www.pasteall.org/pic/show.php?id=88859 the video on the right is played by my player, to the video on the left can't be played(error says only that-.-), what could i have done wrong when converting those with ffmpeg? for me it looks like th eonly difference is the length and bitrate or did i miss something?
[18:51:02 CEST] <ffmpeg480> anyway to add x265lib.dll
[18:52:30 CEST] <klaxa> DarkThunder: the complete output of ffmpeg helps a lot trying to figure out what's going on, make sure to remove your twitch-key before pasting on a pastebin-like site
[18:52:45 CEST] <DarkThunder> fflogger if you want i can give you the link of the stream so you could see what is going on... but there is nothing much to say. When i stream the single file it works, when i use "conca" command and a txt file where all the video are listed it works like it has not enough bandwidth
[18:52:48 CEST] <c_14> the_gamer: what player? does `ffmpeg -i right_video.mp4 -f null /dev/null' run through without errorring?
[18:53:55 CEST] <the_gamer> c_14, my dlna-player/receiver/blurayplayer& lg hr570s
[18:54:43 CEST] <DarkThunder> klaxa the output is the same on both command: the stream starts in both cases, but when i use the concat command, twitch don't stream it
[18:54:44 CEST] <klaxa> DarkThunder: can you pastebin the output of ffprobe for the files in your concat text file? (for example with: while read line; do ffprobe "$line"; done < concat.txt > ffprobes.txt)
[18:54:45 CEST] <the_gamer> c_14, runs fine with both videos
[18:55:05 CEST] <DarkThunder> ffprobe?
[18:55:11 CEST] <the_gamer> c_14, mplayer/vlc play both videos, i converted both from the same camera with the same ffmpeg command
[18:55:23 CEST] <DarkThunder> sorry for my ignorance
[18:55:40 CEST] <klaxa> DarkThunder: it should ship with ffmpeg, it is used for analyzing mediafiles
[18:55:41 CEST] <the_gamer> DarkThunder, gives the metadata from a video
[18:56:38 CEST] <c_14> the_gamer: no clue, try diffing ffprobe -show_streams. Might have more detailed info
[18:56:40 CEST] <DarkThunder> ok wait a minute. i have to find the right commands for the shell
[18:58:00 CEST] <the_gamer> c_14, only number of frames is more(which is also different from the working video)
[18:58:34 CEST] <the_gamer> such on add error, i don't get why the player plays one video and not the other. 100% same format -.-
[18:59:30 CEST] <c_14> File permissions?
[19:00:18 CEST] <ffmpeg480> i got this error ERROR: x265 not found using pkg-config
[19:04:06 CEST] <ffmpeg480> anybody help me
[19:07:47 CEST] <the_gamer> c_14, same
[19:10:28 CEST] <c_14> the_gamer: an evil demon sitting inside the device that decides whether or not it likes a file and refuses to play it if it doesn't like it
[19:11:47 CEST] <the_gamer> c_14, looks like that to me, too. doesn't even matter to the lg device if the files are on usb, dlna or whereever always same outcome so i thought ffprobe could explain but damn
[19:13:18 CEST] <squeegily> -crf 51 0.0 OH GOD MY EYES
[19:14:11 CEST] <DarkThunder> guys this is the pastebin when the process works and the stream goes perfectly http://pastebin.com/VukJC0p9
[19:14:18 CEST] <the_gamer> squeegily, not my video, isn't it?
[19:14:35 CEST] <c_14> the_gamer: if you reencode either of the two files, do the new versions work?
[19:14:43 CEST] <squeegily> No, I just tried it out with my own encoding
[19:16:32 CEST] <the_gamer> c_14, same thing. ffmpeg command was: ffmpeg -i video_from_camera.MTS acodec mp3 -qscale:v 1 output.mp4;
[19:17:04 CEST] <c_14> the_gamer: so the reencode from the working video works and the reencode from the non-working one doesn't?
[19:17:30 CEST] <DarkThunder> and this is the when i use the concat command http://pastebin.com/ChxUrth4
[19:17:30 CEST] <the_gamer> c_14, right
[19:18:04 CEST] <DarkThunder> as i said the first link shows the shell when it works and the second when it doesn't work
[19:22:47 CEST] <ffmpeg480> how to include x265 in ffmpeg in windows environment
[19:22:48 CEST] <ffmpeg480> ??
[19:23:05 CEST] <Daniell> Hi, how can I make this: http://s24.postimg.org/50ocpdro4/Headshot.jpg with FFMpeg?
[19:25:50 CEST] <Daniell> How can I make this: http://s24.postimg.org/50ocpdro4/Headshot.jpg with FFMpeg?
[19:26:05 CEST] <brontosaurusrex> the_gamer: mediainfo file.mp4 | grep profile
[19:26:19 CEST] <brontosaurusrex> and compare if there is any difference
[19:26:30 CEST] <Mavrik> Daniell, you'll have to be more specific.
[19:26:50 CEST] <Mavrik> Also, using an actual video authoring software would probably be a better choice.
[19:26:59 CEST] <c_14> brontosaurusrex: they're both high profile (at least according to ffprobe)
[19:27:05 CEST] <Daniell> I wanna create that image with ffmpeg out of a image
[19:27:25 CEST] <brontosaurusrex> the_gamer: there is also "levels", but i forgot whats the difference
[19:28:02 CEST] <Daniell> like: ffmpeg blurs the background image and stretch it to 1080p and put the original image as overlay over the background and render it with music
[19:28:07 CEST] <llogan> ffmpeg480: you can download a build for windows with support for x265 here: http://ffmpeg.zeranoe.com/builds/
[19:29:34 CEST] <ffmpeg480> i want to build it my self
[19:30:04 CEST] <brontosaurusrex> the_gamer: http://blog.mediacoderhq.com/h264-profiles-and-levels/
[19:30:06 CEST] <klaxa> DarkThunder http://pastebin.com/VukJC0p9 has been removed
[19:33:00 CEST] <the_gamer> thx, can't install mediainfo atm
[19:34:12 CEST] <llogan> Daniell: probably something like this: -filter_complex "[0:v]scale=1920:ih,setdar=16/9,boxblur=10[bg];[bg][0:v]overlay=(W-w)/2:(H-h)/2[v]" -map "[v]" -map 0:a -c:a copy
[19:34:51 CEST] <Daniell> @llogan thank you, where can i put in the input and output? :$
[19:35:02 CEST] <llogan> i think you can figure that part out
[19:38:03 CEST] <llogan> actually this is probably more likely what you want: "[0:v]scale=1920:-1,crop=1920:1080,boxblur=10[bg];[bg][0:v]overlay=(W-w)/2:(H-h)/2[v]"
[19:38:07 CEST] <ffmpeg480> please somebody help me
[19:38:51 CEST] <Daniell> llogan: can't figure out, i'm trying with -i input.jpg and copy output.jpg but ffmpeg says: Stream map '0:a' matches no streams.
[19:39:49 CEST] <llogan> ffmpeg480: http://trac.ffmpeg.org/wiki/CompilationGuide#Windows
[19:39:53 CEST] <llogan> https://github.com/rdp/ffmpeg-windows-build-helpers
[19:39:56 CEST] <llogan> https://ffmpeg.zeranoe.com/blog/?p=400
[19:40:51 CEST] <Daniell> llogan: http://pastebin.com/YDSDAWkr
[19:41:06 CEST] <sfan5> Daniell: you need to input a cover and audio
[19:41:24 CEST] <sfan5> and the output is obviously a video not a jpg
[19:41:31 CEST] <ffmpeg480> llogan i am using http://trac.ffmpeg.org/wiki/CompilationGuide/MSVC
[19:41:38 CEST] <llogan> Daniell: you forgot the *complete* console output
[19:42:05 CEST] <llogan> ffmpeg480: ok
[19:42:16 CEST] <Daniell> llogan: http://pastebin.com/sbyRFTKL
[19:42:17 CEST] <ffmpeg480> but it doesn't says how to add x265
[19:42:36 CEST] <ffmpeg480> or i am not getting te idea
[19:42:40 CEST] <ffmpeg480> the idea
[19:43:20 CEST] <llogan> Daniell: you need to loop the image. add "-loop 1" before -i. then you need to add "-shortest" before output.jpg otherwise it will encoder indefinitely
[19:43:36 CEST] <llogan> also, as mentioned, you need to add an input for your audio too
[19:43:44 CEST] <ffmpeg480> it says Do so by modifying the LIB and INCLUDE environment variables
[19:44:02 CEST] <ffmpeg480> but where can i change these variables
[19:45:02 CEST] <Daniell> llogan: http://pastebin.com/CeKsVuXd
[19:45:42 CEST] <llogan> ffmpeg480: i don't know. i don't use windows. maybe take a look at the other links i provided
[19:45:54 CEST] <llogan> that MSVC one appears to be of very poor quality
[19:47:03 CEST] <ffmpeg480> see tell me a method to include x265 libs
[19:47:38 CEST] <ffmpeg480> does ffmpeg uses x265 source or x265 compiled exe
[19:47:38 CEST] <llogan> Daniell: ok, i guess you don't want music if you want to output a single image, so remove -map 0:a -c:a copy and add "-vframes 1" before your output
[19:47:48 CEST] <llogan> ffmpeg480: source
[19:48:08 CEST] <Daniell> llogan: yes, i want music in
[19:48:22 CEST] <ffmpeg480> so what you do in linux to add them
[19:48:24 CEST] <llogan> ffmpeg480: ignore that. i misread what you asked
[19:48:33 CEST] <llogan> Daniell: then you can't just output a jpg
[19:48:46 CEST] <ffmpeg480> so ffmpeg is not using x265 source ?
[19:48:57 CEST] <Daniell> llogan: where can i put in the music file?
[19:49:04 CEST] <llogan> add another -i
[19:49:16 CEST] <Daniell> i have 2 files: art.jpg and music.mp3
[19:50:12 CEST] <llogan> ffmpeg480: go ask here: https://ffmpeg.zeranoe.com/forum/
[19:50:15 CEST] <Daniell> @llogan: http://pastebin.com/sDjDyqJV
[19:50:39 CEST] <llogan> you attempted to apply loop to your music
[19:52:00 CEST] <DarkThunder> Hi guys, i got disconnected. I will repost my problem. I am using ffmpeg on a debian server to stream some files (mp4). The problem is this: when i use the command ./bin/ffmpeg -re -i "video1.mp4" -codec copy -f flv "rtmp://live.twitch.tv/app/" the stream works fine. When i try to concatenate the files using a txt file and this string ./bin/ffmpeg -f concat -i "order videos.txt" -codec copy -f
[19:52:00 CEST] <DarkThunder> flv "rtmp://live.twitch.tv/app/" , the stream start to going crazy, streaming random frame, and then all goes black. After a while on my shell i get this error "Non-monotonous DTS in output stream 0:0; previous: 10834800, current: 7475200; changing to 10834800. This may result in incorrect timestamps in the output file."
[19:53:30 CEST] <Daniell> llogan: http://pastebin.com/g7c3KRQD
[19:54:14 CEST] <DarkThunder> i can't understand why it does this. am i using the concat command wrong? the txt file has only the string "file video1.mp4" without "" for every video in the txt file
[19:55:33 CEST] <sfan5> Daniell: input art.jpg first and music.mp3 second
[19:56:01 CEST] <llogan> or change your link labels in the filtergraph
[19:56:46 CEST] <Daniell> llogan: http://pastebin.com/HUzHZZwN
[19:57:27 CEST] <llogan> read this http://ffmpeg.org/ffmpeg.html#Advanced-options
[19:57:30 CEST] <llogan> -map
[19:57:33 CEST] <sfan5> Daniell: change -map 0:a to -map 1:a
[19:57:38 CEST] <klaxa> <klaxa> DarkThunder http://pastebin.com/VukJC0p9 has been removed
[19:58:42 CEST] <Daniell> llogan: http://pastebin.com/EgertLwk
[19:58:44 CEST] <klaxa> also, if the videos have different formats and codecs you might not be able to just concat it without problems
[19:59:01 CEST] <sfan5> wait what
[19:59:29 CEST] <DarkThunder> videos have the same format
[19:59:33 CEST] <sfan5> Daniell: sorry, just use -map 0:0 instead of -map 0:a
[20:00:38 CEST] <DarkThunder> i give me a minute
[20:00:45 CEST] <DarkThunder> i will repost
[20:00:54 CEST] <Daniell> llogan: http://pastebin.com/2eX16gch
[20:01:30 CEST] <sfan5> Daniell: change every [0:v] to [1:v]
[20:01:35 CEST] <llogan> don't use 0:0. its not as useful as the other method.
[20:02:11 CEST] <llogan> your filtergraph is using "[0:v]". that is referencing the video from the first input. you want it to reference the video from the second input.
[20:02:58 CEST] <DarkThunder> http://pastebin.com/sQAFDTXb the top is the working one, the bottom not... also i have noticed just before getting the "Non-monotonous DTS in output stream 0:0; previous: 10834800, current: 7475200; changing to 10834800. This may result in incorrect timestamps in the output file." error that the frame are inverted (i mean it shows frame 70 after the 75 frame) or something like that
[20:03:11 CEST] <Daniell> sfan5: could you make the command because i also get a error
[20:03:45 CEST] <llogan> i just told you what was wrong
[20:04:59 CEST] <DarkThunder> llogan i cannot change this, the string is an output of the ffmpeg program
[20:05:14 CEST] <Daniell> llogan: http://pastebin.com/8j7m4abL
[20:06:42 CEST] <llogan> Stream map '0:v' matches no streams.
[20:06:54 CEST] <llogan> you're attempting to map video from the first input
[20:07:03 CEST] <llogan> the first input has no video
[20:07:29 CEST] <Daniell> i don't know what i have wrong in the command
[20:07:40 CEST] <llogan> you need to mpa the audio from the first input
[20:07:46 CEST] <llogan> *map
[20:08:06 CEST] <Daniell> llogan: if i send you the command, could you send me the right command back? :$
[20:08:37 CEST] <llogan> you need to change the stream specifier from v to a
[20:09:26 CEST] <Daniell> llogan: http://pastebin.com/axpnqakn
[20:09:28 CEST] <llogan> and your overlay is referencing the wrong input
[20:10:33 CEST] <llogan> 1:a is attempting to reference the audio from the second input (ffmpeg starts counting the stream index with 0)
[20:10:53 CEST] <sfan5> Daniell: ffmpeg -i music.mp3 -loop 1 -i art.jpg -filter_complex "[1:v]scale=1920:1080,setdar=16/9,boxblur=10[bg];[1:v]scale=1080:1080[fg];[bg][fg]overlay=(W-w)/2:(H-h)/2[v]" -map "[v]" -map 0:a -c:a copy -shortest output.mp4
[20:10:55 CEST] <sfan5> that one works for me
[20:11:37 CEST] <llogan> Daniell: now you got what you wanted. i was just trying to get you to understand it
[20:11:45 CEST] <Daniell> sfan5: thank you very much, it works! :)
[20:12:03 CEST] <Daniell> llogan: i know, it is hard to understand but thank you!!
[20:12:49 CEST] <llogan> but that's using my first filtergraph example, but i think you would prefer the second one
[20:13:31 CEST] <Daniell> currently i'm rendering the video and i'll let you know how the result looks! :)
[20:14:43 CEST] <llogan> some players may not like mp3 audio in mp4 container. or maybe i'm thinking of some other WMP issue...
[20:15:14 CEST] <llogan> i think WMP doesn't like certain audio sample rates of mp3 in mp4.
[20:15:17 CEST] <llogan> IIRC
[20:17:02 CEST] <Daniell> thank you very much! it is working!!! thank you llogan and sfan5!!!
[20:21:47 CEST] <ffmpeg480> anybody tell me how to compile ffmpeg with x265 in windows os
[22:03:22 CEST] <nopea> so my server is Ubuntu 12(.something). I installed FFMpeg last nigh on it, and it install avconv. I read that Ubuntu 15 and up has gone back to 'real' FFMpeg. Are there any issues of avconv I should be concerned about? Should I try to remove it and install the real ffmpeg?
[22:05:11 CEST] <JEEBsv> it's old in any case, so I'd get either newer libav (avconv) or ffmpeg (ffmpeg)
[22:05:38 CEST] <JEEBsv> and no, ubuntu 15.04 quite definitely still packs libav as far as I can see...
[22:05:59 CEST] <JEEBsv> oh, it does have the ffmpeg alternative as well
[22:06:18 CEST] <nopea> JEEBsv: thanks. currently I have avconv version 0.8.17-4:0.8.17-0ubuntu0.12.04.1
[22:06:37 CEST] <JEEBsv> yes, that's old and I'd keep away from it whether it's ffmpeg or libav-based
[22:06:50 CEST] <nopea> JEEBsv: I am not a linux pro... in the past I would use Windows pre-built binaries.
[22:07:27 CEST] <JEEBsv> there are static linux binaries available for specific configurations
[22:07:56 CEST] <JEEBsv> although to be quite honest for most people's use cases you don't need the kitchen sink, given that like 99%+ of all decoders are available within libavcodec itself
[22:08:00 CEST] <nopea> yeah I read that - guess I will have to read up on how to install them
[22:08:19 CEST] <JEEBsv> so building a binary isn't /that/ hard either
[22:08:41 CEST] <nopea> right now my web app is transcoding audio to m4a (aac). Maybe later we will add video encoding
[22:09:12 CEST] <JEEBsv> so, uh, it'd work even with a plain ./configure , although you probably will want to build it with fdk-aac
[22:09:39 CEST] <JEEBsv> and given that fdk-aac's license is not compatible with ffmpeg's
[22:09:53 CEST] <JEEBsv> you can't distribute a binary with it linked in
[22:10:00 CEST] <nopea> gotcha
[22:10:01 CEST] <JEEBsv> (so you'd have to build it yourself)
[22:10:10 CEST] <nopea> something I have never done ;-)
[22:10:25 CEST] <JEEBsv> there are guides on the trac wiki IIRC
[22:10:31 CEST] <JEEBsv> although I have no idea how sane they are atm
[22:10:57 CEST] <nopea> LOL. avconv is using libvo_aacenc by default
[22:11:18 CEST] <JEEBsv> yes, because it's higher on the list than the internal one (also so in ffmpeg, IIRC)
[22:11:35 CEST] <JEEBsv> although I'm not really sure if it's better than the current internal lavc encoder
[22:11:47 CEST] <JEEBsv> (which still for whatever reason is tagged as "experimental")
[22:12:27 CEST] <nopea> yeah - that does make you think it isnt very good. Although I think it sounded fine
[22:12:51 CEST] <JEEBsv> there's a patch on the trac in the longest ever thread that makes it even better
[22:13:27 CEST] <JEEBsv> anyways, whether you want to use libav or ffmpeg, you really will want to have something newer than that
[22:13:40 CEST] <JEEBsv> late 2011 release IIRC
[22:15:09 CEST] <c_14> nopea: there was a patch end of last year to mark it as not experimental, that thread kinda died for no reason though
[22:15:11 CEST] <nopea> so in a nutshell, get teh real ffmpeg and compile it with fdk-aac
[22:16:18 CEST] <nopea> static builds will not have fdk-aac obviously
[22:16:40 CEST] <JEEBsv> yup
[22:16:47 CEST] <JEEBsv> it'll be rather simple
[22:17:37 CEST] <nopea> ok - I will read up on how to do that. I assume I should remove avconv first :)
[22:17:44 CEST] <JEEBsv> not necessary really
[22:17:51 CEST] <JEEBsv> as long as you don't start overwriting its files
[22:18:06 CEST] <JEEBsv> (you will need git, yasm, autotools/autoconf/automake, libtool, build-essential(s) to get both built methinks)
[22:18:09 CEST] <c_14> And make sure you execute the correct binary
[22:18:30 CEST] <JEEBsv> the tutorial on the trac wiki should help
[22:18:32 CEST] <nopea> I assume I will have to set it in my path?
[22:18:42 CEST] <c_14> That or always use the absolute path
[22:18:43 CEST] <nopea> reading this now... https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
[22:18:59 CEST] <c_14> And if you put it in your path, put it in front
[22:19:02 CEST] <JEEBsv> the guide probably has other things in there, too
[22:19:35 CEST] <JEEBsv> wait what the fuck
[22:19:42 CEST] <JEEBsv> why does that guide tell you to install libgpac-dev
[22:19:48 CEST] <nopea> I have no clue :)
[22:19:48 CEST] <JEEBsv> I... I don't even
[22:21:03 CEST] <c_14> >Added libgpac-dev to support x264 mp4 output
[22:21:05 CEST] <c_14> whatever that means
[22:21:14 CEST] <JEEBsv> ...
[22:21:23 CEST] <c_14> It's been there for 3 years.
[22:21:25 CEST] <JEEBsv> which is completely unrelated to ffmpeg
[22:21:40 CEST] <JEEBsv> it's only x264 cli that it affects
[22:21:44 CEST] <JEEBsv> not the library
[22:22:34 CEST] <JEEBsv> also I think x264 nowadays has l-smash in its code base or so...
[22:23:09 CEST] <JEEBsv> ah no
[22:23:13 CEST] <JEEBsv> it's proper library-based support
[22:23:20 CEST] <JEEBsv> http://git.videolan.org/?p=x264.git;a=commit;h=09c7010e3d13e66a241c0529b36ae3f7e1664ff4
[22:23:26 CEST] <nopea> then have h.265 already? wow
[22:23:34 CEST] <JEEBsv> still has nothing to do with libx264 which ffmpeg would use of course
[22:24:19 CEST] <JEEBsv> nopea: in my latest tests 10bit x265 is finally showing something against 10bit x264, but... if x264 goes at around 3fps with 720p, x265 goes 0.24 or so
[22:24:41 CEST] <JEEBsv> (this is both encoders pretty much maxed out)
[22:24:56 CEST] <nopea> 10bit? what are you encoding that needs 10bit (curious only)
[22:25:02 CEST] <JEEBsv> better compression
[22:25:06 CEST] <JEEBsv> even if the source is 8bit
[22:26:12 CEST] <nopea> interesting. Most of our footage is screen captures, never left 8bit land ;-)
[22:26:45 CEST] <nopea> no 100% true.. we do encode to CineForm 10bit for archive
[22:27:13 CEST] <JEEBsv> with HEVC the difference is supposedly smaller, with AVC there were bigger differences due to the specification telling that you had to go back to X bits in the middle of the coding/decoding chain
[22:28:56 CEST] <JEEBsv> http://akuvian.org/src/x264/bitdepth_dataflow.png
[22:28:58 CEST] <JEEBsv> found it
[22:29:51 CEST] <JEEBsv> every ROUND goes back to the X bits
[22:30:31 CEST] <JEEBsv> so if you have more bits there the result will have less error
[22:30:57 CEST] <nopea> and with HEVC?
[22:31:20 CEST] <JEEBsv> IIRC they made hardware manufacturers angry due to adding precision there in some parts
[22:31:22 CEST] <grublet> JEEBsv: so this rounding is what gave a quality improvement for 10-bit with x264? kinda droppin in mid-convo here
[22:31:42 CEST] <JEEBsv> so the effect should be less, but it still seems useful to avoid some of the banding with x265 at least
[22:32:10 CEST] <JEEBsv> grublet: yes, you lose less precision due to having more bits there in those steps
[22:32:24 CEST] <grublet> JEEBsv: early on i did some encoding tests with 10-bit and found a quality degradation, but this was several years ago so I'm not sure if I could blame early implementations in x264/ffdshow for that
[22:33:09 CEST] <JEEBsv> ffdshow IIRC wasn't too good at the 10bit->8bit dithering game since it used swscale
[22:33:11 CEST] <nopea> not sure if this relates, but I found more color banding with CineForm 10bit
[22:33:28 CEST] <JEEBsv> nopea: that's just either the format or the player sucking
[22:33:50 CEST] <JEEBsv> also for like a year+ x264 and swscale were fucking up bit depth conversions
[22:34:10 CEST] <grublet> JEEBsv: i didn't have many problems with banding/dither, it just seemed to be me to do a worse job overall
[22:34:19 CEST] <grublet> JEEBsv: that might explain it
[22:34:23 CEST] <nopea> with screen captures having a lot of gradients, it was horrible.
[22:34:35 CEST] <grublet> i had downloaded an early 10-bit ffshow build back when all this started
[22:34:49 CEST] <JEEBsv> yes, then you were affected by ffdshow sucking partially because swscale sucked
[22:34:51 CEST] <DarkThunder> Hi guys!!! I am using ffmpeg on a debian server to stream some files (mp4). The problem is this: when i use the command ./bin/ffmpeg -re -i "video1.mp4" -codec copy -f flv "rtmp://live.twitch.tv/app/" the stream works fine. When i try to concatenate the files using a txt file and this string ./bin/ffmpeg -f concat -i "order videos.txt" -codec copy -f flv "rtmp://live.twitch.tv/app/" , the stream
[22:34:51 CEST] <DarkThunder> start to going crazy, streaming random frame, and then all goes black. After a while on my shell i get this error "Non-monotonous DTS in output stream 0:0; previous: 10834800, current: 7475200; changing to 10834800. This may result in incorrect timestamps in the output file."
[22:35:05 CEST] <JEEBsv> I was one of those folk poking at ffdshow (tryouts) in middle of 2011
[22:35:10 CEST] <JEEBsv> I never want to do it again :P
[22:35:12 CEST] <grublet> JEEBsv: i appreciate the clarity there; this entire time I had been wrongly claiming 10-bit had no improvement or was a detriment
[22:35:19 CEST] <grublet> heh, yeah me neither
[22:35:28 CEST] <JEEBsv> it was fun though for the moment it lasted
[22:35:34 CEST] <JEEBsv> clsid was merging our changes like within hours
[22:35:38 CEST] <grublet> i try to avoid windows and vfw/directshow if ican
[22:35:42 CEST] <JEEBsv> because literally no-one was hacking on it any more
[22:35:47 CEST] <grublet> good times on doom9 back then
[22:36:18 CEST] <JEEBsv> and then after a few months LAV Video/Splitter got good enough so you could completely leave ffdshow-tryouts to wither out
[22:36:44 CEST] <nopea> ok I got a Linux newbie build question... if I build ffmpeg, and decide later to reconfigure it, do I just simply re-build it?
[22:36:46 CEST] <JEEBsv> ...and now while I still maintain a directshow playback package, I mostly use mpv for my video >_>
[22:36:51 CEST] <grublet> yeah i remember transitioning to lav filter
[22:36:52 CEST] <JEEBsv> nopea: yes
[22:37:28 CEST] <grublet> i still use mplayer and ffplay sometimes
[22:37:49 CEST] <JEEBsv> mplayer is almost dead, mplayer2 died and mpv rose from mplayer2's ashes (the only non-uau devs)
[22:37:52 CEST] <nopea> thanks - I plan to install on our webserver, so I dont want to fuck it up :) I am testing on a mirrored dev server at the moment
[22:38:04 CEST] <grublet> JEEBsv: it's just a nostalgia thing for me
[22:38:10 CEST] <JEEBsv> well it's funny
[22:38:22 CEST] <JEEBsv> mpv actually now has one of the least retarded audio renderers
[22:38:24 CEST] <JEEBsv> for windows
[22:38:31 CEST] <JEEBsv> using modern audio APIs
[22:38:47 CEST] <JEEBsv> and the new opengl video renderer works fine, too. as long as your drivers handle opengl well enough
[22:38:51 CEST] <grublet> JEEBsv: you care to elaborate on that, or do you have some reading material?
[22:38:57 CEST] <grublet> the audio api thing i mean
[22:39:33 CEST] <JEEBsv> WASAPI basically, a friend of mine and a mingw-w64 guy developed an audio renderer using both of its modes
[22:39:41 CEST] <grublet> sick
[22:39:47 CEST] <grublet> I use WASAPI with Foobar all the time
[22:40:34 CEST] <JEEBsv> also mpv was the first thing that actually moved me by showing me that smooth video playback under wayland is possible
[22:41:54 CEST] <JEEBsv> anyways, mpv is the least retarded of the mplayer family as far as I can see
[22:41:56 CEST] <JEEBsv> and most active
[22:44:43 CEST] <grublet> I was reading about the audio stack in linux recently; needless to say i forgot everything i read
[22:46:01 CEST] <JEEBsv> grublet: anyways, 10bit lossy compression with AVC is most definitely useful. the amount of usefulness depends on the type of content, but is usually somewhere around 5~10%
[22:46:24 CEST] <grublet> JEEBsv: I only test live action and video game content; no animation
[22:46:31 CEST] <grublet> s/test/tested
[22:46:39 CEST] <grublet> if that matters
[22:46:52 CEST] <grublet> i also did 2-pass to rule out crf screw ups
[22:47:15 CEST] <JEEBsv> video games can have more effect, live action depends but probably on the smaller scale, animation can be helped quite a bit
[22:47:19 CEST] <JEEBsv> lol
[22:47:38 CEST] <JEEBsv> well, with x264 both are quite stable and that saves you the time of matching the bit rate :)
[22:48:21 CEST] <JEEBsv> with x265 it's so slow and I don't trust its 2pass at all
[22:48:35 CEST] <JEEBsv> so I run x265 at some CRF and then match up x264 with 2pass
[22:48:37 CEST] <grublet> JEEBsv: i meant more that from what I read the qp and crf scales were different; in some of my early stuff I erroneously set the same value for 8-bit and 10-bit encodes
[22:48:53 CEST] <JEEBsv> well it probably will leave somewhat different results anyways
[22:48:58 CEST] <grublet> i figured
[22:49:03 CEST] <JEEBsv> due to the algorithm seeing different things
[22:49:08 CEST] <grublet> yeah
[22:49:17 CEST] <JEEBsv> they did adjust the QP/CRF range later for it to be more similar, but still
[22:49:26 CEST] <grublet> my computers are too slow for x265 to be usable
[22:49:35 CEST] <grublet> shows how out of date i am then, hehe
[22:49:58 CEST] <JEEBsv> it's quite painful for me even with 90 second clips
[22:50:05 CEST] <JEEBsv> although it's kind of bearable
[22:50:13 CEST] <JEEBsv> with a few hours going into a single 90 second encode
[22:50:23 CEST] <JEEBsv> (I did do testing with HM ages ago)
[22:50:33 CEST] <JEEBsv> (that was on the level of frame per minute or so)
[22:51:04 CEST] <grublet> atm I'm on a thinkpad 500
[22:51:10 CEST] <grublet> my desktop is probably worse
[22:51:12 CEST] <grublet> and runs xp
[22:51:37 CEST] <grublet> sub SD resolution takes a while with -deadline realtime in vp8
[22:51:47 CEST] <grublet> er, -deadline best
[22:52:37 CEST] <JEEBsv> libvpx is crappy anyways :P
[22:52:59 CEST] <nopea> JEEBsv: soory one more question - I need to first build libfdk-aac then build ffmpeg with that lib enabled?
[22:53:08 CEST] <JEEBsv> yup
[22:53:11 CEST] <nopea> coolio
[22:54:34 CEST] <grublet> JEEBsv: it looks like MPEG-4 ASP / VC-1 to my eyes
[22:54:59 CEST] <JEEBsv> yes, although with some stuff nicked from AVC
[22:55:03 CEST] <JEEBsv> so AVC minus X
[22:55:04 CEST] <grublet> nopea: afaik libs should always be built before the programs which require them
[22:55:11 CEST] <JEEBsv> + not exactly well optimized implementation
[22:55:19 CEST] <JEEBsv> (both in speed as well as psychovisual)
[22:55:25 CEST] <grublet> I'll never forgive Blu-ray for allowing MPEG-2 and VC-1 as choices
[22:55:28 CEST] <nopea> grublet: thanks - I am new to the whole 'building' thing
[22:55:38 CEST] <grublet> nopea: i'm relatively new as well
[22:56:04 CEST] <nopea> the guid says I need Yasm e 1.3.0 - my Ubuntu installed an older version. Sigh
[22:56:16 CEST] <JEEBsv> 1.2 works fine
[22:56:31 CEST] <nopea> gave me 1.1 :)
[22:56:44 CEST] <JEEBsv> not sure about that, but if it builds it builds :P
[22:56:49 CEST] <nopea> lol
[22:57:06 CEST] <grublet> JEEBsv: any thoughts on Daala?
[22:57:15 CEST] <JEEBsv> too early to say anything, but the ideas are interesting
[22:57:23 CEST] <JEEBsv> it was nice to talk with derf at VDD '13
[22:57:41 CEST] <grublet> I just like saying "lapped transform"
[23:00:55 CEST] <llogan> nopea: yasm is relatively quick to compile if you do need a newer one
[23:01:16 CEST] <nopea> llogan: cheers
[23:01:52 CEST] <llogan> and i think the 1.3.0 requirement is a typo. should be 1.2 as JEEBsv mentioned
[23:01:55 CEST] <nopea> I tried to build libfdk-aac - according to the command sshould it not create a ffmpeg_source dir?
[23:02:18 CEST] <llogan> you make that directory just to put all of the source files in
[23:02:23 CEST] <JEEBsv> but recommending the latest version when building is of course right
[23:03:18 CEST] <nopea> llogan: thanks. There were no errors from the command, but I do not see the dir. I was under the impression it created it
[23:03:42 CEST] <llogan> the command is under "Get the Dependencies"
[23:04:01 CEST] <llogan> maybe that isn't the best location
[23:04:38 CEST] <nopea> llogan: DOH! I missed the first step
[23:06:28 CEST] <nopea> even then - it did not create ~/ffmpeg_sources
[23:06:46 CEST] <llogan> it may hang on the last command if you copy and paste. just hit enter
[23:08:05 CEST] <nopea> there ya go
[23:08:15 CEST] <nopea> you are correct, hung on the last command
[23:11:43 CEST] <nopea> I cannot get it to build
[23:12:00 CEST] <llogan> did you sacrifice a goat?
[23:13:12 CEST] <nopea> LOL - now I thought a cat would be enough
[23:14:39 CEST] Action: JEEBsv tries to hold himself on not doing a "a cat is fine too" joke
[23:15:29 CEST] <llogan> i once saw a man get a cat from the animal shelter, place it on the ground, open the car door, then tell it to get it. the cat looked at him and ran off. the guy looked around and drove away.
[23:15:37 CEST] <llogan> *get in
[23:17:53 CEST] <JEEBsv> > root
[23:17:54 CEST] <JEEBsv> pls
[23:18:09 CEST] <JEEBsv> also you have that path as an argument :P
[23:18:15 CEST] <JEEBsv> which of course leads to "unknown option"
[23:18:40 CEST] <JEEBsv> and unlike autoconf-based things most sane configure scripts will do nothing if they notice you tried to specify something that they have no idea about
[23:19:10 CEST] Action: llogan wonders why x265 went with cmake
[23:19:42 CEST] <nopea> feeling lost LOL
[23:20:04 CEST] <JEEBsv> llogan: because of free visual studio projects, d'uh
[23:20:23 CEST] <JEEBsv> and because it's made by whom it is made by
[23:21:33 CEST] <llogan> nopea: you need to remove that last "\". otherwise it will think it's part of your configure command
[23:21:57 CEST] <JEEBsv> (also seriously, never do all of that stuff as root. never)
[23:22:12 CEST] <nopea> JEEBsv: LOL - linux newbie
[23:22:32 CEST] <nopea> not sure if my other account on this server can do the build
[23:22:35 CEST] <JEEBsv> depending on your --prefix you might need to do `make install` elevated
[23:22:51 CEST] <JEEBsv> but even that can be worked around by just having your prefix in your home dir or whatever
[23:24:44 CEST] <llogan> nopea: you can use root to do any of the "sudo" commands in the guide if the account doesn't have super user permissions. you just need to install some packages from the repo. otherwise a normal user account can do the rest.
[23:25:29 CEST] <JEEBsv> and as I said, if your prefix in in, say, your $HOME, you don't need elevation at all :P
[23:25:46 CEST] <llogan> unless the machine does not have build-essential, etc
[23:26:40 CEST] <nopea> ok how can I test from my other account if I have the right privileges?
[23:26:53 CEST] <JEEBsv> llogan: in that case you wouldn't be able to build in any case
[23:27:17 CEST] <JEEBsv> (ok, you could hack around and extract various packages in your $HOME)
[23:27:22 CEST] <llogan> thus my previous statement about using root
[23:27:25 CEST] <JEEBsv> (but that's usually quite a bit of effort)
[23:27:34 CEST] <JEEBsv> (yes, I have done this on boxes I had no root on)
[23:27:58 CEST] <llogan> nopea: you could try something simple like "sudo apt-get update"
[23:28:03 CEST] <llogan> with normal account
[23:28:42 CEST] <nopea> thanks for you patience guys
[23:30:58 CEST] <seasc> i've tried to summmarize a good ffmpeg build, though i'm no expert, it did work a few times, and then it didnt (without changes)... anyway, you might want to have a alook at: https://github.com/sri-arjuna/vhs, and after installation you can run: vhs[.sh] build-ffmpeg
[23:31:46 CEST] <seasc> no warrenties or promisses, all at your own risk
[23:32:18 CEST] <nopea> do some of the static builds have x264?
[23:32:26 CEST] <llogan> all do AFAIK
[23:32:30 CEST] <seasc> +
[23:33:29 CEST] <nopea> ok - and how is the aac encoders that come with the static builds?
[23:33:36 CEST] <nopea> how are rather :)
[23:35:08 CEST] <kepstin-laptop> nopea, I suspect most static builds have ffmpeg's internal aac encoder enabled, which is beter than libvo_aacenc, at least.
[23:36:04 CEST] <nopea> thanks
[23:36:43 CEST] <seasc> oh shoot, scratch my saying, didnt insert all of the script functions to VHS yet, sorry
[23:36:52 CEST] <nopea> llogan: says my account is not in the sudoers list
[23:37:44 CEST] <pzich> do you have sudo access?
[23:38:10 CEST] <nopea> how do you add that - feeling like a Linux virgin here
[23:38:48 CEST] <nopea> I think I got it
[23:38:56 CEST] <pzich> your probably best off googling "sudo access <your flavor of linux>"
[23:39:39 CEST] <nopea> lol
[23:43:37 CEST] <nopea> dang - my other account's home folder is the website root, not sure if I want to run the build from there
[23:47:45 CEST] <JEEBsv> just adduser another user
[23:47:55 CEST] <JEEBsv> also you can get to root by su :P
[23:48:46 CEST] <seasc> usualy one can easily change the sudo rights with "su -c visudo"
[23:50:14 CEST] <nopea> JEEBsv: thanks - ok so su takes me to the root's home.
[23:50:24 CEST] <nopea> will that affect the build commands?
[23:50:48 CEST] <nopea> I assume ~ffmpeg_sources with then be in the root's home dir
[23:52:39 CEST] <JEEBsv> you will of course have to move where you were to do the installation if your prefix is only write'able to root
[23:58:52 CEST] <nopea> doing it one line at a time... so far no errors
[00:00:00 CEST] --- Tue Jun 2 2015
More information about the Ffmpeg-devel-irc
mailing list