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

burek burek021 at gmail.com
Sun Apr 22 03:05:01 EEST 2018


[07:59:08 CEST] <copecA5JNPP> https://www.youtube.com/user/l0de/live IS POPPIN HOT RIGHT NOW STILL GOING!! CALL 315-505-4666. IRC.EFNET.ORG #lrh
[07:59:13 CEST] Last message repeated 7 time(s).
[07:59:13 CEST] <copecA5JNPP> Buster_ Kei_N AppleTor ivanich moser dreamon_ rav0_ gh0st__ nfobot Martchus qwererfrrthyty physicist__ Filarius22 ilove11ven gix hfb Cracki nd_ nimaje sibyakin n000g pinPoint storrgie ferdna wyatt8740 zevarito road|runner hreinnbeck MightyBOB Adarfive wyre utack debianuser hoek MrRobot7 johnjay1 tmatth rexxster elgatov Meow-J__ arooni bove ahjolinna dl2s4 D-ion dustfinger dv_ fflogger faxmodem sim590 Icedream michaelni jnollette beaver Mista_D Orochima
[07:59:13 CEST] <copecA5JNPP> B u s t e r _   K e i _ N   A p p l e T o r   i v a n i c h   m o s e r   d r e a m o n _   r a v 0 _   g h 0 s t _ _   n f o b o t   M a r t c h u s   q w e r e r f r r t h y t y   p h y s i c i s t _ _   F i l a r i u s 2 2   i l o v e 1 1 v e n   g i x   h f b   C r a c k i   n d _   n i m a j e   s i b y a k i n   n 0 0 0 g   p i n P o i n t   s t o r r g i e   f e r d n a   w y a t t 8 7 4 0   z e v a r i t o   r o a d | r u n n e r   h r e i n n 
[07:59:43 CEST] <TheAMM> Morning to you all as well
[07:59:48 CEST] <wyatt8740> getting rather sick of this crap on every freenode channel I'm on on freenode
[07:59:54 CEST] <wyatt8740> wow it's late
[08:00:07 CEST] <wyatt8740> the department of redundancy department needs my services
[08:22:36 CEST] <keithcu> Is there a way to have ffmpeg take advantage of the VA-API without requiring putting extra strings into every ffmpeg command?
[08:44:58 CEST] <gchcetiH> alias it in your shell?
[08:45:15 CEST] <gchcetiH> oh, he/she quit
[12:15:27 CEST] <voltagex> hi, I need a hand to report a bug
[12:15:37 CEST] <voltagex> I've got a file that crashes ffprobe with the ocr filter.
[12:16:09 CEST] <durandal_1707> voltagex: how to reproduce?
[12:16:20 CEST] <voltagex> https://usercontent.irccloud-cdn.com/file/bVWE8l7t/crashes_ffprobe_ocr.mkv
[12:16:35 CEST] <durandal_1707> command?
[12:16:49 CEST] <voltagex> ffprobe -show_entries frame_tags=lavfi.ocr.text -f lavfi -i "movie='crashes_ffprobe_ocr.mkv',ocr"
[12:17:07 CEST] <voltagex> ffprobe version N-90796-ge5ba5fab49 built with tesseract
[12:17:20 CEST] <voltagex> crashes with contains_unichar_id(unichar_id):Error:Assert failed:in file ../../ccutil/unicharset.h, line 513
[12:18:00 CEST] <voltagex> tesseract training data from https://github.com/tesseract-ocr/tessdata/blob/master/eng.traineddata
[12:19:28 CEST] <durandal_1707> voltagex: that looks like tesseract bug and not ffprobe/ffmpeg one
[12:21:20 CEST] <voltagex> tesseract is built into ffmpeg and causes a crash in ffprobe.exe in this case
[12:21:43 CEST] <durandal_1707> voltagex: but your assert indicates otherwise
[12:47:16 CEST] <durandal_1707> voltagex: i just tried with tesseract 3.04.01 and it does not crash here with that command and sample
[12:48:18 CEST] <voltagex> blargh. I wonder what tesseract version got linked in.
[12:51:31 CEST] <voltagex> thanks, I built on a remote machine, I'm pulling the whole build environment down to have a look at it
[13:52:20 CEST] <Kunda_> Anyone care to review this patch? https://www.dropbox.com/s/00n1kcga2ehmsqv/ffmpeg-misc-typos.patch I'm having trouble with submitting this to the mailing list. Email is not sending or may be an issue on my end
[13:54:41 CEST] <Kunda_> Also using git commmit -s didn't sign it so I actually don't mind if it gets merged not under my name. It's a trivial patch that fixes typos.
[14:26:01 CEST] <romano> Can I choose the video codec to the output when using video filters?
[14:27:35 CEST] <ariyasu> no it's not a video filter
[14:27:50 CEST] <ChocolateArmpits> romano, well yeah, -c:v [codec]
[14:27:53 CEST] <ariyasu> you do "-vcodec codec"
[14:28:30 CEST] <ChocolateArmpits> some will say -vcodec is "deprecated", I think it's easier to type than having to hold down shift for that one character
[14:30:40 CEST] <romano> I tried -c:v copy and it said I couldn't do that
[14:31:14 CEST] <ChocolateArmpits> romano, well that's because it can't
[14:31:26 CEST] <ChocolateArmpits> do you want to copy the raw filter ouput or compress it?
[14:32:16 CEST] <ChocolateArmpits> -c:v copy tells to output the demuxed video stream, but filtering is used which alters the stream so that can't be done
[14:32:36 CEST] <romano> I want to cut the original video into segments with the same codec
[14:32:52 CEST] <romano> By frames using the video filter select
[14:33:18 CEST] <romano> So I can use -c:v prores?
[14:33:37 CEST] <ChocolateArmpits> use prores_ks
[14:34:23 CEST] <ChocolateArmpits> If you're cutting frames wouldn't an image sequence be better?
[14:35:14 CEST] <ariyasu> i you want to cut it into segments you and use -ss to mark start points and -t to mark duration, then -c:v copy will work i think
[14:35:57 CEST] <ChocolateArmpits> ariyasu, as he's cutting frames that won't work with a video stream that's using inter-frame compression scheme
[14:36:09 CEST] <ariyasu> ahh ok
[14:36:30 CEST] <ChocolateArmpits> romano, what format is the source video encoded in ?
[14:36:36 CEST] <romano> prores
[14:36:41 CEST] <romano> .mov
[14:37:30 CEST] <ChocolateArmpits> oh then you can cut separate frames and concat them afterwards without recompression
[14:37:37 CEST] <ChocolateArmpits> How many frames will there be though?
[14:38:40 CEST] <romano> Isn't there a tool in ffmpeg that can do that by specifying start and end frame
[14:38:50 CEST] <romano> That would be really helpful
[14:40:48 CEST] <ChocolateArmpits> romano, yeah https://trac.ffmpeg.org/wiki/Seeking#Cuttingsmallsections
[14:41:59 CEST] <romano> The thing is I want to cut by frame, not by time
[14:42:44 CEST] <ChocolateArmpits> convert single frame length to time then
[14:44:13 CEST] <ChocolateArmpits> OR you can use the segmenter https://www.ffmpeg.org/ffmpeg-formats.html#segment_002c-stream_005fsegment_002c-ssegment
[14:45:46 CEST] <ChocolateArmpits> use segment_time to specify each frame duration and segment_frames to specifiy a list of frame times when to cut
[14:46:33 CEST] <ChocolateArmpits> you'll have to concat the output afterwards in either case
[14:49:08 CEST] <romano> Ok, will the segmenter give accurate results given the codec doesn't have keyframes?
[14:49:36 CEST] <ChocolateArmpits> prores has intra-compression so every frame is a "keyframe"
[14:49:42 CEST] <romano> I did not understand why I need to concat
[14:49:55 CEST] <ChocolateArmpits> because you'll get separate output for each frame
[14:50:54 CEST] <romano> a single file for a single frame? Why can't the tool just output a single file corresponding with the segment
[14:54:35 CEST] <romano> In the docs the segmenter divides the whole file in segments of same duration. This is not what I'm trying to acheive. I only want a portion of the video to be cut
[14:55:00 CEST] <ChocolateArmpits> but you said >I want to cut the original video into segments
[14:55:27 CEST] <ChocolateArmpits> if you only need a separate piece of the video then use seeking
[14:55:52 CEST] <ChocolateArmpits> I've linked to the article, it has everything you need
[14:57:58 CEST] <romano> Thank you, I already knew about seeking but I stumble upon video filters which gave me a more controlled way of selecting frames. If I'm using seeking I have to transform frame numbers into time units right?
[14:59:24 CEST] <romano> How can I do that?
[14:59:57 CEST] <ChocolateArmpits> by dividing 1 second by your framerate and getting millisecond count ?
[15:00:22 CEST] <ChocolateArmpits> for example 1 frames at 25fps lasts 00:00:00.040
[15:00:26 CEST] <ChocolateArmpits> frame*
[15:06:19 CEST] <romano> It would be sweet if ffmpeg would already do that, but oh well
[15:25:46 CEST] <roxlu> hi, can I use ffserver to stream a e.g. h264 file (vod) over RTSP?
[17:50:43 CEST] <_aeris_> hello #ffmpeg!
[17:50:52 CEST] <_aeris_> i have a strange behaviour with ffmpeg and ndi
[17:51:03 CEST] <_aeris_> i have a ndi stream generated from OBS, no problem
[17:51:26 CEST] <_aeris_> when i try to capture this stream with "ffmpeg -y -f libndi_newtek -i "ENDOR (OBS)" -vn -c:a aac video/output.ts", no problem, sound only .ts
[17:52:07 CEST] <_aeris_> if i try "fmpeg.sh -y -f libndi_newtek -i "ENDOR (OBS)" -c:v libx264 -c:a aac video/output.ts", video is good but no sound at all&
[17:52:32 CEST] <furq> what's ffmpeg.sh
[17:53:20 CEST] <_aeris_> hum, just ffmpeg :D
[17:53:43 CEST] <_aeris_> i use ffmpeg.sh in both case, just a shell wrapper to load lib from ffmpeg build dir
[17:55:57 CEST] <_aeris_> in both case, ffmpeg output seems the same& https://paste.imirhil.fr/?ddde2c5222606d36#TWsXBVYd+YQ0lCPkhJCFOZPQMSfvtRdtEzVT47+lDhQ=
[17:58:05 CEST] <klaxa> huh, doesn't look wrong...
[18:00:24 CEST] <_aeris_> and the ffprobe output on both output : https://paste.imirhil.fr/?b060eb3baa70b9af#MLbXza2rCuu6YFHhX51E9s/Cf1Iryn6bZkthei0GkA8=
[18:01:15 CEST] <_aeris_> I notice too the "-t" option is not working with audio only (exit immediatly with a 0.02s output)
[18:01:40 CEST] <_aeris_> *-to
[18:02:16 CEST] <_aeris_> (seems the same with -t in fact)
[18:02:21 CEST] <klaxa> >Duration: 00:00:05.30, start: 82241.058333, bitrate: 149 kb/s
[18:02:27 CEST] <klaxa> i think some timestamps are wrong
[18:02:35 CEST] <klaxa> the audio stream starts at 82241 seconds
[18:02:49 CEST] <_aeris_> timestamp are completely borken during capture
[18:02:53 CEST] <_aeris_> size=      52kB time=423421:46:54.01 bitrate=   0.0kbits/s speed=8.41e+08x
[18:03:41 CEST] <klaxa> not sure if -fflags +genpts helps
[18:03:47 CEST] <klaxa> but worth a shot i guess?
[18:03:59 CEST] <klaxa> just add that as an output option i think
[18:05:17 CEST] <_aeris_> not better :(
[18:05:22 CEST] <klaxa> :(
[18:06:06 CEST] <klaxa> maybe as an input option? dunno
[18:06:25 CEST] <klaxa> not sure if that makes sense, but maybe that overwrites the incoming pts or something
[18:07:08 CEST] <_aeris_> not better too :s
[20:04:51 CEST] <Diag> Holy shit i love you guys :D
[20:17:05 CEST] <furq> thanks
[20:25:34 CEST] <sonya> HEVC enconding profile main is https://pastebin.com/Fzgab1cv how about Profile : main, level : 3 ?
[20:25:59 CEST] <Diag> now all i gotta do is make shit that uses ffmpeg use the amf encoder
[20:26:57 CEST] <sonya> amf encoder ? what do you mean ?
[20:31:01 CEST] <Diag> encodes on the gpu
[20:31:39 CEST] <sonya> does amf encoder support CLI like ffmpeg ?
[20:32:29 CEST] <sonya> i encoding in server. not real PC
[21:38:45 CEST] <elucard> i want to convert some videos to 480p to save space, will keep the originals in backup. do you think x264, x265, NVENC 264, or NVENC 265 would be the best choice?
[21:39:05 CEST] <BtbN> hwencoders are bad
[21:39:18 CEST] <BtbN> they are fast/low on CPU, everything else they are bad at
[21:40:16 CEST] <elucard> i see. do you think for small video size software x264 or x265 would be a better choice? i've read somewhere that x265 is better for high resolution video
[21:40:27 CEST] <elucard> *small video resolution
[21:40:47 CEST] <BtbN> for 480p there'll be barely no difference
[21:40:52 CEST] <BtbN> and a lot worse compatiblity
[21:41:19 CEST] <elucard> no difference as in no relevant size difference?
[21:58:04 CEST] <FishPencil> Can FFmpeg be used to correct "fisheye" or wide angle distortion?
[22:02:39 CEST] <furq> yes but it's not trivial
[22:02:45 CEST] <furq> !filter lenscorrection @FishPencil
[22:02:45 CEST] <nfobot> FishPencil: http://ffmpeg.org/ffmpeg-filters.html#lenscorrection
[22:58:26 CEST] <kerio> that can barely rectify normal lenses' distortion
[22:58:55 CEST] <kerio> no sixth degree radial term, no tangential terms
[22:59:36 CEST] <kerio> FishPencil: fisheye requires a different optical model than the usual pinhole one
[23:39:29 CEST] <FishPencil> kerio: Are you suggesting to not use FFmpeg?
[23:41:17 CEST] <kerio> what kind of calibration parameters do you have?
[23:45:06 CEST] <FishPencil> kerio: I haven't done any opencv tests yet, but it's a 170 degree lens
[23:45:19 CEST] <alone-y> hello, any onw know, drawtext use antialiasing as default?
[00:00:00 CEST] --- Sun Apr 22 2018


More information about the Ffmpeg-devel-irc mailing list