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

burek burek021 at gmail.com
Tue Jun 16 02:05:01 CEST 2015


[00:49:04 CEST] <ac_slater_> I guess I can take the context, look at it in a debugger, and start fulling in structures from that info
[01:24:58 CEST] <jY> i have the following stream coming into my server and I need to pretty much send that to nginx-rtmp and I'm having an issue working out the details of how to use ffmpeg to relay it..
[01:24:59 CEST] <jY> https://gist.github.com/mzupan/75025a4dcd54258398a4
[01:27:21 CEST] <jY> i've tried ffmpeg -y -f mpegts -i udp://0.0.0.0:1935 -c:v copy -map 0:0  -f mpegts -rtmp_buffer 100 rtmp://127.0.0.1/live/test
[01:27:27 CEST] <jY> but i just get conversion fails
[02:04:23 CEST] <Fusl> is there a way to let ffmpeg generate the mandelbrot source with multiple threads? i'm having issues with generating a video with "mandelbrot=s=4096x2160 ", it's only using one of the cpu cores which slows down the ffmpeg process completely
[02:10:16 CEST] <Quixxx> Can someone help me build my flags for the encode I want to do? I need to take a 1080i25 file to 720p50, two pass, 4800k bitrate, 'slower' preset if that's a thing, and a good deinterlace filter.
[02:46:43 CEST] <kepstin> Quixxx, do you mean i50 to p25?
[02:47:11 CEST] <Quixxx> I guess it depends on how you measure the interlaced. 50 half frames every second
[02:47:22 CEST] <Quixxx> But the resulting file is p50.
[02:47:33 CEST] <kepstin> interlaced is measured in fields per second, progressive in frames per second.
[02:49:30 CEST] <kepstin> so probably something like ffmpeg -i inputfile -vf yadif=1,scale=1280:720 -c:a copy -c:v libx264 -preset veryslow -b:v 4800k -pass 1 outputfile
[02:49:34 CEST] <kepstin> and repeat with pass=2
[02:50:20 CEST] <kepstin> adjust the "preset" setting to medium, slow, slower, veryslow, etc. according to taste.
[03:29:21 CEST] <Quixxx> kepstin, and the input and output files will be the same for the second pass, correct?
[03:31:46 CEST] <kepstin> yeah, the only thing to change between the two passes is the -pass parameter.
[03:32:10 CEST] <kepstin> (the output file of the first pass doesn't actually matter, you can send it to /dev/null or whatever)
[03:32:43 CEST] <Quixxx> Alrighty, I'll have to wait for the encodes to finish
[03:33:02 CEST] <Quixxx> also, what about -threads? I stuck -threads 4 in there for the first pass but I don't think it matters until the second.
[03:33:20 CEST] <kepstin> if you don't put in a -threads option, it picks a default suitable for your machine
[03:33:45 CEST] <Quixxx> I'm used to using webm for retards, I think it sticks -threads 1 in by default.
[03:43:41 CEST] <Quixxx> >-pass 2 wants me to overwright
[03:43:43 CEST] <Quixxx> write
[03:43:45 CEST] <Quixxx> Yes, right?
[03:43:55 CEST] <kepstin> yeah
[03:44:21 CEST] <Quixxx> Wait
[03:44:25 CEST] <Quixxx> The file doesn't look that bad right now
[03:44:56 CEST] <Quixxx> Deinterlace is a smidge blurry I think. Ah well.
[03:45:17 CEST] <kepstin> the output of the first pass is encoded to your requested bitrate using single pass rate control
[03:45:40 CEST] <kepstin> which means it's not able to balance bitrate usage between complex vs. simple sections of video
[03:45:46 CEST] <kepstin> that's what the second pass does.
[03:45:54 CEST] <Quixxx> So, the first pass file is larger?
[03:46:07 CEST] <kepstin> no, since they're both being encoded at the same bitrate
[03:46:16 CEST] <Quixxx> uhh
[03:46:23 CEST] <Quixxx> I'll just compare both of them when the encode is done, I guess.
[03:46:47 CEST] <kepstin> the second pass should look better in places that are hard to encode, because it's able to use higher bitrate in hard spots and less bitrate in easy spots
[03:47:00 CEST] <kepstin> instead of the 1-pass mode, where it keeps the bitrate steady through the file.
[03:48:05 CEST] <Quixxx> It looked like it was changing a bit, 4800-5000 or so
[03:48:21 CEST] <kepstin> of course, the only reason to use 2-pass mode is if you're targetting a specific final file size
[03:49:04 CEST] <kepstin> if you just want a good quality output and don't care as much about file size variation, you should do a 1-pass encode setting the "-crf" option instead of using bitrate
[03:49:25 CEST] <Quixxx> I might do that for personal stuff
[03:49:43 CEST] <Quixxx> I've got a lot of stuff to encode but this poor 2500k isn't fast enough
[03:49:50 CEST] <Quixxx> I need me some 14 core xeons
[03:50:14 CEST] <kepstin> "-crf" effectively gives you a constant-quality encode, where parts get more or less bitrate to maintain the same visual quality throughout.
[03:50:43 CEST] <Quixxx> Most of the sites I use are constant bitrate, I'm not sure if that's for quality reasons or otherwise.
[03:50:50 CEST] <Quixxx> I think -crf you usually use... 20?
[04:13:35 CEST] <techtopia> why two pass quixx
[04:14:51 CEST] <techtopia> sounds like you are encoding european transport streams heh
[04:15:10 CEST] <techtopia> to get 50fps progressive out of the 25fps interlaced source
[04:15:15 CEST] <techtopia> you need to bob deinterlace
[04:15:25 CEST] <techtopia> you can do it with -vf yadif
[04:15:51 CEST] <kepstin> techtopia, yeah, I already gave Quixxx the yadif options to do that.
[04:16:08 CEST] <techtopia> cool :)
[04:16:19 CEST] <Quixxx> Is there a way to use QTGMC with ffmpeg?
[04:16:28 CEST] <techtopia> what is that?
[04:16:46 CEST] <Quixxx> A deinterlace filter, I've been told it's gud
[04:16:52 CEST] <techtopia> use yadif
[04:16:55 CEST] <kepstin> looks like an avisynth deinterlacer plugin
[04:17:23 CEST] <kepstin> you're downsampling from 1080i to 720p anyways, so the deinterlacer quality doesn't matter as much.
[04:17:33 CEST] <Quixxx> Ah
[04:17:44 CEST] <Quixxx> Yeah the files I've seen it referenced for were SD>SD VHS rips
[06:07:39 CEST] <jY> i'm converting a mpeg stream via udp.. every now and then i get a "Conversion failed!" and ffmpeg stopps
[06:07:51 CEST] <jY> is there anyway to ignore that and stay running
[07:05:15 CEST] <Abbott> #edmproduction
[07:05:26 CEST] <Abbott> whoops
[07:26:39 CEST] <gurpartap> I am saving a rtsp stream to an avi file. Is there any way that I can set the maximum file size limit and keep saving my stream in ordered video files?
[08:32:58 CEST] <gurpartap> I am using ffmpeg commandline to produce segmented output...Here  is command  ffmpeg -i rtsp://192.168.0.127 -f segment -segment_time 60 "test-%03d.avi" but it is adding extra  1 minute with still frames.
[09:24:18 CEST] <karty> Hello guys .  I'm running ffmpeg with vstats_file option. It gives time value in milliseconds for one type of file and in seconds for another
[09:24:41 CEST] <karty> is there a option to tweak this ?
[09:24:58 CEST] <karty> to get just seconds or just milli seconds accrosss all files or formats
[09:26:00 CEST] Last message repeated 1 time(s).
[09:26:15 CEST] <karty> Hello guys .  I'm running ffmpeg with vstats_file option. It gives time value in milliseconds for one type of file and in seconds for another is there a option to tweak this ?  to get just seconds or just milli seconds accrosss all files or formats.
[12:04:53 CEST] <antiatom> Hello, I would like to take advantage of multithread VP9 encoding in libvpx 1.4.0
[12:05:06 CEST] <antiatom> Do I need a specific version of FFmpeg in order to use this feature?
[12:06:50 CEST] <gurpartap> I am using ffmpeg -i rtsp://192.168.0.127 -map 0:0 -map 0:1 -s 640x360 -vcodec libx264 -g 60 -vb 500000 -strict experimental -vf copy -an -y -f segment -segment_time 20 "part-%03d.ts" -f mpegts udp://127.0.0.1:1234 to make video chunks of 20 seconds and restream it through udp.But sometimes packets are missing which are shown in ffmpeg log...
[12:07:25 CEST] <relaxed> antiatom: Try the latest git version, http://johnvansickle.com/ffmpeg/
[12:07:57 CEST] <durandal_1707> why you are using vf filter?
[12:08:43 CEST] <antiatom> relaxed: So version 2.7 does not support this?
[12:11:36 CEST] <relaxed> try it
[12:13:25 CEST] <gurpartap> :durandal_1707 are you asking me?
[12:16:32 CEST] <durandal_1707> yes
[12:17:29 CEST] <gurpartap> I am using this link....http://stackoverflow.com/questions/10588001/how-to-record-udp-stream-with-ffmpeg-in-chunks
[12:17:48 CEST] <gurpartap> I remove the -vf and it is working fine.....
[12:18:24 CEST] <gurpartap> but tell me how can I restream it through rtp at same time
[12:40:54 CEST] <gurpartap> how can I extract timestamp of video coming from camera and save it in log file...
[12:43:06 CEST] <Anoia> gurpartap: from what point of view?
[12:43:28 CEST] <Anoia> as code that has an RTSP receiver and saves H.264, or reading the saved data?
[12:43:49 CEST] <Anoia> or even motion JPEG..
[12:43:50 CEST] <gurpartap> I want to extract pts_time from live stream...
[12:44:11 CEST] <gurpartap> I am recieving through rtsp protocol
[12:44:31 CEST] <gurpartap> ffmpeg -i input.mp4 -t 10 -filter:v "fps=fps=25, showinfo" -f null - 2>&1 grep pts_time | awk '{print $6}' | cut -d: -f2
[12:44:49 CEST] <gurpartap> this I  am using for saved video
[12:45:16 CEST] <gurpartap> Anoia: this I  am using for saved video
[12:45:55 CEST] <Anoia> I have no idea form the ffmpeg command line
[12:46:31 CEST] <gurpartap> Anoia: ok....thanks for help
[12:46:34 CEST] <Anoia> it's a feature of the RTSP protocol rather than the video format, and I use livemedia (in code) to do RTSP
[12:53:33 CEST] <gormed> hi, some ffmepg dev here?
[13:08:16 CEST] <durandal_1707> yes
[13:14:53 CEST] <gormed> okay, my question is here: http://pastebin.com/5W1DrmSg
[13:22:49 CEST] <gormed> if you need additional info, just say it :)
[15:15:53 CEST] <gormed> Hey, just wanted to bump my question about using ffmpeg together with Unreal Engine 4: http://pastebin.com/5W1DrmSg
[15:37:37 CEST] <trosh> hello all
[15:38:32 CEST] <trosh> i'm converting a video, and i'm trying to change the audio framerate. i get a message saying [avi @ 0x1c1b140] New audio stream 0:2 at pos:3241480 and DTS:1.3035s
[15:38:53 CEST] <trosh> but then when i go ffmpeg -i on the file i just created i can't see any 0:2 stream
[15:39:00 CEST] <trosh> does this make sense ?
[15:44:53 CEST] <trosh> ok !
[15:44:54 CEST] <trosh> thanks
[15:47:05 CEST] <trosh> http://pastebin.com/xvQRMy09
[15:47:07 CEST] <trosh> this good ?
[15:48:47 CEST] <chungy> Yes; the info message about the new stream is only about the input file, the output will still have only the streams that were originally detected/specified.
[15:49:21 CEST] <trosh> so there is a new audio stream detected at 1.3s ?
[15:49:36 CEST] <trosh> if i do ffmpeg -i on the original file, i only have 0:0 and 0:1
[15:49:42 CEST] <chungy> try doing "ffprobe -analyzeduration 5000000 segoyann.avi" and see if it detects 0:2
[15:50:12 CEST] <c_14> If you want the other stream as well, you'll at very least need -map 0 (or an equivalent that maps all the streams you want)
[15:50:35 CEST] <trosh> (for more info, this is DV, and it starts with a test screen like frame for 1.3s)
[15:52:10 CEST] <trosh> ffprobe give me only 0:0 and 0:1 (it's instant mind you)
[15:52:36 CEST] <c_14> Try increasing -probesize as well.
[15:53:43 CEST] <trosh> nothing new :/
[15:55:18 CEST] <trosh> if i -ss at 1.3, could it make any difference ?
[16:01:20 CEST] <c_14> it might
[17:32:03 CEST] <DHE> I'm running ffmpeg (git) and trying to use a filter_complex for multiple outputs with semi-similar filters. I wrote: ~/ffmpeg/ffmpeg_g -filter_complex '[0:v]pp=fd[deint];[deint]scale=w=1280:h=720[720p];[deint]scale=w=848:h=480[480p]'  -i .....
[17:32:19 CEST] <DHE> but get the error: Stream specifier 'deint' in filtergraph description [0:v]pp=fd[deint];[deint]scale=w=1280:h=720[720p];[deint]scale=w=848:h=480[480p] matches no streams.
[17:33:00 CEST] <DHE> The idea is that I do the deinterlace once, then scale as needed for each output. I may also do further filtering but I'm stuck here first
[17:37:46 CEST] <relaxed> DHE: filters go after the input
[17:38:07 CEST] <DHE> I tried that... same error
[17:39:41 CEST] <relaxed> you want multiple streams in one output?
[17:40:25 CEST] <DHE> several output files
[17:40:45 CEST] <DHE> -map [720p] output1.mp4  -map [480p] output4.mp4
[17:41:05 CEST] <DHE> plus audio, obviously
[17:41:19 CEST] <DHE> there's a fine line between being specific and flooding the channel....
[17:42:03 CEST] <relaxed> are you trying, ffmpeg -i input -filter:v 720p_filter 720p_output.mkv -filter:v 480p_filter 480p_output.mkv
[17:43:09 CEST] <DHE> I just figured it out. I need a 'split' filter to make two outputs because ffmpeg doesn't allow the same output to be used multiple times in the filtergraph...
[17:43:17 CEST] <relaxed> ah
[17:43:52 CEST] <relaxed> can you pastebin the command that worked? I'm interested to see it.
[17:45:18 CEST] <DHE> http://pastebin.com/wgejVhKL
[17:45:26 CEST] <DHE> a bit simplified, removed all the codec options, etc
[17:45:37 CEST] <relaxed> thanks
[17:46:19 CEST] <DHE> looks like it works...
[17:50:40 CEST] <relaxed> DHE: yadif is considered the best deinterlacer, fyi
[17:52:33 CEST] <DHE> hmm... noted
[18:51:45 CEST] <jc0n> I can ask for elp in here no?
[18:51:48 CEST] <jc0n> *help
[18:53:07 CEST] <jc0n> becuase I want to stream one video input to one file and two audio inputs to another.
[18:53:22 CEST] <jc0n> using the amix filter for the second file
[18:59:22 CEST] <JEEBsv> ffmpeg -i input -i input [things for the first output] output1 [things for the second output] output2
[18:59:48 CEST] <JEEBsv> I should have put input1 and input2 there because that is how you specify multiple inputs :P
[19:00:14 CEST] <jcay> jc0n: sure, just be patient, the experts are busy :-)
[19:00:29 CEST] <zhanshan> hi
[19:00:29 CEST] <jc0n> jcay: thank you :)
[19:01:20 CEST] <zhanshan> someone was friendly enough to help me to batch rename image files in a folder in order to make ffmpeg put them together in the originally intended way
[19:01:27 CEST] <zhanshan> but I forgot the command line..
[19:01:47 CEST] <zhanshan> the files are i.e. fk1_daan_full0001.png fk1_daan_full31730.png
[19:02:03 CEST] <zhanshan> so digits differ between 4 and 5
[19:04:17 CEST] <zhanshan> what I want to do is make them the same length in order to call the command: ffmpeg -f image2 -start_number 0000001 -i 'fk1_daan_full%05d.png' -i 'audio' -pix_fmt yuv420p -c:v libx264 -crf 18 -c:a flac 'out'
[19:04:37 CEST] <zhanshan> or is that possible like this already
[19:04:49 CEST] <zhanshan> start-frame would be of course 0001
[19:06:22 CEST] <zhanshan> the command to rename was something like: $ rename 's/([0-9]{4})/0$1/' *
[19:06:45 CEST] <zhanshan> but I have absolutely no clue how these commands work. I can't understand them
[19:07:48 CEST] <jc0n> when recording to one file, this is the stream mapping: http://hastebin.com/edayesobos.coffee
[19:08:01 CEST] <zhanshan> I think I don't even need the command to use %05d
[19:08:40 CEST] <relaxed> zhanshan: try, ffmpeg -pattern_type glob -i *png
[19:12:19 CEST] <zhanshan> relaxed one time I had an issue resulting in a video where all frames between 1000 and 9999 were mixed up in every 11th frame
[19:12:30 CEST] <zhanshan> that's why I wanted to try to avoid it
[19:12:39 CEST] <zhanshan> because it's 68000 frames
[19:13:42 CEST] <Netek> hi all, I am currently using ffmpeg for live streaming rtmp.  My client forwards me the stream to my server and my server distributes this stream online, I wish to convert the rtmp live stream to mp4 to be displayed in html5 for any device.  Is this possible?
[19:17:39 CEST] <BtbN> mp4 is not streamable
[19:18:16 CEST] <Netek> BtbN ok what would be recommended stream?  I managed to convert to m3u8 but this is not compatible for desktop browsers
[19:18:33 CEST] <BtbN> you can't easily livestream to html5
[19:18:46 CEST] <BtbN> Not in a way that works in more than one or two browsers.
[19:19:12 CEST] <anoop_r> hi
[19:19:20 CEST] <BtbN> Unless you use flash, rtmp is just fine then
[19:19:24 CEST] <Netek> BtbN is there no way of using a fallback system?  ie if m3u8 does not load then fall to rtmp stream?
[19:19:33 CEST] <Netek> sorry my english is not perfect
[19:19:33 CEST] <BtbN> html5 can't play rtmp
[19:19:50 CEST] <anoop_r> sombody help me to correct this command line http://pastebin.com/9HAFqt3Q
[19:19:54 CEST] <BtbN> And html5 can't play m3u8 (hls), except in Safari on OSX
[19:19:58 CEST] <Netek> yes I understand that but can I not convert it to another format or html5?
[19:20:06 CEST] <Netek> or/for
[19:20:13 CEST] <BtbN> There is no common format for html5
[19:20:25 CEST] <Netek> hmm ok
[19:20:31 CEST] <anoop_r> i don't know the corret format to put parametes with  -x265-params
[19:20:44 CEST] <BtbN> Safari on OSX plays HLS, Chrome(And anything Chromium based) plays DASH, IE plays DASH, Firefox doesn't support it at all.
[19:21:07 CEST] <Netek> ok interesting
[19:21:50 CEST] <Netek> so DASH would be what I would require to get somewhere at least
[19:22:09 CEST] <BtbN> you also need a huge chunk of JavaScript, as no browser supports it natively
[19:22:40 CEST] <zhanshan> relaxed not working!
[19:22:53 CEST] <zhanshan> after frame 999 every eleventh frame is wrong
[19:23:00 CEST] <Netek> BtbN this is something I need to learn, we have a client base that uses rtmp streaming services from us but now they have requested for multiple browser support
[19:23:06 CEST] <zhanshan> it's a kind of stroboscope effect
[19:23:23 CEST] <BtbN> Well, every streaming site still uses Flash for their live streams...
[19:23:39 CEST] <Netek> orginally we did rtmp stream in browser using jwplayer with a for mobile viewers link directly the m3u8
[19:23:52 CEST] <Netek> android and apple does not support flash
[19:24:00 CEST] <Netek> so I need to see if I can find something
[19:24:13 CEST] <BtbN> There is no satisfiying solution.
[19:24:23 CEST] <BtbN> Every Browser wants to push its own standard
[19:24:33 CEST] <DHE> I find HLS works on Chrome for Android...
[19:24:48 CEST] <BtbN> Yes, HLS works on Chrome for Android
[19:24:54 CEST] <Netek> DHE yes HLS is not an issue but once you try to access on desktop it does not
[19:24:55 CEST] <BtbN> but it's candidate for removal
[19:25:04 CEST] <BtbN> In favor of DASH
[19:25:13 CEST] <kepstin-laptop> firefox was supposed to support the mediasource extensions needed for dash as of v38, but I dunno what's happened there...
[19:25:30 CEST] <BtbN> They implemented what was needed to get Youtube WebM working, and then stopped
[19:26:23 CEST] <relaxed> zhanshan: create links and verify they're right with "ls -l", x=1; for i in *png; do counter=$(printf %05d $x); ln -s "$i" temp-"$counter".png; x=$(($x+1)); done
[19:29:07 CEST] <relaxed> zhanshan: if so, ffmpeg -framerate $framerate -i temp-%05d.png ...
[19:35:44 CEST] <zhanshan> relaxed: sorry I don't understand
[19:36:09 CEST] <zhanshan> the following command seems to produce the proper video: $ ffmpeg -f image2 -start_number 00001 -i fk1_daan_full%05d.png -i 'FK-#1_daan_Accuracy1024s.flac' -pix_fmt yuv420p -c:v libx264 -crf 18 -c:a flac '002_FK-#1_daan.mkv'
[19:36:15 CEST] <zhanshan> however
[19:36:39 CEST] <zhanshan> I don't understand why
[19:36:46 CEST] <Netek> I think the only solution would be to have rtmp and hls streaming at the same time and using a browser check on website, if browser is a mobile device show 1 player else show other browser
[19:37:02 CEST] <Netek> player
[19:37:07 CEST] <zhanshan> because fk1_daan_full033011.png for example has six digits, right?
[19:37:26 CEST] <pzich> it appears to
[19:37:58 CEST] <zhanshan> thanks pzich!
[19:38:22 CEST] <pzich> do you want to reformat all of the files to pad to 6 digits?
[19:41:09 CEST] <zhanshan> actually I'm looking for a command like that
[19:41:33 CEST] <zhanshan> maybe even remove everything except the digits and the .png
[19:41:35 CEST] <pzich> are all of your files of the format "fk1_daan_full<number>.png"? and you're using bash?
[19:42:00 CEST] <zhanshan> get rid of this useless excess of name-space
[19:42:10 CEST] <zhanshan> yes pzich!
[19:42:26 CEST] <zhanshan> wait actually I'm using xfce4-terminal 0.6.3
[19:42:33 CEST] <zhanshan> is that a bash?
[19:42:48 CEST] <zhanshan> I'm always confused by the different forms of command lines
[19:43:40 CEST] <kepstin-laptop> the terminal (the program that draws letters on the screen) and the shell (the program that interprets what you type and runs commands) are two different things
[19:43:49 CEST] <kepstin-laptop> you're probably running bash inside your xfce-terminal
[19:44:55 CEST] <zhanshan> thanks kepstin-laptop!
[19:45:25 CEST] <zhanshan> now I got it, so easy
[19:45:48 CEST] <anoop_r> somebody help me with this http://pastebin.com/9HAFqt3Q
[19:46:08 CEST] <zhanshan> so with my command %05d.png as expected ffmpeg only rendered until frame number 9999 of 68700
[19:46:17 CEST] <zhanshan> so it's a failure
[19:48:32 CEST] <pzich> so just to check, all of the files start with "fk1_daan_full", have a series of numbers, then end in ".png"?
[19:48:41 CEST] <pzich> and you'd like just 000001.png etc.?
[19:49:41 CEST] <pzich> Try running this, do these renames look right to you? for F in *.png; do N="${F/fk1_daan_full}"; N="${N/.png}"; echo $F `printf %06d.png $N`; done
[19:52:59 CEST] <zhanshan> pzich I'm gonna check on a few files first, thanks!
[19:53:52 CEST] <pzich> You'll need to change that last "echo" to "mv" if it looks right, right now it's just printing out the old and new names
[19:54:51 CEST] <zhanshan> pzich: bash: printf: 068001: invalid octal number
[19:55:24 CEST] <pzich> heh, ok, just a sec
[19:56:45 CEST] <anoop_r>  -x265-params level=85:bitrate=746
[19:57:06 CEST] <anoop_r> when i use it like this bit rate changes but level not changing
[19:57:15 CEST] <anoop_r> why ?
[20:03:28 CEST] <pzich> zhanshan: try for F in *.png; do N="${F/fk1_daan_full}"; N="${N/.png}"; N=$((10#$N)); echo $F `printf %06d.png $N`; done
[20:16:32 CEST] <jc0n> jcay: ready yet?
[20:16:56 CEST] <zhanshan> pzich seems to work, thanks!
[20:17:12 CEST] <pzich> cool
[20:19:38 CEST] <zhanshan_eats> yeah 68k files now....
[20:19:56 CEST] <zhanshan_eats> l8er!
[20:55:23 CEST] <HebusLeTroll> Hello, anyone knows what interpollation is used when using for example -vf "scale=1280:720" argument ?
[21:02:37 CEST] <rsevero> I have several USB AV capture dongles being recorded by ffmpeg. Today one of them stoped working. I have already changed the USB dongle, upgraded ffmpeg and the kernel and even changed the computer that does the recording but still doesn't work. ffmpeg doesn't present any error. It just stays halted until I interrupt it with CTRL-C. You can see it's output here: http://pastebin.com/PunerWAK Any ideas?
[21:03:55 CEST] <BtbN> Multiple capture dongles on the same bus?
[21:04:03 CEST] <BtbN> Or each one on a seperate usb controler?
[21:04:11 CEST] <rsevero> No, just one per USB host/bus.
[21:05:05 CEST] <BtbN> You might be just running out of bandwidth then
[21:05:25 CEST] <rsevero> How if I only have one dongle per SUB bus?
[21:05:31 CEST] <rsevero> USB bus
[21:05:41 CEST] <BtbN> So you do have them on seperate controlers?
[21:06:04 CEST] <BtbN> In that case, does anything else work on that controler? Did you try swapping them around?
[21:06:36 CEST] <rsevero> Take a look yourself: http://pastebin.com/ubAZaS9L
[21:06:44 CEST] <rsevero> Yes, I swaped them around.
[21:06:52 CEST] <rsevero> Just this one doesn't work.
[21:07:20 CEST] <rsevero> It's as if ffmpeg doesn't want to record this particular TV channel anymore.
[21:07:22 CEST] <anoop_r> anybody alive here to help me ?
[21:07:36 CEST] <BtbN> Maybe it just broke?
[21:08:25 CEST] <rsevero> I got a new USB dongle and replaced it. Still the same results. The results I pasted are with the new dongle. In fact I tried 5 different dongles already.
[21:08:30 CEST] <anoop_r> http://pastebin.com/9HAFqt3Q
[21:08:43 CEST] <anoop_r> please correct this command line
[21:10:54 CEST] <anoop_r> http://pastebin.com/9HAFqt3Q
[21:11:31 CEST] <anoop_r> this is not a script its an ffmpeg command line with x265
[21:11:44 CEST] <anoop_r> i need help with x265params
[21:11:59 CEST] <rsevero> anoop_r: But it's missing the ffmpeg output.
[21:12:18 CEST] <anoop_r> ok
[21:13:50 CEST] <relaxed> why on earth would you need to set that many options?
[21:14:38 CEST] <anoop_r> i am making a gui
[21:14:46 CEST] <anoop_r> http://pastebin.com/KX2p3mRV
[21:16:03 CEST] <anoop_r> any where can i get a reference for -x265-params
[21:16:09 CEST] <relaxed> I hope you read https://trac.ffmpeg.org/wiki/Encode/H.265
[21:16:18 CEST] <relaxed> http://x265.readthedocs.org/en/latest/cli.html
[21:24:57 CEST] <delarita> Hello, it is a message for dericed. I would like to use your code to overlay a x264 10bit 422 video encoded from ProResHQ to begin test comparison. I modify the level of grey from 128 to 512 as i was guessing that 10bit eqaul to 1024 grey level. But i don't have a result that match what i expect. I am going to post the video to be watch.
[21:39:33 CEST] <anoop_r> -x264-params level=5.1:crf=23:tune=animation notworking
[21:40:14 CEST] <bencc> when I cut and concatenate mp4, can I do it without transcoding?
[21:40:15 CEST] <FDS_> quote the params
[21:40:21 CEST] <bencc> I mean, cut in time
[21:40:40 CEST] <FDS_> @anoop_r
[21:41:38 CEST] <anoop_r> ffmpeg -i Input.mkv -c:v libx264 -preset veryslow -x264-params level=5.1:crf=23:tune=Animation -c:a copy output.mkv
[21:41:39 CEST] <anoop_r> this is full params
[21:41:55 CEST] <anoop_r> you mean to use like tune="animation"
[21:42:13 CEST] <FDS_> ffmpeg -i Input.mkv -c:v libx264 -preset veryslow -x264-params level=5.1:crf=23:tune=Animation -c:a copy output.mkv
[21:49:21 CEST] <Kuukunen> also, it should be -tune animation
[21:49:36 CEST] <anoop_r> ya
[21:49:48 CEST] <anoop_r> trying with that
[21:49:51 CEST] <Kuukunen> (instructed him elsewhere, but mentioning here)
[21:50:24 CEST] <anoop_r> @Kuukunen can you help me with x265-parmas
[21:50:37 CEST] <anoop_r> some of the params not working
[21:50:52 CEST] <anoop_r> no-constrained-intra:rect:no-amp:early-skip:fast-intra:no-cu-lossless:tskip-fast:b-pyramid:
[21:52:00 CEST] <FDS_> what is not working ?
[21:53:10 CEST] <Kuukunen> anoop_r: you still didn't pastebin your console output :P
[21:53:20 CEST] <anoop_r> http://pastebin.com/KX2p3mRV
[21:53:27 CEST] <anoop_r> see that
[21:53:46 CEST] <anoop_r> if put all the options it will not work means it will not change
[21:58:02 CEST] <zhanshan> pzich the files look integer to me
[21:58:04 CEST] <zhanshan> thanks!
[22:05:45 CEST] <Netek> is it normal to be using large cpu resources for converting rtmp to hls?
[22:07:40 CEST] <BtbN> If you re-encode in the process, yes.
[22:07:53 CEST] <Netek> ok
[22:08:11 CEST] <BtbN> you most likely don't want to do that though
[22:08:19 CEST] <Netek> well I managed to get it working to some standard
[22:08:35 CEST] <Netek> BtbN if I need both to be live? Can you please explain
[22:08:46 CEST] <BtbN> Why encode it a second time? Just stream-copy
[22:08:59 CEST] <Netek> oh yes
[22:08:59 CEST] <BtbN> Or use nginx-rtmp, which can output hls, dash and rtmp at the same time.
[22:09:32 CEST] <Netek> hmm, a few people told me about nginx-rtmp but my linux friends keep pushing me to use ffmpeg direct
[22:09:44 CEST] <Netek> they keep telling me dont use nginx-rtmp
[22:10:31 CEST] <BtbN> Why not?
[22:10:37 CEST] <Netek> no idea
[22:10:46 CEST] <BtbN> It's the best streaming server around, if you don't want to pay for stuff like wowza
[22:10:51 CEST] <Netek> I see
[22:11:12 CEST] <Netek> I will have a look
[22:11:29 CEST] <Netek> will this also reduce power consumption on server?
[22:11:43 CEST] <BtbN> Why would it?
[22:12:14 CEST] <Netek> hah just a silly question, I guess I deserve a silly response.  sorry :)
[22:12:17 CEST] <Netek> no reason why not
[22:12:32 CEST] <BtbN> Just don't pointlessly re-encode
[22:12:38 CEST] <BtbN> a stream copy needs basicaly no resources
[22:12:50 CEST] <Netek> ok
[22:40:43 CEST] <jbruggeman> Hi. The contribute link is broken on the ffmpeg.org webpage
[23:06:11 CEST] <anoop_r> how to disable help in ffmpeg.exe
[23:07:29 CEST] <anoop_r> like ffmpeg -h shows command line help
[23:07:34 CEST] <anoop_r> i want to disable it
[23:20:18 CEST] <Anoia> anoop_r: for what puroposes?
[23:20:27 CEST] <Anoia> just don;t type ffmpeg -h
[23:20:36 CEST] <Anoia> if youw ant to remove it, you have the source
[00:00:00 CEST] --- Tue Jun 16 2015


More information about the Ffmpeg-devel-irc mailing list