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

burek burek021 at gmail.com
Sun Aug 21 03:05:01 EEST 2016


[05:55:03 CEST] <refrijerator> hello, I am trying to record audio with like $>ffmpeg -f alsa -i hw:0,1 -t 10 out.wav and my voice sounds extremely high pitch, and the out.wav file is only 5secs long (though I recorded for 10)
[05:56:05 CEST] <c_14> Sounds like an incorrect samplerate
[05:56:40 CEST] <c_14> You can try running a pass with -af asetrate=blah over it
[05:57:52 CEST] <refrijerator> blah?
[05:58:28 CEST] <c_14> substitute blah with the sample rate you think it should be
[05:58:36 CEST] <c_14> Something sane is 44100 or 48000 or thereabouts
[05:58:41 CEST] <c_14> Unless your mike does 96k or so
[05:58:44 CEST] <c_14> But that should be rare
[05:59:05 CEST] <refrijerator> I recorded again with -ar 44100 and it is the same
[05:59:22 CEST] <refrijerator> maybe I should record with another rate
[05:59:26 CEST] <c_14> -ar resamples, asetrate interprets the data at a different sample rate
[05:59:45 CEST] <c_14> You might want to check your alsa settings
[05:59:52 CEST] <c_14> Have you tried recording with arecord from the same source?
[06:00:02 CEST] <refrijerator> will do this
[06:00:14 CEST] <refrijerator> which alsa settings?
[06:00:27 CEST] <c_14> for the capture device
[06:00:43 CEST] <c_14> Maybe alsa is misdetecting the samplerate
[06:36:09 CEST] <refrijerator> thanks for your help
[09:44:29 CEST] <Pantera> hi, how to install latest ffmpeg on centos 6. I was not successful
[09:44:46 CEST] <Pantera> i need exact guide for this
[10:11:12 CEST] <dl2s40> Pantera, just compile it by yourself? git clone https://github.com/FFmpeg/FFmpeg.git | ./configure | make | make install (root). that is what i would try.
[10:31:06 CEST] <Pantera> I did it
[10:31:26 CEST] <Pantera> ffmpeg version N-81401-ga8e3833 Copyright (c) 2000-2016 the FFmpeg developers
[10:31:26 CEST] <Pantera>   built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-17)
[10:31:26 CEST] <Pantera>   configuration:
[10:31:26 CEST] <Pantera>   libavutil      55. 29.100 / 55. 29.100
[10:31:26 CEST] <Pantera>   libavcodec     57. 54.100 / 57. 54.100
[10:31:26 CEST] <Pantera>   libavformat    57. 47.101 / 57. 47.101
[10:31:26 CEST] <Pantera>   libavdevice    57.  0.102 / 57.  0.102
[10:31:27 CEST] <Pantera>   libavfilter     6. 52.100 /  6. 52.100
[10:31:27 CEST] <Pantera>   libswscale      4.  1.100 /  4.  1.100
[10:31:28 CEST] <Pantera>   libswresample   2.  1.100 /  2.  1.100
[10:31:28 CEST] <Pantera> Hyper fast Audio and Video encoder
[10:31:29 CEST] <Pantera> usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
[10:31:53 CEST] <Pantera> t version is not same with:
[10:31:55 CEST] <Pantera> http://download1.rpmfusion.org/free/el/updates/6/x86_64/ffmpeg-0.10.15-1.el6.x86_64.rpm
[10:35:10 CEST] <dl2s40> dont spamm in irc, better use pastebin.com or such. i am pretty sure the version from github is the latest version
[10:35:56 CEST] <dl2s40> it seems it is 3 hours old
[12:28:03 CEST] <thewonderer14> When I run `ffplay -video_size 512x512 -pixel_format gray file.yuv` the YUV image is correctly displayed. When I rename file.yuv to just file , and call `ffplay -video_size 512x512 -pixel_format gray file`, I get the error:
[12:28:12 CEST] <thewonderer14> "Invalid data found when processing input"
[12:28:40 CEST] <thewonderer14> How do I tell ffplay that this is a YUV file, to treat it as a file with the .yuv extension ?
[14:41:33 CEST] <Guest88475> Hi guys. Can you help me with one question?
[14:44:03 CEST] <Guest88475> Sometimes DTS-HD MA depth is faked from 16 bits to 24 bits. Eac3to can track that and truncate trailing zeros with no quality loss.
[14:44:54 CEST] <Guest88475> eac3to v3.24 command line: eac3to test.dtshd -analyzebitdepth ------------------------------------------------------------------------------ DTS Master Audio, 5.1 channels, 24 bits, 48kHz (core: DTS, 5.1 channels, 24 bits, 1509kbps, 48kHz) Decoding with ArcSoft DTS Decoder... The original audio track has a constant bit depth of 16 bits. eac3to processing took 4 seconds. Done.
[14:44:55 CEST] <Guest88475> For example:
[14:45:28 CEST] <durandal_1707> yes?
[14:45:36 CEST] <Guest88475> Or, while converting:
[14:45:42 CEST] <Guest88475> ac3to v3.24 command line: eac3to test.thd test.wavs -libav ------------------------------------------------------------------------------ TrueHD, 5.1 channels, 48kHz Decoding with libav/ffmpeg... Writing WAVs... Creating file "test.C.wav"... Creating file "test.L.wav"... Creating file "test.R.wav"... Creating file "test.SR.wav"... Creating file "test.SL.wav"... Creating file "test.LFE.wav"... The original audio track has a constan
[14:46:22 CEST] <Guest88475> sorry for no break lines :( i'm new here
[14:46:23 CEST] <Guest88475> The original audio track has a constant bit depth of 16 bits.
[14:46:29 CEST] <Guest88475> Superfluous zero bytes detected, will be stripped in 2nd pass.
[14:46:40 CEST] <Guest88475> Starting 2nd pass...
[14:47:10 CEST] <durandal_1707> use pastebin
[14:48:42 CEST] <Guest88475> How can I analyse and convert such faked streams with ffmpeg, same way eac3to does?
[14:52:26 CEST] <Guest88475> I just inserted to pastebin eac3to outputs. Thanks for the hint @durandal_1707
[14:52:27 CEST] <Guest88475> http://pastebin.com/Pkn05RtC
[15:10:52 CEST] <durandal_1707> Guest88475: upload short file
[15:12:58 CEST] <mgpai_> Hi.. am using ffmpeg -i input.wav -b:a 192k output.mp3 for CBR. How to use ABR. Couldn't find much on it in the doumentation.
[15:16:29 CEST] <fritsch> mgpai_: https://trac.ffmpeg.org/wiki/Encode/MP3
[15:16:33 CEST] <fritsch> you did not find this?
[15:16:34 CEST] <fritsch> https://trac.ffmpeg.org/wiki/Encode/MP3
[15:17:30 CEST] <durandal_1707> mgpai_: add -abr 1
[15:17:34 CEST] <mgpai> Found it but for ABR info recommends https://www.ffmpeg.org/ffmpeg-codecs.html#libmp3lame-1, but could not find much even there
[15:17:57 CEST] <mgpai> durandal_1707 thx.. i'll try it was trying -abr=1 ;)
[15:18:52 CEST] <mgpai> Thank durandal_1707, it worked :)
[15:18:59 CEST] <mgpai> *Thanks
[15:19:10 CEST] <fritsch> durandal_1707: that was written in the wiki ...
[15:21:30 CEST] <mgpai> fritsch It said set abr option to 1, but I didn't know the syntax. Was trying -abr=1.
[15:23:28 CEST] <fritsch> yeah - no harm intended
[15:29:04 CEST] <mosb3rg> so guys i was using a bash script to reload ffmpeg process, until cmd; do cmd; done
[15:29:16 CEST] <mosb3rg> but im reaching some errors that dont restart naturally.
[15:49:06 CEST] <relaxed> mosb3rg: that's too vague
[15:52:30 CEST] <mosb3rg> i can give you a script but it contains private cookie details from my account
[15:52:39 CEST] <mosb3rg> would prefer it wasnt posted publically to be searched on the web
[15:53:08 CEST] <mosb3rg> i appreciate your response if your cool with at least letting me post the script privately.
[15:54:01 CEST] <relaxed> do you want ffmpeg to restart forever?
[15:54:19 CEST] <mosb3rg> correct. but the issue is sometimes feeds dont 100% end
[15:54:22 CEST] <mosb3rg> they just thread lock and sit there
[15:54:43 CEST] <mosb3rg> and i need some checking mechanism to see this kill it and restart it also
[15:54:56 CEST] <mosb3rg> anything running a cookie, is too slow in professional panel managers.
[15:55:10 CEST] <mosb3rg> so i need to manage it on my own instead.
[15:55:38 CEST] <relaxed> do the streams give you a duration?
[16:01:32 CEST] <mosb3rg> hey sorry
[16:01:48 CEST] <mosb3rg> well there live, so by default they dont have the analyze probe results right
[16:02:19 CEST] <mosb3rg> i theory i suppose when it stops outputting the time code for X amount of time
[16:02:23 CEST] <mosb3rg> *in
[16:02:38 CEST] <mosb3rg> could force a restart of the script perhaps.
[18:33:49 CEST] <Natha> Hello all ! My names Natha, and Im a desesperate user of ffmpeg. Im trying to simply configure a DNxHD or ProRes encoding, but after some hours of desesperation, Ive never been able to do so.
[18:34:37 CEST] <Natha> Would someone be able to help me with this ? If yes, I can provide more specfific details.
[18:36:21 CEST] <Natha> specific*
[18:40:04 CEST] <Natha> Here you go csbrobot http://pastebin.com/yua9nrZ1
[18:40:20 CEST] <Natha> Here you go cbsrobot http://pastebin.com/yua9nrZ1
[18:41:36 CEST] <Natha> (Console outputs on the way)
[18:44:12 CEST] <Natha> http://pastebin.com/HUn9zsTP The log file was too big, so I took the « supposed to be » interesting part
[18:46:25 CEST] <iive> you are trying to use mencoder, not ffmpeg
[18:47:13 CEST] <Natha> Wasnt mencoder based upon ffmpeg ? (Im a complete noob at this :-/ )
[18:47:17 CEST] <iive> mencoder can use bunary codecs, but you don't need them for avc1/h264 and pcm.
[18:47:43 CEST] <iive> mencoder is part of mplayer project. They use libavcodec/fformat/ etc libraries of ffmpeg
[18:48:19 CEST] <iive> it's better if you use ffmpeg directly.
[18:48:45 CEST] <Natha> The encoding software that I use is able to use either ffmpeg or mencoder. But everytime I tried to encode in ProRes or DNxHD, either I got a « Unknown codec » (ffmpeg part) or a « cannot find codec » (mencoder)
[18:49:29 CEST] <Natha> So, I am able to use ffmpeg in my case, but I just cant get it work
[18:51:59 CEST] <Natha> For instance, I did try those commands with the ffmpeg module, none of them worked http://pastebin.com/wpVbP1yL
[18:59:52 CEST] <Natha> Any idea about why those are not working ? :-(
[19:01:49 CEST] <iive> try `ffmpeg -codecs` and see if you can find prores in there
[19:02:25 CEST] <iive> also... check if your ffmpeg is recent.
[19:03:37 CEST] <Natha> Nope, not in the list
[19:03:59 CEST] <iive> then it is compiled without it.
[19:04:05 CEST] <Natha> And I suppose to have the latest version (3.1.2 / downloaded and installed through homebrew)
[19:04:09 CEST] <iive> do you compile them on your own.
[19:04:53 CEST] <Natha> Nope, I did try to do it via Homebrew, but consider me as a complete begineer
[19:05:03 CEST] <Natha> Beginner*
[19:05:06 CEST] <cbsrobot> Natha: Mac OSX static build for ffmpegX
[19:05:18 CEST] <cbsrobot> I guess it is outdated
[19:05:29 CEST] <cbsrobot> MEncoder dev-CVS-060307-04:23-4.0.1 (C) 2000-2006 MPlayer Team
[19:05:32 CEST] <cbsrobot> ^this too
[19:05:47 CEST] <Natha> That would make sense
[19:06:06 CEST] <Natha> Is there any simple way for me to update it ? Alos, how can I install the static build of ffmepg ?
[19:06:12 CEST] <Natha> Also*
[19:06:33 CEST] <cbsrobot> What encoding softwre do you use ?
[19:06:41 CEST] <iive> ffmpeg 3.1.2 should be recent enough. i mean, prores has been around for 5 years or more
[19:06:43 CEST] <cbsrobot> can't you use plain ffmpeg ?
[19:06:43 CEST] <furq> isn't the prores encoder builtin
[19:06:52 CEST] <iive> so it is up to compilation options.
[19:06:55 CEST] <furq> and enabled by default
[19:07:00 CEST] <furq> so someone would've had to specifically disable it
[19:07:05 CEST] <Natha> Thats what I thought
[19:07:38 CEST] <iive> furq: any idea if some variants are licence locked?
[19:07:50 CEST] <furq> gee i wonder if it's one of those cargo cult guys with the ./configure invocation longer than the script itself
[19:07:51 CEST] <iive> e.g. there is decoder named preres_lgpl ...
[19:08:19 CEST] <Natha> Im using a specific software developped by Grau GmbH in order to repair a bunch of corrputed .mov files (H.264/PCM) http://grauonline.de/cms2/?page_id=5
[19:08:33 CEST] <iive> doesn't ffmpeg print the configure options? when run without arguments?
[19:09:06 CEST] <iive> or do i get this only because i build with debugging?
[19:09:10 CEST] <Natha> In order to get the files fully repaired, the software has to reencode them, allowing me to use ffmepg or mencoder in order to do this
[19:09:17 CEST] <furq> iive: it does that by default
[19:09:20 CEST] <furq> or you can use -version
[19:09:43 CEST] <iive> Natha: pastebin the `ffmpeg -version` output
[19:09:47 CEST] <furq> also why would you reencode them to prores
[19:10:30 CEST] <Natha> live http://pastebin.com/mm9Qn8cm
[19:10:56 CEST] <furq> pastebin the output of `ffmpeg -codecs | grep prores`
[19:10:58 CEST] <Natha> furq because the basic reencoding process makes an awfull reencoding
[19:11:16 CEST] <Natha> (Lots of blocking)
[19:11:18 CEST] <furq> i was going to suggest using rawvideo but i guess that doesn't play nice with mov
[19:11:55 CEST] <Natha> furq http://pastebin.com/2AQWycSW
[19:12:14 CEST] <Natha> Never heard about rawvideo
[19:12:17 CEST] <furq> so you do have a prores encoder then
[19:12:44 CEST] <furq> are you sure this software isn't using its own build of ffmpeg or some bullshit like that
[19:13:02 CEST] <iive> or rather you should have one...
[19:13:04 CEST] <Natha> I sincerely have no idea about this
[19:13:23 CEST] <iive> only single codec is disabled jpeg2000
[19:13:26 CEST] <furq> -c:v prores will not give an "unknown codec" error
[19:13:29 CEST] <Natha> All that I know is that other commands for other codecs work
[19:13:41 CEST] <furq> iive: http://pastebin.com/2AQWycSW
[19:13:47 CEST] <furq>  DEVIL. prores               Apple ProRes (iCodec Pro) (decoders: prores prores_lgpl ) (encoders: prores prores_aw prores_ks )
[19:13:48 CEST] <iive> Natha: pastebin `ffmpeg -codecs` too
[19:13:51 CEST] <furq> he just did
[19:14:33 CEST] <furq> but yeah if it gives that error then this software isn't using that ffmpeg
[19:14:57 CEST] <Natha> live http://pastebin.com/SFU5y90t
[19:15:11 CEST] <Natha> So, does it mean that Im stuck with it ? :-(
[19:15:37 CEST] <furq> you could try finding the ffmpeg it is using and replacing it
[19:16:26 CEST] <Natha> furq like this one ? https://cl.ly/3k2W2w062h1W
[19:16:40 CEST] <furq> that's probably it
[19:16:47 CEST] <furq> delete that and symlink the one from homebrew in its place
[19:17:15 CEST] <Natha> Im sorry, but& Whats a symlink and how can I do it ?
[19:17:53 CEST] <iive> 2011
[19:17:57 CEST] <iive> so 5 years old.
[19:18:05 CEST] <iive> \o/
[19:18:24 CEST] <Natha> live and since ProRes has been included with ffmpeg since 2012& (if my infos are right) :D
[19:18:32 CEST] <iive> just replacing it might be trouble... as some syntax has changed.
[19:19:49 CEST] <Natha> What would be the best way to replace it correctly ?
[19:28:42 CEST] <Natha> I did try to replace it with a new one freshly downloaded from the ffmpegs website, restarted the software and tried those commands : http://pastebin.com/wpVbP1yL
[19:29:15 CEST] <Natha> Log file still says « Cannot find codec NAME OF THE CODEC in libavcodec.. »
[19:29:18 CEST] <Natha> :-(
[19:42:52 CEST] <Natha> So, what do you think ? May I be able to update the ffmpeg version of the software ? Or should I stop dreaming about getting a clean ProRes file ? :-/
[19:50:45 CEST] <iive> mencoder is linked staticly, so libraries won't change, because you've changed another exe...
[19:50:49 CEST] <iive> try ffmpeg
[19:51:50 CEST] <durandal_1707> Pay them to update software
[19:53:32 CEST] <Natha> I did try with ffmpeg after replacing the old one with an updated version
[19:53:41 CEST] <Natha> It still doesnt work :-(
[19:53:50 CEST] <Natha> And yes durandal_1707, Ill drop them a mail...
[20:02:15 CEST] <Natha> Well, I guess I wont be able to get further into this issue.
[20:02:42 CEST] <Natha> Many thanks for your help furq live cbsrobot
[22:09:14 CEST] <VamoMenem> hi! im now using nvenc whit a quadro m4000 card to encode in h264 but ffmpeg still using 70% of cpu, have someone any clue about why ffmpeg still using cpu?
[22:10:11 CEST] <BtbN> Because something else you are doing needs a lot of CPU.
[22:16:49 CEST] <aurox> hello, I am compiling ffmpeg-3.1.2 and get the following error in make: http://pastebin.com/TLphV1ce
[22:16:57 CEST] <durandal_1707> VamoMenem: without full command, it is guessing
[22:17:29 CEST] <aurox> Looking in the source tree, I can not find where kAudioFormatMPEG4AAC_ELD would be defined either
[22:18:14 CEST] <durandal_1707> that is from 3d party lib
[22:19:05 CEST] <VamoMenem> ffmpeg   \          -i http://192.168.100.254:2044/rtp/239.255.7.2:5004/ \   -acodec  libfdk_aac  -ar 44100 -b:a 64k  \   -vcodec h264_nvenc   -preset medium -profile:v main -level 4.1  -b:v 300K  -minrate 300K -maxrate 300K  \  -f ssegment  \  -segment_list /home/dvb/www/swapb/ch9/info.m3u8  \  -segment_list_flags +live  \  -segment_atclocktime 1 \  -hls_allow_cache 0  \  -segment_time 4 \  -segment_list_size 3 \  -segment_wrap 3
[22:19:20 CEST] <VamoMenem> wait i put it line by line
[22:19:28 CEST] <durandal_1707> Nope
[22:19:33 CEST] <VamoMenem> ffmpeg   \
[22:19:40 CEST] <durandal_1707> use pastebin
[22:19:41 CEST] <VamoMenem>  -i http://192.168.100.254:2044/rtp/239.255.7.2:5004/ \
[22:20:39 CEST] <VamoMenem> http://pastebin.com/FZfynM84
[22:20:56 CEST] <VamoMenem> i think i dont not doing nothing more than segmenting
[22:22:09 CEST] <durandal_1707> how much CPU is used if you do not encode audio?
[22:22:21 CEST] <VamoMenem> lets me check that
[22:23:20 CEST] <VamoMenem> the same, like 50%
[22:24:19 CEST] <durandal_1707> hmm, dunno it's bit to much
[22:26:35 CEST] <VamoMenem> if i do the same whitout nvenc cpu is 70%
[22:27:15 CEST] <VamoMenem> i think nvenc must absorb more than 20% of cpu usage
[23:27:59 CEST] <abumusa> I want to register one encoder only, it is not working with me
[23:28:06 CEST] <abumusa> how do you register only one codec?
[23:29:47 CEST] <relaxed> what do you mean register?
[23:32:10 CEST] <c_14> I believe he means using avcodec_register()
[23:38:34 CEST] <c_14> abumusa: https://github.com/FFmpeg/FFmpeg/blob/master/libavcodec/allcodecs.c?l=38
[00:00:00 CEST] --- Sun Aug 21 2016


More information about the Ffmpeg-devel-irc mailing list