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

burek burek021 at gmail.com
Sun Mar 10 02:05:01 CET 2013


[00:02] <fjodor> mmh, the overall idea is to replace the scientific-paper-system with something that is more like linux-kernel-development or git. this stacksproject is actually achieving a lot of this already. all it needs would be the ability to simplify the overall graph so people can navigate in it more easily etc...
[00:12] <fjodor> saste: can you explain how you would choose between org-mode and stacks?
[00:13] <saste> fjodor, you're confusing rendering and source management
[00:13] <saste> you can work on a scientific document using git or any other source code management tool and any format
[00:14] <saste> they are two different problems
[00:14] <saste> a document is code, no more no less, so you can use git or any other SCM to handle it
[00:14] <fjodor> yes i know
[00:15] <saste> but then you need a rendering tool and other end-user tools, but that's a different problem
[00:15] <fjodor> well the rendering tool would be latex in both cases
[00:16] <saste> my experience with org-mode, is that if you need to work with heavy math notation latex is better
[00:16] <saste> because of many rendering glitches in org-mode, escaping issue and all
[00:19] <fjodor> saste: org-mode advertises being a brain-like structure but it's structure is a tree and the brain is actually a graph. that's what i wanna have. a graph-like document
[00:20] <saste> fjodor, ah i see
[00:20] <fjodor> and put this graph-document into git
[00:21] <saste> fjodor, discard git, that's for a different problem
[00:21] <saste> basically you have a document, consisting of several related parts (which are identified by a tag)
[00:22] <fjodor> not really
[00:22] <saste> the SCM is used to store the data, but then you need to do something interesting with the data, and that's not what the SCM is used for
[00:23] <fjodor> they call it tag, but it's actually something different. tags in the stacks project are just a universal identifier
[00:23] <fjodor> for a specific lemma
[00:23] <fjodor> so that you can link to it and dont get broken links if something changes
[00:24] <fjodor> and thats the graphstructure...
[00:25] <fjodor> if you have this graphstructure you can put all mathematical knowledge in it and transform mathematical papers into commits to this project...
[00:27] <saste> fjodor, then maybe you need a DB?
[00:27] <fjodor> yeah i'd rather start simple...
[00:28] <fjodor> so if you have this graph document with huge amount of content you want to select a subgraph which is then exported to something you can actually read
[00:28] <fjodor> latex->pdf
[00:30] <saste> honestly i don't think this may work in practice
[00:30] <saste> from what i see stacks is basically a math documented handled through git
[00:31] <fjodor> yes
[00:31] <fjodor> it is
[00:31] <saste> contributors commit to it, and reference its parts by using these tags
[00:31] <fjodor> yes
[00:31] <fjodor> imagine this document getting bigger
[00:31] <saste> then there is a rendering system, with various rendered (html, pdf, etc.)
[00:31] <saste> now if you want to relate different math papers in the same system, it gets messy
[00:32] <fjodor> no
[00:32] <fjodor> no papers
[00:32] <saste> because every author uses different notations and different variants of the same definition
[00:32] <fjodor> instead of writing papers you write commits
[00:33] <fjodor> there are 2 solutions to this problem
[00:33] <fjodor> you either try to use the same "api"
[00:34] <fjodor> or you use different definitions and link to different nodes...
[00:34] <fjodor> or you can split definitions
[00:35] <fjodor> and than use a combination of definitions to get what you need...
[00:35] <fjodor> or you just dont commit :D
[00:37] <fjodor> there are actually something like 350 proofs for pythagoras but you dont want to look at all of them, so you must select a subgraph to only read what you want to. thats why i want this import/export function
[00:38] <fjodor> think of thos 350 proofs as of subgraphs in the overall graph
[00:39] <fjodor> you import the document into gephi and select a path from axioms to pythagoras as you wisch and export it to a readable pdf
[00:39] <fjodor> etc
[00:39] <fjodor> you get the idea?
[00:43] <saste> fjodor, document (flat format, no hierarchy) + tags -> selector -> assembler -> renderer
[00:45] <saste> stacks -> 3624 pages of abstract math, now that's a read
[00:47] <fjodor> saste: the cool thing is that they actually do already new math not only summerizing old math
[00:49] <fjodor> algebraic stacks are a pain in the ass. there is even a text book on algebraic stacks which says that you should only do algebraic stacks if you're a masochist in it's foreword
[01:02] <fjodor> saste where did you get the page number?
[01:02] <saste> fjodor, downloaded the PDF
[01:08] <fjodor> saste: this project can have a few more pages without needing a selector
[01:08] <fjodor> so one could actually work at content instead of the selector...
[01:09] <fjodor> but cool stuff isnt it?
[10:55] <dmonjo> ffmpeg -i test.ogv -vcodec libx264 "out.mp4"
[10:55] <dmonjo> why?
[10:55] <dmonjo> Unknown encoder 'libx264'
[10:55] <dmonjo> \
[10:57] <creep> install it.
[10:57] <dmonjo> i did
[10:57] <dmonjo> libavcodec-extra-53
[10:57] <dmonjo> Error while opening encoder for output stream #0.1 - maybe incorrect parameters such as bit_rate, rate, width or height
[10:58] <creep> and now compile ffmpeg with --enable-libx264 then
[10:58] <dmonjo> isnt it automcally taken?
[10:58] <dmonjo> i installed it using apt-get
[10:58] <dmonjo> should i recompile?
[10:58] <creep> they always recommend to use latest version
[10:59] <dmonjo> i mean this error Error while opening encoder for output stream #0.1 - maybe incorrect parameters such as bit_rate, rate, width or height
[10:59] <dmonjo>  is related to recompilation? or should only specif the rate/width hiertght etc\
[11:00] <dmonjo> ffmpeg -i test.ogv -vcodec libx264 -ar 4000 -ab 92k -aspect 320:240  "out.mp4"
[11:00] <dmonjo> Error while opening encoder for output stream #0.1 - maybe incorrect parameters such as bit_rate, rate, width or height
[11:04] <dmonjo> [libfaac @ 0x99b700] libfaac doesn't support this output format!
[11:04] <dmonjo> whats that?
[11:04] <Mavrik> what it says
[11:04] <dmonjo> what to do!? :D
[11:04] <Mavrik> libfaac can't encode to parameter you passed.
[11:05] <dmonjo> recompile? :p
[11:05] <Mavrik> why are you trying to encode audio with 4000Hz sampling rate? :P
[11:06] <dmonjo> ffmpeg -i test.ogv -vcodec libx264 -ar 50 -ab 92k -aspect 320:240  "out.mp4"
[11:06] <dmonjo> same error
[11:06] <Mavrik> now you're trying to encode it with 50Hz sampling rate
[11:06] <zap0> what is -ar 50  do?
[11:06] <dmonjo> Error while opening encoder for output stream #0.1 - maybe incorrect parameters such as bit_rate, rate, width or height
[11:06] <dmonjo>  [libfaac @ 0xa4a700] libfaac doesn't support this output format!
[11:06] <dmonjo> 50hz
[11:06] <dmonjo> i need to convert that ogv to mp4
[11:06] <dmonjo> how can i do it!?
[11:07] <Mavrik> give us enough info and we can help.
[11:07] <zap0> ffmpeg -i blah.ogv meep.mp4
[11:07] <Mavrik> dmonjo, also, what are you trying to do? publish that file on youtube? send it to a phone?
[11:07] <Mavrik> zap0, sets sampling rate on output audio
[11:07] <zap0> Mavrik, its a Q, for dmonjo
[11:08] <dmonjo> here you go!! http://pastebin.com/Yw9UJYtA
[11:08] <dmonjo> Mavrik: i am converting the file so it is published on a webserver
[11:08] <dmonjo> as mp4
[11:08] <Mavrik> ok
[11:08] <dmonjo> to be compatible with some devices, yes
[11:08] <Mavrik> phones as well? :)
[11:08] <dmonjo> my ogv file is okwith sound and vid
[11:08] <dmonjo> http://pastebin.com/Yw9UJYtA
[11:09] <dmonjo> this is the console command and its output
[11:09] <Mavrik> ok
[11:09] <Mavrik> try doing something like
[11:09] <dmonjo> like?
[11:09] <Mavrik> ffmpeg -i test.ogv -vcodec libx264 -crf 24 -preset slow -acodec libfaac -s 320x240 -ar 44100 -ab 92k out.mp4
[11:10] <dmonjo> [theora @ 0x1cd4ac0] Header packet passed to frame decoder, skipping
[11:10] <dmonjo> ok the mp4 is ok but sound and video are not synchronized Macey
[11:10] <dmonjo> Mavrik:
[11:11] <dmonjo> i tihnk i should make it 8000 instead of 44100
[11:11] <zap0> why?
[11:11] <zap0> 8000 sounds like a telephone
[11:11] <dmonjo> i want it to sound like a telephone actually
[11:11] <Mavrik> dmonjo, libfaac doesn't support anything except 11025, 22050 or 44100
[11:12] <dmonjo> ahhh
[11:12] <Mavrik> so you have to resample it :)
[11:12] <Mavrik> (and I'm not sure about 11025)
[11:12] <dmonjo> 11025 doesnt owrk
[11:12] <dmonjo> only 22050 minimum? :/
[11:15] <dmonjo> Mavrik: my ogv is encoded using audio/x-raw-int,rate=4000,channels=1,depth=16
[11:15] <dmonjo> gstreamer...
[11:17] <dmonjo> Mavrik_: Mavrik: my ogv is encoded using audio/x-raw-int,rate=4000,channels=1,depth=16
[11:17] <dmonjo> <dmonjo> gstreamer...
[11:27] <relaxed> dmonjo: does your ogv have vorbis or aac?
[11:27] <dmonjo> yep
[11:27] <dmonjo> relaxed: vorbis
[11:28] <dmonjo> sampled at 4000
[11:28] <relaxed> and you want to do what?
[11:28] <dmonjo> depth=16 channel 1
[11:28] <dmonjo> i want to convert that ogv file to an mp4
[11:28] <dmonjo> its a theora video/vorbis audio
[11:28] <relaxed> you may have to change the sample rate
[11:30] <relaxed> I just tried-c:a libfdk_aac and it doubled to 8000
[11:31] <dmonjo> relaxed: what is the lowest?
[11:31] <dmonjo> 22050?
[11:31] <relaxed> 8000
[11:34] <dmonjo> relaxed: that will allow an mp4 (sound/vid) on 8000 ?
[11:40] <relaxed> what do you hope to do with this mp4?
[11:40] <dmonjo> relaxed: my friend, 8000 id not supported
[11:40] <dmonjo> grrrrr
[11:40] <relaxed> it is, I just tested it
[11:40] <dmonjo> ffmpeg -i event1.ogg -vcodec libx264 -crf 24 -preset slow -acodec libfaac -s 320x240 -ar 8000 -ab 92k out.mp4
[11:40] <dmonjo> Error while opening encoder for output stream #0.1 - maybe incorrect parameters such as bit_rate, rate, width or height
[11:40] <dmonjo> come on its 2 lines
[11:41] <dmonjo> you tested on 8000 ?!
[11:41] <relaxed> YES
[11:41] <relaxed> I need to see your output, not the command
[11:41] <dmonjo> sure
[11:42] <dmonjo> here you go! http://pastebin.com/QnHascTb
[11:42] <relaxed> oh, maybe libfaac doesn't support it but libfdk_aac does.
[11:42] <dmonjo> yes i am using libfaaac
[11:43] <dmonjo> what command did you use to download libfdk_aac  ap
[11:43] <dmonjo> apt-get
[11:44] <dmonjo> https://aur.archlinux.org/packages/libfdk-aac/ ?
[11:44] <dmonjo> mannual compilation? no already build packageS?
[11:45] <dmonjo> relaxed: WHAT IS THE LOWEST bitrate for libfaac?
[11:45] <dmonjo> 22050?
[11:46] <relaxed> Perhaps. What do you plan to do with this video? Is it for the web?
[11:47] <dmonjo> ya
[11:47] <LithosLaptop> upload to youtube?
[11:47] <dmonjo> no
[11:47] <dmonjo> local webserver
[11:47] <LithosLaptop> oh
[11:48] <relaxed> dmonjo: make sure you use a supported sample rate for whatever you're doing.
[11:48] <LithosLaptop> what about x264 video and libvorbis audio in a mkv container?
[11:48] <LithosLaptop> or does it need to be aac?
[11:48] <dmonjo> 4000 is supported for ogg
[11:48] <dmonjo> wonderign what is the minium for mp4
[11:48] <relaxed> for html5?
[11:49] <dmonjo> yea html5
[11:49] <relaxed> I'm sure google knows the answer to this.
[11:49] <LithosLaptop> o
[11:55] <LithosLaptop> https://developer.mozilla.org/en-US/docs/HTML/Supported_media_formats
[11:55] <LithosLaptop> what browsers are you targeting
[11:56] <LithosLaptop> you could always use x264 with MP3
[11:56] <LithosLaptop> libmp2lame will five better quality than libfaac anyway
[11:56] <LithosLaptop> umm
[11:56] <LithosLaptop> I meant libmp3lame
[11:57] <LithosLaptop> ,but libfdk_aac should be better than both
[11:57] <LithosLaptop> *five = give
[12:22] <dmonjo> ffmpeg -i test.ogv -vcodec libx264 -crf 24 -preset slow -acodec libfaac -s 320x240 -ar 22050 -ab 92k out.mp4 is palying sound and video out of sync
[12:22] <dmonjo> any ideas?
[12:23] <dmonjo> test.ogv is 22050 for voribs and 92 for theora
[12:30] <dmonjo>  with this ffmpeg ffmpeg -i test.ogv -vcodec libx264 -crf 24 -preset slow -acodec libfaac -s 320x240 -ar 22050 -ab 64k out.mp4 applied on this stream:  gst-launch-0.10 v4l2src ! videoscale ! video/x-raw-yuv,width=320,height=240 ! queue ! ffmpegcolorspace ! theoraenc bitrate=128 ! queue ! oggmux name=mux pulsesrc ! audio/x-raw-int,rate=44100,channels=1,depth=16 ! queue ! audioconvert ! vorbisenc ! queue ! mux. mux. ! queue ! shout2send
[12:30] <dmonjo> <dmonjo> i am getting an out of sycnrho sound and video
[12:36] <dmonjo> hello?!
[12:39] <viric> I read but can't help
[12:42] <klaxa> have you looked at the audio-sync options?
[12:42] <klaxa> also what ffmpeg version are you running?
[12:43] <dmonjo> ffmpeg version 0.8.5-4:0.8.5-0ubuntu0.12.04.1
[12:44] <klaxa> update your ffmpeg, best would be if you compiled from source, or get a recent static build
[12:44] <klaxa> static builds can be obtained here: http://ffmpeg.gusari.org/static/ or here http://dl.dropbox.com/u/24633983/ffmpeg/index.html
[13:25] <zlo> hi bro! need help. try build ffmpeg-1.1.3 with x264. first i build and install x264 but when try configure ffmpeg i get problem ERROR: libx264 not found
[13:26] <viric> 1.1.3?
[13:26] <zlo> yes
[13:26] <viric> I only know 1.1
[13:26] <zlo> check http://ffmpeg.org/download.html#releases
[13:26] <viric> I'm outdated
[13:26] <viric> :)
[13:27] <zlo> so i use this parametrs ./configure --prefix=/opt/ffmpeg-1.1.3/ --enable-libx264 --enable-gpl --disable-yasm --disable-ffserver --enable-shared
[13:27] <klaxa> >--disable-yasm
[13:27] <klaxa> better um... install yasm before messing up your build
[13:28] <zlo> install yasm?
[13:28] <klaxa> doesn't it explicitly say that you should install yasm because otherwise you cripple your build?
[13:28] <klaxa> or at least don't disable it
[13:28] <zlo> ok.
[13:28] <zlo> i will install
[13:28] <zlo> but what abiut my trouble?
[13:29] <zlo> i install x264 in /opt/ffmpeg-1.1.3/x264/
[13:29] <zlo> and i cant see in configure options ffmpeg path to my x264 stuff
[13:29] <klaxa> you should have LD_FLAGS stuff
[13:30] <klaxa> like... is there --extra-ldflags?
[13:31] <zlo> what kind?
[13:31] <zlo> of flags?
[13:31] <zlo> what you mean?
[13:31] <klaxa> ah yeah there is, just add --extra-ldflags="-L/opt/ffmpeg-1.1.3/x264/"
[13:31] <klaxa> ah, actually remove that trailing slash
[13:31] <klaxa> so just: --extra-ldflags="-L/opt/ffmpeg-1.1.3/x264"
[13:33] <zlo> =( not work
[13:33] <zlo> ./configure --prefix=/opt/ffmpeg-1.1.3/ --enable-libx264 --enable-gpl --disable-yasm --disable-ffserver --enable-shared --extra-ldflags="-L/opt/ffmpeg-1.1.3/x264"
[13:33] <sacarasc> Disable yasm? Slow ffmpeg.
[13:34] <zlo> i install yasm late
[13:34] <zlo> now i try fix my problem
[13:34] <zlo> with configure proccess
[13:34] <zlo> =(
[13:39] <zlo> bingo!
[13:39] <zlo> i fix myself!
[13:39] <zlo> =)))))
[13:39] <zlo> iam GOD
[13:39] <zlo> o_O
[13:40] <zlo> that true case: ./configure --prefix=/opt/ffmpeg-1.1.3/ --enable-libx264 --enable-gpl --disable-yasm --disable-ffserver --enable-shared --extra-libs="-L/opt/ffmpeg-1.1.3/x264/lib" --extra-cflags="-I/opt/ffmpeg-1.1.3/x264/include"
[13:40] <zlo> thanks bro!
[13:40] <klaxa> ah good, now go get yasm :P
[13:41] <zlo> shure
[13:47] <dmonjo> guys internet explorer does not play mp4?
[13:50] <sacarasc> According to https://en.wikipedia.org/wiki/HTML5_video#Browser_support that's all it supports.
[13:50] <dmonjo> it is not working hehe
[13:51] <klaxa> there are no citations so it might be wrong
[13:55] <zlo> klaxa, troumble continued =)
[13:55] <zlo> which options i shut use for  configure ffmpeg with yasm
[13:55] <zlo> ?
[13:55] <klaxa> ./configure --prefix=/opt/ffmpeg-1.1.3/ --enable-libx264 --enable-gpl --disable-ffserver --enable-shared --extra-libs="-L/opt/ffmpeg-1.1.3/x264/lib" --extra-cflags="-I/opt/ffmpeg-1.1.3/x264/include"
[13:56] <klaxa> just throw out "--disable-yasm"
[13:56] <zlo> yes i drop this options
[13:56] <zlo> but not work =(
[13:56] <zlo> yasm not found, use --disable-yasm for a crippled build
[13:57] <zlo> i install in /opt/ffmpeg-1.1.3/yasm/
[13:57] <Mavrik_> zlo, well you do need yasm installed :)
[13:57] <zlo> i have
[13:57] <zlo> alrady =)
[13:58] <zlo> yasm 1.2.0
[13:58] <zlo> Compiled on Mar  9 2013.
[13:58] <klaxa> maybe it's not in your $PATH ?
[13:59] <relaxed> zlo: PATH=/opt/ffmpeg-1.1.3/yasm/bin:$PATH ./configure ...
[14:00] <zlo> yes
[14:00] <zlo> itsh true
[14:00] <zlo> i forget about path
[14:00] <zlo> thanks
[14:00] <zlo> now all configured!
[14:00] <zlo> i happy
[14:01] <zlo> now i can show movie on playstation 2
[14:01] <zlo> 3
[14:01] <zlo> =))
[14:13] <dmonjo> hi
[14:13] <dmonjo> how can i convert an OGV to a flash file?
[14:19] <zlo> OMG =) ffmpeg: error while loading shared libraries: libavdevice.so.54: cannot open shared object file: No such file or directory
[14:19] <zlo> libavdevice.so.54 => not found 	libavfilter.so.3 => not found 	libavformat.so.54 => not found 	libavcodec.so.54 => not found 	libpostproc.so.52 => not found 	libswresample.so.0 => not found 	libswscale.so.2 => not found 	libavutil.so.52 => not found
[14:19] <zlo> =(
[14:19] <zlo> shut work litle bit mpre
[14:19] <zlo> more
[14:20] <zlo> =(
[14:21] <zlo> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/ffmpeg-1.1.3/lib/ fix this
[14:23] <maister> With swresample API, is there a way to set resampling quality?
[14:24] <Mavrik_> maister, yes, set a flag for algorithm
[14:24] <maister> SwrFilterType and SwrEngine?
[14:25] <Mavrik_> maister, when initializing context, set one of SWS_POINT, SWS_AREA, SWS_BICUBLIN, SWS_GAUSS, SWS_SINC, SWS_LANCZOS or SWS_SPLINE as a flag
[14:25] <maister> ye, I mean swresample, not swscale
[14:26] <Mavrik_> *facepalm*
[14:26] <Mavrik_> yes, sorry :D
[14:26] <Mavrik_> misread
[14:26] <Mavrik_> no idea :(
[14:26] <zlo> so i finish install. Now i need more help. How i can convert mkv file in mp4 formt withous loss quality?
[14:27] <maister> -vcodec copy -acodec copy?
[14:29] <zlo> why my fps=7.2
[14:29] <zlo> i think its very less =(
[14:58] <t4nk153> hi everyone
[14:58] <t4nk153> please i need some help i can't read a mjpg stream using ffplay
[14:59] <t4nk153> i got this error
[14:59] <t4nk153> ffplay http://192.168.1.4:8080/?action=stream ffplay version 0.10.6-6:0.10.6-0ubuntu0jon1 Copyright (c) 2003-2012 the FFmpeg developers   built on Nov 12 2012 12:53:40 with gcc 4.7.2   configuration: --arch=amd64 --enable-pthreads --enable-runtime-cpudetect --extra-version='6:0.10.6-0ubuntu0jon1' --libdir=/usr/lib/x86_64-linux-gnu --disable-stripping --prefix=/usr --enable-bzlib --enable-libdc1394 --enable-libfreetype --enable-frei0r 
[14:59] <t4nk153> [loas @ 0x7f8c940008c0] Format loas detected only with low score of 1, misdetection possible! [loas @ 0x7f8c940008c0] decoding for stream 0 failed [loas @ 0x7f8c940008c0] Could not find codec parameters (Audio: aac_latm, 0 channels, s16) [loas @ 0x7f8c940008c0] Estimating duration from bitrate, this may be inaccurate http://192.168.1.4:8080/?action=stream: could not find codec parameters
[15:03] <t4nk153> btw i can read using a webbroser vlc player but not ffplay i need to play it with ffplay cause opencv is using ffmpeg to read video files
[15:18] <ubitux> this is very old
[15:18] <ubitux> you are something like 4 or 5 major releases late
[15:18] <ubitux> try to upgrade
[15:18] <ubitux> check this if you're lazy ^
[15:19] <viric> many package managers will make all for you, no?
[15:23] <t4nk153> vitric i installed using ubuntu 12.10 package manager
[15:24] <t4nk153> apparently something is wrong it look like ubuntu dev have a problem with the original ffmpeg
[15:26] <t4nk153> i will try to compile and install the last build
[15:27] <viric> ah ok
[16:09] <TheSashmo> does anyone know if there is some sort of "flag" that can identify if a program is encrypted or decrypted without having to visually watch the video?  I'm checking a transport stream to see if the channels have been decrypted, but its a manual process, I would just like to script it and report, any ideas?
[16:14] <ZeloZelos> how do i get ffmpeg to loop a sequence of images untill a song has ended
[16:15] <viric> I've some videos in yuv422
[16:15] <viric> it looks like 420 is more supported than 422, no?
[16:15] <viric> as in codecs code nicer 420 than 422
[16:15] <ZeloZelos> im partial to umm...420 :)
[16:15] <viric> ?
[16:16] <Mavrik_> viric, which format?
[16:16] <viric> I was not answering your topic :)
[16:16] <ZeloZelos> i know, i was just joking ;)
[16:16] <viric> Mavrik_: I have 422 in x264 lossless, that comes from a 422 source. But I wonder if I should recode to 420 for any reason.
[16:17] <viric> (I want to code for 'storage', not streaming or any particular device)
[16:17] <Mavrik_> viric, most decoders can't play 422
[16:17] <viric> ok
[16:17] <Mavrik_> so keep that in mind
[16:17] <viric> I remembered vaguely something bad about 422, couldn't recall what
[16:17] <viric> What about vdpau or vaapi hw decoding?
[16:17] <Mavrik_> not being able to play it on most hardware devices is probably that :)
[16:18] <viric> as for x264, I see it has a different profile for 422 (high422)
[16:18] <viric> But as for vp8, I think it only allows 420. Can it be?
[16:18] <viric> and what do I lose, if I convert frames to 420?
[16:18] <Mavrik_> viric, nvidia didn't support 422 decoding with vdpau awhile ago
[16:18] <Mavrik_> probably still doesn't now
[16:18] <viric> aha ok
[16:18] <Mavrik_> viric, color :)
[16:19] <viric> so I lose a bit of color?
[16:19] <Mavrik_> you lose color information :)
[16:19] <Mavrik_> yep
[16:19] <viric> a lot?
[16:19] <viric> I think I have more noise than information (VHS source :)
[16:19] <ZeloZelos> i am using %04d.png to input some images (numbered 0001.png 0002....) i would like these images to loop untill a song is finished. what can i do? I attempted -flags AV -i "image files" -i "mp3 file"
[16:20] <ZeloZelos> it says something about a ( missing after AV
[16:20] <klaxa> ZeloZelos: um... look at the filterchain i think there should be some loop feature and see the -shortest option
[16:20] <ZeloZelos> ahhhh
[16:20] <ZeloZelos> ok thanks
[16:36] <Mavrik_> viric, VHS pretty much destroyed any quality video could have
[16:36] <Mavrik_> no point in doing 422 or losless :)
[16:36] <viric> yep
[16:36] <viric> well, on doubt, I first stored it lossless from the input
[16:37] <viric> now I'll rework it to take less space
[16:41] <dmonjo> guys
[16:41] <dmonjo> having a problem with sound and video sycnhronization
[16:42] <dmonjo> ffmpeg -i test.ogv -vcodec libx264 -crf 24 -preset slow -acodec libfaac -s 320x240 -ar 44100 -ab 128k out.mp4
[16:42] <dmonjo> converting a working ogv to mp4
[16:42] <dmonjo> theora/vorbis encoded 44100 and 128bs
[16:42] <dmonjo> any ideas?
[17:00] <dmonjo> ffmpeg -i test.ogv -vcodec libx264 -crf 24 -preset slow -acodec libfaac -s 320x240 -ar 44100 -ab 128k out.mp4
[17:00] <dmonjo> having a problem with sound and video sycnhronization
[17:00] <dmonjo> not synchronizeddddddddddddd
[17:01] <klaxa> i told you what to doooooooooooo
[17:01] <klaxa> <klaxa> have you looked at the audio-sync options?
[17:01] <klaxa> <klaxa> also what ffmpeg version are you running?
[17:01] <klaxa> <dmonjo> ffmpeg version 0.8.5-4:0.8.5-0ubuntu0.12.04.1
[17:01] <klaxa> <klaxa> update your ffmpeg, best would be if you compiled from source, or get a recent static build
[17:02] <dmonjo> klaxa FFmpeg version SVN-r0.5.10-4:0.5.10-1, Copyright (c) 2000-2009 Fabrice Bellard,
[17:02] <ubitux> lol
[17:02] <klaxa> dude
[17:02] <ubitux> :D
[17:02] <klaxa> that's how many years old?
[17:02] <klaxa> at least 4
[17:02] <dmonjo> thats on debian
[17:02] <klaxa> <klaxa> <klaxa> update your ffmpeg, best would be if you compiled from source, or get a recent static build
[17:03] <klaxa> i'm out, gotta eat at some time of the day o/
[17:07] <dmonjo> what is the latest revision of ffmpeg
[17:07] <dmonjo> i should isntall on dfebian
[17:08] <dmonjo> 1.1.3
[17:08] <dmonjo> ?
[17:08] <ubitux> or git/head
[17:08] <ubitux> the most recent you can get.
[17:08] <dmonjo> ffmpeg version 0.7.15, Copyright (c) 2000-2013 the FFmpeg developers
[17:08] <dmonjo> ?
[17:08] <dmonjo> is this current?
[17:10] <dmonjo> yes?
[17:10] <dmonjo> no?
[17:11] <dmonjo> maybe?
[17:11] <dmonjo> still delay with that version too
[17:15] <viric> 0.7.15 with copyright 2013?
[17:15] <dmonjo> installing 1.1.13
[17:15] <dmonjo> lets ee if it works on deibna
[17:15] <ubitux> viric: yes, fix revision
[17:15] <dmonjo> conplained on the configure
[17:16] <viric> ah ok
[17:16] <ubitux> viric: but 0.7 is way older
[17:16] <dmonjo> --disable-yasm
[17:16] <dmonjo> what is this yasm
[17:16] <ubitux> an assembler
[17:16] <ubitux> it's recommended you install it
[17:16] <ubitux> instead of --disable-yasm
[17:16] <ubitux> otherwise you'll get several performance issues
[17:17] <dmonjo> ok...
[17:17] <dmonjo> WARNING: pkg-config not found, library detection may fail.
[17:17] <dmonjo> also that one?
[17:17] <dmonjo> installed both...
[17:28] <dmonjo> ffmpeg version 1.1.3 Copyright (c) 2000-2013 the FFmpeg developers
[17:29] <dmonjo> all is happy now ?
[17:32] <dmonjo> ffmpeg -i event1.ogv -vcodec libx264 -crf 24 -preset slow -acodec libfaac -s 320x240 -ar 44100 -ab 128k event1.mp4
[17:32] <dmonjo> Changing stream parameters in multistream ogg is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[17:32] <dmonjo> i shoot myself or what?
[17:34] <dmonjo> Unknown encoder 'libx264'
[17:34] <ubitux> --enable-libx264 at built time
[17:34] <dmonjo> grrrr
[17:34] <ubitux> also --enable-gpl
[17:34] <dmonjo> on make?
[17:35] <ubitux> configure
[17:35] <ubitux> mmmh changing stream parameters midstream got improved in git iirc
[17:35] <ubitux> you might want to try
[17:36] <dmonjo> ./configure --enable-libx264 --enable-gpl
[17:36] <dmonjo> ERROR: libx264 not found
[17:37] <ubitux> install it?
[17:37] <ubitux> you need the dev package
[17:38] <ubitux> but given that you seem to be living in a distant past, good luck installing a recent x264 with the headers
[17:38] <dmonjo> thanks mate!!
[17:40] <dmonjo> --enable-shared
[17:40] <dmonjo> should be done tooo
[17:40] <ubitux> useless
[17:40] <ubitux> static/shared is relevant to the ffmpeg libraries only
[17:41] <ubitux> having it static is simpler if you want to run the ffmpeg in standalone btw.
[17:43] <dmonjo> wowz
[17:43] <dmonjo> apt-get install build-essential subversion git-core yasm libgpac-dev libdirac-dev libgsm1-dev libschroedinger-dev libspeex-dev libvorbis-dev libopenjpeg-dev libdc1394-22-dev libsdl1.2-dev zlib1g-dev texi2html libfaac-dev libfaad-dev libmp3lame-dev libtheora-dev libxvidcore4-dev libopencore-amrnb-dev libopencore-amrwb-dev libvpx-dev libfreetype6-dev frei0r-plugins-dev librtmp-dev libaacplus-dev libx264-dev libavdevice-dev libavfilter-dev libavformat-dev liba
[17:43] <dmonjo> vutil-dev
[17:44] <LithosLaptop> dunno if this might also help for Debian: https://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide
[17:45] <dmonjo> thank yow :D
[17:45] <LithosLaptop> also try to get fdk-aac :)
[17:46] <dmonjo> whats that?!
[17:46] <LithosLaptop> aac encoder
[17:46] <LithosLaptop> best one you can use with ffmpeg
[17:46] <LithosLaptop> libfaac sucks a bit
[17:46] <dmonjo> ya i am using that libfuck
[17:46] <LithosLaptop> hahaha
[17:50] <dmonjo> i think it is contained in September, 28, 2012, FFmpeg 1.0
[17:50] <dmonjo> - AAC encoding via libfdk-aac
[17:51] <dmonjo> http://sourceforge.net/projects/opencore-amr/files/fdk-aac/fdk-aac-0.1.1.tar.gz/download
[17:56] <dmonjo> http://pastebin.com/rdGYLeTn
[17:56] <dmonjo> can someone tell me what i am doing wrong pleasE?!??!
[17:58] <LithosLaptop> sorry I don't know. I usually just download precompiled windows builds :)
[18:00] <LithosLaptop> http://ffmpeg.org/trac/ffmpeg/wiki/AACEncodingGuide
[18:00] <LithosLaptop> " Therefore these encoders have been designated as "non-free", and you may have trouble finding a pre-built ffmpeg that supports them. This can be resolved by compiling ffmpeg. "
[18:01] <LithosLaptop> --enable-nonfree
[18:01] <dmonjo> ???
[18:01] <dmonjo> on configure?
[18:01] <LithosLaptop> I think so
[18:05] <LithosLaptop> 'libvo_aacenc' and 'aac' don't need the --enable-nonfree ,but the quality is even worse than libfaac
[18:06] <dmonjo> i am improvising
[18:07] <LithosLaptop> infact I think '-acodec aac' should work
[18:07] <dmonjo> going GIT
[18:07] <LithosLaptop> ok
[18:22] <dmonjo> ERROR: Xfixes not found
[18:22] <dmonjo> whats this error?
[18:22] <dmonjo> http://pastebin.com/7JpdR4wa
[18:24] <dmonjo> fixed
[18:27] <Trashlord> how?
[18:27] <dmonjo> apt-get install lib-fixes
[18:28] <Trashlord> ok
[18:29] <dmonjo> anyone was succesful converting ogg into a mp4?
[18:29] <LithosLaptop> still getting errors?
[18:30] <dmonjo> still compiling dude
[18:30] <dmonjo> my second round of wisky and waiting
[18:30] <LithosLaptop> o ok :)
[18:35] <LithosLaptop> ffmpeg -i event1.ogv -c:v libx264 -crf 24 -preset slow -c:a libfdk_aac -afterburner 1 -s 320x240 -ar 44100 -b:a 128k event1.mp4
[18:35] <LithosLaptop> dont know if acodec and vcodec still work with the latest builds
[18:44] <dmonjo> no good!!!!
[18:44] <dmonjo> http://pastebin.com/3ihabW7D
[18:44] <dmonjo> permission denied
[18:47] <LithosLaptop> "Error while decoding stream #0:0: Operation not permitted"
[18:47] <LithosLaptop> thats weird
[19:01] <dmonjo> internet explorer 9 runs h264?
[19:01] <dmonjo> aac?
[19:03] <dmonjo> i cant get it to work with the LithosLaptop command you pasted above
[19:03] <dmonjo> i get a X
[19:04] <LithosLaptop> yes, internet explorer 9 upports h.264 video and aac/mp3 audio
[19:04] <dmonjo> LithosLaptop: it is not working dude
[19:05] <LithosLaptop> hmm
[19:05] <dmonjo>     <source src="wp-content/uploads/2013/03/event1.mp4" type='video/mp4' />
[19:05] <dmonjo> anything else ? :/
[19:05] <dmonjo> it works fine on chrome and android
[19:05] <LithosLaptop> can you open the file with another player?
[19:05] <dmonjo> and firefox
[19:05] <dmonjo> yea the file is fine
[19:05] <LithosLaptop> cool
[19:05] <dmonjo> but does not open in internet explorer :D
[19:05] <LithosLaptop> what was wrong
[19:05] <dmonjo> i think libfuck
[19:06] <LithosLaptop> lol
[19:06] <dmonjo> libfdk is better
[19:06] <LithosLaptop> yeah
[19:06] <LithosLaptop> ok so its not working in ie..
[19:06] <dmonjo> nop
[19:06] <LithosLaptop> I wonder if it has to do with some h.264 profile
[19:06] <dmonjo> <video id="example_video_1" class="video-js vjs-default-skin" preload controls width="320" height="240" data-setup="{}">
[19:06] <dmonjo>     <source src="wp-content/uploads/2013/03/event1.ogv" type='video/ogg' />
[19:06] <dmonjo>     <source src="wp-content/uploads/2013/03/event1.mp4" type='video/mp4' />
[19:07] <dmonjo> the browser should data-setup as text
[19:07] <dmonjo> looks like it didnt interpret it well
[19:08] <dmonjo> h264 is working fine on iphone 4 4S 3 3S
[19:08] <dmonjo> but not iphone5
[19:08] <LithosLaptop> thats weir
[19:08] <LithosLaptop> weird
[19:09] <LithosLaptop> -profile:v baseline
[19:09] <LithosLaptop> try adding that to your ffmpeg command line
[19:09] <LithosLaptop> maybe it doesn't like the other profiles
[19:10] <dmonjo> whats that
[19:10] <dmonjo> whatd does this do ?
[19:11] <LithosLaptop> it disables some h.264 feautures
[19:13] <LithosLaptop> have you tried listing <source src="wp-content/uploads/2013/03/event1.mp4" type='video/mp4' /> first before the video/ogg tag?
[19:14] <dmonjo> no
[19:14] <dmonjo> will try that
[19:15] <dmonjo> <?xml version="1.0" encoding="UTF-8">
[19:15] <dmonjo> added this also
[19:21] <dmonjo> works fine when i switched dude
[19:21] <dmonjo> cheers
[19:24] <LithosLaptop> cool
[19:25] <dmonjo> i would like to know if it is possible to be converting using ffmpeg, a stream in ogg format into an mp4, does it work if the file is open and being written to?
[19:26] <dmonjo> simply said: can you convert an ogg into an mp4 on a file that is growing in size?
[19:26] <dmonjo> for example a file that is the result of a wget
[19:27] <LithosLaptop> got no idea
[19:33] <dmonjo> ffmpeg is too fast for this situation. The end of file is reached before capturing ends. ffmpeg aborts encoding.
[19:33] <brontosaurusrex> dmonjo, some files could be piped from wget to ffmpeg i imagine, unless they have some important data at the end of the stream..
[19:33] <dmonjo> tail -c1G file-that-keeps-growing | ffmpeg ...  ?
[19:34] <brontosaurusrex> wget [URL] | ffmpeg -i pipe:0
[19:34] <brontosaurusrex> perhaps
[19:35] <dmonjo> what about the last part of the stream i didnt get it
[19:38] <brontosaurusrex> dmonjo, basically if you can play the files over the net, before they fully download, then ffmpeg should be able to encode them "on the fly" as well
[19:38] <brontosaurusrex> i imagine
[19:50] <dmonjo> brontosaurusrex: so mainly ffmpeg doesnt need a "closed" file to work on
[19:50] <dmonjo> to calculate the size etc
[20:51] <beware> if i have an avcodec build number, how can i find out the version that corresponds to?
[20:51] <beware> (build 4754)
[21:02] <mark4o> beware: where do you see that build number?
[21:03] <beware> it is referred to in a version of stepmania 3.9 that is patched to work with a newer version of libavcodec (newer than 0.49, that is)
[21:03] <beware> https://github.com/augustg/stepmania-3.9/commit/0d1ad8d909df1acf165c0e7d370172bd8c30c280
[21:03] <beware> +#if (LIBAVCODEC_BUILD >= 4754)
[21:04] <beware> sadly, it doesn't work for me. it compiles, but i get a lot of libavcodec related errors at runtime that hint at it seeing a corrupt videostream, and i get no video
[21:07] <mark4o> libavutil/version.h:#define AV_VERSION_INT(a, b, c) (a<<16 | b<<8 | c)
[21:07] <mark4o> so apparently 0.18.146?  not sure about that
[21:10] <beware> but is LIBAVCODEC_BUILD the same thing as AV_VERSION_INT?
[21:11] <mark4o> version.h:#define LIBAVCODEC_BUILD        LIBAVCODEC_VERSION_INT
[21:11] <mark4o> version.h:#define LIBAVCODEC_VERSION_INT  AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
[21:11] <mark4o> version.h:                                               LIBAVCODEC_VERSION_MINOR, \
[21:11] <mark4o> version.h:                                               LIBAVCODEC_VERSION_MICRO)
[21:11] <beware> ok
[21:12] <beware> does that version number even make sense?
[21:16] <mark4o> I think it used to refer to the svn revision number but was changed when moving to git
[21:24] <beware> so it is a pre-git number
[21:24] <beware> and this means the number does not monotonically increase
[21:24] <beware> as in, when they moved to git, the numbers became lower again
[21:26] <mark4o> The current version is 54.92.100 (3562596) so I don't think it became lower.
[21:28] <beware> in whaok so these numbers aren't the same as the ffmpeg version
[21:28] <beware> (which is now 1.0.something)
[21:28] <beware> ...
[21:28] <beware> i start to type something, and then type something else. i do that sometimes
[21:28] <mark4o> no, you should see the libavcodec version as one of the first few lines of ffmpeg output
[21:31] <mark4o> stepmania 3.9 is from 2006, right?  so of course the versions are going to be very old
[21:31] <beware> yes,
[21:31] <beware> but it was patched about 2 years ago
[21:32] <beware> including support for a (somewhat) newer libavcodec
[21:32] <beware> that is what this github repo is for
[21:36] <ALVAN> hi all ... i am trying to extract dvd subtitles from a .mkv  movie file
[21:37] <ALVAN> i am using ffmpeg -i file.mkv -vn -an -codec:s:0.3 srt abc.srt
[21:38] <ALVAN> but is not working  .. am i doing something wrong
[21:38] <ALVAN> mkv file info is Stream #0:3(eng): Subtitle: dvd_subtitle (default)
[21:43] <beware> ok, even at the end of the svn, they already switched to the new build number system. but during 0.49 they used the old system
[21:44] <mark4o> beware: I see.  Well LIBAVCODEC_BUILD >= 4754 should be true if your library from the last several years.
[21:45] <beware> yes, that's right, but i also think that what was valid at the time (4754) has not been valid for years either
[21:45] <beware> as in, i think only a short "window" of ffmpeg versions will work with it
[21:45] <beware> (roughly, i think 4754 works, and 4755 changed the API again, breaking it)
[21:46] <beware> that's my idea of ffmpeg.
[21:47] <beware> so im going to try to get 4754
[21:48] <mark4o> beware: I don't know; those versions were many years ago.  The current version numbers have major and minor versions to indicate when there is an incompatible change.
[21:48] <beware> so, all 1.0.x should be compatible, and 1.1.x breaks it?
[21:49] <mark4o> no, that is ffmpeg version, avcodec version is 54.92.100
[21:49] <beware> ah yes
[21:49] <mark4o> 54 is compatible
[21:49] <beware> i keep messing those up
[21:49] <beware> why do they have two version numbers anyway, aren't ffmpeg and libavcodec sort of the same project?
[21:50] <mark4o> libavcodec is a library that is used in other projects, ffmpeg is the command line front end
[21:50] <beware> ah
[21:52] <beware> why don't they version number ffmpeg after libavcodec
[21:52] <mark4o> ffmpeg includes more than libavcodec.  If they had the same version number then what would be the ffmpeg version if only one of the other components changed?
[21:53] <beware> ok, i assumed that it only uses libavcodec, and that it's relatively simple
[21:54] <beware> it seems that as of these very old builds, it was actually the same
[21:54] <beware> #define LIBAVCODEC_VERSION_INT FFMPEG_VERSION_INT
[22:00] <brontosaurusrex> did that x11grab compile yesterday, doing wonderfully
[22:00] <brontosaurusrex> (debian 64)
[23:09] <elkng> is it possible to slow down audio without making it in low timbre ?
[23:20] <saste> elkng, -af atempo
[23:25] <elkng> there is no "-af atempo" in ffmpeg version 0.10.2, is it in never versions ?
[23:29] <saste> elkng, "never versions"? no, we never released them (yet)
[23:30] <klaxa> in that case you should
[23:30] <klaxa> ffmpeg version never compiled on 31. Dez. 1969 on GCC -0.1
[23:48] <Aristide> Ils disent pas comment
[23:49] <Aristide> ... Sorry Wrong channel x)
[23:50] <mark4o> saste: atempo was added in ffmpeg 1.0
[23:50] <mark4o> I mean elkng:
[23:52] <viric> Hello all
[23:52] <viric> trying to send a video to ffserver... why ffmpeg tells me:
[23:52] <viric> [http @ 0x804000] HTTP error 503 Server too busy
[23:52] <viric> http://localhost:8090/feed1.ffm: Input/output error
[23:54] <viric> ah, a browser tells more :)
[00:00] --- Sun Mar 10 2013


More information about the Ffmpeg-devel-irc mailing list