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

burek burek021 at gmail.com
Fri Nov 25 02:05:01 CET 2011


[00:01] <pasteeater> ffplay aac_issue.mp4
[00:01] <Reuben> on android?
[00:01] <PeterKraus> anyone here could help me with the x11grab? when i'm running any opengl apps, it doesn't seem to grab the screen ^^
[00:03] <Reuben> pasteeater: does the audio continue past 1.44" for you?
[00:03] <qxt_> What is a good fps for this cmd -acodec libfaac -aq 100 -vcodec libx264 -preset slow -crf 22 ?
[00:04] <sacarasc> Depends on processor.
[00:04] <pasteeater> and input
[00:04] <qxt_> sacarasc a Sandy Bridge 2700k at 5Ghz.
[00:04] <michaelni> Reuben, i suggest you try git master if you didnt yet
[00:05] <pasteeater> Reuben: you mean 1 minute, 44 seconds?
[00:06] <Reuben> yes
[00:07] <qxt_> sacarasc I did a little googling and cant find any bench marks. 
[00:08] <sacarasc> Are you using multiple threads? What is your input file?
[00:08] <pasteeater> Reuben: i hear a little click, and a minor about of distortion for a second using ffplay, but nothing major, or probably even noticable for most users.
[00:08] <pasteeater> *amount
[00:08] <Xd7mT> some help?
[00:09] <Reuben> Pasteeater: yup, and that'd be fine for my users too. Unfortunately what I get is total silence past 1'44".
[00:09] <Reuben> Cos every audio packet returned by av_read_frame() after that point is zero-length.
[00:10] <qxt_> sacarasc sry was looking at the core temps at 86C. Yeah its using all cores and the ht so it looks like 8 cores.
[00:11] <Reuben> Come to think of it, that can't actually be a decoder issue...
[00:16] <qxt_> sacarasc sry did not answer your question fully. Its a Bluray image that was 48GB as the input. 
[00:16] <pasteeater> Xd7mT: use a pastebin site to show your ffmpeg command(s) and the complete console output(s)
[00:18] <pasteeater> qxt_: here, you can compare with my machine at least http://pastebin.com/7ryHSz5z
[00:20] <Xd7mT> pasteeater: https://pzt.me/1lxq   
[00:20] <qxt_> pasteeater thank you for the pastebin. Getting a little freaked out as the temperature is getting close to 80C! 
[00:21] <qxt_> pasteeater perfect. When this is done I rune the exact same tests.
[00:28] <qxt_> pasteeater I see on line 6 you are ran the exact same profile I did. The cmd "time" before the ffmpeg is that for benching? Did not even know that cmd existed.
[00:29] <pasteeater> 80C. is that normal for you? mine reached 48C max during encoding.
[00:32] <qxt_> pasteeater I just put this system together today. I would think that is way to hot. I have huge after market fan. Wonder if im-sensors are wrong... spooky. 
[00:32] <qxt_> pasteeater don't know what normal is for this cpu
[00:51] <qxt_> user	15m8.773s
[00:51] <qxt_> sys	0m1.248s
[02:19] <tony> hi i am trying to get ffmpeg to receive a video stream on my host and forward it to another host.. will ffmpeg -i udp://localhost:8004 -o udp://192.168.1.107:8005 work if a stream is coming in on port 8004 in my host and a client is listening on 8005 on the remote host
[02:19] <burek> well
[02:20] <tony>  ffmpeg -i udp://localhost:8004 -o udp://192.168.1.107:8005
[02:20] <tony> just pasting the command again
[02:20] <burek> what are the audio/video codec
[02:21] <burek> i guess its MPEG-TS
[02:21] <burek> you can do: ffmpeg -f mpegts -i udp://localhost:8004 -acodec copy -vcodec copy -f mpegts udp://192.168.1.107:8005
[02:21] <tony_> i tried using netstat but still if i used ffmpeg -i udp://localhost:8004 doesnt show
[02:22] <SpiceMan> asking about compiling switches and stuff is here or devel?
[02:22] <burek> tony_, also google for 'samplicator'
[02:23] <burek> it copies one udp stream to several others
[02:23] <burek> SpiceMan, just shoot the question :)
[02:24] <SpiceMan> I know nothing about ffmepg, nor use it. I'm compiling it for a client and want to be sure I've compiled it with multithreading. is --enable-pthreads enough?
[02:24] <burek> in such cases, the wisest option is to type ./configure --help
[02:24] <burek> and read it..
[02:24] <tony_> burek: thanks a lot.. i will try that out
[02:26] <SpiceMan> burek: http://pastebin.com/dT1PYwy7
[02:26] <burek> :beer: :)
[02:28] <burek> SpiceMan, what kind of multithreading are you aiming for
[02:29] <SpiceMan> I have no freaking idea :). The box has two CPUs with 8 cores each. client says it seems that ffmpeg is not taking advantage of that. I know nothing about ffmpeg (nor care, really :P). Clients--
[02:30] <burek> well, i thought you know what pthreads are :)
[02:30] <burek> thats why i asked
[02:30] <burek> anyway
[02:30] <SpiceMan> posix threads. 
[02:30] <burek> if you compile the latest git
[02:30] <burek> yes
[02:30] <pasteeater> pthreads detection is automatic, so don't don't need to do anything fancy in ./configure
[02:30] <burek> it should be aware of multi cores
[02:30] <SpiceMan> oh, the kernel sucks then? :p
[02:30] <burek> you just need to tell the encoder to use threads if you want
[02:31] <burek> for libx264 you can do that with -threads 0 (or 1,2,3,...)
[02:31] <SpiceMan> I see. easy way to test that out?
[02:31] <SpiceMan> thanks
[02:31] <burek> well yes :) run with such an option, then run 'top'
[02:31] <burek> and press '1'
[02:32] <burek> and see each cpu usage
[02:32] <burek> core*
[02:32] <pasteeater> -threads 0 is default with libx264 now too
[02:32] <burek> 0 meaning automatically decide how many threads, afaik
[02:32] <tony> burek: sorry for the trouble.. that still doesn't work for me... i have a video server that is streaming on port 8004... but still i get nothing at the client
[02:33] <burek> tony, try samplicate -p 8004 1.2.3.4/8005 1.2.3.5/1234 1.2.3.6/1111
[02:33] <burek> etc
[02:34] <pasteeater> SpiceMan: did the client give you any examples of their ffmpeg commands? if not then we can't rule out bad ffmpeg option usage.
[02:35] <pasteeater> and you'll need to list of desired external libraries (libx264, libfaac, libmp3lame, etc) that they require for your ffmpeg ./configure
[02:35] <tony> i am basically running a vlc server stream to my local host address and i have checked it through a local vlc client for the same port. I tried netstat and the port shows that connection,Established on the video server port
[02:36] <burek> so it works when you test with vlc?
[02:36] <tony> but i open ffmpeg with "ffmpeg -f mpegts -i udp://localhost:8004 -acodec copy -vcodec copy -f mpegts udp://192.168.1.107:8005" and netstat shows nothing for 8005
[02:36] <burek> well, maybe its not mpegts..
[02:37] <burek> just try ffmpeg -i udp://localhost:8004
[02:37] <burek> can you please use pastebin.com, to show your command line and its output?
[03:02] <SpiceMan> pasteeater: yes, I've been asking for a test script, command or something. still waiting, I'll pester you later :p
[03:08] <tony> i am sorry i got disconnected so posting my question again.
[03:09] <tony> i am basically running a vlc server stream to my local host address and i have checked it through a local vlc client for the same port. I tried netstat and the port shows that connection,Established on the video server port  but i open ffmpeg with "ffmpeg -f mpegts -i udp://localhost:8004 -acodec copy -vcodec copy -f mpegts udp://192.168.1.107:8005" and netstat shows nothing for 8005
[03:46] <Toux> Hi all
[03:49] <Toux> Hello
[03:52] <Toux> I'm getting crazy trying to install, ffmpeg, ffmpeg-php con centos 5.6 with php 5.3
[03:53] <kcm1700> hello
[03:53] <Toux> If anyone has experience on this type or has a similar prob in the past, please help, me I tried to follow so so so much tutorials, installers etc and nothing.
[03:53] <Toux> Hi Kcm1700
[03:54] <Toux> Now i type ffmpeg and command not found...
[03:55] <kcm1700> what did you install ffmpeg by? did you build ffmpeg yourself?
[03:56] <Toux> Yes I donwloaded from the ffmpeg.org website and I tried by yum install ffmpeg, instaliing devel, ffmpeg packpage and other more with a long name
[03:57] <Toux> Now I erased it, and installed another time with yum install
[03:57] <Toux> and when I type ffmpeg
[03:57] <Toux> FFmpeg version 0.6.1, Copyright (c) 2000-2010 the FFmpeg developers
[03:57] <Toux>   built on Dec  4 2010 15:35:31 with gcc 4.1.2 20080704 (Red Hat 4.1.2-48)
[03:57] <Toux>   configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --enable-avfilter --enable-avfilter-lavf --enable-libdirac --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --en
[03:57] <Toux>   libavutil     50.15. 1 / 50.15. 1
[03:57] <Toux>   libavcodec    52.72. 2 / 52.72. 2
[03:57] <Toux>   libavformat   52.64. 2 / 52.64. 2
[03:57] <Toux>   libavdevice   52. 2. 0 / 52. 2. 0
[03:57] <Toux>   libavfilter    1.19. 0 /  1.19. 0
[03:57] <Toux>   libswscale     0.11. 0 /  0.11. 0
[03:57] <Toux>   libpostproc   51. 2. 0 / 51. 2. 0
[03:57] <Toux> Hyper fast Audio and Video encoder
[03:57] <Toux> usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
[03:57] <Toux> Use -h to get full help or, even better, run 'man ffmpeg'
[03:57] <Toux> sorry
[03:58] <Toux> can looks flood on irc
[04:00] <Toux> now when i do a make for ffmpeg-php
[04:00] <Toux> configure: error: ffmpeg shared libraries not found. Make sure ffmpeg is compiled as shared libraries using the --enable-shared option
[04:00] <Toux> this is the output
[04:00] <Toux> but looks installed and with --enabled shared activated
[04:01] <Toux> [/usr/local/include/ffmpeg]# ls
[04:01] <Toux> ./  ../  avcodec.h  avformat.h  avio.h  .fr-2EP7C2/  .fr-FpaGv9/
[04:04] <tony> how can i receive a udp stream using ffmpeg and save it to an output file "ffmpeg -i udp://<ipaddr>:<port> -vcodec copy -acode copy out.mp4" doesn't seem to work
[04:07] <kcm1700> do you have config.log or something like this in your ffmpeg-php directory? http://www.pastebin.com/
[04:11] <Toux> error_log?
[04:11] <Toux> I have but only have one error 3 hours ago and I guess is fixed.. or I hope..
[04:11] <Toux> [24-Nov-2011 01:47:57] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[04:12] <Toux> I have edited the php.ini and inserted correctly the so extesion in the last part of the file.
[04:12] <Toux> ah yes config log
[04:12] <Toux> let me check, sorry i'm a little slow, 6 hours trying to install that .. jeje, thanks for your help Kcm
[04:14] <Toux> http://pastebin.com/URnSqtc5 here
[04:16] <tony> ffmpeg -i sample_h264_300kbit.mp4 -f mpegts -vcodec mpeg4 -acodec mp2 -ac 2 -ab 128k -s 720x432 -r 30 -re -b 2000k udp://192.168.1.107:1234
[04:16] <tony> this works when streaming out from a local file
[04:16] <tony> but ffmpeg -i udp://192.168.1.108:1244 -f mpegts -vcodec mpeg4 -acodec mp2 -ac 2 -ab 128k -s 720x432 -r 30 -re -b 2000k udp://192.168.1.107:1234
[04:17] <RedXIII> what is the command to convert any audio format to  wav
[04:17] <tony> doesnt work.. i have a vlc server sending in a stream that i can capture at 192.168.1.108:1244 and have tested it with a separate vlc client
[04:17] <Toux> this is a sad channel all with probs jeje
[04:20] <Toux> Someone some idea about , the installation problem please?
[04:22] <RedXIII> anybody know what is the command to convert any audio format to  wav
[04:29] <Toux> Kcm you here?
[04:53] <tony> I tried following this http://ffmpeg.org/ffprobe.html#udp but the command ffmpeg -i udp://<ip-addr>:port doesn't work.. what am i missing?
[04:54] <Toux> I don't know Tony, really I have not installed jet ffmpeg on my new server and i'm getting crazy..... and Tomorrow I need it running for start to work with the conversion commands.
[04:55] <Toux> So much peeps here are from EU as me, but all sleeping
[04:55] <Toux> difficult to find help here i guess
[04:56] <tony> ok :) but its not helping if you keep drowning out my question each time i post it (no offense meant)
[04:56] <Toux> Same to you :-)
[04:57] <Toux> (03:46:20) Toux: Hi all
[04:57] <Toux> (04:56:09) tony: ok :) but i
[04:57] <Toux> sorry 15 or mins after expose my prob
[04:58] <tony> yea i make it a point to wait before reposting
[05:03] <SpiceMan> if I run http://pastebin.com/335HkZzK, I get a single core at 100% load (which is expected). And if I do -threads 4 or something, it uses several cores but top still shows ffmpeg as using 100% cpu at most (didn't expect that)
[05:04] <SpiceMan> what am I missing if I want it to use moar CPU?
[05:26] <RedXIII> has anybody seen a  video/audio codec that mkv does not support
[05:27] <kcm1700> Toux: did you try "find / -name 'libavcodec.so' 2>/dev/null"?
[05:28] <Toux> Nop let me check
[05:28] <Toux> not output
[05:28] <kcm1700> hmm..
[05:28] <kcm1700> how about trying libavcodec*.so instead?
[05:29] <Toux> nothing
[05:29] <kcm1700> if you can find one, creating symbolic links to avlibs may help.
[05:29] <kcm1700> oh..
[05:29] <Toux> [/usr/local/src/ffmpeg-php-0.6.0]# find / -name 'libavcodec*' 2>/dev/null
[05:29] <Toux> /usr/lib64/libavcodec.so.52
[05:29] <Toux> /usr/lib64/libavcodec.so.52.72.2
[05:29] <Toux> /usr/local/lib/pkgconfig/libavcodec.pc
[05:29] <Toux> /usr/local/include/libavcodec
[05:29] <Toux> /usr/local/src/ffmpeg-0.7.8/libavcodec
[05:29] <Toux> /usr/local/src/ffmpeg-0.7.8/libavcodec/libavcodec.v
[05:29] <Toux> /usr/local/src/ffmpeg-0.7.8/libavcodec/libavcodec.pc
[05:29] <Toux> /usr/local/src/ffmpeg-0.7.8/libavcodec/libavcodec-uninstalled.pc
[05:29] <Toux> /usr/local/src/ffmpeg/ffmpeg-0.8.7/libavcodec
[05:29] <Toux> /usr/local/src/ffmpeg/ffmpeg-0.8.7/libavcodec/libavcodec.v
[05:30] <kcm1700> oh, there it is.
[05:30] <SpiceMan> omg, use a pastebin
[05:30] <Toux> wich .pc?
[05:31] <Toux> /usr/lib64/libavcodec.so.52 ?
[05:31] <RedXIII> is vorbis a good audio codec?  
[05:31] <kcm1700> sudo ln -s /usr/lib64/libavcodec.so.52.72.2 /usr/lib64/libavcodec.so
[05:31] <kcm1700> for each avlibs.
[05:32] <Toux> mmm wich are all exactly sorry
[05:33] <Toux> lall libav files i can find on this folder?
[05:33] <kcm1700> yes maybe you can find 6 or more libav files
[05:34] <Toux> thank you really Kcm, I'll try it NOW!
[05:34] <Toux> Thank you!!!
[05:34] <kcm1700> then try ./configure again for ffmpeg-php and 
[05:34] <Toux> :-)
[05:34] <kcm1700> ah, maybe swscale should be linked too.
[05:34] <Toux> kk
[05:34] <Toux> yes I had probs with that too in other tries
[05:40] <kcm1700> Does FFmpeg native h.264 decoder support infra refresh feature?
[05:41] <RedXIII> does ffmpeg support appleloss codec?
[05:45] <tony> i am unable to get ffmpeg to receive a udp stream but am able to transmit.. could i be missing any dependencies?
[05:49] <verma> so I have an RTP source which is sending me data encoded as H263-1998.  I use the ffmpeg command to accept this stream (using an .sdp file).  I need to then deliver this stream to the ffserver.  It seems to be working fine, but I see a lot of errors from the h263 decoder.  When I dump this data into a file, I see no errors.  Is there something I am missing?  I have the initial part of the output here: http://paste.pocoo.org/show/512223/
[05:50] <verma> and by working fine, I mean ffserver can see the data and is delivering it over http fine.  But due to massive amounts of decode errors, the video is choppy and garbled
[06:19] <tony> i have been trying to get ffmpeg to receive a udp stream.. i tried using ffmpeg -i udp://<ip-addr>:port but it doesn't work.. what could i be missing?
[06:46] <tony> I would reallly appreciate any help
[07:28] <proyvind> hm, does anyone know if building mplayer with system ffmpeg is still possible?
[09:37] <metatron> hello, is it possible to pipe sox output to ffmpeg rtmp?
[10:13] <Nagy> proresdec2 vs proresdec_lgpl... which one is to prefer?
[11:45] <burek> Toux ./configure --enable-shared ...
[11:46] <burek> tony, that example works for me..
[11:47] <burek> metatron, can sox output mpeg-ts muxed audio?
[11:48] <burek> or does it create some pseudo audio device, which ffmpeg can access (read)
[11:50] <burek> metatron, also this can help: http://forum.doom9.org/showthread.php?t=150138
[11:52] <burek> anyway, what is the best format for audio/video when someone needs to pipe it through several processes? is there any standard raw av format suitable for pipes in ffmpeg?
[12:04] <zap0> burek, yuv420 or rgb24 are easiest to deal with
[12:27] <burek> zap0, i see, and in which format/container shoul it be muxed?
[12:28] <zap0> none
[12:29] <zap0> i don't think you have a clear understanding of what video is
[12:31] <burek> well, ok, it might be the case, but, what command would you use to process av stream using pipes
[12:31] <burek> like ffmpeg (grab from camera) | first process | second process | ffmpeg output
[12:31] <burek> audio+video
[12:32] <burek> (mic on the cam)
[13:06] <burek> it seems like 3rd world war will start soon.. Medvedev: "First, I am instructing the Defence Ministry to immediately put the missile attack early warning radar station in Kaliningrad on combat alert." :(
[13:06] <burek> http://eng.kremlin.ru/news/3115
[13:58] <zap0> what good is an 'early warning' station if it isn't in permanent combat alert ?
[13:58] <zap0> the whole point is that is ALWAYS ready
[15:38] <PeterKraus> hi guys. I'm having some trouble recording fullscreen opengl content using ffmpeg -f x11grab. Any help/ideas?
[16:00] <relaxed> PeterKraus: what kind of trouble?
[16:02] <PeterKraus> relaxed, when i record windowed opengl apps (eg. glxgears) it works. when i record fullscreen ones (urbanterror) i see only a black screen
[16:08] <relaxed> PeterKraus: works here. which version are you using?
[16:18] <PeterKraus> relaxed, 20111123
[16:23] <relaxed> you're using my static build?
[16:23] <PeterKraus> how should i know?
[16:23] <PeterKraus> it's in arch linux repository....
[16:24] <relaxed> oh, nm. show me your command.
[16:24] <PeterKraus> ffmpeg -f x11grab -s 1920x1080 -r 25 -i :0.0 -f alsa -ac 2 -i pulse\
[16:24] <PeterKraus>  -vcodec libx264 -vpre veryfast -s 960x540\
[16:24] <PeterKraus>  -acodec libmp3lame -ar 44100 -ac 1\
[16:24] <PeterKraus>  -f flv filename
[16:26] <relaxed> looks fine to me
[16:27] <PeterKraus> yea :/ it records Xv output fine too.... it's just opengl stuff, like urbanterror, games trough wine etc... :/
[16:38] <relaxed> PeterKraus: this may work for you https://github.com/nullkey/glc/wiki
[16:56] <Joelito> hi, all question about loglevel
[16:56] <Joelito> I'm tryng to run this: ffmpeg -loglevel quiet -v 0 -i \"" << file_in << "\" -f mp3 -ab 128k \"" << file_out << "\"";
[16:57] <Joelito> but, still dump to the termninal the data :(
[16:57] <Joelito> any ideas?
[17:02] <relaxed> that command makes my eyes hurt. what are you doing there?
[17:02] <Joelito> I'm trying to run ffmpeg from a C++ app
[17:48] <Toux> Hi all
[17:48] <Toux> If someone can help me to install ffmpeg I send 15 usd by paypal, please I really need help
[17:48] <Toux> I have ffmpeg-php problems
[17:49] <Hyperi> hmm ?
[17:49] <Toux> please guys i'm getting crazy with this problem
[17:49] <Hyperi> You should tell the problem, not the amount of cash .P
[17:49] <Hyperi> I use ffmpeg-php
[17:49] <Hyperi> And have no issue
[17:49] <Toux> hehe, i don't know what can i do
[17:49] <Hyperi> Though I use it mostly to retrieve data, and use system() with CLI ffmpeg
[17:50] <Toux> Yes i use exec() in other server, but here I can't install it , i tried from source, after by yum
[17:50] <Hyperi> I only do the source compiling as my needs are specific
[17:50] <Toux> ffmpeg is installed right now, but when i try to make the ffmpeg-php give me this error
[17:50] <Hyperi> And generally packed ones don't meet my needs :>
[17:51] <Hyperi> Use pastebin !
[17:51] <Hyperi> Don't spam in here
[17:51] <Hyperi> inb4spam! *flex*
[17:51] <Toux> Itry to do that with --enable share and disable swcaled but when I do all, and write ffmprg on terminal not output
[17:52] <Hyperi> Please rephrase that, it made no sense to me :/
[17:52] <Hyperi> Also don't PM, other people might join in helping you (_for free_)
[17:52] <Toux> ok sorry was for not spam the main chan
[17:52] <Hyperi> USe pastebin :)
[17:52] <Hyperi> pastebin.com
[17:52] <Toux> let me upload on pastebin one sec please
[17:52] <Toux> thanks Hyperi
[17:53] <Toux> http://pastebin.com/zt5NqSHw
[17:53] <Toux> here is the output of the make of ffmpeg-php 6.0
[17:54] <Hyperi> Oh my..... "God"....
[17:55] <Toux> jeje
[17:55] <Toux> what happend should be i have a disaster there
[17:55] <Hyperi> I'm not native English speaker (Finland Finland... .) )
[17:55] <Hyperi> But I always keep my systems in English
[17:55] <Hyperi> :P
[17:55] <Hyperi> Now, I have no clue what those errors are
[17:55] <Hyperi> like... /usr/local/src/ffmpeg-php-0.6.0/ffmpeg-php.c:156: error: .LIBSWSCALE_IDENT. no se declaró aquí (primer uso en esta función)
[17:55] <Hyperi> declared me gusta something? :P
[17:56] <Toux> not declared here
[17:56] <Toux> jajaja
[17:56] <Toux> Penkuten koira
[17:56] <Toux> :p
[17:56] <Toux> I don't remember more finnish, very difficult for me
[17:56] <Hyperi> Koira is finnish... Penkuten sounds more swedish tbh .P
[17:56] <Hyperi> Koira = dog
[17:56] <Toux> yep
[17:57] <Hyperi> Anyways
[17:57] <Toux> function not declared is the msg
[17:57] <Hyperi> Google translate and auto-detect <3
[17:57] <Hyperi> undeclared (first use in this function)
[17:57] <Toux> yes
[18:00] <Hyperi> Google says, that you should install ffmpeg before ffmpeg-php? 
[18:01] <Hyperi> Do you have it installed with shared also enabeld?
[18:01] <Toux> normally i saw in all tutorials, yes
[18:01] <Hyperi> brrr ffmpeg-php tutorial?
[18:01] <Hyperi> Also which distro?
[18:01] <Toux> i have installed now by yum with --enalbled shared 
[18:01] <Hyperi> yum.................
[18:02] <Toux> I can't install compilling from source
[18:02] <Hyperi> Why not?
[18:02] <Hyperi> Also, can't you install php5-ffmpeg with yum?
[18:02] <Hyperi> Atleast Debian packaging has it 
[18:02] <Hyperi> hyperi at outo:~$ apt-cache search ffmpeg php
[18:02] <Hyperi> php5-ffmpeg - audio and video support via ffmpeg for php5
[18:03] <Toux> I did all the steps and when I type ffmpeg on terminal not output
[18:03] <Toux> Is possible install this pack on debian?
[18:03] <Toux> from debian to centos sorry
[18:03] <Hyperi> No idea which steps we're talking about
[18:03] <Toux> Linux version 2.6.38.2
[18:04] <Hyperi> :(
[18:04] <Hyperi> Sad panda is knocking on the door :/
[18:04] <Hyperi> Seems like eventually I need to let it in
[18:05] <Toux> Sorry I don't understand
[18:05] <Hyperi> Ignore those two lines :P
[18:06] <Toux> I undertand the panda in the door jajaja
[18:06] <Hyperi> doubtfully
[18:06] <Toux> for my english yes, but no prob
[18:07] <Hyperi> Anyways
[18:07] <Hyperi> What I don't understand, is why you can't install from sources
[18:07] <Hyperi> Also have you done yum search ffmpeg php?
[18:07] <Hyperi> Or whatever the syntax was
[18:08] <Toux> I download the libs from ffmpeg.org, and do all without anyproblem, and when I type ffmpeg on console nothing happend.. But right now with yum I have 0.6.1 installed with --enabled shared configured
[18:08] <Hyperi> Well it feels like it isn't installed properly
[18:09] <Hyperi> As ffmpeg-php can't find the library that comes with ffmpeg - or so I understood by looking around with googles help
[18:10] <Toux> I don't know, I read so much tutorials and try but nothing...
[18:10] <Hyperi> To make sure, you should compile from sources
[18:10] <Hyperi> But with portuguese error messages... can be really hard to find help with google .P
[18:10] <Toux> is spanish :p
[18:11] <Hyperi> Close enuff from my angle .P
[18:12] <Toux> can affecto my partition tables?
[18:12] <Toux> affect*
[18:13] <Hyperi> affecto indeed
[18:13] <Hyperi> :D
[18:13] <Toux> jajaja
[18:13] <Hyperi> And no, source compilation shouldn't affect your partitions - in any way .P
[18:15] <Toux> I tried but nothing.... still the yum installed version, and when I remove or erase the yum installation nothing happend
[18:16] <Hyperi> Well... you could go and ask in centos community about it
[18:16] <Toux> http://pastebin.com/tAvcdbAJ
[18:16] <Hyperi> I've close to none expeience over centos
[18:16] <Hyperi> And honestly, don't even want to have .P
[18:16] <Hyperi> root at ns388770 [/usr/local/src/ffmpeg-0.7.8]# ./configure --disable-swscale --enable-shared
[18:17] <Hyperi> The error complains about swscale - and you're disabling it there .P
[18:17] <Hyperi> Why :P
[18:17] <Toux> I read on ffmpeg-php is not compatible
[18:17] <Hyperi> I didn't disable it
[18:17] <Hyperi> Couldn't care less :P
[18:18] <Hyperi> I use all my encoding and decoding through CLI
[18:18] <Toux> ffmpeg-php is not compatible with ffmpeg's swscaler. Enabling swscaler in ffmpeg disables the img_convert functions that ffmpeg-php needs to do its thing. Ffmpeg must be configured and compiled without the '--enable-swscale' flag.
[18:18] <Hyperi> I nly use ffmpeg-php to pull out the details on video/audo
[18:18] <Hyperi> audio*
[18:18] <Hyperi> There it reads, do you need img-convert functions ?
[18:18] <Hyperi> Also, why would you use ffmpeg for image conversion? oO
[18:19] <Hyperi> imagemagick <3
[18:19] <Toux> for thumbnails is needed no?
[18:19] <Toux> yes I have imagemagick too installed
[18:20] <Hyperi> I use imagemagick for thumbnails
[18:20] <Hyperi> It's the best there is, and it's solely for image purposes
[19:03] <pythonirc101> can ffmpeg convert AVCHD to MPEG4? 
[19:11] <satonio> hi
[19:11] <satonio> is there a good way to join two videos in mp4?
[19:12] <pythonirc101> is ffdshow dead?
[19:12] <satonio> idk what is ffdshow, is that for me?
[19:18] <pythonirc101> satonio: nope
[19:18] <pythonirc101> I think ffmpeg should help you join videos
[19:19] <satonio> with ffmpeg you've to convert it to mpeg then do cat and then ffmpeg again to convert them back to mp4
[19:28] <pythonirc101> satonio: i'm looking for help on converting avchd to mpeg4
[19:28] <pythonirc101> so that win 7 can render it
[19:28] <satonio> ????????
[19:29] <satonio> i don't know exactly what format the camera uses but it gives a .mts that ffmpeg converts directly
[19:29] <satonio> i've seen a folder called avchd
[19:29] <satonio> huge mts files i've to say
[19:32] <pythonirc101> indeed
[19:32] <pythonirc101> thats what i've too
[19:32] <pythonirc101> MTS
[19:33] <pythonirc101> how do you use ffmpeg on it?
[19:33] <pythonirc101> satonio: what format do you convert it to
[19:33] <satonio> mp4
[19:33] <satonio> ffmpeg -i 00016.MTS output.mp4
[19:34] <satonio> and it works like a charm
[19:34] <satonio> never had a problem
[19:34] <satonio> with the version of ffmpeg i'm using (built about 1 month ago)
[19:34] <pythonirc101> satonio: are you on windows?
[19:34] <satonio> no
[19:35] <satonio> but it work on windows for sure
[19:35] <satonio> i mean the output files
[19:35] <pythonirc101> I just am looking for a compile of ffmpeg on windows...i found some old ones, but nothing new
[19:35] <pythonirc101> these are old: http://tripp.arrozcru.org/
[19:35] <satonio> oh
[19:36] <satonio> and just ffmpeg -i input.mts output.mp4 doesnt work?
[19:36] <pythonirc101> i just want to first get a decent build on windows
[19:36] <pythonirc101> I'll try that once i can compile ffmpeg on windows
[19:40] <kaiza> pythonirc101
[19:40] <kaiza> look @ zeranoe.com
[19:41] <kaiza> ffmpeg.zeranoe.com
[19:41] <kaiza> blog.zeranoe.com
[19:41] <kaiza> he has a ready script for compiling under linux 
[19:42] <pythonirc101> kaize: Thanks
[19:43] <kaiza> there are many pre builds for windows too
[19:43] <kaiza> no problem
[19:43] <pythonirc101> I got a build from his site...which crashed when i gave it ffmpeg.exe -i myfile.mts output.mp4
[19:43] <pythonirc101> I used this one: http://ffmpeg.zeranoe.com/builds/win64/static/ffmpeg-git-2c44aed-win64-static.7z
[19:43] <kaiza> i dunno 
[19:44] <kaiza> what do you mean with "crash"
[19:44] <kaiza> exactly
[19:44] <pythonirc101> "debug" or "cancel" on win 7
[19:44] <pythonirc101> also ffplay on windows plays the file but there is a wierd motion blur on it
[19:45] <pythonirc101> do i need to give ffplay any particular options for a high resolution 1080p video which is avchd
[19:46] <pythonirc101> is there a logfile that i can look for finding problems?
[19:48] <pythonirc101> kaiza: after this http://paste.pocoo.org/show/512469/ -- it crashes
[19:49] <pythonirc101> the crash happens with 1440x... resolution, when i feed it 1920x1080, no problems
[19:49] <pythonirc101> both are mts files from a canon cam
[19:52] <Hyperi> Use VLC to play videos?
[19:52] <Hyperi> IT kinds removes "any" problem you have
[19:54] <kaiza> hmm
[19:55] <kaiza> well can you paste
[19:55] <kaiza> the output
[19:55] <kaiza> from 1920x1080
[20:01] <pythonirc101> kaiza: I'm using ffmpeg.exe -i x.mts output.mp4 -- and the size decreases from 200MB to 40MB. Is there any way I can tell ffmpeg to output better quality?
[20:01] <pythonirc101> kaiza: http://paste.pocoo.org/show/512476/ -- for 1080p conversion
[20:01] <pythonirc101> Hyperi: My problem is that i would like to edit it in Adobe Permier. -- and that doesnt like AVCHD very much it seems
[20:05] <pythonirc101> also, when i do a -vcodec libx264, the program crashes
[20:13] <kaiza> hm
[20:13] <kaiza> dunno sry
[20:41] <petar> this is probably a question nobody likes but why do I get Unknown decoder 'libx264' with my pretty recent ffmpeg?  see http://pastebin.com/0YKMSZc1
[20:42] <petar> ldd tells me: libx264.so.118 => /usr/lib/libx264.so.118 (0xb6415000)
[20:43] <JEEB> there's no such decoder as libx264 >_>
[20:43] <JEEB> it's an encoder
[20:44] <petar> ugh, right
[20:45] <petar> wait, does order matter?
[20:46] <petar> it dies
[20:46] <petar> does
[20:46] <petar> JEEB: thanks for pointing out the obvious
[20:46] <petar> will read next time before posting
[20:46] Action: JEEB pat-pats petar 
[22:09] <Toux> any one know how to link separate audio and video file of same duration in the same file using ffmpeg?
[22:12] <Hyperi> input input?
[22:12] <Hyperi> Toux: 
[22:12] <Toux> I have installed all ! jajaja
[22:12] <Hyperi> did you google for it? ;)
[22:13] <Hyperi> iirc ffmpeg -i video.mp4 -i audio.wav output.mp4
[22:13] <Hyperi> or such
[22:13] <Toux>  ffmpeg -i "'.$tmp_audio.'" -i "'.$tmp_video.'" -acodec copy -vcodec copy "'.$tmp_file.'.avi
[22:13] <Toux> runs in localhost with windows, but in the server nop
[22:13] <Hyperi> but never had usage of such, so cant remember from early day reading
[22:14] <Hyperi> but i gtg for now
[22:14] <Hyperi> ill look back later when i get home
[22:14] <Toux> ok ty BB!
[00:00] --- Fri Nov 25 2011


More information about the Ffmpeg-devel-irc mailing list