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

burek burek021 at gmail.com
Mon Jul 23 02:05:01 CEST 2012


[00:24] <buhman> is it just me, or are most of those fancy h.264 presets no longer in the source tree?
[00:25] <buhman> all I see is just some libvpx stuff and a few assorted ipod libx264 presets
[00:25] <buhman> I'm looking for something like the slow and veryslow presets
[00:34] <cbreak> those are x264 options
[00:40] <JEEB> buhman, used via the -preset setting nowadays, internal libx264 presets :)
[01:14] <buhman> JEEB: oh
[01:20] <buhman> so where would I find the presets within the libx264; I can't find any obvious "presets" directory like in the ffmpeg sources
[01:20] <JEEB> buhman, x264 --help or http://mewiki.project357.com/wiki/X264_Settings#preset
[01:20] <JEEB> they're internal to libx264
[01:24] <buhman> right
[01:24] <buhman> "internal" as in internal where?
[01:25] <sacarasc> As in you can use -c:v libx264 -preset veryslow
[01:25] <buhman> I don't care about the names of the presets, I want to see what the presets actually *do*
[01:33] <JEEB> they're made by x264's developers, they are internal and you can list their options with x264 --fullhelp
[01:33] <JEEB> although you generally shouldn't have to care
[01:34] <JEEB> they are the way most/all people should select their defaults based on the desired speed/compression
[01:34] <WannaBeGeekster> What is the cause of audio drift when converting videos?  Is it because I do not demux the video before converting it?
[01:38] <sacarasc> WannaBeGeekster: No.
[03:22] <fris> is ffmpeg -i test.m4a -acodec libmp3lame -ab 160k test.mp3 the proper way to convert a m4a to mp3?
[03:53] <sacarasc> fris: Pretty much.
[07:43] <docjay> I have lame installed (v3.99.5)
[07:43] <docjay> not sure if anyone saw what I typed so...
[07:43] <docjay> getting this error while installing ffmpeg in freebsd 9
[07:44] <docjay> http://pastebin.com/d830ExCh
[07:44] <docjay> trying to include 'libmp3lame'
[07:44] <docjay> I have lame installed (v3.99.5)
[12:24] <WannaBeGeekster> docjay:  You should figure out where that file is and use a -I/path/to/file in your ./configure line?   I am not 100% certain that is the right way, but it is looking for that file and that file is not in an included path.
[14:09] <WannaBeGeekster> I want to use ffmpeg to duplicate the settings from Sorenson Squeezes MKV_1200_480P profile.  Is there a libx264 profile that corresponds to this profile in Sorenson?
[14:14] <JEEB> see what H.264 profile/level it uses and set those with -profile:v and -level, check the amount of reference frames used, and set those with -x264opts ref=NUM
[14:15] <JEEB> that should more or less duplicate it
[14:15] <JEEB> then use x264's presets otherwise for the desired speed/compression trade-off
[14:17] <WannaBeGeekster> Yes, speed is not my concern...  file size is my main concern.  I want to get my videos down to the ~400mb range.
[14:17] <JEEB> 1200 is probably a bit rate, but I don't know if setting a bit rate is the best way of doing things. You could either use crf for quality-based VBR (only one pass needed, crf 23 is the default, lower is better quality/more size), or 2pass bitrate-based VBR
[14:17] <WannaBeGeekster> yes I have used -crf before and it is not making the videos small enough for me.  I know that sorenson drops the video size down to 480p.  So that might be the missing factor with me.
[14:18] <JEEB> uhh
[14:18] <WannaBeGeekster> scaling the video size down to 480p.
[14:18] <JEEB> crf is able to make the files VERY SMALL
[14:18] <JEEB> trust me
[14:18] <WannaBeGeekster> But it uses 2 pass encoding.
[14:18] <JEEB> just raise the number
[14:18] <JEEB> of course, it also raises the quants and the output might not be as good of quality as you'd wish
[14:18] <WannaBeGeekster> I have raised it to 26 and can't even come close on certain videos.  Of course those are all 1080p
[14:19] <JEEB> 26 isn't even really high
[14:19] <WannaBeGeekster> and 720p is not much better, they are only getting down to around 600-800mb
[14:19] <JEEB> of course, downsizing the video also lowers the bit rate needed for some quality level in general
[14:19] <WannaBeGeekster> Well the quality really starts to suffer there.  I can't tell the difference in quality (with a good encode) between 720p and 480p.
[14:20] <JEEB> anyways, you should now have enough info on how to replicate it
[14:20] <WannaBeGeekster> Yes, thank you very much.  You have helped me out quite a bit.
[14:21] <JEEB> if this is going towards networks or otherwise bandwidth-limited stuff you might want to set maxrate/bufsize options as well
[14:21] <WannaBeGeekster> Yes, it is over the network to my wdlxtv box
[14:21] <WannaBeGeekster> I will check those out too.  There are so many options it gets mind numbing very quickly.
[14:22] <JEEB> maxrate being the minimum transfer speed needed to play the clip back without problems (in other words, maximum average rate over bufsize)
[14:22] <JEEB> and then bufsize is the amount of seconds to be buffered during start * maxrate
[14:22] <JEEB> of course the player usually decides this unless you're doing the player too
[14:23] <WannaBeGeekster> cool...  I never knew those could be set in the video really.  I mean maxrate makes sense, but the bufsize is pretty cool.
[14:23] <WannaBeGeekster> even if it is just a suggestion to the plater
[14:23] <WannaBeGeekster> player
[14:23] <JEEB> it's not really a suggestion for the player, the bufsize that is (you could read it from the hrd info I guess, but I don't see many things doing that)
[14:24] <JEEB> you just match up your player's and encoder's mechanics there
[14:24] <JEEB> also, I don't really see how maxrate could exist without bufsize :)
[14:24] <WannaBeGeekster> ok cool.  Well baby steps.  I am slowly getting the technical details to make sense in my brain.  Video is probably the hardest thing I have tackled so far in my 32 years of computing.
[14:27] <JEEB> of course you could just hardcode some bufsize, but that wouldn't really be that general, now would it? :)
[14:28] <WannaBeGeekster> lol!  Not really... :)
[16:01] <sgfgdf> hi, guys! if i use this command -- ffmpeg -i in.mp3 -acodec copy -t 190 out.mp3  do i change something in the audio (can i loose quality)?
[16:07] <sacarasc> sgfgdf: No, that copies the audio stream rather than re-encoding it.
[16:10] <sgfgdf> sacarasc, thank you!
[16:28] <docjay> trying to configure ffmpeg with lame, how do I tell it where my lame.h file is?
[16:28] <docjay> getting this error while installing ffmpeg in freebsd 9
[16:28] <docjay> http://pastebin.com/d830ExCh
[16:28] <roxlu> hi, I want to convert an RGB24 image to YUV420P. I want to use sws_scale for this but what I'm wondering what to pass as parameters. i.e. the "srcSlide" is that an array to the first r,g and b, values?
[16:29] <docjay> I'm trying to use the "-I" switch, but it doesn't like it
[16:38] <Mavrik_> docjay, check ./configure --help
[16:38] <Mavrik_> there's a switch that lets you set include path
[16:42] <docjay> is it '-target-path'?
[16:43] <docjay> --target-path
[16:43] <sacarasc> Something like --extra-includes, maybe --extra-cflags.
[16:44] <docjay> yep, there are '--extra-cflags', '--extra-cxxflags', '--extra-ldflags' too
[16:48] <docjay> I don't know how to use that switch....  --extra-flags=/usr/local/include/lame/lame.h  ????
[16:48] <docjay> I don't know how to use that switch....  --extra-cflags=/usr/local/include/lame/lame.h  ????
[16:49] <sacarasc> --extra-cflags="-I /usr/local/include" or soemthing...
[16:49] Action: sacarasc shrugs.
[16:51] <docjay> okay, did that and still came back with 'ERROR:  libmp3lame >= 3.98.3 not found'
[16:51] <docjay> ridiculous   :)
[16:51] <docjay> can't join the freebsd room, by invite only
[16:52] <sacarasc> What version of Lame do you have installed?
[16:52] <iive> docjay: some channels allow only users registered to nickserv
[16:52] <docjay> v 3.99.5
[16:54] <docjay> okay, thanks iive
[16:54] <docjay> :)
[16:55] <iive> docjay: it may be good idea to check the config*.log file, the failure may be different.
[16:56] <docjay> thx, here is the of the config.log:
[16:56] <docjay> gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I usr/local/include/lame/lame.h -std=c99 -fomit-frame-pointer -pthread -E -o /tmp/ffconf.uaZd0cNN.o /tmp/ffconf.07DUdpn3.c /tmp/ffconf.07DUdpn3.c:1:23: error: lame/lame.h: No such file or directory ERROR: libmp3lame >= 3.98.3 not found
[16:58] <bennu> So ffprobe -show_streams and ffmpeg -i are showing me 6 channels (DTS-HD MA 5.1) for any DTS-HD MA 7.1 files (I'm trying to get info from blu-ray .m2ts files.  I can try to up a sample; but it's all huge as hell.  Does anyone know how i can use ffmpeg to pipe the correct channel number?  MediaInfo gives me the current channels (for this); and I'm assuming ffmpeg can, but I can't figure out from any of the examples I've seen out there.
[16:58] <bennu> Pastie: http://pastebin.com/gngAcxbi
[19:13] <burek> back to winblows again.. :)
[19:13] <burek> debian so sucks
[19:13] <burek> it's only good for using as a server os, nothing more
[19:15] <burek> bennu, did you try updating your ffmpeg?
[19:20] <burek> docjay, did you try typing ldconfig
[19:20] <docjay> no, I haven't tried that
[19:21] <burek> roxlu, check how does ffmpeg use swscale and just copy/paste
[19:21] <burek> docjay, if that doesn't work, can you use pastebin to show config.log
[19:22] <docjay> http://pastebin.com/d830ExCh
[19:22] <burek> I see
[19:22] <burek> how did you install lame
[19:23] <docjay> from their website, with a 'make'
[19:23] <burek> what configure line did you use
[19:23] <docjay> I'm not too sure, it was a couple of days ago, sorry :(
[19:24] <burek> ok, let me check
[19:24] <docjay> I've been struggling with this for a while
[19:24] <burek> which OS are you using
[19:24] <docjay> freebsd 9
[19:24] <burek> can you type: find / -mount -name "lame.h"
[19:25] <docjay> its in:
[19:25] <docjay> .
[19:25] <docjay> .../root/lame/include/lame.h
[19:25] <burek> (ok, just checked liblame, it doesn't use any specific options, just ./configure; make; make install)
[19:25] <burek> I see
[19:25] <burek> did you type make install?
[19:26] <docjay> & /usr/local/include/lame/lame.h
[19:26] <burek> it's in the right place
[19:26] <docjay> probably, can I just uninstall and try again?
[19:26] <burek> go to the source code directory of liblame
[19:26] <burek> and type make uninstall
[19:26] <burek> then make distclean
[19:27] <burek> and then: ./configure && make && make install
[19:27] <docjay> which dir?  '/root/lame' where I copied the install to?
[19:28] <burek> root lame, yes
[19:28] <burek> :D
[19:28] <docjay> sorry :-P <-- derp
[19:29] <docjay> running now
[19:29] <burek> ok :)
[19:29] <docjay> that did it, you da man
[19:29] <burek> :beer: :)
[19:29] <docjay> now if I can compile the latest ffmpeg with libmp3lame I'll be in bidniss!
[19:30] <burek> try this
[19:30] <burek> http://ffmpeg.gusari.org/viewtopic.php?f=25&t=38
[19:30] <burek> just ignore x264 and aacplus
[19:30] <burek> and for configure line, use: ./configure --enable-gpl --enable-libmp3lame
[19:32] <docjay> k
[19:32] <docjay> cause it was complaining only about aacplus
[19:34] <docjay> damn,   "ERROR:  libmp3lame >= 3.98.3 not found
[19:35] <docjay> brb
[19:36] <burek> try ldconfig again
[19:42] <docjay> back
[19:42] <docjay> how do I use ldconfig?
[19:46] <docjay> is there anyway to give the path to lame.h when I run ./configure --enable-gpl --enable-libmp3lame  ??
[19:47] <docjay> http://pastebin.com/FV7T3mjQ
[20:31] <burek> docjay ffmpeg's configure script should find everything if it is properly installed
[20:31] <docjay> I found this in the lame config.log
[20:31] <burek> can you pastebin your env?
[20:32] <docjay> http://pastebin.com/qYDE69kH
[20:32] <docjay> search this:  configure: failed program was:
[20:33] <docjay> when I type:  lame, it starts & gives me the x64 version 3.99.5 -- it looks like it is installed correctly
[20:33] <burek> ok, if you type ls /usr/local/include/lame/lame.h
[20:33] <burek> it shows the file, right?
[20:34] <docjay> yes
[20:34] <burek> then it's ok
[20:34] <burek> now, can you type env
[20:34] <burek> and use pastebin
[20:37] <docjay> got it    http://pastebin.com/mENrdAAL
[20:39] <burek> docjay try --extra-cflags "-I
[20:39] <burek> /usr/local/include"
[20:39] <burek> wow
[20:39] <burek> docjay try --extra-cflags "-I /usr/local/include"
[20:39] <burek> --extra-cflags="-I /usr/local/include"
[20:41] <docjay> ERROR: libmp3lame >= 3.98.3 not found
[20:41] <docjay> FREEBSD9# ./configure --enable-gpl --enable-libmp3lame --extra-cflags="-I /usr/local/include" ERROR: libmp3lame >= 3.98.3 not found  If you think configure made a mistake, make sure you are using the latest version from Git.  If the latest version fails, report the problem to the ffmpeg-user at ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net. Include the log file "config.log" produced by configure as this will help solving the 
[20:48] <docjay> found this in the 'configure' file in ffmpeg:
[20:48] <docjay> enabled libmp3lame && require  "libmp3lame >= 3.98.3" lame/lame.h lame_set_VBR_quality -lmp3lame
[20:49] <docjay> # these are off by default, so fail if requested and not available
[20:49] <burek> docjay, the problem is on your operating system
[20:49] <burek> when you write a c program
[20:49] <docjay> k
[20:49] <burek> and do #include <...>
[20:49] <burek> it is searched for only in /usr/include
[20:49] <burek> and not also in /usr/local/include
[20:49] <burek> I don't know exactly the reason why
[20:49] <burek> I'm searching
[20:50] <docjay> thank you very much for your help on this!
[20:50] <burek> it has to do something with LD_LIBRARY_PATH
[20:50] <burek> and ldconfig
[20:50] <burek> np :)
[20:51] <burek> does freebsd have some package manager?
[20:51] <burek> or everything has to be compiled from source
[20:51] <docjay> ffmpeg does because of licensing
[20:51] <docjay> others can be done with pkg_add -r 'package name'
[20:52] <burek> did you pkg_add ffmpeg or lame?
[20:52] <burek> or something
[20:52] <docjay> I may have done lame, but it was several days ago.  It IS  possiblity
[20:53] <docjay> a possibility
[20:53] <burek> try pkg_remove
[20:53] <burek> or something
[20:53] <burek> and then recompile lame
[20:53] <burek> also, type ldconfig -p | grep lame
[20:54] <burek> to see if there are any lames installed
[20:57] <docjay> I unisntalled anything it found for 'lame'
[20:57] <docjay> pkg_deinstall -R lame
[20:58] <burek> ok, that was the culprit
[20:58] <docjay> no matching packages found
[20:58] <burek> your gcc found lame installed
[20:58] <burek> but "libmp3lame >= 3.98.3"
[20:58] <burek> :)
[20:58] <burek> that was the problem
[20:58] <burek> and since /usr/include takes precedence over /usr/local/include
[20:58] <docjay> when I type 'lame' it comes back like its installed still
[20:58] <burek> it didn't even look into your compiled stuff
[20:58] <docjay> FREEBSD9# lame LAME 64bits version 3.99.5 (http://lame.sf.net)
[20:58] <burek> type which lame
[20:59] <docjay> I should just format and start over
[20:59] <burek> if it says /usr/local/bin then it's ok
[20:59] <burek> type: which lame
[21:00] <docjay> ../usr/local/bin/lame
[21:00] <burek> greate
[21:00] <burek> try again with ffmpeg's ./configure :)
[21:00] <burek> great*
[21:00] <docjay> FREEBSD9# ./configure --enable-gpl --enable-libmp3lame ERROR: libmp3lame >= 3.98.3 not found  If you think configure made a mistake, make sure you are using the latest version from Git.  If the latest version fails, report the problem to the ffmpeg-user at ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net. Include the log file "config.log" produced by configure as this will help solving the problem.
[21:00] <burek> ldconfig
[21:00] <burek> then ./configure ...
[21:01] <burek> (are you root?)
[21:01] <docjay> yes
[21:01] <docjay> same problem
[21:01] <burek> ldconfig -p | grep lame
[21:02] <docjay> FREEBSD9# ldconfig -p | grep lame ldconfig: illegal option -- p usage: ldconfig [-32] [-aout | -elf] [-Rimrsv] [-f hints_file] [directory | file ...]
[21:02] <burek> hm.. type man ldconfig
[21:02] <burek> and look what is the option used for PRINT
[21:02] <burek> instead of -o
[21:02] <burek> -p*
[21:06] <docjay> don't see an option for PRINT
[21:07] <burek> maybe -r
[21:07] <burek> not sure
[21:08] <docjay> I can run it, but there is no output
[21:08] <burek> anyway, go to source code folder for lame
[21:08] <burek> make uninstall; make distclean
[21:08] <docjay> K
[21:08] <burek> ./configure && make && make install
[21:08] <burek> ldconfig
[21:08] <burek> and then try ffmpeg ./configure..
[21:10] <docjay> same error  :-(
[21:10] <docjay> FREEBSD9# ./configure --enable-gpl --enable-libmp3lame ERROR: libmp3lame >= 3.98.3 not found
[21:13] <burek> ./configure --enable-gpl --enable-libmp3lame --extra-cflags="-I /usr/local/include" --extra-ldflags="-L /usr/local/include"
[21:13] <burek> try that
[21:14] <docjay> FREEBSD9# ./configure --enable-gpl --enable-libmp3lame --extra-cflags="-I /usr/local/include" --extra-ldflags="-L /usr/local/include" ERROR: libmp3lame >= 3.98.3 not found
[21:14] <burek> pastebin of config.log? :)
[21:15] <docjay> http://pastebin.com/sz7aCnni
[21:16] <burek> it's good, now it's diff err
[21:17] <burek> but my mistake was with -L
[21:17] <burek> ./configure --enable-gpl --enable-libmp3lame --extra-cflags="-I /usr/local/include" --extra-ldflags="-L /usr/local/lib"
[21:23] <docjay> sorry, I fell offline there for a min
[21:23] <burek> !irclogs
[21:24] <burek> !irclog
[21:24] Action: burek slaps fflogger around a bit with a large trout
[21:25] <burek> http://ffmpeg.gusari.org/irclogs/ffmpeg.log.20120722
[21:26] <docjay> FREEBSD9# ./configure --enable-gpl --enable-libmp3lame --extra-cflags="-I /usr/local/include" --extra-ldflags="-I /usr/local/include" ERROR: libmp3lame >= 3.98.3 not found
[21:26] <burek> not -I
[21:26] <burek> -L
[21:26] <docjay> oops
[21:26] <burek> ./configure --enable-gpl --enable-libmp3lame --extra-cflags="-I /usr/local/include" --extra-ldflags="-L /usr/local/lib"
[21:27] <burek> and lib instead of include
[21:28] <docjay> hmm
[21:28] <docjay> License: GPL version 2 or later Creating config.mak and config.h... libavutil/avconfig.h is unchanged FREEBSD9#
[21:28] <docjay> now, make & install?
[21:28] <burek> that's good :)
[21:28] <docjay> :)
[21:28] <burek> yes
[21:28] <burek> and also
[21:28] <burek> don't forget to go to freebsd support channel
[21:28] <burek> and ask them why did you have
[21:29] <burek> to explicitly specify -I /usr/local/include and -L /usr/local/include
[21:29] <docjay> just run 'make'?
[21:29] <burek> make
[21:29] <burek> and when it finishes
[21:29] <burek> make install
[21:29] <docjay> FREEBSD9# make "config.mak", line 2: Need an operator "config.mak", line 13: Need an operator "config.mak", line 15: Need an operator "config.mak", line 1378: Need an operator "Makefile", line 4: Need an operator "Makefile", line 5: Need an operator "Makefile", line 6: Need an operator "Makefile", line 7: Need an operator "Makefile", line 8: Need an operator "Makefile", line 9: Need an operator "Makefile", line 10: Need an operator "Ma
[21:29] <burek> uh..
[21:30] <docjay> http://pastebin.com/LHpJkN7y
[21:30] <burek> where did you get your ffmpeg source code?
[21:31] <docjay> I d/l happiness
[21:31] <docjay> http://ffmpeg.org/download.html
[21:31] <burek> ok
[21:31] <burek> well, I really don't know what's wrong now ...
[21:32] <burek> maybe you can try with static binary, if you just need to convert something quickly
[21:32] <burek> 1st link is for kernel 3.x+ and 2nd link is for 2.26.x+ I think
[21:33] <burek> 2.6.26
[21:39] <powerNET> is there command for ffmpeg to output to multiple files with exact same encoding settings?
[21:40] <burek> powerNET, if you want to double the cpu, then yes
[21:40] <burek> if you just want to split the result to 2 outputs then you need to pipe 2 ffmpeg processes
[21:40] <burek> first will encode what you want and 2nd will double the output
[21:41] <burek> ffmpeg -i input -vcodec ... -acodec ... -f mpegts - | ffmpeg -f mpegts -i - output1.flv output2.avi ...
[21:41] <powerNET> oh i see
[21:41] <powerNET> thats pretty neat
[21:41] <powerNET> thanks
[21:41] <burek> :beer: :)
[21:42] <powerNET> is there anything ffmpeg CANT do???
[21:42] <burek> :)
[21:42] <cbreak> lots
[21:42] <burek> oh, my mistake, use -vcodec copy -acodec copy in 2nd ffmpeg
[21:42] <burek> to avoid reencoding
[21:43] <burek> ffmpeg -i input -vcodec ... -acodec ... -f mpegts -
[21:44] <burek> grr
[21:44] <powerNET> hmm problem is i'm mixing two audio sources into one
[21:44] <powerNET> not sure if i can pipe it
[21:45] <VooDooMoN> any help on n installation error i'm getting? saying it can install due to being unable to create and execute files in the /tmp dir and to set the TMPDIR environment variable to something that can be written/executed in
[21:45] <powerNET> i'm trying to stream one over http and record one to harddrive
[21:45] <VooDooMoN> so i ran: TMPDIR=/path/to/my/tmp && ./configure
[21:45] <VooDooMoN> getting the same error
[21:45] <burek> ffmpeg -i input -vcodec ... -acodec ... -f mpegts - | ffmpeg -f mpegts -i - -acodec copy -vcodec copy output1.flv -acodec copy -vcodec copy output2.avi ...
[21:45] <burek> powerNET I see
[21:46] <burek> VooDooMoN are you root?
[21:46] <powerNET> one sec
[21:46] <VooDooMoN> lemme try as root
[21:46] <burek> VooDooMoN you can't install anything without root
[21:47] <burek> though you can compile it in some directory you can access
[21:47] <VooDooMoN> yes, i tried as root
[21:48] <VooDooMoN> same error
[21:48] <burek> -ffmpeg +installation
[21:49] <powerNET> actually nvm its working now
[21:49] <powerNET> thanks
[21:49] <VooDooMoN> burek: http://pastebin.com/6zASvpg6
[21:49] <burek> :beer: :)
[21:50] <VooDooMoN> want me to pb my config.log?
[21:50] <burek> VooDooMoN if that's the error you get
[21:50] <burek> you have far more problems than ffmpeg
[21:50] <burek> that should never happen
[21:51] <burek> tmp should always be writable by root
[21:51] <VooDooMoN> agreed
[21:51] <burek> are you using ubuntu
[21:53] <VooDooMoN> Debian GNU/Linux 4.0 (etch)
[21:53] <burek> can you "/join #debian" and ask what's wrong with your /tmp ?
[21:53] <burek> etch?
[21:53] <burek> isn't that kinda old?
[21:54] <VooDooMoN> i'm on Dreamhost using VPS... so maybe?
[21:54] <burek> ok
[21:54] <burek> even the lenny is deprecated now
[21:54] <burek> squeeze is actual now i guess
[21:55] <docjay> I think I needed to run 'gmake' instead
[21:57] <burek> docjay, does it work now?
[21:57] <docjay> gmake is running its but off still :-)
[21:57] <burek> great :)
[21:57] <docjay> thank you so much for helping me get by the ./config hurdle
[21:58] <burek> np :beer: :)
[22:57] <codefriar> I'm looking for some good documentation on using ffmpeg's api (not the command line utility) to excise snipits of video from a larger clip, and extract still frame from a given point in a video. Any pointers ?
[22:57] <Mavrik> sadly
[22:57] <Mavrik> examples folder in ffmpeg source and ffmpeg.c file
[22:58] <codefriar> Mavrik: really? ok.
[22:58] <Mavrik> is pretty much the best you get... there are some tutorials with obsolete API going around
[23:03] <ubitux> doc/examples might help you as well
[23:11] <codefriar> Mavrik: if I was looking through the source for those two bits of code what would I search for ? is it really called excise? or get still ?
[23:12] <Mavrik> codefriar: actually, you should go check the decoding example in doc/examples
[23:12] <Mavrik> to see how you decode frames
[23:12] <Mavrik> then you go look how av_seek is performed
[23:13] <Mavrik> then you go look how to configure "image2" output or just use libjpeg to save content of decoded image
[23:13] <VooDooMoN> so if i don't have access to ffprobe... how can i get video info from ffmpeg from within php?
[23:14] <Mavrik> VooDooMoN: I think just calling "ffmpeg -i <file>" still works
[23:14] <Mavrik> no guarantee it won't change though - ffprobe has JSON output modes
[23:15] <Mavrik> VooDooMoN: I suggest looking into why you don't have access to ffprobe instead of hacking on deprecated feature :)
[23:17] <VooDooMoN> Mavrik, i would love to, but as i am unable to upgrade ffmpeg (which is why i dont have access to ffprobe) due to being on VPS with issues surrounding not being able to upgrade ffmpeg due to not being able to write to the /tmp dir when i run ./configure, i can't
[23:18] <Mavrik> VooDooMoN: I see. "ffmpeg -i" is a workable hack then :)
[23:19] <VooDooMoN> yes, if i could pull all data from the cli... but i'm getting blank information back when using passthru() and error "1" due to not specifying an output file
[23:28] <Mavrik> VooDooMoN: you should get file information anyway
[23:28] <Mavrik> that seems like a PHP bridge problem
[23:45] <Bob_> Hi everyone! I have been attempting to convert Canon HV20 m2t files to DV, for proxy use, and I can't get the timecode to copy over.  I have done a ton of search but haven't come up with a solution.  Does ffmpeg support writing DV timecode?
[23:46] <Bob_> searching*
[23:55] <m0nkey> libx264 != x264?
[23:56] <Mavrik> m0nkey: libx264 == x264
[23:57] <bennu> Haha, it's slightly more complicated than that.  But you don't necessarily have to know that (this is coming from someone who knows very little).  =D
[23:57] <m0nkey> # x264 --version
[23:57] <m0nkey> x264 0.125.x
[23:57] <m0nkey> g# ./configure --enable-libx264 --enable-libxvid --enable-libmp3lame --enable-libfaac --enable-gpl --enable-nonfree
[23:57] <m0nkey> ERROR: libx264 version must be >= 0.118.
[00:00] --- Mon Jul 23 2012


More information about the Ffmpeg-devel-irc mailing list