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

burek burek021 at gmail.com
Sun Aug 4 02:05:01 CEST 2013


[00:00] <llogan> g1ra: so it does have filters, but i forgot how to use such old ffmepg
[00:01] <llogan> maybe use -vf instead.
[00:02] <g1ra> my version is old.. ?? But I use a recent build . https://launchpad.net/~jon-severinsson/+archive/ffmpeg
[00:02] <llogan> ciupicri: you could probably go back to using "-vf fps=1/20" instead of you like
[00:03] <llogan> that PPA (or any other PPA, AFAIK) does not provide recent builds
[00:03] <ciupicri> but I wanted to use less
[00:03] <ciupicri> I don't want tons of thumbnails, only a couple
[00:04] <g1ra> well, I try to complile ... but i'm afraid of.
[00:04] <ciupicri> ~20 thumbnails for a 30-60 minutes video
[00:04] <llogan> try the select filter
[00:06] <llogan> g1ra: you can use a linux build https://ffmpeg.org/download.html#LinuxBuilds
[00:06] <llogan> instructions http://askubuntu.com/a/270107
[00:06] <llogan> or follow compile guide
[00:06] <llogan> http://trac.ffmpeg.org/wiki/UbuntuCompilationGuide
[00:07] <llogan> ciupicri: or maybe a combination of -r and -vframes 20, but i'd use select probably
[00:08] <ciupicri> I can't seem to find something about the select filter in the man page
[00:08] <ciupicri> only about different input streams
[00:08] <llogan> https://ffmpeg.org/ffmpeg-filters.html#select_002c-aselect
[00:08] Action: llogan leaves for a while
[00:08] <ciupicri> thank you
[00:13] <g1ra> llogan, Thank you for your help. Static build is working.
[00:14] <AndrzejL> guys I might have a bug here - installed libvpx from git and ffmpeg is saying I need libvpx > then... ;)
[00:15] <AndrzejL> just in case reinstalling libvpx from the scratch ;)
[00:15] <g1ra> llogan, I cant found in ffmpeg docs . But i heard "-af" options. Did the job with volume filter.
[00:21] <AndrzejL> yup its a bug alright.
[00:21] <AndrzejL> ERROR: libvpx decoder version must be >=0.9.1
[00:21] <AndrzejL> libvpx-git 20130223-1
[00:30] <AndrzejL> removing libvpx from the configure removes the issue but thats not the solution - nasty workaround
[00:34] <klaxa> hack ./configure a little :P
[00:34] <AndrzejL> nah not tonight
[00:34] <AndrzejL> ;)
[00:35] <klaxa> well it's probably one line to fix
[00:35] <AndrzejL> yeah ;D but I am just as much of a coder as a rap is a music...
[00:36] <klaxa> hmm... i'll have a look
[00:38] <AndrzejL> :D thanks
[00:40] <klaxa> latest ffmpeg git?
[00:40] <parshap> Why when I do this does the size of the file change radically? `ffmpeg -i test/test.mp3 -acodec copy test2.mp3` and ffprobe reports "Format mp3 detected only with low score of 24, misdetection possible!" on the new file?
[00:45] <AndrzejL> klaxa: yes
[00:47] <llogan> AndrzejL: did you follow onw of the ffmpeg compile guides?
[00:47] <llogan> *one
[00:48] <drv> parshap: does it actually copy? should see "Stream #0:0 -> #0:0 (copy)" in the output
[00:49] <klaxa> hmm AndrzejL, can you pastebin your config.log?
[00:49] <parshap> drv: yep, i see that
[00:49] <drv> hmm, it seems to work ok here on the first mp3 i tried
[00:49] <parshap> drv: maybe it's the file
[00:50] <parshap> drv: the only odd things i see in stderr are these:
[00:50] <parshap> [swscaler @ 0x9c76aa0] deprecated pixel format used, make sure you did set range correctly
[00:50] <parshap> [mp3 @ 0x9c752e0] Frame rate very high for a muxer not efficiently supporting it. Please consider specifying a lower framerate, a different muxer or -vsync 2
[00:50] <drv> hmm, is the source not actually a mp3? it shouldn't be invoking swscaler for audio
[00:50] <parshap> drv: ffprobe reports the original file is mp3
[00:51] <klaxa> parshap: pastebin ffprobe output :X
[00:52] <parshap> klaxa: https://gist.github.com/parshap/ede206df3820eb48820a
[00:52] <parshap> klaxa: that's the original file
[00:53] <drv> ah, i guess it's got album art or something
[00:53] <klaxa> yeah probably
[00:53] <klaxa> if you want to strip the album art, try: ffmpeg -i test/test.mp3 -map 0:a test2.mp3
[00:53] <parshap> does that throw off the mp3 container parser or something?
[00:54] <klaxa> hmm i think it still needs -c:a copy
[00:54] <klaxa> it shouldn't
[00:54] <parshap> klaxa: i actually want to keep it
[00:55] <AndrzejL> llogan: no I used pkgbuild file for my distro from aur repository just as always
[00:55] <AndrzejL> klaxa: the failed one?
[00:55] <klaxa> AndrzejL: yes
[00:55] <AndrzejL> sure
[00:56] <klaxa> hmm i'll see if i have an mp3 with album art, but actually i doubt i have
[00:56] <drv> parshap: i don't have any mp3s with album art handy to test, but you should be able to copy the video too
[00:56] <AndrzejL> gimme a sec and I will do it
[00:56] <drv> that is probably why it gets smaller - ffmpeg will reencode by default with a low bitrate
[00:57] <AndrzejL> damn c and x are way to close to each other on the keyboard.. I almost asked You for something else...
[00:57] <klaxa> heh
[00:58] <parshap> drv: the file is actually getting ~600K bigger (3M -> 3.6M)
[00:58] <parshap> drv: which was surprising to me too
[00:58] <klaxa> parshap: can you try ffmpeg -i test/test.mp3 -c copy test.mp3 ?
[00:59] <parshap> klaxa: ah ha! that seems to work
[00:59] <AndrzejL> klaxa: there was a change
[00:59] <AndrzejL>  configure            | 4 +++-
[00:59] <AndrzejL>  libavcodec/ffv1dec.c | 7 +++++++
[00:59] <AndrzejL>  2 files changed, 10 insertions(+), 1 deletion(-)
[00:59] <AndrzejL> it may or may not build now
[00:59] <klaxa> yeah that's why i just pulled it too
[01:00] <AndrzejL> so I will let You know / give You the link if it fails
[01:00] <AndrzejL> yeah it failed
[01:02] <AndrzejL> klaxa: http://andrzejl.cyryl.net/config.log
[01:04] <klaxa> >/tmp/ffconf.5kO1VW9W.c:1:29: fatal error: /usr/include/vpx/vpx_decoder.h: Permission denied
[01:04] <klaxa> wut
[01:04] <klaxa> you don't have permission to read the file
[01:04] <klaxa> i'm also not sure whether /usr/include/ is the right directory if you want to use your own libvpx build
[01:04] <AndrzejL> [root at wishmacer andrzejl]# ls --full /usr/include/vpx/vpx_decoder.h
[01:04] <AndrzejL> -rw------T 1 root root 14108 2013-02-23 16:42:57.000000000 +0000 /usr/include/vpx/vpx_decoder.h
[01:05] <AndrzejL> wow.. that seems weird
[01:05] <klaxa> not sure if ffmpeg proceeds to compile as root...
[01:05] <AndrzejL> ok gave it 755
[01:05] <klaxa> but still maybe your own version is in /usr/local/lib/?
[01:05] <klaxa> or did you install it in /usr/lib/?
[01:06] <AndrzejL> I used pkgbuild :D
[01:06] <AndrzejL> still fails...
[01:06] <AndrzejL> weird
[01:07] <klaxa> pastebin config.log :P
[01:07] <AndrzejL> more permission denied errors
[01:08] <klaxa> ah yes, it will try to read more than one header
[01:08] <klaxa> change it for the headers in /usr/include/vpx
[01:08] <AndrzejL> 2 files had wrong permissions so far
[01:08] <klaxa> like for all of them, i mean having include files read access denied for everyone is kinda weird
[01:08] <AndrzejL> it looks like it might kick it now
[01:09] <AndrzejL> lets see...
[01:10] <AndrzejL> so its not a ffmpeg issue
[01:10] <AndrzejL> sorry my bad ;)
[01:11] <AndrzejL> I am going to wreck heads in the libvpx channel if they have one ;D
[01:11] <AndrzejL> no they dont
[01:11] <AndrzejL> and running chmod 755 /usr/include/vpx/vpx_* fixes it
[01:11] <klaxa> lol, so are you sure it's the correct version?
[01:12] <AndrzejL> yes it is
[01:12] <AndrzejL> ;D
[01:12] <AndrzejL> its the latest and greatest from their git
[01:12] <AndrzejL> ;D
[01:12] <klaxa> ok then
[01:13] <AndrzejL> for some reason all the permission were set to rw for root only
[01:13] <llogan> AndrzejL: libvpx-git and/or ffmpeg-git from AUR?
[01:13] <AndrzejL> yes
[01:13] <AndrzejL> ffmpeg-git-full-fixed
[01:14] <AndrzejL> ffmpeg-full-git-fixed
[01:14] <AndrzejL> ;)
[01:15] <llogan> ah, that. blame the maintainer of the PKGBUILD.
[01:15] <klaxa> always blame other people
[01:15] <klaxa> i do it all the time
[01:15] <AndrzejL> :) but the PKGBUILD for ffmpeg does not changes libvpx permissions for headers ;D
[01:15] <AndrzejL> and the PKGBUILD for the libvpx does not do it too ;D
[01:16] <llogan> but what i meant is that pkgbuild will not build regardless of your current issue
[01:16] <AndrzejL> so it has to be something...
[01:16] <AndrzejL> hehe
[01:16] <parshap> I'm having another problem now where it looks like when I am piping the output the mp3 file doesn't get written correctly. The piped version is about 1K smaller and piping it to ffprobe gives "[mp3 @ 0x9c4f0e0] Header missing". https://gist.github.com/parshap/d2d1da189d6ebe236f9c
[01:16] <AndrzejL> I prefer to try finding solution and if fail then try finding help in finding solution
[01:16] <llogan> and nobdy needs to enable every. single. thing.
[01:16] <parshap> outputting to a path instead of using pipe:0 works fine
[01:16] <AndrzejL> for some stupid reason I missed the obvious error... ;D
[01:17] <klaxa> header missing is weird...
[01:17] <klaxa> because the header is the first 4 bytes of the mp3 frame
[01:18] <llogan> AndrzejL: why are you compiling anyway? repo ffmpeg is 2.0 which should be new enough for general users
[01:19] <klaxa> if you are in #ffmpeg, are you still a "general user"?
[01:20] <parshap> klaxa: especially weird since it seems to be missing only when piping... any ideas?
[01:20] <llogan> yes, because ffmpeg-full-git-fixed is made by someone who doesn't know what they are doing
[01:20] <AndrzejL> llogan: my phone demands one lib cannot remember which one for the video conversion and the library is not available in the repo version
[01:20] <AndrzejL> let me check..
[01:20] <klaxa> parshap: no idea actually...
[01:23] <AndrzejL> this is what winff uses to convert video for my nokia n73
[01:23] <AndrzejL> -f mp4 -r 15 -vcodec mpeg4 -vf scale=320:240 -b 320k -aspect 4:3 -acodec libfaac -ab 96k -ar 44100 -ac 2
[01:23] <AndrzejL> and libfaac is unavailable in the repo version so I need to compile..
[01:24] <klaxa> wat
[01:24] <AndrzejL> :)
[01:24] <klaxa> that's uh... okay...
[01:24] <klaxa> also, use libfdk-aac is advised
[01:24] <klaxa> http://ffmpeg.org/trac/ffmpeg/wiki/AACEncodingGuide
[01:24] <llogan> if you're going to compile then don't use libfaac. use libfdk_aac instead, or you can simply use the native AAC encoder if you give it enough bitrate
[01:25] <AndrzejL> hmmmm I will think about it ;) in the future
[01:26] Action: llogan wonders when kamedo2 and klaussfreire are going to finish aac patches
[01:26] <GoaLitiuM> is there any way to specify which output resolution and pixel format to use when capturing video from directshow devices?
[01:34] <llogan> GoaLitiuM: did you see http://ffmpeg.org/ffmpeg-devices.html#dshow
[01:35] <GoaLitiuM> ah, devices documentation
[01:36] <llogan> yes, it can be confusing sometimes, but the monolithic doc has/had its downsides
[01:50] <llogan> AndrzejL: try ffmpeg-git in AUR. it has libfdk-aac support, is actively maintained, and doesn't have retarded configure settings: https://aur.archlinux.org/packages/ffmpeg-git/
[02:17] <rcombs> FDK has the best AAC encoder, but if you don't want to compile just use -acodec aac -strict -2
[02:17] <rcombs> and screw with it until the quality sounds good (-limit or somesuch?)
[03:16] <kevint_> Anyone know off the top of their head where the "av_frame_set_*" functions are defined?
[03:17] <kevint_> oops I meant 'av_frame_get_*'
[03:18] <kevint_> they are declared in "avcodec.h" but can't find the definition
[04:09] <Cylta> bits per sample at 44.1khz sound usually is ... ?
[05:10] <Jookia> Hello! Is there an (easy) way to tell ffmpeg to read the frame's data bottom to top, since my data's Y axis is flipped?
[05:12] <relaxed> Jookia: I think the transpose filter will do want you want.   man ffmpeg-filters| less +/'   transpose'
[05:12] <Jookia> relaxed: Oh, sorry, I forgot to note: I'm using the API
[05:12] <Jookia> from C
[05:14] <relaxed> I bet that filter is written in c
[05:19] <Jookia> Hmm, can swscale flip Y?
[05:22] <Jookia> I'll look in to filters, thanks for the help
[09:03] <R0SSI> I want to replace a video with black frame! I googled and found this: http://stackoverflow.com/a/6087453
[09:06] <R0SSI> I've converted the video to an audio file to bundle it with a picture and compile it with FFMPEG into a mp4 file! but I get some errors with the command mentioed in the above link.
[09:06] <R0SSI> May you review this command:
[09:06] <R0SSI> ffmpeg -loop 1 -shortest -f image2 -i image.jpg -i audio.wav -c:v libx264 -tune stillimage -c:a aac -strict experimental -b:a 192k out.mp4
[09:11] <R0SSI> guys?
[09:21] <R0SSI> ffmpeg -loop 1 -shortest -f image2 -i image.jpg -i audio.wav -c:v libx264 -tune stillimage -c:a aac -strict experimental -b:a 192k out.mp4
[09:21] <R0SSI> Errorrs:
[09:21] <R0SSI> Unrecognized option 'c:v'
[09:21] <R0SSI> Failed to set value 'libx264' for option 'c:v'
[09:21] <R0SSI> Unrecognized option 'c:a'
[09:21] <R0SSI> Failed to set value 'aac' for option 'c:a'
[09:31] <R0SSI> lol?
[09:32] <R0SSI> ALO?
[09:56] <R0SSI> How to replace a video with black frame?
[10:20] <R0SSI> hi
[10:21] <R0SSI> 'ab' option is related to audio quality? how to say ffmpeg to keep the original audio quality during conversion?
[10:26] <Fjorgynn> audio bitrate
[10:26] <Fjorgynn> R0SSI: do you do -c:a ?
[10:26] <Fjorgynn> also?
[10:33] <R0SSI> Fjorgynn: this way
[10:33] <R0SSI> ffmpeg -i 1.avi -b 10 -c:a avi.mp4
[10:33] <R0SSI> ?
[10:33] <Fjorgynn> no
[10:34] <R0SSI> Fjorgynn: Error:
[10:34] <R0SSI> Unrecognized option 'c:a'
[10:34] <R0SSI> Failed to set value 'i.mp4' for option 'c:a'
[10:34] <Fjorgynn> -c:a is the same as -acodec in old ffmpeg
[10:35] <Fjorgynn> -acodec libmp3lame -ab 128
[10:35] <R0SSI> I want the lowest video quality and the original audio quality
[10:36] <Fjorgynn> R0SSI: what video is it?
[10:36] <R0SSI> you mean my ffmpeg is old?
[10:36] <R0SSI> My version is this one:
[10:36] <R0SSI> ffmpeg version 0.8.6-6:0.8.6-1ubuntu2, Copyright (c) 2000-2013 the Libav developers built on Mar 30 2013 22:23:21 with gcc 4.7.2
[10:38] <Fjorgynn> you want something like ffmpeg -i video.avi -c:a copy -c:v libx264 -crf 20 output.mp4
[10:38] <Fjorgynn> something like that
[10:38] <Fjorgynn> you want something like ffmpeg -i video.avi -c:a copy -c:v libxvid -crf 20 output.avi (if you want xvid)
[10:38] <Fjorgynn> https://trac.ffmpeg.org/wiki/x264EncodingGuide
[10:40] <R0SSI> a series of avi files -> I want to decrease their vidoe quality to decrease their size -> I need just their audio but they should be in video format -> because I want to upload them on youtube -> to use Youtube speech-recognizer to create subtitle for them
[10:41] <Fjorgynn> aha
[10:42] <R0SSI> I got that error again after running your first command:
[10:42] <R0SSI> Unrecognized option 'c:a'
[10:42] <R0SSI> Failed to set value 'copy' for option 'c:a'
[11:11] <R0SSI> Why I get this error: Unrecognized option 'c:a'
[11:13] <Kei_N> I think you've already been told that -c:a is the same as -acodec in old ffmpeg
[11:13] <Kei_N> So either update your ffmpeg, or try -acodec
[11:16] <R0SSI> ffmpeg version 0.8.6-6:0.8.6-1ubuntu2 -> I'm using latest updated software on my Ubuntu -> repositories are completely updated!
[11:36] <tuxy> is this a valid command? ffmpeg -i input.mkv -codec copy output.mp4?
[14:27] <Nindustries> Hi, should the following be the complete output? SOmethings wrong in my video conversion.. http://pastebin.com/eF5SnmpN
[14:28] <klaxa> first of all, your ffmpeg is pretty old
[14:28] <klaxa> you are running 0.6, 2.0 was released a few weeks ago
[14:29] <Nindustries> klaxa: Cheap shared hosting I suppose
[14:30] <klaxa> well, just grab a static build
[14:30] <Nindustries> I don't have a VPS/ssh access sadly
[14:31] <klaxa> how do you encode then?
[14:31] <Nindustries> it's installed by default, and I call it by php
[14:31] <Nindustries> @exec(..)
[14:31] <klaxa> :S
[14:32] <Nindustries> Yeah I know.
[14:32] <klaxa> can you paste the command you execute?
[14:32] <klaxa> and maybe contact your hoster :X
[14:32] <klaxa> or don't if it's too much hassle
[14:32] <JEEB> Nindustries, wait... how much are you paying for that hosting?
[14:33] <JEEB> because VPS and heck even Kimsufi dedis are like a couple of bucks per month
[14:33] <Nindustries> klaxa: input http://pastebin.com/Pnz6q9FZ
[14:33] <JEEB> as in, literally 3 euros something per month
[14:33] <Nindustries> JEEB: 1EU / month, 12EU/year for domai
[14:33] <JEEB> then if you have no terminal access you're paying way too much
[14:34] <klaxa> are you sure? :X encoding at almost 30 fps from 1080i to 720p seems rather fast
[14:34] <klaxa> then again, i don't know about most of the flags in that command line he pasted
[14:35] <Nindustries> Me neither tbh, it's copied from the php code that is used in the Joomla component.
[14:36] <Nindustries> I'm just trying to find as fast as possible why the conversion isn't working
[14:37] <JEEB> well that for sure isn't showing any errors, and the damn thing's so old that you're probably setting like over 9000 settings somewhere
[14:37] <JEEB> and upkeeping that is like "no, thank you"
[14:39] <Nindustries> I wish I never accepted this project, stupid website.
[14:39] <Nindustries> At first, only problem was that gt-quickstart wasn't installed so I removed that from the code
[14:42] <Nindustries> behh
[14:42] <Nindustries> I have logfile, but it doesn't even format it
[14:42] <Nindustries> http://www.d00med.net/debuyl/media/hwdVideoShare_VideoConversionLog.dat
[14:46] <Nindustries> Wait, qt-faststart if part of ffmpeg?
[15:06] Action: pippin is trying to make ffmpeg use ordered dither to generate .gif animatio - trying with:  -sws_flags -error_diffusion  but it doesn't work :/
[19:48] <www2> Hi i have a wheerd question how i can simulate a bad dvb/mpeg stream with 5-10% packet loss?
[20:37] <elkng> is it possible to add that kind of effect to video like it begins from black screen that fade in to picture and at the end of the video picture fade out to the black screen, slowly ?
[20:56] <lux3_> hi
[20:57] <lux3_> i want to encode a video with ffmpeg/avconv but i get the error "unrecognized option '-angle'". that's the params i used: http://paste2.org/whBLFngb
[20:57] <sacarasc> For avconv help, go to #libav.
[23:44] <CentRookie> hello @all
[23:44] <braincracker> h
[23:45] <bondj> hello
[23:45] <CentRookie> while converting videos I stumbled over a mkv file with embedded subtitles, I neither know if this is some .srt or .ass file
[23:45] <CentRookie> just that it is embedded
[23:45] <CentRookie> has anybody of you experience with converting mkv with embedded softsubs to mp4?
[23:45] <bondj> i have problems selecting a pulseaudio input device for streaming audio with ffmpeg
[23:46] <bondj> when i use -i default, also my microphone is recorded
[23:46] <bondj> but i want just my playback to be recorded
[23:46] <bondj> i dont know what the name of the input is
[23:47] <bondj> i tried surround51 and playback but i have no idea what to set there :X
[23:48] <bondj> can anyone here help me plz? :)
[23:52] <CentRookie> ffmpeg -list_devices true -f openal -i dummy out.ogg
[23:52] <CentRookie> ffmpeg -f openal -i 'DR-BT101 via PulseAudio' out.ogg
[23:52] <CentRookie> Capture from the OpenAL device DR-BT101 via PulseAudio
[23:53] <CentRookie> http://ffmpeg.org/ffmpeg-devices.html
[23:58] <bondj> thx for showing me the pulseaudio man page, i still dont get which device is my 5.1 surround without my microphone as input though :X
[23:58] <bondj> its so weird with all these sound devices
[23:58] <bondj> since i have multiple sound cards in my system
[23:59] <bondj> in fact i want to record just my playback
[00:00] --- Sun Aug  4 2013


More information about the Ffmpeg-devel-irc mailing list