[Ffmpeg-devel-irc] ffmpeg.log.20160714
burek
burek021 at gmail.com
Fri Jul 15 02:05:02 CEST 2016
[00:50:04 CEST] <fastpenguin> Hey, I can't figure out how to properly install ffmpeg on OS X. I downloaded the zip file here: http://www.ffmpegmac.net/ and I know it's not installed, but when I click on the ffmpeg it just opens the command line.
[01:28:03 CEST] <mccc> Hi, I'm trying to cross compile and install ffmpeg with alsa and fdk-aac plugins for Raspberry Pi.
[01:29:01 CEST] <mccc> I'm a bit new but I've been experimenting with both static and shared builds.
[01:29:54 CEST] <mccc> I'm having trouble compiling alsa as a shared library right now. What I'm doing is first building on my development environment (Debian) using cross compiling tools, and then copying to the Raspberry Pi to install.
[01:31:21 CEST] <mccc> Here are the commands I'm running to compile on each platform:
[01:31:22 CEST] <mccc> http://pastebin.com/RPSx96Mm
[01:31:49 CEST] <mccc> Right now on the Raspberry Pi, after running sudo make install, I get the following error:
[01:31:53 CEST] <mccc> control/.libs/libcontrol.a: member control/.libs/libcontrol.a(cards.o) in archive is not an object
[01:32:34 CEST] <mccc> Can someone point me in the right direction to diagnose this, or confirm that I'm going about cross compiling and installing the right way? Thank you.
[02:02:07 CEST] <nd> Hello, i wonder if ffserver is still worth using. I heared ppl talking about it beeing no longer supported. Anybody got sources/information for me?
[02:05:19 CEST] <c_14> https://ffmpeg.org/index.html#news
[02:06:09 CEST] <nd> ok now i feel stupid... thanks a lot
[02:15:26 CEST] <mccc> Hi, am I cross-compiling alsa for ffmpeg the right way? ./configure, make on my dev box, copy sources to Raspberry Pi, ./configure, sudo make install on the Raspberry Pi?
[06:08:03 CEST] <FFM> Hello
[06:08:29 CEST] <FFM> Anybody knows how encoding to LPCM on the ffmpeg?
[06:23:05 CEST] <SpaceManiac> Hi, I noticed that ffmpeg supports .xm format, but not FMOD's .oxm extension; does anyone know if there is an IP encumbrance or would a patch to add support be accepted?
[07:14:13 CEST] <mccc> Hi, am I cross-compiling alsa for ffmpeg the right way? ./configure, make on my dev box, copy sources to Raspberry Pi, ./configure, sudo make install on the Raspberry Pi?
[09:20:19 CEST] <bp0> is there a way to only sync the dependencies of a certain test instead of make fate-rsync ?
[09:20:32 CEST] <bp0> sorry, should be in devel
[10:56:44 CEST] <debianuser> mccc: if your raspberry pi includes build toolchain you can just build it there, without any crosscompiling, just copy ffmpeg sources to rpi and `./configure <your options> && make && sudo make install` there.
[13:01:04 CEST] <DelphiWorld> 'lo all
[13:01:18 CEST] <DelphiWorld> anyone yet have any sucsess on using qsv h.264 encoder?
[13:03:18 CEST] <BtbN> On Windows it should just work if you select it.
[13:03:30 CEST] <BtbN> On Linux, I'd recommend forgetting its entire existence.
[13:11:19 CEST] <DelphiWorld> why?
[13:28:46 CEST] <DelphiWorld> so i shouldn't dream for qsv on linux?
[14:11:26 CEST] <friki2015> what means "drop" in this context? "-timecode hh:mm:ssSEPff: Specify Timecode for writing. SEP is : for non drop timecode and ; (or .) for drop."
[15:18:55 CEST] <md2k> Hi All
[15:19:12 CEST] <md2k> cn anyone help me with -stream_loop option?
[15:20:26 CEST] <md2k> no matter what i do when last clip from list file (using concat) played and it is time to read 1st file again i have error: Error while filtering: Illegal seek
[15:24:38 CEST] <md2k> version of ffmpeg N-80901-gfebc862 (7:3.1.1~trusty)
[15:38:03 CEST] <Conder> hi, whats command to set video title in mkv? parameter -metadata title="xx" set name of whole mkv, i want just title of video stream
[15:51:22 CEST] <limbo> it is title, but it's the chapter title.
[17:04:55 CEST] <friki2015> -metadata:s:v:0 title="my first video"
[17:05:39 CEST] <friki2015> Conder: i think it should work -metadata:s:v:0 title="my first video"
[17:07:13 CEST] <Conder> i already edited it with mkvtoolnix, but anyway thanks, i'll use it next time
[18:31:11 CEST] <md2k> Hi guys, so anyone know if `-stream_loop` can work with `-f concat` functionality in ffmpeg? because i always getting `Illegal Seek` error
[19:07:47 CEST] <vade> is it expected for a CodecContext to change its time_base after the first call to avcodec_receive_frame ?
[19:40:04 CEST] Action: DelphiWorld is back
[19:40:09 CEST] <DelphiWorld> still fighting intel QSV...
[19:40:39 CEST] <DelphiWorld> someone got intel qsv encoding working on linux?
[19:41:03 CEST] <furq> isn't it recommended to use vaapi for that on *nix now
[19:41:34 CEST] <DelphiWorld> furq: i'm confused a lot with vaapi... and for a live stream isn't qsv faster ?
[19:41:45 CEST] <furq> no idea, i don't have an intel cpu that supports it
[19:42:11 CEST] <DelphiWorld> my ffmpeg is allready libva enabled, but it look like the cmdline is much complicated
[19:42:56 CEST] <furq> https://ffmpeg.org/pipermail/ffmpeg-user/2016-May/032153.html
[19:43:19 CEST] <DelphiWorld> i am still wondring how did some people got it to work
[19:44:51 CEST] <DelphiWorld> furq, i read that. and yay they sayd it's not pur hardware transcoding
[19:49:14 CEST] <kepstin> DelphiWorld: just use vaapi. It uses the same hardware encoder block as the libmfx stuff, and is a lot easier to get working
[19:49:48 CEST] <DelphiWorld> kepstin: but please please please. what's WRONG with libmfx?
[19:50:34 CEST] <kepstin> (partially) closed source, have to agree to an intel eula, latest versions drop support for older chips, and it's difficult to actually get working.
[19:50:57 CEST] <DelphiWorld> crap..., and intel documenting how to do it in ffmpeg!
[19:54:08 CEST] <DelphiWorld> kepstin: that's my current lock:
[19:54:10 CEST] <DelphiWorld> ffmpeg -vaapi_device /dev/dri/renderD128 -hwaccel vaapi -hwaccel_output_format vaapi -i B4.mp4 -vf 'format=nv12|vaapi,hwupload,scale_vaapi=w=1280:h=720:format=yuv420p,hwdownload' -c:v libx264 -acodec copy out.mp4
[19:54:29 CEST] <DelphiWorld> libva error: /opt/intel/mediasdk/lib64/iHD_drv_video.so init failed
[19:54:48 CEST] <kepstin> ... why is libva trying to use mediasdk stuff?
[19:55:08 CEST] <DelphiWorld> i have no idea, cause i used intel sdk to try to get qsv
[19:55:10 CEST] <kepstin> you should have the open-source driver stuff installed, it doesn't need mediasdk at all
[19:55:26 CEST] <DelphiWorld> ok, where to get it?
[19:55:37 CEST] <kepstin> i guess you have a partially installed/broken mediasdk that's interfering with the open source drivers :/
[19:55:50 CEST] <DelphiWorld> i dont even know how should i remove the existing, afraid to lock my system
[19:58:04 CEST] <furq> you ought to be able to remove anything from /opt without breaking your system
[19:58:15 CEST] <furq> emphasis on "ought to" because people can't be trusted
[19:59:33 CEST] <DelphiWorld> furq: should i remove the intel libva library?
[19:59:59 CEST] <furq> no idea
[20:00:01 CEST] <kepstin> if vaapi is loading a driver that's trying to load the mediasdk library, it's probably installed some stuff outside of /opt
[20:00:43 CEST] Action: DelphiWorld is lost, so.
[20:00:54 CEST] <kepstin> DelphiWorld: what does 'ls /usr/lib/dri' show? (probably best to pastebin it)
[20:01:34 CEST] <DelphiWorld> there's no such /usr/lib/dri, kepstin
[20:02:08 CEST] <furq> what distro
[20:02:12 CEST] <kepstin> hmm, could be system specific. iirc on debian it might be /usr/<arch string>/lib/dri?
[20:02:16 CEST] <DelphiWorld> ubuntu server
[20:02:20 CEST] <furq> /usr/lib/yourarch/dri
[20:03:17 CEST] <furq> presumably /usr/lib/x86_64-linux-gnu/dri
[20:03:44 CEST] <DelphiWorld> i am pbing it
[20:08:02 CEST] Action: DelphiWorld is locked with DNS issue... ;)
[20:10:42 CEST] <DelphiWorld> kepstin: will be back, restarting my dumb router
[20:15:46 CEST] <shincodex> find?
[20:16:16 CEST] <shincodex> maybe he link with it
[20:26:21 CEST] <JEEB> /win32
[20:32:56 CEST] <DelphiWorld> furq, kepstin: i'm back
[20:33:06 CEST] <DelphiWorld> pastebined: http://paste.ubuntu.com/19393656
[20:39:32 CEST] <DelphiWorld> fucking i7 not pretty usefull without QSV... crapy, intel!
[20:39:32 CEST] <DelphiWorld> model name : Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz
[20:40:13 CEST] <shincodex> amd is shit
[20:40:19 CEST] <shincodex> they just blew up tons of poor nerds machines
[20:40:22 CEST] <Fyr> ((=
[20:40:23 CEST] <shincodex> they robbed me of stocks
[20:40:27 CEST] <shincodex> You better love your intel
[20:40:35 CEST] <Fyr> NVIDIA rules.
[20:40:37 CEST] <shincodex> 0_0
[20:40:47 CEST] <shincodex> class action coming soon
[20:40:49 CEST] <DelphiWorld> Fyr: +++
[20:41:05 CEST] <DelphiWorld> intel making me crazy with there media sdk
[20:41:24 CEST] <DelphiWorld> is gpu transcoding anyy better thant that QSV shit?
[20:41:24 CEST] <shincodex> windows media?
[20:41:43 CEST] <DelphiWorld> shincodex: no, ffmpeg with Intel suposed QuickSync
[20:43:27 CEST] <shincodex> is that supposed to be something that helps sync audio, ass, video together
[20:43:53 CEST] <furq> what
[20:44:14 CEST] <DelphiWorld> check it furq, http://paste.ubuntu.com/19393656
[20:44:23 CEST] <furq> like i said, i've never used vaapi
[20:44:35 CEST] <DelphiWorld> ok, i'll wait for kepstin so
[20:47:03 CEST] <furq> https://packages.debian.org/jessie/i965-va-driver
[20:47:06 CEST] <furq> i assume you need that
[20:47:56 CEST] <DelphiWorld> furq: sadly allready there!
[20:49:27 CEST] <furq> http://packages.ubuntu.com/trusty/amd64/i965-va-driver/filelist
[20:49:31 CEST] <furq> i don't see that .so in your paste
[21:07:27 CEST] <DelphiWorld> how to get rid of that shitty intel sdk...
[21:17:56 CEST] <kepstin> hmm, that's weird. you should have a file 'i965_drv_video.so' if the vaapi driver is installed correctly
[21:18:17 CEST] <kepstin> i'm guessing that the intel mfx stuff must be loaded via the vdpau compatibility driver :/
[21:20:44 CEST] <kepstin> given that the command you gave as an example was using qsv to decode then x264 to encode, i'd expect a mild, but not particularly impressive speed increase by moving the decode off the cpu...
[21:20:52 CEST] <kepstin> eh, he's gone again
[21:28:01 CEST] <furq> DelphiWorld:
[21:28:02 CEST] <furq> 20:17:56 ( kepstin) hmm, that's weird. you should have a file 'i965_drv_video.so' if the vaapi driver is installed correctly
[21:28:05 CEST] <furq> 20:18:17 ( kepstin) i'm guessing that the intel mfx stuff must be loaded via the vdpau compatibility driver :/
[21:28:40 CEST] <DelphiWorld> thank furq
[21:28:45 CEST] <DelphiWorld> kepstin: how to use that vdpauN
[21:28:48 CEST] <DelphiWorld> vdpau ?
[21:28:59 CEST] <furq> do you even have that driver installed
[21:29:08 CEST] <DelphiWorld> i'll look
[21:29:09 CEST] <DelphiWorld> hold on
[21:29:15 CEST] <furq> it wasn't there in your pastesdfsd
[21:29:28 CEST] <furq> how hard is it to stay on irc
[21:32:13 CEST] <DelphiWorld> vdpau allready installed..., ding
[23:34:38 CEST] <mccc> @debianuser Thank you. I want to build on another VM for faster builds. I did get this working (my notes are here: http://pastebin.com/JpvK0EJP) but I still suspect I should be creating a deb package rather than running make and make install on separate machines. Is that true?
[23:36:57 CEST] <furq> just copy the ffmpeg binary to /usr/local/bin on the rpi
[23:37:40 CEST] <furq> you should also be able to just use libasound2-dev:armhf on the host machine
[23:38:02 CEST] <furq> https://wiki.debian.org/Multiarch
[23:38:31 CEST] <mccc> How about alsa? When I tried compiling alsa statically in to ffmpeg, it was missing alsa.conf. I am just copying the ffmpeg bin directory over.
[23:39:52 CEST] <furq> nvm i misread that
[23:40:48 CEST] <furq> afaik if you install libasound2-dev:armel and libasound2-data:armel on both boxes then it should work without having to compile alsa
[23:40:55 CEST] <furq> that's the whole point of multiarch
[23:42:43 CEST] <mccc> Okay, thank you, I'll try that now.
[00:00:00 CEST] --- Fri Jul 15 2016
More information about the Ffmpeg-devel-irc
mailing list