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

burek burek021 at gmail.com
Wed Jul 15 02:05:01 CEST 2015


[02:42:19 CEST] <Resilience> hello to everyone, I have some mkv's which don't play in my tv (old) but yes in my computer, they are from a tv series with some other chapters playing well on the tv set, what can I do to see which are the differences between mkv's?
[02:48:08 CEST] <OstlerDev> @Resilience I would just suggest running them thru a converter and using the files outputted
[02:49:01 CEST] <Resilience> OstlerDev, yes, throug a converter from waht (I downloaded them) to waht? those are the questions, so, how Can I see what are the differences between them?
[02:50:02 CEST] <OstlerDev> You don't need to know the differences
[02:50:10 CEST] <OstlerDev> Just select the input and select the output
[02:50:13 CEST] <OstlerDev> it depends on what you want them for
[02:50:25 CEST] <OstlerDev> I would suggest MP4 but that is just personal preference
[02:50:55 CEST] <Resilience> OstlerDev, the sepisodes which are running they are mkv's and the ones which are not running are mkv's too, so wat? mp4 isnot another container?
[02:51:17 CEST] <louisnk> hey how many raw streamed inputs can ffmpeg successfully take? from the docs it seems like unlimited, but i'm giving it two and getting a blank output
[02:52:17 CEST] <OstlerDev> By converting them Resilience you make sure they all end up the exact same format, not just tossed around in containers.
[02:53:31 CEST] <Resilience> OstlerDev, is there no necessity to know the parsm of the encoding?
[02:53:42 CEST] <louisnk> brb
[02:54:13 CEST] <OstlerDev> Resilience you do not need to know the origin metadata
[02:54:31 CEST] <Resilience> OstlerDev, metadata?
[02:54:33 CEST] <phelon> Anyone have any idea why when i use ffmpeg to encode the stream (it works fine with out ffmpeg) I can not pull up the stream in vlc although it says it encoding in the terminal?  I am getting a good signal and show it converting.  http://pastebin.com/kNpN8y9R
[02:55:32 CEST] <OstlerDev> Resilience you are looking at it from a complex standpoint. You do not need to know the video codec or the audio codec of the input file, you only need to set them for the output file if you are going to use FFMPEG
[02:55:44 CEST] <OstlerDev> Or go use a more end user application like Handbrake
[02:56:34 CEST] <Resilience> OstlerDev, it is not a complex way, just asking it it isn't necessary
[03:06:21 CEST] <phelon> Anyone have any idea why when i use ffmpeg to encode the stream (it works fine with out ffmpeg) I can not pull up the stream in vlc although it says it encoding in the terminal?  I am getting a good signal and show it converting.  http://pastebin.com/kNpN8y9R
[03:30:30 CEST] <c_14> Resilience: use ffprobe
[03:31:10 CEST] <Resilience> c_14,  thanks
[04:45:26 CEST] <MCourtenay> I'm streaming video and my output is blurrier and a little darker than my input...is there any way to tweak my command line to improve video quality?
[04:45:50 CEST] <MCourtenay> I posted the commands I'm using to pastebin
[04:56:00 CEST] <pzich> and where's the link to that pastebin?
[04:57:56 CEST] <MCourtenay> http://pastebin.com/DSM31p3F
[06:04:34 CEST] <MCourtenay> anyone have any advice?
[06:04:40 CEST] <MCourtenay> I'm streaming video and my output is blurrier and a little darker than my input...is there any way to tweak my command line to improve video quality?
[06:04:41 CEST] <MCourtenay> http://pastebin.com/DSM31p3F
[07:31:43 CEST] <CyborgCygnus> Anybody know of any legit FFMPEG Audio converters on Android?
[11:46:10 CEST] <Fjorgynn> hello
[12:43:45 CEST] <Marckov85> Morning everyone
[12:43:56 CEST] <Marckov85> I can use some help please :)
[12:46:27 CEST] <Marckov85> holaa?
[12:50:19 CEST] <durandal_1707> hello
[12:50:46 CEST] <Marckov85> hey
[12:50:53 CEST] <Marckov85> can u help me out ?
[12:51:20 CEST] <durandal_1707> stop asking to ask
[12:51:43 CEST] <Marckov85> what than?
[12:52:07 CEST] <durandal_1707> ask what you need?
[12:53:48 CEST] <Marckov85> Guys i am building and android app and i got an ffmpeg exe in my raw files and am firing commands ... everything runs ok on most of the devices
[12:54:18 CEST] <Marckov85> but on some devices it just wont give me an output nor error
[12:55:29 CEST] <durandal_1707> It must give something..
[12:55:56 CEST] <Marckov85>  command example is :
[12:55:56 CEST] <Marckov85> <Marckov85> 	cmd.add(mFfmpegPath);
[12:55:56 CEST] <Marckov85> <Marckov85> 		cmd.add("-i");
[12:55:56 CEST] <Marckov85> <Marckov85> 		cmd.add(inputPath);
[12:55:56 CEST] <Marckov85> <Marckov85> 		cmd.add("-filter:v");
[12:55:56 CEST] <Marckov85> <Marckov85> 		// cmd.add("\""+factorspeed+"\"");
[12:55:56 CEST] <Marckov85> <Marckov85> 		cmd.add(factorspeed);
[12:55:57 CEST] <Marckov85> <Marckov85> 		cmd.add("-q");
[12:55:57 CEST] <Marckov85> <Marckov85> 		cmd.add("0");
[12:55:58 CEST] <Marckov85> <Marckov85> 		cmd.add("-an");
[12:55:58 CEST] <Marckov85> <Marckov85> 		cmd.add(outputpath);
[12:56:11 CEST] <Marckov85> IT works well on devices mostly prior to lollipo
[12:56:14 CEST] <Marckov85> lollipop
[12:56:25 CEST] <Marckov85> but with lollipop some devices work like S5
[12:56:39 CEST] <Marckov85> but htc m8 and S6 edge
[12:56:51 CEST] <Marckov85> i just get no result no error no output
[12:57:55 CEST] <durandal_1707> what is factorspeed?
[12:58:32 CEST] <Marckov85> "setpts=0.5*PTS"
[12:58:48 CEST] <Marckov85> its a command to do slow/fast motion
[12:59:10 CEST] <Marckov85> the cmd works just fine but on some devices it wont do anything
[13:00:08 CEST] <durandal_1707> try on those devices to run ffmpeg manually with that filter
[13:00:37 CEST] <durandal_1707> and it must give some output on console
[13:00:48 CEST] <Marckov85> i did
[13:01:02 CEST] <Marckov85> even a simple -i input -c copy output
[13:01:07 CEST] <Marckov85> wont work
[13:01:11 CEST] <Marckov85> even without the filter
[13:01:44 CEST] <Marckov85> i thought it might be some persmissions issue
[13:01:49 CEST] <Marckov85> i did chmod 700
[13:01:52 CEST] <Marckov85> still nothing
[13:02:09 CEST] <durandal_1707> does it crash?
[13:02:12 CEST] <Marckov85> naa
[13:02:21 CEST] <Marckov85> thats what is drivng me crazy
[13:02:30 CEST] <Marckov85> this is my phd final project lol
[13:03:40 CEST] <durandal_1707> perhaps they were compiled wrong for such cases
[13:03:49 CEST] <Marckov85> yeah i think so
[13:04:06 CEST] <Marckov85> any link for a compiled ffmpeg that support all these cmds?
[13:04:14 CEST] <Marckov85> it would be much appreciated
[13:05:45 CEST] <Marckov85> i will try to find other binaries online
[13:05:54 CEST] <Marckov85> and will refer to u with the result
[13:06:01 CEST] <Marckov85> thank u durandal
[13:08:48 CEST] <Marckov85> Since API 21 the executables you run are required to be compiled as PIE. This is meant to improve the usage of memory as PIE or PIC (position-independent code) can be in loaded in any memory address, so that it does not overlap.
[13:09:40 CEST] <durandal_1707> why not compile it yourself?
[13:13:20 CEST] <Marckov85> i tried with no luck
[13:13:27 CEST] <Marckov85> am new to native and ffmpeg
[15:20:33 CEST] <jani> is cehoyos here ?
[15:25:56 CEST] <well0ne> hi, its me again, i've gut sum question
[15:26:36 CEST] <well0ne> i'm using the input "conat" method,to concenate files and stream then to an rtmp server, i want to intercept the fileopen mechanism
[15:26:53 CEST] <well0ne> to print out that ffmpeg opened the new file and started with sending
[15:27:04 CEST] <well0ne> so that i can parse which file he is using right now
[15:27:19 CEST] <well0ne> can someone help me to intercept there?
[15:31:04 CEST] <well0ne> i found something in libavformat/concat.c, but its to difficult for me
[15:35:36 CEST] <well0ne> hm
[15:39:52 CEST] <Marckov85> this room is dead :P
[15:41:13 CEST] <well0ne> hm
[15:45:56 CEST] <well0ne> is there any room with more activity?
[15:58:43 CEST] <xLinuxBot> Marckov85: have a look https://github.com/hiteshsondhi88/SampleFFmpegApp and https://github.com/hiteshsondhi88/ffmpeg-android
[16:05:41 CEST] <Marckov85> xLinuxBot i already saw these
[16:05:54 CEST] <Marckov85> i have a specific problem
[16:06:07 CEST] <Marckov85> for concat demuxer on android L
[16:06:08 CEST] <Marckov85> only
[16:20:11 CEST] <phelon> Anyone have any idea why when i use ffmpeg to encode the stream I can not pull up the stream in vlc although it says it encoding in the terminal?  I am getting a good signal and show it converting.  http://pastebin.com/kNpN8y9R
[16:26:32 CEST] <storrgie> How can I sub-sample a video length (for webm creation) between two timestamps?
[16:30:51 CEST] <klaxa> storrgie: see -ss, -t and -to
[16:40:23 CEST] <termos> I'm trying to count the number of frames in my filter graph, so when av_buffersrc_add_frame is successful I increment a counter and when av_buffersink_get_frame is successful I decrement the counter. The thing is, this counter keeps on growing when it shouldn't, is there some magic happening that I'm not taking into account?
[16:54:28 CEST] <Mavrik> do you have filters that duplicate frames? :)
[16:56:17 CEST] <termos> oh that's a good point, yes I do! or remove frames in this case I guess, 30fps -> 25fps
[16:56:46 CEST] <termos> but there could be some duplication as well, judging from the duplicated frames output
[16:58:29 CEST] <termos> would be nice to have some kind of av_buffer*_get_size, maybe I should do a patch for that
[17:00:34 CEST] <phelon> Anyone have any idea why when i use ffmpeg to encode the stream I can not pull up the stream in vlc although it says it encoding in the terminal? http://pastebin.com/kNpN8y9R
[17:10:35 CEST] <termos> I tried casting the AVFilterContext::priv to AVFifoBuffer* and calling av_fifo_size on it, but it seems to return only 100 every time
[17:15:10 CEST] <whoever> hi all, I am tring to convert m4a to mp3, I am not getting any errors but the command also isn't workng    ffmpeg -i "$i" -acodec libmp3lame -ab 160k -ar 44100 -ac 2 "$target${i%*    .mp4}".mp3
[17:16:23 CEST] <whoever> ok, that was weird it didn"t work 10 minuts ago but now when i reviste the dir the mp3s are there
[17:18:40 CEST] <well0ne> lol
[17:18:48 CEST] <well0ne> i'm using the input "conat" method,to concenate files and stream then to an rtmp server, i want to intercept the fileopen mechanism
[17:18:53 CEST] <well0ne> to print out that ffmpeg opened the new file and started with sending
[17:18:59 CEST] <well0ne> so that i can parse which file he is using right now
[17:19:04 CEST] <well0ne> i found something in libavformat/concat.c, but its to difficult for me
[17:19:11 CEST] <well0ne> can someone help me to intercept there?
[17:22:36 CEST] <c_14> well0ne: wouldn't it just be in open_next_file
[17:22:37 CEST] <c_14> ?
[17:22:55 CEST] <c_14> eh
[17:22:58 CEST] <c_14> in concatdec.c though
[17:24:07 CEST] <well0ne> hey thanks
[17:24:10 CEST] <well0ne> i'll check that out
[17:33:41 CEST] <bindi> is it possible to get nvenc support on ubuntu?
[17:33:51 CEST] <c_14> If you build it yourself.
[17:34:20 CEST] <bindi> http://ubuntuforums.org/showthread.php?t=2265485 does this apply?
[17:36:53 CEST] <c_14> I don't think you need opencl for nvenc.
[17:37:34 CEST] <bindi> installed nvidia-352 from xorg-edgers, is that okay?
[17:37:37 CEST] <phelon> What would cause playback through VLC to be black and have audio if the same stream works on twitch? http://pastebin.com/kNpN8y9R
[17:41:25 CEST] <c_14> bindi: you need the NVENC sdk
[17:41:36 CEST] <bindi> Download and install the NVIDIA NVENC SDK for Windows (Yes, that is correct). Extract the SDK's content then navigate to "nvenc-xx.0/samples/nvEncoder/inc" and copy the header files therein to "/usr/include".
[17:41:50 CEST] <c_14> phelon: ask in #videolan?
[17:42:28 CEST] <bindi> http://bindibox.net/ul/2015/07/14/55a52de018239.png
[17:42:33 CEST] <bindi> are these the header files?
[17:42:43 CEST] <bindi> the sdk is now called "for windows and linux"
[17:42:55 CEST] <c_14> bindi: just the .h
[17:43:23 CEST] <bindi> there's also "NvEncoderCudaInterop", "D3DInterop", "LowLatency", "Perf"
[17:43:30 CEST] <bindi> should i care about those or use the main one?
[17:43:34 CEST] <c_14> all the .h files
[17:43:40 CEST] <c_14> probably
[17:43:44 CEST] <bindi> a or b, probably :P
[17:43:53 CEST] <bindi> or h files from each one of them?
[17:44:05 CEST] <c_14> just the main?
[17:44:07 CEST] <bindi> right
[17:47:19 CEST] <well0ne> c_14 i put this "printf("FILE=%s\n",file->url);" in  concatdec.c in the openfile handle
[17:47:22 CEST] <well0ne> but nothing happens
[17:48:24 CEST] <bindi> c_14: how can i compile it systemwide
[17:48:28 CEST] <bindi> or i mean
[17:48:29 CEST] <bindi> uh
[17:48:37 CEST] <bindi> just move the compiled ffmpeg into whereever the old one is atm?
[17:48:47 CEST] <phelon> @c_14 - It was a codec issue.  I figured it out!  Thank you for the response though as I do appreciate it!
[17:49:36 CEST] <matija> hello
[17:49:52 CEST] <matija> can anyone help me with ffmpeg compilation
[17:49:56 CEST] <matija> i need nvenc
[17:50:12 CEST] <matija> i get stuff like
[17:50:14 CEST] <c_14> bindi: either that, or put it somewhere in your PATH before the system ffmpeg
[17:50:14 CEST] <matija> libavcodec/nvenc.c:299: error: NvencData has no member named surface
[17:50:22 CEST] <matija> same for timestamp
[17:50:47 CEST] <c_14> matija: probably need a newer version of the nvenc sdk
[17:50:58 CEST] <matija> i used latest one
[17:51:05 CEST] <matija> and copied -h files from there
[17:51:12 CEST] <matija> *.h
[17:51:24 CEST] <matija> i guess, sec :)
[17:51:42 CEST] <well0ne> http://pastebin.com/74jFuK0S
[17:52:45 CEST] <matija> c_14: yes used latest one
[17:53:05 CEST] <well0ne> c_14:  what am i doing wrong
[17:53:16 CEST] <well0ne> line 304 is mine
[17:54:47 CEST] <c_14> well0ne: http://pb.c-14.de/t/kng.fhZb4X <- works for me
[17:55:09 CEST] <well0ne> u have compiled it ?
[17:55:11 CEST] <well0ne> i get no output
[17:55:53 CEST] <well0ne> http://pastebin.com/tFSawLkK
[17:56:07 CEST] <bindi> ERROR: nvEncodeAPI.h not found.
[17:56:13 CEST] <well0ne> ill try again then...
[17:56:46 CEST] <c_14> well0ne: http://pb.c-14.de/t/kng.bhqxbR
[17:57:04 CEST] <matija> be back later
[17:57:27 CEST] <jackrex> I need some help. Currently I am trying to record video with my webcam through ffmpeg. I type the command
[17:57:29 CEST] <bindi> ahha
[17:57:29 CEST] <jackrex> ffmpeg -f v4l2 -i /dev/video0 -f alsa -i dsnoop:U0x46d0x825 -vcodec mpeg4 -acodec libmp3lame -q 9 -vf scale=320:-8 somefile.avi
[17:57:30 CEST] <bindi> found it
[17:57:38 CEST] <well0ne> ah okay, danke
[17:57:57 CEST] <jackrex> But i get the error, v4l2: cannot find input
[17:59:08 CEST] <well0ne> i have a different code than you
[17:59:38 CEST] <well0ne>     ConcatFile *file = &cat->files[fileno];
[17:59:41 CEST] <jackrex> What is the code?
[17:59:43 CEST] <well0ne> this line is not existent in my code
[17:59:48 CEST] <jackrex> Oh sorry
[18:00:18 CEST] <c_14> well0ne: That's just because I didn't have access to the file in that function.
[18:00:45 CEST] <well0ne> alright, my thought, just want to make sure
[18:00:48 CEST] <well0ne> big thanks!
[18:03:31 CEST] <c_14> jackrex: can you find it with v4l2ctl ?
[18:04:02 CEST] <jackrex> Unknown input format: v4l2ctl
[18:04:30 CEST] <jackrex> Is the error
[18:04:58 CEST] <c_14> jackrex: that's a binary to set up v4l2 devices
[18:05:47 CEST] <jackrex> So should I run it seperately? That gives me error, command not found
[18:05:59 CEST] <c_14> jackrex: might need to install something like v4l2-tools or so
[18:06:26 CEST] <jackrex> v4l2-utils?
[18:07:37 CEST] <c_14> To everyone with issues building with nvenc, I downloaded the sdk and built with the .h files in Samples/common/inc
[18:08:31 CEST] <bindi> i only copied two .h files and it's building atm
[18:09:26 CEST] <jackrex> c_14:should i install v4l2-utils?
[18:09:52 CEST] <bindi> btw how can i test that nvenc works after building
[18:12:34 CEST] <jackrex> c_14: i tyried installing it. I get the error:
[18:12:38 CEST] <jackrex> v4l-utils:   Depends: libv4l-0 (=0.8.0-1) but 0.8.6-1~bpo60+1 is to be installed
[18:12:47 CEST] <jackrex> even though the correct version is installed
[18:14:16 CEST] <bindi> [nvenc @ 0x3eed180] >> dl_fn->cu_init(0) - failed with error code 0x64
[18:18:58 CEST] <well0ne> lol c_14
[18:19:03 CEST] <well0ne> i used your "patch"
[18:19:07 CEST] <well0ne> but again, not output
[18:19:11 CEST] <well0ne> i dont understand
[18:21:27 CEST] <bindi> so eh
[18:21:41 CEST] <bindi> i have a gt 520, nvidia-352 from xorg-edgers ppa, and just compiled with nvenc support and i get that error
[18:23:04 CEST] <well0ne> i'm having another input than png files but that should not matter right
[18:25:10 CEST] <well0ne> ah sec i'm not using ffmpeg -f concat
[18:41:21 CEST] <well0ne> c_14: dont work
[18:42:03 CEST] <well0ne> [concat @ 0x34ddd00] Line 1: unknown keyword 'G@??'
[18:42:26 CEST] <well0ne> ./ffmpeg -f concat -i /root/sp/finished/*.ts
[18:42:53 CEST] <bindi> c_14: no comment about my error msg? :p
[18:49:30 CEST] <c_14> well0ne: https://trac.ffmpeg.org/wiki/Concatenate
[18:49:45 CEST] <c_14> bindi: are you sure your graphic card supports nvenc? Do you have the newest drivers?
[18:51:08 CEST] <well0ne> c_14
[18:51:20 CEST] <well0ne> i'm already using it by  -i "concat:1|2|3"
[18:51:27 CEST] <well0ne> but then your patch dont work
[18:51:38 CEST] <well0ne> i dont get the file output then we patched in
[18:51:51 CEST] <well0ne> which we*
[18:52:00 CEST] <bindi> 19:21 < bindi> i have a gt 520, nvidia-352 from xorg-edgers ppa, and just compiled with nvenc support and i get that error
[18:52:20 CEST] <bindi> hm
[18:52:21 CEST] <c_14> well0ne: that's the concat protocol. different beast
[18:52:29 CEST] <bindi> i'm not actually sure gt 520 supports it or not, damn rebrands
[18:52:30 CEST] <c_14> The "patch" was for the concat demuxer
[18:52:42 CEST] <well0ne> okay...
[18:53:07 CEST] <bindi> i guess gt 520 is fermi
[18:54:19 CEST] <bindi> gf119 anyway
[18:54:40 CEST] <bindi> https://en.wikipedia.org/wiki/GeForce_600_series
[18:54:55 CEST] <bindi> 3 The GeForce GT 610 card is a rebranded GeForce GT 520.
[18:55:29 CEST] <well0ne> so its possible to change the concat protocoll for my needs?
[18:55:35 CEST] <well0ne> i'm not a c coder, thats my problem
[18:55:42 CEST] <bindi> and 600 series is supposed to be kepler..
[18:55:46 CEST] <bindi> hngngnh
[18:57:35 CEST] <c_14> well0ne: looks like you'll want the print in concat.c around line 138 where it calls ffurl_seek(nodes[++i]. That's where it goes to the next file
[19:00:54 CEST] <well0ne> something tells me that printf("FILE=%s\n", nodes[++i].filename); is wrong
[19:02:07 CEST] <c_14> nodes[i].uc.filename;
[19:02:12 CEST] <c_14> might need to deref that somewhere though
[19:03:00 CEST] <jackrex> I am currently using a logitech HD c270h webcam. Using ffmpeg, I want to record a video. I have tried the commands on the other forums, but they do not work, or do not give audio. So, can you give me instructions on how to go about it?
[19:05:16 CEST] <well0ne> okay ... ill try it like this right now
[19:05:39 CEST] <well0ne> if this dont work, i know some additions are necessary
[19:05:48 CEST] <well0ne> but it shouldnt work
[19:05:59 CEST] <AStorm> I have to congratulate ffmpeg devs on an almost cute API :3
[19:06:04 CEST] <well0ne> because Urlcontext has its  filename h->filename
[19:06:05 CEST] <AStorm> especially libswresample
[19:06:34 CEST] <matija> c_14: i was trying to build it on debian wheezy
[19:06:36 CEST] <well0ne> and data is   *data  = h->priv_data;
[19:06:42 CEST] <matija> no luck still
[19:06:53 CEST] <well0ne> where are the nodes taken from concat_nodes *nodes = data->nodes;
[19:07:01 CEST] <matija> also when trying to build nvenc sdk make fails
[19:10:52 CEST] <c_14> matija: you placed the 5 header files into /usr/include ?
[19:11:01 CEST] <matija> in /usr/local/include
[19:11:03 CEST] <matija> but yes
[19:11:11 CEST] <c_14> Are you adding that to your cflags?
[19:11:15 CEST] <c_14> -I/usr/local/include ?
[19:13:01 CEST] <matija> added it to /usr/include
[19:13:05 CEST] <matija> same result :(
[19:13:28 CEST] <well0ne> http://wagasworld.com/banshee.phplibavformat/concat.c:138:34: error: request for member filename in something not a structure or union
[19:13:44 CEST] <well0ne> oh the url was a mistake, silly cilpboard
[19:13:45 CEST] <well0ne> sorry
[19:13:46 CEST] <well0ne> libavformat/concat.c:138:34: error: request for member filename in something not a structure or union
[19:14:17 CEST] <matija> c_14: error i got when compiling ffmpeg: http://pastebin.com/6BG3Qtrw
[19:15:53 CEST] <c_14> bindi: I got the same error with my card, then I rebuilt the nvidia drivers with uvm. Maybe try looking for an nvidia-uvm package or something? (in my case there was a line above the error stating that nvidia-uvm wasn't installed)
[19:16:10 CEST] <matija> latest driver is isntalled, gpu is titan x
[19:16:18 CEST] <matija> installed*
[19:17:16 CEST] <bindi> http://script.quakenet.org/paste/1869456 c_14 this is the full output
[19:17:44 CEST] <matija> cuda toolkit 7.0 is isntalled too
[19:18:37 CEST] <c_14> bindi: that's it? hmm. strange. All I can think of is that your graphics card doesn't like it.
[19:19:09 CEST] <bindi> probably
[19:19:15 CEST] <c_14> matija: can you open libavcodec/nvenc.c and check on line 91? There should be a struct typedef there for NvencData
[19:20:14 CEST] <matija> typedef struct NvencData
[19:20:30 CEST] <matija> line 91^^ c_14
[19:20:34 CEST] <c_14> matija: with a union and a surface member?
[19:20:44 CEST] <matija> it's latest git ffmpeg is there
[19:21:08 CEST] <c_14> Then I don't know why that's failing...
[19:21:49 CEST] <bindi> so, should i find myself a gt 640 then? :p
[19:22:00 CEST] <c_14> well0ne: printf("FILE=%s\n", nodes[i].uc->filename);
[19:22:01 CEST] <matija> c_14: me neither :( what could it miss? driver is ther cuda toolkit is there
[19:22:09 CEST] <c_14> well0ne: that seems to compile
[19:22:15 CEST] <matija> headers too
[19:22:16 CEST] <well0ne> silly me
[19:24:21 CEST] <bindi> why is nvenc limited to 2 streams btw
[19:24:37 CEST] <bindi> if i got two gt 640's, i would be able to do 4 concurrently?
[19:25:28 CEST] <c_14> matija: if you didn't have the headers you'd get a different error
[19:25:43 CEST] <c_14> bindi: I think so, not sure though.
[19:25:48 CEST] <well0ne> i put it now after the "if (!result)" line
[19:25:53 CEST] <well0ne> compiling right now, big thanks
[19:26:14 CEST] <c_14> well0ne: make sure you add {} to the if
[19:26:24 CEST] <c_14> so that the break; call is still part of the if-clause as well as the print
[19:26:24 CEST] <matija> c_14: i know, i had nvencodeapi.h missing etc
[19:26:41 CEST] <jackrex> I resolved the issue, this is the command:
[19:26:44 CEST] <jackrex> ffmpeg -f alsa -i plughw:CARD=U0x46d0x825,DEV=0 -f video4linux2 -s 800x600 -i /dev/video0 -r 30 -f avi -vcodec mpeg4 -vtag xvid -sameq -acodec libmp3lame -ab 96k output.avi
[19:26:52 CEST] <well0ne> http://pastebin.com/e4keJ4hz
[19:26:54 CEST] <well0ne> this is not ok ?
[19:27:11 CEST] <c_14> well0ne: like this http://pb.c-14.de/t/kng.PRkKVH
[19:27:22 CEST] <well0ne> i know ^^
[19:27:41 CEST] <c_14> well0ne: the way you have it will break things
[19:27:43 CEST] <louisnk> c_14: does ffmpeg have a limit on # of streams it can handle?
[19:27:52 CEST] <well0ne> ok
[19:28:06 CEST] <c_14> louisnk: the limit is the amount of memory your computer has
[19:29:18 CEST] <c_14> (There may be a limit hard-coded somewhere, but it's much more likely that your computer will OOM-Kill way before it hits that)
[19:29:39 CEST] <well0ne> compiling
[19:33:57 CEST] <louisnk> thanks
[19:45:26 CEST] <well0ne> c_14
[19:45:27 CEST] <well0ne> http://pastebin.com/VP68cRG1
[19:45:32 CEST] <well0ne> didnt worked out as expected...
[19:47:16 CEST] <well0ne> i want it "live", when the concat protocoll switches to the next file it should be printed
[20:02:12 CEST] <well0ne> c_14:  it seems that concat.c only provide informations about the files to process
[20:02:29 CEST] <well0ne> but the "main" process seems to be somewhere else
[20:06:43 CEST] <matija> c_14: i installed apps from nvecn sdk
[20:06:47 CEST] <matija> and they work
[20:06:53 CEST] <matija> but still no luck with ffmpeg
[20:06:54 CEST] <matija> :(
[20:08:13 CEST] <c_14> matija: have you tried redownloading the source into a fresh dir and trying again?
[20:09:19 CEST] <c_14> well0ne: http://pb.c-14.de/t/kng.udVTlS <- this should work
[20:09:19 CEST] <c_14> It won't display for the very first file though
[20:09:28 CEST] <c_14> But it will display on every switch between files.
[20:10:47 CEST] <matija> c_14: trying that now
[20:14:26 CEST] <matija> c_14: same error :(
[20:14:31 CEST] <well0ne> thanks c_14
[20:14:38 CEST] <well0ne> i've to go right now, will tell you later
[20:15:43 CEST] <c_14> matija: can I see your configure command?
[20:15:56 CEST] <matija> ./configure --enable-nvenc --enable-libx264 --enable-version3 --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopencv --enable-libopenjpeg --enable-libopus --enable-libfaac --enable-libtheora --enable-libvpx --enable-libwebp --enable-opencl --enable-x11grab --enable-openssl --enable-libvorbis --disable-static --disable-ffserver --disable-avfilter --disable-ffplay --enable-shared --enable-g
[20:16:02 CEST] <matija> pl --enable-nonfre
[20:16:38 CEST] <c_14> Can you try with just --enable-nvenc --enable-nonfree ?
[20:17:41 CEST] <matija> sure
[20:17:55 CEST] <matija> make is running....
[20:18:20 CEST] <matija> broke, same thing
[20:18:33 CEST] <matija> maybe it needs nvenc apps in path?
[20:18:43 CEST] <matija> i really don't know or it needs just headers?
[20:19:02 CEST] <c_14> hmm
[20:19:06 CEST] <c_14> Just the headers worked for me.
[20:19:51 CEST] <matija> c_14: just headers from nvenc*/common/inc ?
[20:20:01 CEST] <matija> + cuda.h or?
[20:31:43 CEST] <Max_> Hey
[20:31:57 CEST] <Max_> I have a question
[20:32:36 CEST] <Guest2408> How can I Render fast? Yesterday I had a command with mjpeg in it, it was very fast
[20:32:48 CEST] <Guest2408> Or something like mjpeg
[20:33:33 CEST] <matija> it has come to that, i'm stracing make :(
[20:37:06 CEST] <Nitori> there are devils in jpeg
[20:43:22 CEST] <Guest2408> How can I Render fast? Yesterday I had a command with mjpeg in it, it was very fast
[20:43:30 CEST] <Guest2408> Or something like mjpeg
[22:20:46 CEST] <matija> still unable to get it working :(
[22:21:29 CEST] <matija> http://pastebin.com/YyFxG2B9 still
[22:21:38 CEST] <matija> any ideas?
[22:22:04 CEST] <matija> nvenc is on latest version
[22:22:14 CEST] <matija> headers copied
[22:58:49 CEST] <Lokie> hey I got another question is there some quick way of adding a srt to a mp4 without a full re encode
[23:01:29 CEST] <iive> Lokie:  i don't think that mp4 allows srt, but it have its own subtitle format (something like vobsub)
[23:33:29 CEST] <Lokie> http://stackoverflow.com/questions/8672809/use-ffmpeg-to-add-text-subtitles
[23:33:39 CEST] <Lokie> yea that's not a problem if I have to convert the subs
[23:33:46 CEST] <spectromas> is it possible add a shadow or something like that when burning/embedding subtitles?
[23:34:00 CEST] <Lokie> I am just wondering if one of the two ways is extremely faster than the other
[23:34:14 CEST] <Lokie> I am guessing the burning the subs on the stream will cause a full slow reencode
[23:34:37 CEST] <Lokie> though if you can just recreate somehow the mp4 with adding the subtitle stream will take seconds
[00:00:00 CEST] --- Wed Jul 15 2015


More information about the Ffmpeg-devel-irc mailing list