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

burek burek021 at gmail.com
Tue Mar 31 02:05:01 CEST 2015


[03:43:36 CEST] <JamJams> I think I found a bug with ffmpeg, if you pipe in raw video. I've found the last x frames wont have the filters applied correctly.
[03:43:44 CEST] <JamJams> The last like 3 or 5 frames
[03:43:54 CEST] <JamJams> I'm using fieldmatch and decimate
[03:44:17 CEST] <JamJams> Is there a flag I should be setting, or is this actually an issue with ffmpeg?
[04:11:06 CEST] <buu> Hello nice people, I am a poor soul in search of answers. I've been trying to compile arm mplayer, which automatically checks out ffmpeg to build against. However no matter what arguments I pass to configure I get errors like this "libavcodec/arm/jrevdct_arm.S:369: Error: non-constant expression in ".if" statement"; however ffmpeg compiles fine in arm mode by itself. I realize that this is not in fact a ffmpeg problem, but I'm slowly ...
[04:11:12 CEST] <buu> ... running out of places to ask, so..
[06:08:32 CEST] <praj> hi, i'm using libavformat, libavcodec and libavdevice to record the screen on os x and stream it over http. is this the right place to ask a few questions about some memory leaks i've been facing?
[06:10:18 CEST] <praj> so i read each frame using av_Read_frame,decode it,  scale it using libswscale from uyvy422 to yuv420p and then encode it to H264.
[06:11:01 CEST] <praj> I'm opening a dynamic buffer on my output AVFormatContext->pb using avid_open_dyn_buf
[06:11:31 CEST] <praj> i can post my code if anyone's inclined to look at it?
[06:11:59 CEST] <buu> I think this channel is home of the dead
[06:12:12 CEST] <buu> A ghost ship sailing along eternal undersea currents.
[06:12:38 CEST] <praj> LOOOOL
[06:12:59 CEST] <c_14> Depends on the time and the problem. praj might be better served on the libav-users ml and buu I have no idea, might just have to wait and hope.
[06:13:29 CEST] <buu> c_14: The fact that ffmpeg compiles fine by itself really irritates me.
[06:14:38 CEST] <c_14> Do you have the list of your commands and complete output?
[06:14:44 CEST] <c_14> Might be helpful
[06:15:15 CEST] <buu> Like the complete make output?
[06:15:49 CEST] <c_14> List of commands and last 100 or so lines of make maybe.
[06:16:37 CEST] <praj> buu i've dealt with compiling ffmpeg for various platforms etc. maybe i can help? whats your issue?
[06:16:38 CEST] <buu> http://paste.ubuntu.com/10705136/
[06:17:33 CEST] <buu> How would I tell what AS is set to?
[06:18:30 CEST] <buu>   28 AS      = arm-linux-gnueabihf-gcc
[06:19:42 CEST] <buu> Something is being real dumb someplace.
[06:20:31 CEST] <buu> um
[06:25:41 CEST] <c_14> buu: no clue, you might want to check where HAVE_AS_OBJECT_ARCH is being set/supposed to be set
[06:26:35 CEST] <praj> hmm if anyone wants to look, my code s here: http://pastebin.com/uvuv7HYm
[06:28:11 CEST] <buu> c_14: Yeah..
[06:28:19 CEST] <buu> c_14: I'm checking the cflag differences right now
[06:29:59 CEST] <buu> c_14: wtf
[06:31:22 CEST] <buu> I'm so very confused.
[06:32:51 CEST] <buu> How did this ever work?
[06:36:09 CEST] <buu> praj: Have you seen  585 !CONFIG_OPENCL=yes ?
[06:36:20 CEST] <buu> Is that a negation of a declaration?
[06:39:12 CEST] <buu> How are make variables passed to gcc?
[06:39:51 CEST] <praj> which file are you looking at?
[06:40:02 CEST] <praj> is it libapvcodec's makefile?
[06:50:20 CEST] <buu> Well, its the config.mak
[06:50:40 CEST] <buu> praj: It seems like mplayer is not defining a bunch of things ffmpeg wants
[06:51:23 CEST] <buu> Now I'm getting stuff like libavdevice/alldevices.c:34:13: error: 'CONFIG_LIBCDIO_INDEV' undeclared (first use in this function)
[06:52:14 CEST] <buu> I don't get how that throws an error?
[06:56:17 CEST] <praj> btw thats not a declaration negation
[06:56:33 CEST] <praj> i think its a preprocessor directive for nmake
[06:56:40 CEST] <praj> are you using visual studio?
[06:56:52 CEST] <buu> Er, no... gcc
[06:58:48 CEST] <buu> OH
[06:58:52 CEST] <buu> I got it
[06:58:53 CEST] <praj> http://fpce9.fizica.unibuc.ro/cpp/about_makefiles.htm
[06:59:10 CEST] <praj> cmd + f "exclamation"
[06:59:28 CEST] <buu> I was looking in the wrong spot
[07:01:50 CEST] <buu> I don't get how this ever worked
[07:19:21 CEST] <buu> Well, I'm closer
[07:30:23 CEST] <amitlogic> how to register my filter with ffmpeg
[07:53:27 CEST] <buu> Well, that seems successful
[07:53:37 CEST] <buu> Solution: delete mplayer's attempts to configure ffmpeg
[08:03:30 CEST] <praj> how'd u do that
[08:06:22 CEST] <buu> As far as I can tell mplayer attempts to generate a config.h and a config.mak then tell ffmpeg to use those files instead
[08:06:40 CEST] <buu> So I just ran mplayer's config then ran ffmpeg's config and overwrote the mplayer files with the ffmpeg files
[08:55:30 CEST] <praj> no one wants tohelp on the #libav channel because they say i'm using ffmpeg
[09:12:29 CEST] <buu> =[
[11:24:14 CEST] <tumagonx> I'm a bit confused by numbers of internal codecs which ffmpeg still offer external codecs support. Do I  need these externals ? libvorbis, libutvideo, libtwolame->mp2, libopenjpeg->jpeg2000,libvo_aacenc->aac
[11:25:53 CEST] <JEEBsv> vorbis if you plan to encode vorbis, libutvideo if you need the 10bit Ut Video encoding and decoding (the lavc decoder and encoder IIRC don't support it yet), twolame, openjpeg and aacenc for encoding only of those formats
[11:26:16 CEST] <JEEBsv> although for aac you might as well apply the patch on trac and use the improved internal lavc encoder
[11:26:34 CEST] <JEEBsv> most external libraries are only needed if you want to encode to that format
[11:26:40 CEST] <JEEBsv> decoding is usually handled internally
[11:26:40 CEST] <Mavrik> is it already better than FDK?
[11:27:02 CEST] <JEEBsv> dunno, but it is distributable and better tahn vo-aacenc for sure
[11:27:18 CEST] <tumagonx> AFAIK those listed are duplcate of  both decoder and ecoders
[11:27:20 CEST] <JEEBsv> also one probably wants libdcadec
[11:28:15 CEST] <JEEBsv> tumagonx: mostly theoretical I'd say :P the only thing that can be useful for something is libutvideo, which supports the 10bit mode (me or dae will implement it in the lavc thing sooner or later)
[11:28:45 CEST] <JEEBsv> libdcadec is right now the only decoder library that I'd probably build with
[11:28:57 CEST] <JEEBsv> as it supports the lossless extensions of DTS
[11:30:18 CEST] <tumagonx> ok thanks. what about vorbis internal encoder, is it bad? does it support very low bitrates 32kbps
[11:31:22 CEST] <JEEBsv> it is probably the best example of "we should be not try to rebuild everything ourselves"
[11:31:22 CEST] <durandal_1707> Do not use it
[11:31:41 CEST] <JEEBsv> it was left alone after barely being made, and nobody should ever use it
[11:31:49 CEST] <tumagonx> oh ok :D
[11:32:03 CEST] <JEEBsv> so if you encode vorbis, then you need libvorbis
[11:59:23 CEST] <claz> hey, i've like to remux an mp4 file but keep the same time base, i've tried setting the ostream.time_base to the input time_base before write_header but for some reason write_header doesn't take the hint
[11:59:30 CEST] <claz> how can i persuade it to use my time_base?
[12:14:37 CEST] <daszorz> i can't seem to find an example of converting a blu-ray rip (mkv) to dvd format suitable for burning
[12:17:59 CEST] <buu> How are you burning it?
[12:26:11 CEST] <daszorz> I haven't got to that stage yet
[13:21:44 CEST] <Infiltrator> c_14: Sorry, not sure whether I said thanks before.  Thanks for the help.
[14:04:33 CEST] <Infiltrator> So, I suspected that it was the disk (SMART reported errors and bad sectors), so I'm going to replace it.  In the meantime, I moved the files to a different disk and tried again; but it froze up again, this time with just 0.4% wa.  I wasn't running an strace on it this time.  It still froze up even though I kill KILLed it.
[14:05:23 CEST] <Infiltrator> It was at 100.4% CPU (4 cores, so 100% on one core + a little on other(s)?) according to top.
[14:05:55 CEST] <Infiltrator> The above is about ffmpeg converting an h265 to an h264.
[14:06:23 CEST] <Infiltrator> I'll run it with strace later tonight if I get the chance; otherwise tomorrow.
[14:09:11 CEST] <Infiltrator> s/kill KILL/kill -KILL/
[14:39:24 CEST] <buu> If things are hanging around after a SIGTERM its almost always disk issues
[14:39:30 CEST] <buu> Pesky hardware.
[14:41:19 CEST] <Infiltrator> Butbut... different disk...  :(
[14:45:04 CEST] Action: buu shrugs
[14:45:19 CEST] <buu> I had that issue when I replaced a disk, turned out to be a bad cable =]
[14:46:35 CEST] <Infiltrator> Yeah; but these two disks are on different controllers; and it only happens when converting with ffmpeg.
[14:46:46 CEST] <Infiltrator> Admittedly, I haven't tried libav yet.
[14:46:51 CEST] Action: Infiltrator puts on flame-proof suit.
[14:54:01 CEST] <buu> Infiltrator: How long does it live after SIGTERM?
[14:55:05 CEST] <Infiltrator> buu: Forever, as far I can tell.
[14:55:16 CEST] <Infiltrator> This time it didn't even zombie out.  (It did the last times.)
[15:02:02 CEST] <buu> uh
[15:02:17 CEST] <buu> What happens if you connect it to strace?
[15:02:48 CEST] <Infiltrator> I can't afford for it to freeze right now (in the middle of something), but I'll try it with strace later.
[15:02:57 CEST] <buu> oh
[15:03:01 CEST] <buu> I thought it was frozen
[15:03:04 CEST] <Infiltrator> Last time I tried it (on the suspect disk) it froze at write().
[15:03:10 CEST] <Infiltrator> It was.  Had to REISUB it.
[15:03:19 CEST] <buu> o.o
[16:01:57 CEST] <browndawg> is there a lossless mode for x265?
[16:02:32 CEST] <browndawg> I'm on 2.6.1 on linux mint.https://pastee.org/3dyfh
[16:52:25 CEST] <mealstrom> hi guys. can you help me to understand this ffmpeg/libaformat/segmet.c:   seg->cur_entry.index = seg->segment_idx + seg->segment_idx_wrap*seg->segment_idx_wrap_nb;  #line 782
[16:53:48 CEST] <mealstrom> is there any formula to calculate index?
[17:20:56 CEST] <electronrotoscop> daszorz: i can send you an example command line. is it 23.98fps?
[17:21:10 CEST] <QuakePhil9000> How easy/possible is it to create a visual transition between videos using ffmpeg?
[17:27:27 CEST] <electronrotoscop> for 23.98 bluray rip to ntsc dvd I use something like ffmpeg.exe -i "infile.mkv" -map 0:0 -pix_fmt yuv420p -sws_flags lanczos -s 720x480 -c:v mpeg2video -pix_fmt yuv420p -r 23.976 -g 12 -b:v 7500k -maxrate 9000k -minrate 0 -bufsize 1835008 -an "outfile_video.m2v" -map 0:1 -vn -c:a ac3 -ar 48k -b:a 448k "outfile_audio.ac3" (this assumes 0:0 is the video you want and 0:1 is the audio you want)
[17:27:55 CEST] <electronrotoscop> then you have to use DGpulldown to add pulldown flags until someone does https://trac.ffmpeg.org/ticket/2602
[17:29:15 CEST] <electronrotoscop> I'm assuming a second pass of the mpeg2 would improve quality but I don't actually know how to do that yet, maybe someone else can help with that
[18:49:43 CEST] <hid> hi
[18:50:16 CEST] <hid> how do you encode only one pic ?
[18:50:45 CEST] <hid> I want to test different bitrates to see the best quality/size ratio
[18:50:57 CEST] <hid> i'll use x264
[18:58:15 CEST] <hypfer> hi everyone
[18:58:49 CEST] <hypfer> I have an insanely corrupted video file.. it doesn't start with the necessary headers and it has parts of other files inside it (according to strings)
[18:59:19 CEST] <hypfer> any way to fix that so I can watch what is left. I know that it's a h264 video
[18:59:52 CEST] <hypfer> forcing that video codec results in could not find codec parameters
[19:02:25 CEST] <hypfer> opening that file in a hex editor.. oh well
[19:02:26 CEST] <hypfer> Provides: x-window-manINice\Y1:1.0.0\fsm(@\xterm | urxvt | \Uffffffff
[19:02:30 CEST] <hypfer> right in the middle
[19:13:49 CEST] <prelude2004c> hey everyone... i have "
[19:13:51 CEST] <prelude2004c> ffmpeg version 2.4.git Copyright (c) 2000-2014 the FFmpeg developers
[19:13:51 CEST] <prelude2004c>   built on Mar 30 2015 12:19:14 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-11)
[19:13:51 CEST] <prelude2004c>   configuration: --prefix=/root/ffmpeg_build --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --extra-libs=-ldl --enable-gpl --enable-nonfree --enable-version3 --enable-libfdk_aac --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libnvenc"
[19:14:08 CEST] <prelude2004c> can anyone tell me what command i can use to have libx265 going but still use the libnvenc ?
[19:14:21 CEST] <prelude2004c> is there a libnvenc for h265 ?
[19:17:40 CEST] <prelude2004c> last question.. for FFmpeg command.. and using -v:c libnvenc ... how do you set which GPU to use ?
[20:12:07 CEST] <IlIlIlIlIlIlI> why do I get "Non-monotonous DTS in output stream" when using 'tee' output?
[20:12:18 CEST] <IlIlIlIlIlIlI> and what does DTS even mean?
[20:18:39 CEST] <JEEBsv> decoding time stamp
[20:44:27 CEST] <cousin_luigi> Greetings.
[20:44:42 CEST] <cousin_luigi> michaelni: you around?
[20:46:16 CEST] <michaelni> yes
[20:47:02 CEST] <cousin_luigi> michaelni: Does libwebp also work as decoder?
[20:52:28 CEST] <michaelni> if you write your own application you can probably use it as a decoder, in libavcodec theres a native decoder
[21:02:57 CEST] <cousin_luigi> michaelni: I see. I thought it was also used as decoder because I saw more lines in the output of ffmpeg -decoder.
[21:03:03 CEST] <cousin_luigi> But maybe I was wrong.
[21:03:40 CEST] <prelude2004c> hey can anyone help ? http://pastebin.com/ms6W5jeN
[21:03:47 CEST] <prelude2004c> when i run it i get the following error
[21:04:33 CEST] <ChocolateArmpits> IlIlIlIlIlIlI: try "-flags global_header"
[21:05:03 CEST] <prelude2004c> sorry new link
[21:05:03 CEST] <prelude2004c> http://pastebin.com/PXqSX7Zg
[21:06:45 CEST] <prelude2004c> can anyone help me with that error ?
[21:06:46 CEST] <michaelni> cousin_luigi, ./ffmpeg -decoders | grep webp has only 1 match
[21:06:58 CEST] <IlIlIlIlIlIlI> ChocolateArmpits: this only prevents "Codec for stream X does not use global headers but container format requires them"
[21:07:58 CEST] <cousin_luigi> michaelni: I must be confusing this with something else.
[21:07:58 CEST] <IlIlIlIlIlIlI> ChocolateArmpits: doesn't help at all with the error above
[21:08:02 CEST] <IlIlIlIlIlIlI> ChocolateArmpits: thanks, though
[21:08:06 CEST] <cousin_luigi> thanks
[21:08:10 CEST] <ChocolateArmpits> sorry, I misinterpreted things
[21:14:30 CEST] <hid> Il
[21:14:52 CEST] <hid> IlIlIlIlIlIlI haha
[21:15:43 CEST] <cousin_luigi> bbl
[21:17:18 CEST] <mb339aMichelinoK> hi there!
[21:19:03 CEST] <mb339aMichelinoK> i've a problem with ffmpeg and a raspberry....same configurazione on a pc and on a raspberry....i use ffmpeg to stream audio from the raspberry and i wanna try to listen the stream with vlc on a nother pc...The problem is that ffmpeg doesn't open any socket, instead the same exact cli command on an ubuntu machine open the socket (so i can connect with another pc using vlc). Any idea on what can i check in ffmpeg?
[21:23:52 CEST] <nk121> Hola, I'm trying to do a screen capture of a x11 screen, but I'm having trouble getting the video size I want. I'm running Xvfb at 1920x1080, but ffmpeg is recording only 640x480 of it. Here is a pastebin of xdpyinfo and ffmpeg http://pastebin.com/LPhkB2nk      Also, not sure what -video_size cif means, i've tried also using the dimensions there instead (but 'cif' is in the doc exmaples)
[21:25:34 CEST] <klaxa> nk121: add -s 1920x1080 before -i :1
[21:25:52 CEST] <klaxa> and remove -video_size if you don't want to scale the video down
[21:26:08 CEST] <nk121> klaxa: will try, what does cif mean?
[21:26:37 CEST] <prelude2004c> hi.. anyone have good ffmpeg experience? I need help with this.. http://pastebin.com/PXqSX7Zg.
[21:26:41 CEST] <klaxa> https://en.wikipedia.org/wiki/Common_Intermediate_Format
[21:26:49 CEST] <prelude2004c> trying to bring in one input and hls output 3 outputs
[21:26:54 CEST] <prelude2004c> simultaniously
[21:28:47 CEST] <nk121> klaxa: Thank you very much, that worked!
[21:52:53 CEST] <ChocolateArmpits> Can anyone suggest a way how to get fragment size list from a fragmented mp4 ?
[22:03:39 CEST] <prelude2004c> hey , anyone know how libnvenc can set which GPU to use ?
[22:05:20 CEST] <urlgrey> I'd like to segment video from an RTSP source, and have the segments overlap by a configurable number of seconds. For example, file 1 covers 00:00-00:10, and file 2 covers 00:05-00:15. Is this possible with the FFmpeg CLI?
[22:06:26 CEST] <BtbN> You mean the nvenc encoder in ffmpeg, or the one actualy called libnvenc?
[22:28:49 CEST] <prelude2004c> hello, Looking for some help.. Is there a reason why we can't receive more than 2 inputs on a stream? It seems that when i hvae 3 outputs in a row only 2 work.. the 3rd does not
[22:32:56 CEST] <IlIlIlIlIlIlI> prelude2004c: pastebin the commandline
[22:50:49 CEST] <prelude2004c> sorry for the delay
[22:50:50 CEST] <prelude2004c> see http://pastebin.com/i41WpfPJ
[22:50:53 CEST] <prelude2004c> anyone have any idea?
[22:50:59 CEST] <prelude2004c> when i only use 2 outputs it works fine
[22:51:52 CEST] <prelude2004c> all i am trying to do is have the system get the multicast and then ooutput 3 different streams
[22:52:28 CEST] <prelude2004c> also, does anynone know how to set which GPU for which stream ? I am using the libnvenc library and i am not sure how to assign output 1 to GPU 0 and output 2 to GPU 1 , etc
[22:56:04 CEST] <ChocolateArmpits> prelude2004c: I may be wrong but trying adding "-filter_complex split=3[out1][out2][out3]" and then map those filter ends to your respective outputs
[22:56:26 CEST] <prelude2004c> i tried that .. nothing but errors on it :(
[22:56:34 CEST] <prelude2004c> i coudln't get the audio/video to work on that
[22:56:37 CEST] <ChocolateArmpits> like previously ?
[22:56:41 CEST] <prelude2004c> yup
[22:56:44 CEST] <prelude2004c> i can try again
[22:56:54 CEST] <ChocolateArmpits> wait, I'll rewrite again
[22:57:38 CEST] <ChocolateArmpits> -filter_complex [0:v]split=3[out1][out2][out3];[0:a]asplit=3[out1a][out2a][out3a]
[22:58:23 CEST] <ConstantineI> Does anyone have any experience using ffmpeg and tvheadend?
[22:59:03 CEST] <ConstantineI> I'm trying to grab a stream from tvheadend in ffmpeg.
[23:03:30 CEST] <JC_> Hello everybody, how are you doing?
[23:04:18 CEST] <JC_> I am trying to create a MP4 file from a SWF and getting nowhere. I have already exhausted my googling capacity and had the idea of coming here and try to find any help
[23:04:59 CEST] <JC_> ffmpeg -f swf -i input.swf output.mp4
[23:05:08 CEST] <JC_> thats what Im trying with no success
[23:05:43 CEST] <JC_> In fact, it does generate a MP4 file (and FLV, and AVI) but none are readable
[23:06:55 CEST] <JC_> I have read a thread from last year that says that ffmpeg does not support vector graphics, but I find it on the ffmpeg helper as an option
[23:07:03 CEST] <JC_> Could anyone please clarify it to me?
[23:12:28 CEST] <kepstin-laptop> JC_: ffmpeg can only do anything useful with swf files that contain a video or audio stream
[23:12:38 CEST] <kepstin-laptop> JC_: if it's a vector animation, ffmpeg can't render that.
[23:13:25 CEST] <JC_> Thats what I was afraid of :( thank you very much!
[23:14:54 CEST] <ConstantineI> I fixed it with tvheadend. I'm actually using avconv since I'm on ubuntu.
[23:15:50 CEST] <ConstantineI> but it's practically the same. I also got this error. mpeg_decode_postinit() failure
[23:15:50 CEST] <ConstantineI> . It outputs however the results appear fuzzy. Like small waves.
[23:27:46 CEST] <prelude2004c> <ChocolateArmpits> -- any luck ?
[23:27:58 CEST] <ChocolateArmpits> prelude2004c: huh?
[23:27:59 CEST] <prelude2004c> <IlIlIlIlIlcan you help?
[23:28:56 CEST] <IlIlIlIlIlIlI> sorry, I can say I share a similar issue with tee muxer
[23:37:18 CEST] <prelude2004c> tee muxer ?
[23:41:45 CEST] <prelude2004c> http://pastebin.com/mghbuDYK < ---- can anyone tell me what i did wrong
[23:41:49 CEST] <prelude2004c> why it wont output
[23:43:12 CEST] <prelude2004c> i am not actually trying to split
[23:43:30 CEST] <prelude2004c> i am just trying to replicate the data into 3 seperate encodings so i can output 3 differnet file types
[23:44:35 CEST] <IlIlIlIlIlIlI> prelude2004c: why don't you run with -loglevel debug
[23:44:46 CEST] <kepstin-laptop> prelude2004c: that doesn't look like the complete ffmpeg output
[23:44:47 CEST] <IlIlIlIlIlIlI> and perhaps DRY a bit :>
[23:44:47 CEST] <prelude2004c> k..
[23:45:45 CEST] <prelude2004c> doesn't seem to help too much
[00:00:00 CEST] --- Tue Mar 31 2015


More information about the Ffmpeg-devel-irc mailing list