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

burek burek021 at gmail.com
Tue Mar 22 02:05:01 CET 2016


[00:06:06 CET] <courrier__> ffmpeg -f concat -i videos.txt -vcodec libx264 -filter:v "setpts=0.04*PTS" -filter:v hqdn3d -an out.mp4
[00:06:26 CET] <courrier__> It looks like setpts is ignored
[00:06:34 CET] <courrier__> it's normal speed
[00:06:56 CET] <courrier__> is there issues in combining filters perhaps?
[00:08:39 CET] <furq> courrier__: -filter:v "setpts=0.04*PTS,hqdn3d"
[00:10:32 CET] <courrier__> thx furq :)
[00:19:13 CET] <xochilpili> hi all, anyone with mencoder experience?
[00:19:23 CET] <xochilpili> im using mencoder to pass a file into a mkv output with subttiles. the issue that i have is that the video changes it's width, i have this "AVFrame.format is not set" in the output: i tried using -vf scale=720:480 but nothing happend, i still have this resolution frame
[00:19:30 CET] <xochilpili> can some one please explain me how can i preserve the original aspect?
[00:24:46 CET] <DHE> this is ffmpeg, not mplayer/mencoder
[08:08:37 CET] <ProfessorOptics> how do i output to multiple files following a naming order, gif01, gif02, gifo3, etc?
[08:09:29 CET] <furq> gif%02d.gif
[08:12:47 CET] <ProfessorOptics> its just outputting as gif%02d.gif thus not output the all frames. any suggestions?
[08:14:34 CET] <furq> oh i guess that doesn't work automatically with gif
[08:14:40 CET] <furq> -f image2 gif%02d.gif
[08:29:27 CET] <ProfessorOptics> thanks that worked
[08:30:07 CET] <ubitux> why would you do that?
[08:40:01 CET] <ubitux> ProfessorOptics ^
[12:08:28 CET] <pezet91> hello i have problem with avconv. When I tried to start stream video from pipe (video grabber), avconv can't start :/
[12:09:25 CET] <pezet91> cmd: ./stream /mnt/ux_0 0 | avconv -re -i - -f flv rtmp://localhost/live/0
[12:09:50 CET] <pezet91> it not work :(
[12:10:12 CET] <pezet91> can anybody help me?
[12:25:10 CET] <JEEB> pezet91: support for avconv goes to #libav
[12:26:14 CET] <pezet91> ok, thanks
[13:23:55 CET] <d-fens_> hi, can somebody please reproduce: ffmpeg  -i "overlaywithalpha.png" -i "1.mp4" -filter_complex " [1:v] setsar=sar=1/1 [sared];  [sared][0:v] overlay [overlay]" -y out.mp4 creates a correct alphablended video, BUT:ffmpeg  -i "overlaywithalpha.png" -i "1.mp4" -filter_complex " [1:v] setsar=sar=1/1 [sared];  [sared][0:v] overlay [overlay];[1:v][overlay] concat=n=2" -y out.mp4  creates a wrong alpha overlayed video ; somehow the concat filter
[13:23:56 CET] <d-fens_> causes that
[14:18:29 CET] <DEBIANIAN_> hi
[14:19:31 CET] <DEBIANIAN_> iam trying to stream an audio file using ffserver but i get this error when i send a request .
[14:19:55 CET] <DEBIANIAN_> Mon Mar 21 14:15:45 2016 Error writing output header for stream 'test1.ogg': Invalid data found when processing input
[14:19:56 CET] <DEBIANIAN_> Mon Mar 21 14:15:45 2016 141.105.162.250 - - [GET] "/test1.ogg HTTP/1.1" 200 68
[14:20:14 CET] Action: DEBIANIAN_ oops!
[14:53:50 CET] <ffmpegROOTinstal> hey everybody - I installed my FFmpeg as root in Centos 6.7 and, of course, am getting failures. Does anyone know how to change the PKG_CONFIG command properly so I can install it in /usr/local/bin/
[14:54:53 CET] <thebombzen> ffmpegROOTinstal: try building it from source. the autogenered configure/makefile will go to /usr/local/bin by default.
[14:55:23 CET] <thebombzen> the latest Git Master is better than any fixed version anyway. always use git master if possible
[14:56:01 CET] <ffmpegROOTinstal> thebombzen: I followed the compilation guide exactly, and now I found a readme telling me not to use $HOME in the path and change it, but diong so gives me ./configure No such file or directory
[14:56:41 CET] <thebombzen> !paste
[14:56:43 CET] <ffmpegROOTinstal> thebombzen: I also need additional libraries installed for my script, not sure how I would do that with the Git Master
[14:57:15 CET] <ffmpegROOTinstal> http://pastebin.com/iEZ3HCeN
[14:58:05 CET] <thebombzen> why are you compiling it as root?
[14:58:06 CET] <thebombzen> don't do that
[14:58:26 CET] <thebombzen> that causes all kinds of linking problems. kinda like the ones you're experiencing
[14:58:56 CET] <ffmpegROOTinstal> because I'm a total newb
[14:59:31 CET] <thebombzen> ffmpegROOTinstal: linux 101: compile things from source as your normal user. then switch to root before running "make install"
[14:59:45 CET] <thebombzen> in general don't do things as root if you can avoid it. because it messes stuff up.
[15:00:49 CET] <ffmpegROOTinstal> ok, so do I have to login as new user and go through compilation guide again?
[15:01:02 CET] <ffmpegROOTinstal> just created a new user
[15:01:04 CET] <thebombzen> no, you use your normal user account. the one without root privileges
[15:01:18 CET] <thebombzen> there's no reason to create a new user.
[15:01:28 CET] <ffmpegROOTinstal> the only account I have on here is root
[15:01:35 CET] <ffmpegROOTinstal> its a new distro deploy
[15:02:05 CET] <ffmpegROOTinstal> I know, you're probably wondering why I'm so stupid lol
[15:02:29 CET] <thebombzen> no, I'm wondering why you think you don't have a user account. When you set up your CentOS box you should have created a user... right?
[15:02:38 CET] <ffmpegROOTinstal> no, only root
[15:02:54 CET] <ffmpegROOTinstal> but I just created one
[15:03:25 CET] <ffmpegROOTinstal> do I need to assign any priviledges?
[15:04:19 CET] <thebombzen> if you're brand new to Linux I'd recommend a different distribution. CentOS is not targeted at End Users
[15:04:39 CET] <ffmpegROOTinstal> I know! It's freaking crazy
[15:04:47 CET] <ffmpegROOTinstal> however, I wrote a script in it a couple of years ago
[15:04:55 CET] <ffmpegROOTinstal> its very lucrative and it took a long time to run
[15:05:00 CET] <ffmpegROOTinstal> I'm willing to pay for your help right now
[15:05:04 CET] <ffmpegROOTinstal> not looking for handouts
[15:05:18 CET] <ffmpegROOTinstal> if you have a paypal I can send
[15:05:25 CET] <thebombzen> ...
[15:05:37 CET] <ffmpegROOTinstal> wasn't trying to insult you?
[15:05:42 CET] <thebombzen> if you wrote a script that runs on centos then it should run on other distributions
[15:05:56 CET] <ffmpegROOTinstal> yep, but I installed ffmpeg correctly last time
[15:06:09 CET] <ffmpegROOTinstal> so this time I screwed up and am looking for guidance on how to unscrew it up
[15:06:35 CET] <thebombzen> centos is an enterprise distribution. it's designed to be used for servers and that kind of thing. please, do yourself a favor and get a beginners' distribution
[15:06:50 CET] <ffmpegROOTinstal> once FFmpeg is installed I don't have to use it
[15:07:24 CET] <ffmpegROOTinstal> Anyone out there want a consulting gig on this problem? I installed FFmpeg in /root/ with root@ user and need someone to help me get it in /usr/local/bin/
[15:07:33 CET] <thebombzen> either way, you clearly didn't read the compliation guide. If you had read it, you'd know that --prefix is used with cross compiles.
[15:08:27 CET] <ffmpegROOTinstal> like I said, I screwed up
[15:08:37 CET] <ffmpegROOTinstal> oh
[15:08:47 CET] <ffmpegROOTinstal> so can you help me unscrew it up?
[15:09:34 CET] <thebombzen> yes. here's my first bit of advice. when you go to the internet and say you've read the manual, please read the manual if you're going to say that.
[15:09:46 CET] <ffmpegROOTinstal> Ok, I read the manual.
[15:09:55 CET] <ffmpegROOTinstal> Every single line of the compilation guide
[15:10:14 CET] <ffmpegROOTinstal> That doesn't mean I absorbed and was able to digest everything
[15:10:30 CET] <ffmpegROOTinstal> I don't know how many times I can take the blame for this problem - it's my fault
[15:14:28 CET] <thebombzen> here's a clue
[15:14:32 CET] <thebombzen> ./configure
[15:14:33 CET] <thebombzen> make
[15:14:35 CET] <thebombzen> make install
[15:15:52 CET] <ffmpegROOTinstal> same error
[15:26:39 CET] <satinder___> how we can use reload tag for drawtext please any one can give any example
[15:26:55 CET] <satinder___> please humble request
[15:28:01 CET] <J_Darnley> RTFM
[15:28:23 CET] <J_Darnley> reload
[15:28:23 CET] <J_Darnley> If set to 1, the textfile will be reloaded before each frame. Be sure to update it atomically, or it may be read partially, or even fail.
[15:30:17 CET] <satinder___> J_Darnley : Respected Sir , I already read this line but I not able to find a suitable example , I mean I am not able to use it
[15:30:36 CET] <J_Darnley> Set it to 1 then write to the file!
[15:30:49 CET] <J_Darnley> What don't you get about that?
[15:31:04 CET] <satinder___> Please give any example , I want overlay a variable which will change in every second
[15:31:17 CET] <satinder___> so I want I can do for that
[15:31:22 CET] <J_Darnley> Then you need to write to the file every second.
[15:31:28 CET] <satinder___> ok
[15:31:33 CET] <satinder___> you mean textfile
[15:37:22 CET] <satinder___> sir thanks for giving hint
[15:37:27 CET] <satinder___> I will try it
[15:48:54 CET] <satinder___> J_Darnley : Thanks Sir that working for me perfectly
[15:49:37 CET] <satinder___> Please you can give some Idea how we can overlay new line
[15:50:35 CET] <satinder___> I want more than two lines overlay
[15:56:29 CET] <Gp1> Hey, I got a question, might not be entirely relatef t
[15:57:56 CET] <Gp1> related to ffmpeg, I got a video codec as .ax file, i understand its a part of directshow graph, can i incorporate it in ffmpeg?
[15:58:44 CET] <durandal_170> only if you RE it
[15:59:04 CET] <durandal_170> what's codec name?
[15:59:56 CET] <satinder___> durandal_170 : sir I happy see you again , please read my above question sir give some opinion
[16:00:33 CET] <durandal_170> I'm paid per hour
[16:00:55 CET] <Gp1> Elecard
[16:01:17 CET] <satinder___> :(
[16:03:52 CET] <satinder___> please help
[16:04:53 CET] <J_Darnley> What was your question?  How do you use a new line?
[16:05:07 CET] <J_Darnley> By having a new line in the text file.
[16:06:56 CET] <durandal_170> Gp1: thats company name
[16:09:10 CET] <Gp1> Yeah, the codec itself is eavcdec_16k.ax
[16:23:47 CET] <Gp1> Durandal_170?
[16:24:53 CET] <durandal_170> Gp1: is it for AVC?
[16:25:07 CET] <Gp1> Yes
[16:25:53 CET] <durandal_170> as I already said its not possible
[16:25:54 CET] <satinder___> J_Darnley : Sir I want new line in textfile ,
[16:26:04 CET] <satinder___> Now I did it sir
[16:26:14 CET] <satinder___> only because of you
[16:26:18 CET] <satinder___> thanks
[16:31:00 CET] <satinder___> J_Darnley : I use echo command in system() call for write data in textfile , Is that right aproch ??
[17:20:12 CET] <c_14> no, that's not atomic
[17:20:15 CET] <c_14> use rename
[17:20:34 CET] <c_14> i.e. write the new text to a new file and rename it over the old one
[19:18:13 CET] <thebombzen> <_< when people bite off more than they can chew. >my bash script don't work. >do you know bash. >no should i lern it
[19:36:06 CET] <llogan> thebombzen: i assume "doesn't work" was the only so-called error message supplied instead of showing the script and actual console output.
[19:38:10 CET] <thebombzen> yep. no description of what it was supposed to do and what it did instead.
[19:38:42 CET] <thebombzen> when you start developing your own stuff your bug reports to other projects tend to get much better
[19:43:37 CET] <rrva> how can I add a adaptation field with discontinuity indicator in an existing mpeg-ts file?
[19:52:47 CET] <nadermx> Does the -bufsize option work when converting to mp3?  Or is that only for video.
[19:53:35 CET] <JEEB> it works with whatever that supports that option
[19:53:42 CET] <JEEB> most probably LAME doesn\t
[19:56:06 CET] <nadermx> Is LAME the best option for encoding to MP3?
[19:56:36 CET] <JEEB> yes
[19:56:45 CET] <JEEB> also I think if you set a bit rate it will encode in CBR mode anyways
[19:56:50 CET] <JEEB> not much leeway for any bufsize
[19:56:51 CET] <nadermx> I keep running into issues where when I have a input url that is over 30 or 40 mins it cuts out the song
[19:57:28 CET] <nadermx> Been trying to figure out how to do fix it, but can't seem to make any progress
[19:59:48 CET] <jookiyaya> does ffmpeg support  -input  that is  DVD/Bluray instead of single file
[20:15:01 CET] <llogan> jookiyaya: there is this: http://ffmpeg.org/ffmpeg-protocols.html#bluray
[20:15:07 CET] <llogan> don't know anything about it though
[20:15:57 CET] <RobertKm> Can anyone tell me how to how to use ffmpeg zoom pan in x11grab
[20:16:15 CET] <llogan> jookiyaya: requires ffmpeg with --enable-libbluray
[20:16:44 CET] <jookiyaya> llogan is it enabled for normal build
[20:17:23 CET] <llogan> i don't understand what you mean
[20:19:05 CET] <jookiyaya> llogan is it enabled in this:   https://ffmpeg.zeranoe.com/builds/win64/static/ffmpeg-3.0-win64-static.7z
[20:20:32 CET] <llogan> run it. look for --enable-libblueay in the output
[20:21:27 CET] <llogan> *libbluray
[20:21:49 CET] <jookiyaya> Unrecognized option '-enable-libbluray'.
[20:22:04 CET] <llogan> no. run just "ffmpeg" then look at output from command.
[20:22:47 CET] <jookiyaya> yes it's there
[20:23:15 CET] <llogan> then it should support the protocol that i linked to.
[20:23:25 CET] <jookiyaya> ok thanks
[20:23:35 CET] <llogan> however, i don't actually know what the protocol does
[20:23:55 CET] <llogan> and i doubt it works on anything encryted
[20:24:10 CET] <jookiyaya> what about dvd then?
[20:24:34 CET] <jookiyaya> which lib is for dvd
[20:24:59 CET] <llogan> ffmpeg has no dvd input support, but it can decode unencrypted vob files
[20:25:25 CET] <jookiyaya> wow really?
[20:25:36 CET] <jookiyaya> it has bluray support but no dvd support
[20:25:49 CET] <llogan> (contrary to what apple thinks who is apparently rejecting some apps that use ffmpeg because they believe ffmpeg can decode encrypted shit)
[20:26:42 CET] <kepstin> well, ffmpeg can decode some encrypted stuff (certain streaming protocols mostly) - if you provide it with keys that you've gotten from some external source.
[20:27:00 CET] <llogan> i was referring to dvd specifically
[20:27:04 CET] <jookiyaya> why can't ffmpeg support dvd ?
[20:27:19 CET] <kepstin> but really, a libdvd input to ffmpeg would probably be a useful and reasonable addition to ffmpeg
[20:27:28 CET] <kepstin> libdvdnav/libdvdread
[20:27:42 CET] <jookiyaya> then why isn't it already added?
[20:28:03 CET] <llogan> nobody submitted a patch to do so
[20:28:13 CET] <llogan> as far as I know
[20:28:37 CET] <jookiyaya> kepstin  does libdvdnav/libdvdread  support encrypted dvd or  non-ecrypted only?
[20:29:08 CET] <kepstin> jookiyaya: by themselves non-encrypted, but you can optionally build them with libdvdcss support to crack encrypted disks
[20:29:45 CET] <jookiyaya> what about libbluray
[20:32:18 CET] <kepstin> libbluray can use libaacs or libbdplus, i think, which are able to decrypt blurays if you provide keys that you've obtained... somehow else (it can't do it on its own - it's not like dvd where the encryption has trivial to break weaknesses)
[20:36:11 CET] <Carl__> could anyone tell me what this error means? http://pastebin.com/HgHrjVkH
[20:36:24 CET] <jookiyaya> how come libdvdcss does not key file but  libaacs does
[20:37:21 CET] <c_14> because dvd encryption is trivial to break
[20:37:48 CET] <kepstin> libdvdcss doesn't need keys because it uses weaknesses in dvd encryption to break it (in some cases it even brute-forces keys, which can take only a few seconds on modern computers)
[20:38:14 CET] <llogan> Carl__: is that from ffmpeg?
[20:38:41 CET] <jookiyaya> how long does it take to brute force aacs keys
[20:38:48 CET] <Carl__> yes
[20:39:34 CET] <Carl__> ret = avformat_write_header( outContext, NULL );     if (ret != 0) {         av_log( NULL, AV_LOG_ERROR, "Failed to connect to RTSP server for '%s'.\n", url );         goto end;     }
[20:40:40 CET] <kepstin> jookiyaya: it uses 128bit aes keys, do the math yourself :/
[20:41:18 CET] <jookiyaya> i noticed  KEYDB.cfg  has like list of all the bluray titles
[20:41:19 CET] <kepstin> jookiyaya: pretty much all existing known keys are stolen or extracted from memory images of legally licensed players, not brute-forced.
[20:41:51 CET] <jookiyaya> kepstin i see
[20:42:12 CET] <jookiyaya> so if you have a bluray title that is not listed in keydb.cfg, then it won't work
[20:42:59 CET] <jookiyaya> ?
[20:43:10 CET] <kepstin> and most newer disks also use bd+ protection to do some scrambling in addition to the aacs
[20:43:42 CET] <kepstin> and libbdplus only supports some older versions of that - and requires some additional key files and player memory images too, I think.
[20:44:11 CET] <jookiyaya> i came across a bluray that cannot be played
[20:44:26 CET] <jookiyaya> even with keydb.cfg/liaacs.dll
[20:44:28 CET] <klaxa> i came across a bluray that i could play
[20:44:37 CET] <klaxa> it's the only one that worked
[20:44:41 CET] <kepstin> klaxa: wow, i'm impressed. those are pretty rare ;)
[20:45:00 CET] <klaxa> took me two days or something, hadn't heard of any bluray drm before that
[20:45:18 CET] <jookiyaya> kepstin  why is that rare
[20:45:49 CET] <kepstin> of course, if you actually get past the encryption of the bd, then the files on it are all just plain mpeg-ts which you can use as input to ffmpeg directly
[20:45:54 CET] <klaxa> only worked with one disc i have, the other two i tried didn't
[20:46:47 CET] <kepstin> most of the disks that are supported by the open-source libraries and have keys available are fairly old. if you just pick up any new disk at a store, chances are it's probably not going to work.
[20:47:57 CET] <Carl__> anyone?
[20:47:59 CET] <jookiyaya> then how does player with non-opensource  able to playback bluray
[20:50:11 CET] <kepstin> jookiyaya: ask the people who make the player
[20:50:17 CET] <kepstin> (hint: they won't tell you)
[20:50:51 CET] <jookiyaya> why can't libbluray use same method that  regular bluray player use
[20:51:39 CET] <kepstin> jookiyaya: because doing it "the proper way" requires having a secret key that you have to keep secret
[20:51:39 CET] <klaxa> because bluray player manufacturers pay good money for licenses
[20:52:14 CET] <klaxa> isn't it great how you can make money at every step in the chain? :)
[20:54:00 CET] <kepstin> a lot of it actually relies on the firmware of the drive itself - the drive reads every disk inserted and updates the allowed/blacklisted player keys with info from the disk. The drive is also responsible for authenticating the player software and providing some key material off a hidden section of the disk.
[20:54:33 CET] <kepstin> it's interesting, because inserting a newly purchased disk can actually cause your bluray player to stop working on all disks until you get an update with a new key
[20:55:24 CET] <jookiyaya> are you saying only online bluray players work properly
[20:55:57 CET] <jookiyaya> what if you have don't connect internet to bluray player
[20:56:02 CET] <klaxa> with the information kepstin just provided i would believe that no bluray player works "properly"
[20:56:23 CET] <kepstin> only blu-ray players with an internet connection so they can receive firmware updates over the course of their life will be able to keep operating, yes.
[20:56:48 CET] <klaxa> or the company decides to become evil and blocks all blurays for all time
[20:56:53 CET] <kepstin> (I know that some models of a few older players that are basically useless now, since the manufacturer stopped releasing firmware updates for them)
[20:57:24 CET] <jookiyaya> if that is true, then there would a be a lot of complaints
[20:57:28 CET] <jookiyaya> not everybody has internet
[20:58:09 CET] <jookiyaya> i know people that as no  cable/internet and just watch dvd/bluray
[20:58:32 CET] <kepstin> i'm pretty sure there are a lot of complaints :)
[20:58:54 CET] <kepstin> in some cases, you might be able to take a player back to a store for "servicing" and they'll update the fw for you
[20:59:39 CET] <jookiyaya> i don't understand why a bluray player has to be updated to work properly?   doesn't blruay have a standard
[21:00:54 CET] <kepstin> the standard includes provisions for blacklisting stolen player keys and revising processing key versions, and requires that players have support for updating firmware.
[21:01:14 CET] <kepstin> and there's actually been several standards adding new copy protection features after the original standard
[21:01:20 CET] <kepstin> BD+ in particular
[21:02:46 CET] <jookiyaya> at least not all bluray has bd+
[23:12:25 CET] <blue_misfit> hey guys, what's involved in getting multithreaded decoding out of libavcodec?
[23:17:36 CET] <durandal_1707> blue_misfit: it should be auto enabled
[23:18:10 CET] <blue_misfit> durandal_1707, thanks - that's what I thought
[23:18:55 CET] <durandal_1707> there are threads options
[23:28:14 CET] <kepstin> the threads options are mostly useful to reduce threads if you're running multiple things on one system.
[00:00:00 CET] --- Tue Mar 22 2016


More information about the Ffmpeg-devel-irc mailing list