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

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


[00:00:11 CEST] <kodur> nevermind, i think I got it.
[00:08:34 CEST] <kodur> thanks anyway :)
[00:25:45 CEST] <animax> hi all. whttp://www.pasteall.org/58869 hat do the expressions '%%a' and '%%~na' mean?
[00:25:57 CEST] <animax> sorry
[00:26:02 CEST] <animax> link:
[00:26:04 CEST] <animax> http://www.pasteall.org/58869
[00:26:43 CEST] <animax> what do the expressions '%%a' and '%%~na' mean?
[01:23:23 CEST] <zumba_addict> hey folks, a friend of mine gave me this mp4 file and ffmpeg reported this - Stream #0:0: Video: h264 (Constrained Baseline), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 1k tbn, 50 tbc
[01:23:56 CEST] <zumba_addict> mplayer cannot play it. What is it?
[01:27:47 CEST] <zumba_addict> here is a complete ffmpeg -i report - http://pastebin.com/rnTAhLj5
[02:28:36 CEST] <chungy> zumba_addict: https://en.wikipedia.org/wiki/H.264/MPEG-4_AVC#Profiles
[02:29:13 CEST] <chungy> seems odd that mplayer can't handle it; does it work with ffplay, or other players like vlc or mpv?
[04:29:31 CEST] <zumba_addict> chungy: it's ok now. It just took so long for mplayer to play it
[04:29:37 CEST] <zumba_addict> but it's playing well now
[04:41:59 CEST] <HellsZNC> join server irc.deadchildren.info join channel #HELLNET
[04:42:00 CEST] Last message repeated 1 time(s).
[04:42:02 CEST] Last message repeated 2 time(s).
[04:42:02 CEST] <HellsZNC> v
[04:42:03 CEST] <HellsZNC> join server irc.deadchildren.info join channel #HELLNET
[06:49:04 CEST] <bindi> greetings, will nvenc work on ubuntu and a gt 520?
[09:06:07 CEST] <zachary> [flv @ 0x1c53260] Video codec wmv3 not compatible with flv
[09:06:35 CEST] <zachary> could anyone help on how to push AVI video with ffmpeg
[09:07:08 CEST] <zachary> this is the command: ffmpeg -re -i ~/nrf/sq.avi -c copy -f flv -strict -2 rtmp://127.0.0.1/live/mystream
[09:20:07 CEST] <harisk92> hello guys
[09:20:32 CEST] <harisk92> I just tried to install ffmpeg from sources on Debian Jessie
[09:21:12 CEST] <harisk92> when I enter into ffmpeg folder which I cloned from git//git.videolan.org
[09:21:20 CEST] <harisk92> and try to configure
[09:21:33 CEST] <harisk92> Android studio opens
[09:21:52 CEST] <harisk92> this is so weird
[09:55:55 CEST] <cehoyos> harisk92: "and try to configure" <- what do you mean exactly?
[09:56:43 CEST] <harisk92> cehoyos: ./configure
[09:58:50 CEST] <cehoyos> And that opens Android studio?
[10:16:25 CEST] <harisk92> cehoyos: yes
[10:16:34 CEST] <harisk92> cehoyos: I removed
[10:16:46 CEST] <harisk92> cehoyos: android studio and it went trought
[10:17:00 CEST] <harisk92> cehoyos: now I have another issue
[10:17:03 CEST] <harisk92> mkdir: cannot create directory /usr/local/share/ffmpeg: No such file or directory
[10:17:42 CEST] <cehoyos> But this is an installation issue, not a build issue or do I misunderstand?
[10:18:07 CEST] <harisk92> cehoyos: yup
[10:18:14 CEST] <cehoyos> Note that I am curious how your original issue happened: Did configure run through and Android Studio was just opened additionally?
[10:18:48 CEST] <cehoyos> Short answer: run make install as root (or sudo), long answer is that I never install (and I build practically every day), it depends on your usecase.
[10:19:26 CEST] <cehoyos> The ffmpeg binary that you created should run by itself (if you did not specify "--enable-shared", you can put it into any directory you want.
[10:19:31 CEST] <harisk92> cehoyos: Iam building .deb file from sources using checkinstall
[10:20:00 CEST] <cehoyos> Ok, since I am not a Debian user myself, I cannot really comment but sudo (or running as root) should fix that.
[10:20:05 CEST] <harisk92> cehoyos: but Iam having hard time I guess it's just a part of process xD
[10:20:17 CEST] <harisk92> cehoyos: did it
[10:41:05 CEST] <harisk92> cehoyos: everything went fine
[10:41:15 CEST] <harisk92> cehoyos: I had to manually create folder :/
[10:45:52 CEST] <cehoyos> How can I reproduce this?
[10:50:48 CEST] <cehoyos> I tested "./configure --prefix=/some/path" and make install did create "/some/path/shared/ffmpeg"
[10:51:01 CEST] <cehoyos> s/shared/share
[11:05:11 CEST] <aiena> I had a script which worked fine earlier rerunning that script on a fresh install does not work I get this strange error "[x11grab @ 0xf22680] Capture area 1366x741 at position 0.0 outside the screen size 1366x768"
[11:05:32 CEST] <aiena> but 1366x741 is smaller than 1366x768
[11:05:37 CEST] <aiena> i dont know what they mean
[11:12:12 CEST] <aiena> hmm got it it needs to be 1365 is scren res is 1366
[11:18:25 CEST] <chungy> aiena: it's a bug
[11:18:48 CEST] <chungy> See the tip of the releases/2.6 branch for a fix. Should be safe to compile from that, too.
[11:26:45 CEST] <aiena> chungy thanks
[11:26:52 CEST] <aiena> er info ffmpeg
[11:26:57 CEST] <aiena> erm sorry
[11:27:21 CEST] <aiena> terminal command partial output accidentally went here
[11:29:43 CEST] <mkilivan> Hi all, I am trying to convert g722 file to wav file. The default input frequency is 16000 Hz, I couldn't change this value. Here is command and respond.
[11:29:46 CEST] <mkilivan> >ffmpeg -f g722 -ar 8000 -i input.g722 output.wav
[11:30:02 CEST] <mkilivan> ...
[11:30:03 CEST] <mkilivan> Option sample_rate not found.
[11:31:22 CEST] <mkilivan> Can anyone point me in the right direction for doing that?
[12:00:36 CEST] <durandal_1707> havent you read documentation and list demuxer options
[12:06:56 CEST] <animax> hi again. what is the meaning of '%%a' and '%%~na' in this expression: http://www.pasteall.org/58875? working on win 7 ult 64bit. I want to batch encode a couple of video files. all are in the same folder with nothing else in it.
[12:11:43 CEST] <mkilivan> durandal_1707 I had a look at the documentation but it didn't work for me. Perhaps I wasn't looking at the right section. I would be glad if you could help.
[12:42:22 CEST] <harisk92> hey guys I have this command ffmpeg -f lavfi -i 'testsrc=size=704x480:duration=30' -vcodec libx264 -f ssegment -hls_list_size 10 -segment_list playlist.m3u8 -segment_time 10 -segment_list_flags +live -strftime 1 "%Y%m%d%H%M%S.ts"
[12:42:36 CEST] <harisk92> how can I add testsrc audio to it ?
[12:49:47 CEST] <durandal_1707> mkilivan: ffmpeg -h demuxer=g722
[12:53:03 CEST] <cehoyos> harisk92: ffmpeg -f lavfi -i testsrc -f lavfi -i sine
[12:53:39 CEST] <harisk92> cehoyos: thx mate you are life saver
[12:53:55 CEST] <cehoyos> harisk92: Why did you try to specify the input sample rate for your g722 file? Did "ffmpeg -i input.g722 out.wav" not work?
[12:56:27 CEST] <harisk92> cehoyos: I didn't
[12:56:50 CEST] <harisk92> cehoyos: that's mkilivan guy I think :D
[12:57:26 CEST] <mkilivan> cehoyos it worked but generated wav file looks to be about 2x the frequency
[12:57:58 CEST] <mkilivan> And I am sure my input file sample's rate is 8000 Hz.
[12:58:56 CEST] <durandal_1707> have you tried my company?
[12:59:12 CEST] <durandal_1707> command
[12:59:52 CEST] <durandal_1707> there is setrate filter
[13:02:00 CEST] <mkilivan> durandal_1707: I tried. It didn't print help for g722. The output is here http://pastebin.com/S4qFT4ZJ
[13:04:18 CEST] <durandal_1707> then try filter
[13:07:12 CEST] <cehoyos> mkilivan: Please provide your input file.
[13:09:21 CEST] <cehoyos> Wikipedia says: "G.722 sample audio data at a rate of 16 kHz"
[13:09:34 CEST] <cehoyos> This is not necessarily true but it is the only information (except FFmpeg) we have so far.
[13:09:40 CEST] <spaceone> hi
[13:09:49 CEST] <spaceone> i get ":0.0: Protocol not found"
[13:10:04 CEST] <spaceone> ffmpeg -f alsa -i pulse -f x11grab -framerate 10 -s '1920*1080' '1920*1080' -i :0.0 -c:v libvpx -deadline realtime -qmin 10 -qmax 20 -b:v 2M -c:a libvorbis -q:a 4 ./2015-06-08-125657_screen.webm
[13:10:05 CEST] <mkilivan> cehoyos: Here is the g722 file http://pastebin.com/RhrijRMc
[13:10:17 CEST] <spaceone> how can i fix this?
[13:11:27 CEST] <cehoyos> How can I use this??
[13:12:07 CEST] <cehoyos> spaceone: Please post your complete cosole output on pastebin
[13:12:41 CEST] <cehoyos> mkilivan: Did you produce your file with FFmpeg? Is there an application that plays it correctly?
[13:13:37 CEST] <harisk92> cehoyos: how can I see advanced help for -v option ?
[13:13:58 CEST] <harisk92> cehoyos: I tried ffmpeg -help -v
[13:14:28 CEST] <cehoyos> You find it on https://ffmpeg.org/ffmpeg-all.html if you search for "loglevel"
[13:15:00 CEST] <mkilivan> cehoyos: Sorry, you can downlaod the g722 file from here.
[13:15:10 CEST] <mkilivan> http://filebin.ca/24WO7KvynP21/FH_R0300_3.g722
[13:15:35 CEST] <spaceone> cehoyos: http://nopaste.linux-dev.org/?543550&download
[13:16:57 CEST] <cehoyos> What is  the following supposed to do? -s '1920*1080' '1920*1080'
[13:17:26 CEST] <spaceone> screen resolution
[13:17:32 CEST] <spaceone> I just copied it
[13:17:51 CEST] <cehoyos> Please use instead;. -video_size hd1080
[13:18:05 CEST] <cehoyos> Or -video_size 1920x1080
[13:18:26 CEST] <spaceone> okay
[13:18:28 CEST] <cehoyos> Or even -s 1920x1080
[13:19:03 CEST] <spaceone> nice! it works then!
[13:19:18 CEST] <cehoyos> mkilivan: How did you produce the file?
[13:19:32 CEST] <cehoyos> FFmpeg currently has a bug: It allows to write G722 files that are not 16kHz
[13:19:46 CEST] <spaceone> "currently" == which version?
[13:21:08 CEST] <mkilivan> cehoyos: This file is captured from an g722 voice recorder. I played this file on Audacity after it has been converted to wav. I don't know if there an application to play g722 directly.
[13:24:30 CEST] <cehoyos> So the file you uploaded was produced by a hardware encoder?
[13:24:53 CEST] <cehoyos> And is there software or hardware that plays it differently than ffplay?
[13:26:15 CEST] <cehoyos> Could you tell the name of the voice recorder?
[13:26:29 CEST] <mkilivan> cehoyos: Yes, this file produced by a hardware encoder. But there is no software/hardware to plat this.
[13:26:39 CEST] <cehoyos> Not even on the recordere?
[13:26:39 CEST] <mkilivan> *play
[13:27:34 CEST] <mkilivan> Not even recoder.
[13:27:58 CEST] <cehoyos> What is the name / type of the recorder?
[13:28:04 CEST] <mkilivan> The only interface on the recorder is uart interface
[13:28:15 CEST] <cehoyos> (This issue would be very easy to fix but if the file is invalid it may be better not to fix it...)
[13:29:52 CEST] <mkilivan> It's not on the shelf as it is still under development.
[13:30:51 CEST] <cehoyos> So is there a possibility that the device is simply buggy and produces incorrect files?
[13:32:53 CEST] <mkilivan> yes, it is possible. That's why I need to play back on ffplay.
[13:33:45 CEST] <mkilivan> If you say 16Khz is a standard value it is must than I would accept this device is faulty.
[13:34:30 CEST] <cehoyos> No, I said that wikipedia claims that G722 is 16kHz (both English and German).
[13:34:51 CEST] <cehoyos> I believe the specification is available, please search there!
[13:35:33 CEST] <mkilivan> If I could change the sample rate to 8Khz it would be easy to confirm that device is works fine. Currently I don't have any tool/software to do that.
[13:36:18 CEST] <cehoyos> FFmpeg has a filter to do this...
[13:37:26 CEST] <mkilivan> Is this filter for only output? Because I did change the output file bitrate but not input?
[13:37:28 CEST] <cehoyos> -af aresample=8k
[13:37:42 CEST] <cehoyos> Filters only affect the output file, never the input file
[13:39:42 CEST] <mkilivan> So, it seems there is no way to change input sample rate at the moment?
[13:39:54 CEST] <cehoyos> ffmpeg -i yourfile -af aresample=8k out.wav
[13:39:55 CEST] <cehoyos> ?
[13:40:39 CEST] <cehoyos> No, sorry, I misunderstood.
[13:40:52 CEST] <cehoyos> you have to edit libavformat/g722.c and replace 16000 with 8000
[13:41:58 CEST] <mkilivan> Alright, I will have a look at the standard to see if 8Khz is supported. Also I will try to change device sample rate to 16Khz (If I can).
[13:42:09 CEST] <mkilivan> Thanks for your time cehoyos.
[13:42:11 CEST] <cehoyos> No.
[13:42:17 CEST] <cehoyos> Found the filter: asetrate
[13:42:34 CEST] <cehoyos> -af asetrate=8k
[13:42:44 CEST] <cehoyos> Does this produce the correct output?
[13:42:57 CEST] <mkilivan> aah, that is good advice, thanks.
[13:47:47 CEST] <anshul_mahe> does any one know of some test videos which are most difficult to maintain constant bitrate for h264, and other video codec
[13:48:30 CEST] <cehoyos> You mean -f rawvideo -i /dev/random ?
[13:49:47 CEST] <anshul_mahe> I dont know, it looks like it would be worst video to maintain cbr for any codec. and best for my test
[13:50:35 CEST] <anshul_mahe> I am just playing with ffmpeg and x264 preset  file
[13:57:30 CEST] <harisk92> cehoyos: I have question this is my command which produces ffmpeg -f lavfi -i 'testsrc=size=704x480' -f lavfi -i sine -vcodec libx264 -preset ultrafast -profile:v baseline -level 3.0 -pix_fmt yuv420p  -acodec libfaac -f ssegment -segment_list_size 5 -segment_list chunklist.m3u8 -segment_time 10 -segment_list_flags +live -strftime 1 "%Y%m%d%H%M%S.ts"
[13:58:10 CEST] <harisk92> cehoyos: I set up nginx webserver to call chunklist.m3u8
[13:58:23 CEST] <harisk92> cehoyos: and I opened it locally in Safari
[13:58:54 CEST] <harisk92> cehoyos: and what I notice is that video and audio constantly freezing
[13:59:13 CEST] <harisk92> cehoyos: at random intervals between 5-15 seconds
[13:59:26 CEST] <harisk92> cehoyos: do you know reason behind this ?
[14:01:59 CEST] <harisk92> cehoyos: Iam playing .m3u8 file with default Debian player and it freezes after 1 minute or so
[14:08:06 CEST] <harisk92> looks like iam missing -re flag
[15:27:25 CEST] <_vaibhavingale_> http://irc.lc/freenode/chromium/t4nk@@@
[15:28:57 CEST] <_vaibhavingale_> I have converted flac file into mp3 @ 320 kbps. When I play it in browser throught it takes 20-25 seconds delay to buffer before it could start
[15:29:11 CEST] <_vaibhavingale_> is there any way I can reduce that delay?
[15:38:01 CEST] <chungy> faster network connections or getting Chromium to have a smaller buffer, or use a bitrate that produces a smaller file. I don't imagine there's much else control you can have.
[15:50:01 CEST] <_vaibhavingale_> Okie, so what if I make mp3 segments from some streaming server.
[16:45:59 CEST] <rjp421> http://www.streamingmedia.com/ConferenceVideos
[18:01:45 CEST] <NoTiTo> morning
[18:02:24 CEST] <NoTiTo> How dow I workout my ffmpeg version fro this response? >>ffmpeg version N-72743-g130a6c0
[18:02:57 CEST] <NoTiTo> this is what I get from running "ffmpeg -version" after compiling from the git repo
[18:05:56 CEST] <anoop_r> how to set profile in libx265
[18:06:18 CEST] <anoop_r> i want to set profile to  main444-10
[18:06:46 CEST] <anoop_r> i had used this -x265-params profile=main444-10 but not working
[18:06:49 CEST] <anoop_r> why ?
[18:08:19 CEST] <chungy> NoTiTo: That's because there is no version number associated with the Git HEAD :P
[18:08:30 CEST] <chungy> "git show 130a6c0" would give you the exact commit
[18:10:24 CEST] <NoTiTo> chungy: thanks, my commit is "130a6c04a4660e77d5eaf2e84e9fe751e091449b". How do I work it out from there?
[18:11:22 CEST] <chungy> What are you trying to work out?
[18:13:50 CEST] <NoTiTo> The version number e.g. 2.6...
[18:14:10 CEST] <chungy> There is none
[18:14:18 CEST] <anoop_r> i had used latest ffmpeg to compile
[18:14:22 CEST] <chungy> It'll eventually be in 2.7 and later versions, but that doesn't exist yet.
[18:14:29 CEST] <NoTiTo> I pulled fresh source via "git pull origin master"
[18:16:20 CEST] <chungy> there is no version number.
[18:16:52 CEST] <NoTiTo> I pulled from this repo git://source.ffmpeg.org/ffmpeg.git - master branch
[18:17:23 CEST] <NoTiTo> would that be the latest stable? Recommended?
[18:17:46 CEST] <chungy> the latest stable and recommended is 2.6.3. If you want to check it out from your repo, just type "git checkout n2.6.3"
[18:18:43 CEST] <NoTiTo> once I've done that do I just rebuild? ./confugure + make, etc?
[18:18:49 CEST] <chungy> yes
[18:24:24 CEST] <NoTiTo> chungy: thanks mate, trying it out now
[19:01:11 CEST] <Guest55906> hi
[19:03:12 CEST] <Guest55906> I'm pretty new to ffmpeg and I'm trying to convert multiple videos(with different aspect ratios and encodings) to a default aspect ratio(let's say 4x3) and default encoding
[19:05:20 CEST] <Guest55906> do I need to go and check the aspect ratios and encodings for each video separately and then based on the information to build the ffmpeg command or there is a way I can "force" encoding and aspect ratio(by padding if necessary). What is the best practice?
[19:27:13 CEST] <llogan> Guest55906: are you also trying to scale to a specific width and/or height?
[19:29:09 CEST] <NoTiTo> chungy: I switched branches to n2.6.3, rebuilt and I'm still not getting 2.6.3 in my version
[19:42:52 CEST] <chungy> NoTiTo: that shouldn't be, but it might be because you configured it on the master branch before.
[19:43:13 CEST] <chungy> "git clean -xfd" will remove all files not in the repository tree, if you want to try it from a completely clean slate.
[19:43:37 CEST] <NoTiTo> would I still need to run "make clean"?
[19:45:16 CEST] <chungy> It would remove all the generated files, you'd need to do ./configure again
[19:45:31 CEST] <chungy> so, no
[19:45:46 CEST] <NoTiTo> cool, running ./configure again
[19:56:43 CEST] <NoTiTo> œ  ~  ffmpeg -version
[19:56:43 CEST] <NoTiTo> ffmpeg version n2.6.3 Copyright (c) 2000-2015 the FFmpeg developers
[19:56:56 CEST] <NoTiTo> chungy: it worked :)
[19:57:01 CEST] <chungy> woo :)
[19:57:06 CEST] <NoTiTo> w00t!
[19:57:09 CEST] <NoTiTo> thanks mate
[19:57:48 CEST] <NoTiTo> now, to try and get MLT Framework & Melted (server) working
[20:02:53 CEST] <anoop_r> ffmpeg1 -pix_fmt yuv444p -i Air.mkv -c:v libx265 -preset veryfast -x265-params crf=28 -c:a aac -strict experimental -b:a 128k output.mp4
[20:03:02 CEST] <anoop_r> but Option pixel_format not found.
[20:03:23 CEST] <anoop_r> can anybody tell me how to use -pix_fmt
[20:06:19 CEST] <anoop_r> ok
[20:06:24 CEST] <chungy> you put -pix_fmt as an input file option. you want it as an output option
[20:07:12 CEST] <[-T-]> just a small patch
[20:07:17 CEST] <[-T-]> oups
[20:07:31 CEST] <llogan> anoop_r: also, -crf should work with libx265 now instead of using -x265-params
[20:07:34 CEST] <anoop_r> i want to convert 4:2:2 video to 4:4:4 AND to provide it to libx265
[20:08:50 CEST] <Guest55906> @llogan I'm trying to scale to 4x3, and yes, it can have some default width and height e.i. 720x480
[20:09:12 CEST] <Guest55906> llogan I'm trying to scale to 4x3, and yes, it can have some default width and height e.i. 720x480
[20:10:34 CEST] <anoop_r> http://pastie.org/10229959
[20:10:40 CEST] <anoop_r> please see this
[20:13:53 CEST] <llogan> anoop_r: "<chingy> you put -pix_fmt as an input file option. you want it as an output option"
[20:14:08 CEST] <llogan> that was supposed to be "chungy"
[20:14:30 CEST] <anoop_r> ya but i don't get it
[20:14:54 CEST] <anoop_r> you seen my command line
[20:15:08 CEST] <llogan> http://ffmpeg.org/ffmpeg.html#Synopsis
[20:16:00 CEST] <chungy> the order of arguments matters in ffmpeg
[20:16:30 CEST] <chungy> -pix_fmt for input only makes sense for raw video streams
[20:17:22 CEST] <llogan> and even then it should be -pixel_format for rawvideo demuxer
[20:18:06 CEST] <anoop_r> now i understand
[20:26:56 CEST] <anoop_r> i had encoded using -pix_fmt yuv444p
[20:27:24 CEST] <anoop_r> but the output videos profile is unknown now
[20:27:31 CEST] <anoop_r> why
[20:27:43 CEST] <anoop_r> Format/Info : High Efficiency Video Coding
[20:27:55 CEST] <anoop_r> Format profile : Unknown at L3.1
[20:29:09 CEST] <llogan> Guest55906: maybe you want something like this? http://superuser.com/a/547406/110524
[20:33:03 CEST] <anoop_r> i am not using raw video .also my output video is playable with no problem.the only thin i notice the profile name turned to unknown
[20:41:39 CEST] <kyleogrg> hi
[20:43:09 CEST] <kyleogrg> best IVTC setting, in your opinions?
[20:44:00 CEST] <JEEBsv> correct ones for your source
[20:44:16 CEST] <JEEBsv> I mean, IVTC is not exactly limited by anything else than you getting the right pattern :P
[20:44:29 CEST] <JEEBsv> there is literally no "best" settings
[20:44:40 CEST] <JEEBsv> just correct ones and incorrect ones
[20:46:40 CEST] <kyleogrg> my source is a movie which was probably 24p (film)
[20:47:09 CEST] <kyleogrg> That is, that's the source of the DVD I'm ripping from.
[20:47:19 CEST] <kyleogrg> The DVD itself is 29.97 interlaced
[20:47:21 CEST] <JEEBsv> I recommend previewing with something like mpv and testing out the swscale IVTC filters
[20:47:27 CEST] <JEEBsv> uuh
[20:47:30 CEST] <JEEBsv> libavfilter I mean
[20:47:38 CEST] <JEEBsv> that way you can have a visual look at it
[20:47:56 CEST] <kyleogrg> ok, what's mpv?
[20:48:03 CEST] <JEEBsv> it's the sanest mplayer fork
[20:48:43 CEST] <JEEBsv> the filters you'd be testing are: https://www.ffmpeg.org/ffmpeg-all.html#fieldmatch and https://www.ffmpeg.org/ffmpeg-all.html#decimate
[20:49:18 CEST] <kyleogrg> okay, the reason i ask is I have a video encoding in ffmpeg
[20:49:34 CEST] <kyleogrg> my IVTC setting is fieldmatch, yadif, decimate
[20:49:51 CEST] <kyleogrg> and the output looks good, except it seems slightly jumpy
[20:49:53 CEST] <JEEBsv> sounds like a sane'ish combo, although in general you don't need the yadif there
[20:50:17 CEST] <JEEBsv> anyways, I recommed doing field-by-field / frame-by-frame checks
[20:50:20 CEST] <kyleogrg> so actually, i just want to know why it's jumpy
[20:50:21 CEST] <JEEBsv> with mpv or so
[20:50:38 CEST] <JEEBsv> (or you could test a frameserver like vapoursynth with vapoursynth editor)
[20:50:51 CEST] <JEEBsv> but mpv would let you test avfilter chains
[20:50:58 CEST] <JEEBsv> which you can then use in ffmpeg
[20:51:14 CEST] <kyleogrg> offhand, do you know why output might seems slightly jumpy or uneven?
[20:51:50 CEST] <JEEBsv> no, because it can be everything from "that's how it is when you have stuff at 24/1.001fps" to "you're field matching it wrong" or "you're decimating it wrong"
[20:53:18 CEST] <JEEBsv> which is why the first thing you do is something a la separatefields() -> selecteven() and go through the content in a few spots. note the type of content you're dealing with. possibly check with the selecteven() removed and check how the fields go. then test according to the documentation and preview before actually doing encodes
[20:53:38 CEST] <kyleogrg> Okay... Source is NTSC DVD.  FFmpeg IVTC setting is: "fieldmatch,yadif=deint=interlaced,decimate"
[20:53:59 CEST] <JEEBsv> unfortunately it's not as simple as that, as I said you have to dig in and look at your source
[20:54:07 CEST] <kyleogrg> ok
[20:54:09 CEST] <JEEBsv> with mpv or vapoursynth or something
[20:54:15 CEST] <JEEBsv> that gives you a good look
[20:54:27 CEST] <kyleogrg> those functions you just mentioned - what program are those for?
[20:54:33 CEST] <kyleogrg> I only am familar with ffmpeg
[20:54:45 CEST] <ChocolateArmpits> vapoursynth is a frameserver, mpv is a media player
[20:54:46 CEST] <JEEBsv> those are vapoursynth, but similar stuff is possible with avfilter most definitely as well as with vapoursynth
[20:55:11 CEST] <kyleogrg> ok thanks
[20:55:14 CEST] <JEEBsv> ChocolateArmpits: yes, but coupled with vapoursynth editor it gives you a rather good way of doing preview of your work :P
[20:55:29 CEST] <ChocolateArmpits> It's missing one thing
[20:55:31 CEST] <ChocolateArmpits> play button
[20:55:48 CEST] <JEEBsv> I was talking about frame-by-frame shit and you can open the shit in mpv if you really want to
[20:56:24 CEST] <JEEBsv> so what I noted in mpv to begin with is to be able to preview your avfilter filtering chains since the result is pretty much the same between it and ffmpeg in that regard
[20:56:54 CEST] <ChocolateArmpits> Why not use ffplay to preview the filtering ?
[20:57:00 CEST] <JEEBsv> because ffplay is fucking shit
[20:57:10 CEST] <JEEBsv> it's a proof of concept piece of shit
[20:57:27 CEST] <JEEBsv> mpv might actually have other uses and the lavf/lavc/whatever usage is generally close enough to ffplay
[20:57:28 CEST] <ChocolateArmpits> I never had problems with it and it's a good way to go from the filtergraph there to ffmpeg
[20:57:48 CEST] <JEEBsv> yes, except it's not the only thing capable of that
[20:58:12 CEST] <kyleogrg> you can't step field-by-field in vlc, can you?
[20:58:17 CEST] <JEEBsv> nope
[20:58:25 CEST] <JEEBsv> use a player that lets you use avfilter chains
[20:58:29 CEST] <JEEBsv> mpv, ffplay, whatever
[20:58:30 CEST] <JEEBsv> :P
[20:58:46 CEST] <kyleogrg> ok
[20:58:57 CEST] <kyleogrg> can you give me a command line example for ffplay (never used it)?
[20:59:03 CEST] <JEEBsv> I don't use ffplay
[20:59:10 CEST] <JEEBsv> I just mentioned it since ChocolateArmpits happened to mention it
[20:59:13 CEST] <ChocolateArmpits> well yadif deinterlacing could technically be substituted for a field previewer ?
[20:59:19 CEST] <kyleogrg> then mpv?
[20:59:28 CEST] <JEEBsv> see the mpv manual regarding avfilter chains
[20:59:32 CEST] <JEEBsv> the manual is pretty good
[20:59:50 CEST] <JEEBsv> http://mpv.io/manual/master/#video-filters
[20:59:52 CEST] <kyleogrg> ok
[21:00:17 CEST] <JEEBsv> it does IIRC have its own filters too, but you create an avfilter filter chain as well
[21:00:27 CEST] <JEEBsv> yeah lavfi=graph[:sws-flags[:o=opts]]
[21:00:35 CEST] <JEEBsv> http://mpv.io/manual/master/#video-filters-lavfi
[21:02:18 CEST] <kyleogrg> why isn't pullup more simple?
[21:02:41 CEST] <kyleogrg> because isn't the pulldown method pretty standard?
[21:02:51 CEST] <JEEBsv> you'd be surprised :P
[21:03:28 CEST] <kyleogrg> theoretically, if there's an uninterrupted pulldown pattern, can't it be simply reversed?
[21:03:44 CEST] <JEEBsv> yes, you just have to set the pattern then and that's it
[21:03:51 CEST] <JEEBsv> unfortunately, in a lot of cases that's not how it goes
[21:03:57 CEST] <kyleogrg> hmm ok
[21:04:00 CEST] <anoop_r> please see this http://pastie.org/10230072
[21:04:02 CEST] <JEEBsv> which is why algos usually look at possible patterns
[21:04:12 CEST] <anoop_r> profile is not changing
[21:04:14 CEST] <JEEBsv> of course there's also the completely fucked up shit
[21:04:24 CEST] <JEEBsv> which depends on your level of masochism
[21:04:27 CEST] <kyleogrg> but this is an entire film on dvd.  should it have a consistent pulldown pattern?  in other words, it's unedited
[21:04:50 CEST] <JEEBsv> like 30i credits on 24p content and stuff like that
[21:05:08 CEST] <kyleogrg> ok
[21:05:11 CEST] <JEEBsv> (I'm not even going to mention complete frame rate conversion fuck-ups
[21:05:18 CEST] <kyleogrg> this is a 1957 hollywood movie
[21:05:24 CEST] <kyleogrg> everything should be the same frame rate
[21:05:32 CEST] <ChocolateArmpits> but what's the source for the movie?
[21:05:41 CEST] <ChocolateArmpits> Are you sure it's film negative ?
[21:05:47 CEST] <ChocolateArmpits> and not some vhs
[21:05:48 CEST] <JEEBsv> well, I'm just going to say that it's either as simple or as hard depending on the content
[21:05:54 CEST] <JEEBsv> which is why you take a look at it
[21:05:55 CEST] <kyleogrg> It's an official Bluray/DVD release
[21:06:23 CEST] <kyleogrg> yes, it's remastered/rescanned from the film
[21:06:47 CEST] <kyleogrg> JEEBsv: yeah.  in this case then, it's probably simple?
[21:06:52 CEST] <kyleogrg> cause it's from film?
[21:06:54 CEST] <JEEBsv> that's possible
[21:07:02 CEST] <JEEBsv> but you never, ever decide that before looking
[21:07:12 CEST] <kyleogrg> yeah
[21:07:32 CEST] <JEEBsv> but basically if you look at the source, look at what your final filter chain outputs and then you know if you've done something wrong when it feels "uneven" at the end
[21:08:12 CEST] <JEEBsv> because yunno, it could be everything from you feeling it being like that due to video rendering being shit in whatever you're testing to it actually being like that originally
[21:08:35 CEST] <kyleogrg> right
[21:11:16 CEST] <kyleogrg> as for x265 in ffmpeg, why won't it accept -x265-params tune=grain?
[21:12:30 CEST] <JEEBsv> dunno
[21:13:06 CEST] <JEEBsv> I think that param is supposed to just pass the options through to libx265 as-is
[21:13:25 CEST] <JEEBsv> so either your binary is old/whatever or they just don't do that stuff like that
[21:13:31 CEST] <JEEBsv> also I think tunings could be set with just -tune ?
[21:13:40 CEST] <JEEBsv> a la libx264's wrapper
[21:14:13 CEST] <kyleogrg> hmm, i haven't tried -tune with libx265.  binary could be old.  the tune options are officially listed for x265.
[21:16:05 CEST] <brontosaurusrex> kyleogrg: bluray should run at 24p, so no pulldowns
[21:16:39 CEST] <JEEBsv> he's using the DVD as source as far as I can tell
[21:16:39 CEST] <kyleogrg> i'm ripping from the DVD that came with it
[21:16:50 CEST] <JEEBsv> also blu-ray supports 30i mighty fine
[21:16:58 CEST] <JEEBsv> and some people have (ab)used that fact
[21:17:09 CEST] <brontosaurusrex> JEEBsv: yes, but would they really do that?
[21:17:15 CEST] <brontosaurusrex> i see
[21:17:32 CEST] <JEEBsv> the fuck I know, I just know that I have some shit like that due to someone in the chain being a faggot :P
[21:17:55 CEST] <brontosaurusrex> I'd definately just return that
[21:17:58 CEST] <JEEBsv> (and then there's the cases of "no, we cannot re-edit the credits to be 24p. stop crying."
[21:18:13 CEST] <JEEBsv> (and then the whole thing is 30i with mostly 24p content due to that)
[21:18:23 CEST] <kyleogrg> okay, what about CRF in x265?  how does it correspond to x264's?
[21:18:32 CEST] <JEEBsv> in no way whatsoever
[21:18:36 CEST] <JEEBsv> you should stop comparing the two
[21:18:41 CEST] <brontosaurusrex> kyleogrg: it doesn't
[21:18:46 CEST] <JEEBsv> they're made by completely different people etc
[21:18:56 CEST] <kyleogrg> then what is generally considered visually lossless for x265?
[21:19:16 CEST] <JEEBsv> nothing is considered like that for either of the two encoders supporting the CRF rate control
[21:19:28 CEST] <JEEBsv> encode a few thousand pictures and decide yourself
[21:19:42 CEST] <JEEBsv> like, cut 500 pictures in five or so places
[21:19:54 CEST] <JEEBsv> then check the result between different values
[21:20:03 CEST] <kyleogrg> there's no basic range?  maybe people say 18-23 for x264 (i know it's not the same)
[21:20:20 CEST] <JEEBsv> no they don't
[21:20:31 CEST] <JEEBsv> and if they do they have no idea what they're talking about
[21:20:35 CEST] <JEEBsv> I know people love to run from work
[21:20:43 CEST] <kyleogrg> and i mean nearly lossless
[21:21:13 CEST] <kyleogrg> https://trac.ffmpeg.org/wiki/Encode/H.264
[21:21:14 CEST] <JEEBsv> anyways, it depends on the content, resolution of content and the resolution at which you will be watching it
[21:21:20 CEST] <JEEBsv> among other things
[21:21:26 CEST] <kyleogrg> "Consider 18 to be visually lossless or nearly so: it should look the same or nearly the same as the input but it isn't technically lossless. "
[21:21:37 CEST] <JEEBsv> kyleogrg: then whomever wrote that is a fucking idiot
[21:21:40 CEST] <brontosaurusrex> kyleogrg: just rip the doovd and keep as is
[21:21:47 CEST] <sfan5> https://trac.ffmpeg.org/wiki/Encode/H.265 says "The CRF of 28 should visually correspond to libx264 video at CRF 23"
[21:22:10 CEST] <JEEBsv> sfan5: wow, some other bullshit
[21:22:28 CEST] <kyleogrg> sfan5: that's actually what I did.  crf 18 is (supposedly) generally visually lossless for x264.  So I did crf 13 for x265.
[21:22:38 CEST] <JEEBsv> ...
[21:22:46 CEST] <sfan5> uhh
[21:22:54 CEST] <kyleogrg> JEEBsv: but it's unreliable numbers?
[21:23:22 CEST] <JEEBsv> yes, please stop copying numbers and just do some prework for fuck's sake
[21:23:47 CEST] <kyleogrg> JEEBsv: sure.  that's why i'm asking - I don't know which source to trust
[21:24:11 CEST] <sfan5> kyleogrg: if x265 crf 28 is (-5) x264 crf 23 then x264 crf 18 should be (+5) x265 crf 23 (not 13)
[21:24:33 CEST] <JEEBsv> the default crf is where you start, 23 with x264 and 26 with x265 IIRC
[21:24:36 CEST] <kyleogrg> sfan5: ooh good catch
[21:24:41 CEST] <JEEBsv> then you go down if shit looks bad
[21:24:43 CEST] <bindi> greetings, will nvenc work on ubuntu and a gt 520?
[21:24:46 CEST] <JEEBsv> you go up if it looks good
[21:25:09 CEST] <kyleogrg> yeah
[21:25:10 CEST] <JEEBsv> I'm not even gonna say you have to try the non-integer numbers
[21:25:24 CEST] <JEEBsv> just fucking do the work for your eyes
[21:25:37 CEST] <sfan5> bindi: the gt 520 supports nvenc so, yes, probably
[21:25:40 CEST] <JEEBsv> and if you need lossless you just do lossless although with DVDs that makes no fucking sense
[21:25:42 CEST] <kyleogrg> JEEBsv: gotcha
[21:25:49 CEST] <kyleogrg> speaking of lossless,
[21:26:04 CEST] <kyleogrg> I wonder what compression ratio you might get in x265?
[21:26:06 CEST] <JEEBsv> because the lossless will end up bigger than the DVD
[21:26:17 CEST] <JEEBsv> depends on content, preset among other things
[21:26:27 CEST] <JEEBsv> I've never tested x265 with lossless so far
[21:26:38 CEST] <JEEBsv> it's way too slow for any of my use cases where I use lossless
[21:26:45 CEST] <sfan5> kyleogrg: H.265 is supposed(!) to give same quality as H.264 with half the file size
[21:27:10 CEST] <kyleogrg> yeah, i know
[21:27:26 CEST] <kyleogrg> it's super slow thoguh
[21:27:27 CEST] <JEEBsv> that's lossy
[21:27:37 CEST] <kyleogrg> yes, it's lossy
[21:27:55 CEST] <JEEBsv> also it's a prediction based upon the spec and results from the reference implementation
[21:28:07 CEST] <JEEBsv> which got ~33% or whatever, don't remember the exact numbers
[21:28:43 CEST] <JEEBsv> the "same quality with half rate" is a marketing thing at this point which uses the fact that the spec is probably good. implementations much less so
[21:29:08 CEST] <JEEBsv> I mean, I only got x265 beating x264 with placebo+ a month or so ago
[21:30:04 CEST] <ChocolateArmpits> Does x265 look simply better at sub-1mbps bitrates compared to x264 or is it just my eyes?
[21:30:38 CEST] <JEEBsv> low rates is where it had been giving its best results for some time now
[21:30:53 CEST] <JEEBsv> basically if both looked utter shit, it probably looked a bit less shit
[21:32:28 CEST] <ChocolateArmpits> Well the Tears of Steel comparison given here looks much better https://x265.com/hevc-video-files/
[21:32:45 CEST] <ChocolateArmpits> Artifacts are there sure
[21:34:10 CEST] <JEEBsv> someone posted some pics for comparison of my first random test encode batch from may, I should do a page like this for the rest of them https://i.fsbn.eu/pub/jeeb-2015/index.htm
[21:34:37 CEST] <JEEBsv> I encoded x265 with crf at first since I don't trust its 2pass algo yet
[21:34:46 CEST] <JEEBsv> then matched its rate with x264's 2pass
[21:36:02 CEST] <JEEBsv> although I'm still worried about random artifacts that x265 seems to push out every now and then
[21:36:47 CEST] <ChocolateArmpits> At specific bitrates or in general ?
[21:36:58 CEST] <JEEBsv> in general
[21:37:05 CEST] <JEEBsv> some are in chroma, some in luma
[21:37:42 CEST] <JEEBsv> although with different rate control decisions it might differ
[22:07:20 CEST] <bindi> http://ubuntuforums.org/showthread.php?t=2265485 does this still apply?
[22:15:31 CEST] <bindi> ugh, now i need 347.09
[23:42:25 CEST] <onefix> Anyone used comskip to transcode videos from a HDHomerun or similar device?
[23:43:02 CEST] <onefix> I'm trying to figure out if I should stick with running the Windows version in Wine or migrate to the Linux version...
[23:45:29 CEST] <pzich> sounds like something worth testing?
[23:48:05 CEST] <onefix> pzich: I'm really trying to figure out if there is a way to tell ComSkip to skip the "coming soon" commercials that include the channel's logo
[23:48:41 CEST] <pzich> hmm, I haven't used comskip in forever but that sounds familiar
[23:50:52 CEST] <onefix> I have a Linux box that runs TVHeadend, ZoneMinder, Plex, SubSonic , and Domoticz ... the main reason for running TVHeadend is just so I can schedule recordings and run conversions afterwards...
[23:52:52 CEST] <onefix> Once TVHeadend is done with it, it passes the recording to a perl script which runs (optionally) ComSkip, then a custom parse routine and FFMPEG with options based on the size of the input and output
[23:53:53 CEST] <onefix> If (for instance) I just record the 6:00 news, I want commercial skip deinterlace and downscale to X:480
[23:56:17 CEST] <onefix> It would be nice if I could create a search in TVHeadend that would automatically schedule new series based on a wildcard
[23:57:15 CEST] <onefix> The way some series are reported in MC2XML, it doesn't record all episodes of series / mini-series
[23:59:41 CEST] <onefix> Also, I think I know the answer, but is there any (reasonable) way to speed up H264 / X264 transcoding using hardware?
[00:00:00 CEST] --- Tue Jun  9 2015


More information about the Ffmpeg-devel-irc mailing list