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

burek burek021 at gmail.com
Sat Oct 13 02:05:01 CEST 2012


[01:32] <Sashmo_at_work> Can anyone tell me why I keep getting double the frame rate with my encoding?  If my source is 29.97, I get 59.94, can someone show me what I should change in my command line http://pastebin.com/gCeT5837
[01:35] <llogan> Sashmo_at_work: why are you not using the presets?
[01:35] <Sashmo_at_work> found that this worked most reliably with my setup
[01:35] <llogan> declaring most individual x264 option is not recommended
[01:35] <llogan> also, you forgot to include the complete console output
[01:35] <Sashmo_at_work> so how would you change that?
[01:37] <llogan> a good start would be http://pastebin.com/xpi2XY8S
[01:38] <Sashmo_at_work> ok Ill try that, but if the bitrate dosnt change?
[01:38] <Sashmo_at_work> what next?
[01:39] <llogan> what do you mean by, "if the bitrate doesn't change"?
[01:40] <Sashmo_at_work> SORRY! I mean frame rate!
[01:40] <llogan> you should pastebin the console output with your command
[01:40] <llogan> always include your command and the complete console output when you are asking for help
[01:41] <Sashmo_at_work> ok will do
[01:45] <Sashmo_at_work> http://pastebin.com/PhsvjbJP your command, no audio, bu fps is same
[01:46] <Sashmo_at_work> does it make sense that I have to deinterlace the video before I pass it to the encoder?
[01:50] <llogan> is the input interlaced?
[01:50] <Sashmo_at_work> I suspect
[01:50] <Sashmo_at_work> yes
[01:55] <Sashmo_at_work> is there a work around there?
[02:00] <llogan> Sashmo_at_work: does the output look fine?
[02:01] <Sashmo_at_work> well, on computer it looks ok, but on a television I can see a strobe effect, like there are duplicate frames
[02:22] <teamcoltra|mba> Hey guys I am running CentOS (yes, I know, I even pick on myself for it) and I was using an outdated version of FFMPEG (as is the life for someone using CentOS) so it wasn't converting to webm, but it was converting to MP4 (I need a copy in both). So I googled and found http://ffmpeg.org/trac/ffmpeg/wiki/CentosCompilationGuide which I followed and now I can convert to webm but cannot convert to mp4
[02:23] <teamcoltra|mba> http://pastie.org/5038547
[02:25] <llogan> teamcoltra|mba: you didn't include your actual command.
[02:25] Action: llogan wishes for psychic powers
[02:26] <teamcoltra|mba> http://pastie.org/5038560
[02:27] <teamcoltra|mba> sorry llogan :)
[02:27] <llogan> [libvo_aacenc @ 0x28d0a00] Unable to set encoding parameters
[02:27] <llogan> not very useful...
[02:28] <llogan> probably has issues with the 6 channel audio
[02:31] <llogan> teamcoltra|mba: so either try adding "-ac 2" or copy the audio from input to output since i think mp4 can handle ac3 (but i'm not sure)
[02:31] <llogan> i don't know how good/bad ffmpeg is going from 5.1 to 2 channels.
[02:32] <llogan> or what the "recommended" procedure is
[02:34] <teamcoltra|mba> I just googled it and saw this http://forum.videohelp.com/threads/345323-Convert-5-1AAc-in-2channel-stereo-in-mp4?s=102de7dcf92c0e77e4b30bd183a13122&p=2154880&viewfull=1#post2154880 llogan
[02:35] <teamcoltra|mba> I was going to copy his example but it looks like it also messes with bitrates
[02:37] <llogan> anything that is going to be re-encoded is going to be messing with the bitrate
[02:39] <teamcoltra|mba> Do you mind walking me through the basics of what his command does? My problem is that my script needs to be a kind of one size fits all so I am hoping it's not going to degrade (horribly) the audio quality of every video it messes with
[02:40] <llogan> teamcoltra|mba: https://ffmpeg.org/trac/ffmpeg/wiki/x264EncodingGuide
[02:40] <llogan> see crf section
[02:40] <llogan> as for audio, since your input channels may vary, you will probably end upp just using -ac 2
[02:41] <llogan> i suppose i should add fdk-aac to the CentOS guide
[02:42] <teamcoltra|mba> llogan I am getting the same error anyway
[02:45] <Sashmo> llogan:  so, any ideas how to fix my issue with the frame rate?
[02:46] <llogan> Sashmo: don't deinterlace for tv?
[02:46] <teamcoltra|mba> http://pastie.org/5038655 llogan
[02:47] <llogan> option placement matters
[02:47] <Sashmo> llogan:  I cant change my source&. or can I?
[02:47] <llogan> ffmpeg [input options] -i input [output options] output
[02:47] <llogan> Sashmo: sorry, i don't understand.
[02:48] <teamcoltra|mba> http://pastie.org/5038664
[02:48] <Sashmo> llogan:  My source is interlaced video, after encoding, I get double FPS, is there a way to avoid this?  What should I add to the command to avoid the double FPS?
[02:50] <llogan> teamcoltra|mba: now you're using it as an input option telling ffmpeg to decode the input as two channels.
[02:50] <llogan> but it probably ignores it
[02:50] <teamcoltra|mba> lol
[02:50] <teamcoltra|mba> lets try again
[02:51] <llogan> Sashmo: yadif=0 (default) should provided 1 frame per frame, so i don't think it is doubling your output frame rate, AFAIK. what makes you think it is double?
[02:51] <teamcoltra|mba> Okay where does it go? because that time it told me "[NULL @ 0x2298240] Unable to find a suitable output format for '2'
[02:51] <teamcoltra|mba> 2: Invalid argument" when I put it right before the output videofile
[02:52] <llogan> ffmpeg -i input -ac 2 output
[02:52] <Sashmo> llogan:  well, vlc and ffmpeg read the output as 59.94 when the source is 29.97, what else could it be?
[02:53] <teamcoltra|mba> http://pastie.org/5038683
[02:54] <llogan> teamcoltra|mba: you have "ffmpeg 2"
[02:54] <teamcoltra|mba> lol I promise I am not screwing with you
[02:54] Action: teamcoltra|mba fixes
[02:55] <teamcoltra|mba> well hot damn
[02:55] <llogan> Sashmo: ffmpeg shows "29.97 fps" for your output
[03:18] <Sashmo> if I do ffmpeg -i myfile it shows it at 59.94
[03:19] <Sashmo> there is definitely something wrong with the encoding
[10:27] <Samuel_Liu> ?
[11:03] <b_jonas> great! I successfully made a small preview version of a video by cropped, rescaling to smaller resolution, dropping frames to make fps smaller, and encoding in lower bitrate.
[11:03] <b_jonas> ffmpeg is great.
[11:12] <mini_> I want to compile ffmpeg in static , but it needed ld-linux.so.3, how to fix this problem?
[12:13] <Spideru> Hi. I'm using ffmpeg - ffserver - ffplay to stream pcm16be @16000Hz . The system structure and the commands are here http://pastebin.com/t2zM3GGA . The server.conf is here http://pastebin.com/bmgK7YN6. I would to stream over rtmps between ffmpeg and ffserver. Is possible? Thank you
[12:18] <relaxed> Spideru: Did you build ffmpeg with librtmp support? Did you look at the ffmpeg wiki? (there might be something on it)
[12:19] <Spideru> relaxed: I've looked at ffserver documentation and I didn't find something about ffm plus rtps or only rtps. I'll check ffmpeg doc, thank you
[12:20] <Spideru> Is a package from deb, and apparently was built with librtmp support
[12:20] <Spideru> (thank you again)
[12:21] <relaxed> Spideru: google's first result for "ffmpeg rtmp" http://sonnati.wordpress.com/2011/08/30/ffmpeg-%E2%80%93-the-swiss-army-knife-of-internet-streaming-%E2%80%93-part-iv/
[12:22] <Spideru> thank you relaxed, I'll read it
[12:28] <Spideru> relaxed: the link is wonderful, but I was looking for a way to tell to ffserver: "hey, you must handle rtmp/rtmps flow". I found this and I'm reading it now http://stream-recorder.com/forum/use-ffserver-ffmpeg-rtmpdump-vlc-convert-live-t9529.html?s=6f8b7b0635fe9dc538fe5c96d8046e0a&
[12:29] <Spideru> also: thank you for your support :)
[15:14] <DelphiWorld> hi FFmpeg guys
[15:14] <DelphiWorld> how to build FFmpeg with fPIC flaghs ?
[15:15] <burek> you did something wrong
[15:15] <burek> i bet you got a message "or recompile with -fPIC"
[15:16] <burek> :)
[15:17] <DelphiWorld> burek: yeah recompile with fpic... DUDE. how to do it ?
[15:18] <burek> judging from my experience, whenever I got that kind of err message, it meant I ran 'make', got an error, changed some things, and ran 'make' again (creating a mess) :)
[15:18] <Mavrik> CFLAGS="-fPIC" ./configure <your ffmpeg configure> --enable-pic
[15:18] <burek> so, whenever I did make distclean
[15:18] <burek> ./configure again
[15:18] <burek> and make again, it worked
[15:18] <Mavrik> DelphiWorld: but you need ALL libraries that ffmpeg depends on compiled with PIC
[15:18] <burek> without that fPIC msg
[15:18] <DelphiWorld> mmmmmmmm
[15:19] <DelphiWorld> Mavrik: where i put it? in ./configure ?
[15:20] <burek> DelphiWorld, please try 'make distclean; ./configure <your options here>; make' again, before enabling pic
[15:20] <burek> just to make sure :)
[15:20] <DelphiWorld> burek: okay;-P
[15:21] <DelphiWorld> burek: building a FFmpegified VLC
[15:22] <burek> +1
[15:22] <DelphiWorld> burek: make -j 6 ;)
[15:29] <DelphiWorld> burek: same issue
[15:31] <burek> then read above ^
[15:32] <DelphiWorld> burek: where i put that FLAGH
[15:33] <burek> well Mavrik gave you an obvious example
[15:34] <DelphiWorld> buuuuuuuuuuuuuuuurek:  :P
[15:34] <DelphiWorld> i didnt understand it, magn3ts and burek explain:-P
[15:34] <DelphiWorld> Mavrik ... sory magn3ts
[15:37] <DelphiWorld> hi michaelni
[15:37] <divVerent> how do they work anyway ;)
[15:39] <DelphiWorld> michaelni: how to build FF with fPIC?
[15:47] Action: DelphiWorld beat burek ass
[15:47] <DelphiWorld> burek: --host-cflags="-fPIC"
[15:49] <burek> DelphiWorld, a lot of times
[15:49] <burek> when you ask a generic question
[15:49] <burek> i take a look at the google search
[15:49] <DelphiWorld> burek: ;-)
[15:49] <DelphiWorld> anyway
[15:49] <DelphiWorld> make burek clean && halt
[15:49] <burek> and if the answers can be found among first 3 results
[15:49] <burek> i just ignore the question
[15:49] <burek> so that you know :P
[15:50] <DelphiWorld> make burek clean && halt
[15:50] <burek> try: make distclean && ./configure <your options here> && make
[15:50] <burek> if it breaks, use pastebin to show the results (complete output log or config.log)
[15:50] Action: DelphiWorld make distclean burek && echo 'shutting down burek, Good bye FFmpeg:-P' | wall && halt
[15:52] <DelphiWorld> burek: issue is not in FFmpeg. issue is that VLC need FFmpeg to be fPIC
[15:59] <DelphiWorld> hi amstan
[15:59] <DelphiWorld> amstan: Ucraine?
[15:59] <amstan> DelphiWorld: no, Romania
[15:59] <DelphiWorld> amstan: ah so close ;)
[16:00] <DelphiWorld> amstan: never heard the name stan only in Ucraine;)
[16:15] <burek> DelphiWorld, I've build 100s of VLCs with ffmpeg so far
[16:15] <burek> not once I needed -fPIC
[16:15] <DelphiWorld> burek: i dont know why but i'm fighting it. about to get it dude
[16:15] <burek> good luck :)
[16:16] Action: DelphiWorld kick burek out of his media center and coppy all all all flac encoded Musics;-)
[16:16] <burek> I don't use flac :)
[16:17] <burek> (random tests)
[16:17] <burek> ok it works
[16:19] <DelphiWorld> burek: hey, hey. why there's a branch called Qatar ?
[16:20] <burek> ?
[16:20] <DelphiWorld> burek: there's a ffmpeg branch called "Qatar"
[16:20] <DelphiWorld> what the name indic?
[16:21] <burek> where
[16:24] <DelphiWorld> burek: vlc done
[16:30] <DelphiWorld> burek: branch of FFM
[17:14] <DelphiWorld> now is there any option to auto reload FFserver config ?
[17:14] <DelphiWorld> without restarting it
[17:32] <Spideru> burek: hello, do you have two minutes for a question?
[17:45] <DelphiWorld> Spideru: better to ask ;)
[17:48] <DelphiWorld> burek: http://www.youtube.com/watch?v=jVfUCS860UU
[17:48] <Spideru> Ok, now I'm using ffmpeg - ffserver - ffplay to stream pcm16be @16KHz. These are the commands  http://pastebin.com/GZaBb1jy and this is the server.conf http://pastebin.com/c9igTxZd
[17:49] <lake> i have many home videos that i am trying to archive. I am importing them as uncompressed avi files. And wow, they are just massive! Is there a compressed format yielding similar quality with less disk space footprint? I want to 1) convert to mpeg2 for dvd and 2) use the import as a archive on amazon glacier.
[17:49] <Spideru> I have problems recognizing on ffplay when ffmpeg stop to stream (for example)
[17:50] <Spideru> if I stop ffmpeg, then restart it, ffplay still playing "old" stream, without sound of course
[17:50] <Spideru> And: is there a way to stream with rtmps to ffserver?
[17:51] <Spideru> I seen there is a conf for rtsp but not for rtmps
[17:51] <Spideru> (i would to stream encrypted data from ffmpeg to ffserver
[17:51] <Spideru> )
[18:04] <Sashmo_at_work1> Can anyone help me with this dbouel framte rate issue with a interlaced source for input?  how can I get it back to normal? http://pastebin.com/PhsvjbJP
[18:15] <lake> in other words, is there a good compressed format viable for archival purposes?
[18:15] <lake> good meaning produces high quality with relatively low size
[18:23] <lake> mutt
[18:25] <lake> whoops, that was supposed to be for zsh
[18:29] <relaxed> lake: yes, I would use ffmpeg -i input -c:v libx264 -preset veryslow -c:a flac output.mkv
[18:29] <relaxed> er, add -crf 18 after the input
[18:30] <relaxed> that will give you highly compressed (lossy) video and lossless audio
[18:30] <lake> relaxed: darn, i get "Unable to parse option value "-1" as pixel format
[18:30] <relaxed> pastie.org your command and all output
[18:33] <lake> relaxed: http://pastie.org/5045110
[18:34] <relaxed> is it interlaced?
[18:34] <lake> i believe it is
[18:34] <lake> i didn't not explicitely deinterlace it
[18:34] <relaxed> you should, hold on a second
[18:38] <relaxed> ffmpeg -i input -filter:v yadif:1,format=yuv420p -c:v libx264 -crf 18 -c:a flac output.mkv
[18:42] <relaxed> lake: what is the output fps from the command?
[18:42] <lake> 29.97
[18:42] <lake> i get this tho: No such filter: 'yadif:1'
[18:43] <relaxed> change it to yadif=1
[18:44] <relaxed> that should double the framerate of the input.
[18:46] <lake> relaxed: getting somewhere now. must figure out how to set ntsc for v4l2 options
[18:46] <lake> ah, -standard
[18:47] <lake> relaxed: damn, that quality is epic.
[18:49] <relaxed> So the output is ~60fps, correct?
[18:50] <lake> 59.94 tbc
[18:50] <lake> is that it?
[18:51] <relaxed> good, yes
[18:52] <lake> now to figure out cropping and getting my alsa device to work
[18:52] <lake> :)
[18:52] <lake> thanks relaxed
[18:53] <relaxed> You're welcome. Read about the crop filter in the man page. Be sure and add it after yadif in the filter chain.
[18:53] <Sashmo_at_work1> Can anyone help me with this dbouel framte rate issue with a interlaced source for input?  how can I get it back to normal? http://pastebin.com/PhsvjbJP
[18:55] <relaxed> Sashmo_at_work1: You want one frame per field? yadif=1
[18:55] <Sashmo_at_work1> let me try that
[18:56] <relaxed> yadif=0 for one frame per 2 fields (=frame)
[18:57] <relaxed> =1 will look smoother
[18:58] <Sashmo_at_work1> thanks a bunch I will try this now
[19:11] <hackeron_> hey, did anything change in 1.0 for setting rtsp transport? - before I had AVDictionary *d = NULL; av_dict_set(&d, "rtsp_transport", "tcp", 0); in my code to force tcp - but since upgrading to 1.0, it seems UDP is being used again for rtsp streams, any ideas?
[19:20] <Sashmo_at_work1> relaxed:  that didnt seem to work for me, Im still getting more frames
[19:33] <relaxed> Sashmo_at_work1: yadif=0 will match the input's framerate.
[19:34] <Sashmo_at_work1> relaxed:  looks like its being encoded at the right bitrate, i can see that in the outpuf of ffmpeg, but every time I try to play the file, its reported as double the rate exactly
[19:35] <lake> relaxed: any idea why i am getting alsa buffer xruns? http://pastie.org/5045534
[19:35] <lake> no audio is playing back, playing through mplayer
[19:36] <burek> relaxed, is there a way you could create a bug report for lake's issue with yadif
[19:36] <burek> I mean, shouldn't ffmpeg auto-recognize it and apply the yadif filter
[19:37] <burek> judging by this message: [avi @ 0x1944240] Could not find codec parameters for stream 0 (Video: none (422P / 0x50323234), 704x464): unknown codec
[19:37] <burek> it seems like ffmpeg doesn't support that kind of input
[19:39] <relaxed> burek: he has no issue with yadif
[19:39] <burek> he doesn't but ffmpeg does :)
[19:40] <relaxed> Did i miss something?
[19:40] <burek> in one case ffmpeg says it cant find codec parameters
[19:40] <burek> and when he added yadif, then it worked
[19:40] <burek> if I understood correctly the above conversation
[19:40] <Sashmo_at_work1> can anyone tell me where the x264 profiles are hidden away?  I want to adjust one
[19:40] <burek> Sashmo_at_work1, type x264 --help
[19:41] <relaxed> burek: it was a colorspace issue
[19:41] <burek> never mind, i'll create it
[19:42] <relaxed> the bug has nothing to do with yadif.
[19:44] <relaxed> and everything to do with 422P -> 420p conversion not being done by default.
[19:44] <burek> relaxed ok :)
[19:44] <relaxed> I'm not saying it should but ffmpeg loves vague error messages.
[19:46] <Sashmo_at_work1> relaxed:  im confused, when ffmpeg uses the x264 profiles, where are those profiles?  I cant see to find them, fyi using ubuntu
[19:46] <relaxed> burek: From your bug report, can ALSA_BUFFER_SIZE_MAX be set on the cli?
[19:47] <burek> Sashmo_at_work1 ffmpeg uses x264's built in profiles now
[19:47] <burek> no more file presets and stuff
[19:47] <burek> relaxed, er.. what?
[19:47] <relaxed> `x264 --fullhelp|less` will give you a list of presets, tunes and profiles
[19:47] <Sashmo_at_work1> burek:  so if I want to change one of the settings, i need to just overide it?
[19:48] <burek> yes
[19:48] <relaxed> burek: https://ffmpeg.org/trac/ffmpeg/ticket/615
[19:49] <KING_LEE> hey guys! i am facing a strange problem with my script to turn .MTS files to .mov. it worked 2 days ago when i testet it with the yadif option and now i wanted to make use of it and it does not work it tells me about a invalid loglevel. it worked 2 days ago and I did not change anything
[19:50] <relaxed> KING_LEE: pastie.org your command and all output. If you paste a script I will hurt you.
[19:51] <KING_LEE> http://pastie.org/5025641  thats the script and thats the  the output http://pastie.org/5045671
[19:51] <grepper> heh
[19:52] <KING_LEE> oh,... I learned pastie.org now ^^
[19:52] <burek> just a sec relaxed, let me take a look
[19:52] <relaxed> KING_LEE: change "-v yadif" to "-vf yadif"
[19:53] <KING_LEE> ok, i will
[19:53] <burek> relaxed :) "Opened 11 months ago" :)
[19:53] <relaxed> also, that script is wrong!
[19:53] <burek> if only i could now remember what was it all about...
[19:53] <relaxed> burek: answer my question!
[19:53] <burek> :)
[19:53] <KING_LEE> i am just veryvery confused that it worked 2 days ago
[19:53] <grepper> KING_LEE: for a in `ls *.MTS` is poor bash.  Don't parse 'ls' output.  Use for a in *.MTS
[19:53] <relaxed> I'm confused it ever worked.
[19:54] <burek> relaxed, in the source code
[19:54] <burek> btw, it gets even worse..
[19:54] <burek> when ambient becomes too dark for webcam
[19:54] <burek> then it really starts to spit a lot of those
[19:54] <burek> overruns or such
[19:55] <KING_LEE> relaxed: what do you mean by wrong? well, it did, i tested a few clips and now i wanted to use it with a whole folder
[19:56] <relaxed> KING_LEE: remove -sameq and replace it with "-q:v 1"
[19:58] <lake> relaxed: this ouputs audio that i can hear: " ffmpeg -f alsa -i hw:6,0 out.ac3"
[20:00] <burek> lake, https://ffmpeg.org/trac/ffmpeg/wiki/Capturing%20audio%20with%20FFmpeg%20and%20ALSA
[20:00] <KING_LEE> http://pastie.org/5045758
[20:02] <lake> burek: i can successfully capture audio by itself. it breaks down here: http://pastie.org/5045534
[20:03] <burek> lake, welcome to the v4l2+alsa hell :)
[20:03] <relaxed> KING_LEE: Here's your new script: http://pastie.org/pastes/5045786/text
[20:03] <lake> burek: it works fine with mencoder
[20:03] <burek> I couldn't solve the problem since 11 month ago, so, I can't suggest anything worth of use to you :/
[20:03] <lake> but that's on an uncompressed avi
[20:04] <relaxed> KING_LEE: Here's your new binary: http://goo.gl/DPrRY
[20:04] <burek> I just switched to vlc
[20:04] <burek> lake, if your device supports mjpeg, try that kind of input
[20:04] <burek> if alsa errors are gone, most probably it is some sort of usb bandwidth issue or something like that
[20:05] <relaxed> KING_LEE: well, change the script "1920:1080", I made a typo
[20:06] <KING_LEE> relaxed: thank you very much, I check that in a minute
[20:07] <relaxed> KING_LEE: new script, take 2: http://pastie.org/pastes/5045786/text
[20:16] <KING_LEE> hmm,... not working, but why?
[20:16] <KING_LEE> http://pastie.org/5045959
[20:17] <lake> burek: okay, well, maybe i can get away without flac
[20:19] <breed> i'm having problem decoding AAC with avcodec_decode_audio4. i'm using it the same way i was doing MP3 decoding, but for AAC i get the following error: [aac @ 0xcb4bf0] channel element 1.0 is not allocated
[20:19] <breed> is there something extra i should be setting up for aac?
[20:20] <roxlu> hi
[20:21] <roxlu> I'm writing a flv muxer while getting into encoding / muxing etc... so just a learning experience :).  I'm writing video frames (x264) which is working great.
[20:21] <roxlu> now I want to add audio and I was looking into speex. The FLV specification only states that the audio body in the FLV bitstream, "varies per format"
[20:22] <roxlu> now I'm wondering if someone knows if this simply means that the raw bytes can just be stored, or if I need to add some sort of speex-related header?
[20:27] <knicholes> Is there any way for me to add libvorbis to my codecs without having to recompile?  I want to convert aac to ogg.
[20:33] <KING_LEE> relaxed: i don' run a 64bit system
[20:33] <burek> knicholes, no
[20:33] <knicholes> burek: K, thx :D
[20:33] <burek> knicholes, wait
[20:33] <burek> you can try static builds :)
[20:35] <knicholes> sweet
[20:36] <KING_LEE> do i need to set up ffmpeg again? i thought i made a good decision with this http://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide
[20:55] <foonix> when building ffmpeg with libx264 support, any idea howto satisfy ./configure when libx264 is in non-standard location?
[20:56] <foonix> so far i added x264.pc to /usr/lib64/pkgconfig/ without success
[20:58] <burek> did you run ldconfing
[20:59] <burek> also, did you check ./configure --help
[20:59] <burek> maybe --extra-libs
[21:07] <relaxed> burek: give KING_LEE a link to your 32bit builds
[21:07] <burek> KING_LEE I give you a link to my 32bit builds :)
[21:08] <relaxed> oh, sorry
[21:08] <burek> well, just
[21:08] <burek> or priv msg fflogger with !help
[21:14] <KING_LEE> eeer, ... ok, sorry to ask this question  but how do i install that and why was it wrong to follow that compilation guide. i am still confused that it worked 2 days ago
[21:15] <relaxed> following the compilation guide is fine
[21:17] <relaxed> I was just trying to get you a quick fix. The static builds include a ffmpeg binary that you can run from the current working directory like this, ./ffmpeg
[21:17] <burek> KING_LEE, no need to install anything
[21:17] <burek> download-extract-run
[21:18] <burek> just like zipped exe file
[21:18] <KING_LEE> ok, just asking because there was no readme file
[21:18] <burek> there is one, as soon as you open that given link :D
[21:21] <KING_LEE> but this one is empty http://ffmpeg.gusari.org/static/32bit/README.html
[21:21] <burek> http://ffmpeg.gusari.org/static/
[21:24] <KING_LEE> cd
[21:24] <KING_LEE> oops, wrong window
[21:26] <foonix> burek: ldconfig -v shows fine: libx264.so.128 -> libx264.so.128, prob is configure wants x264.h and --extra-libs doesnt help (expecting library)
[21:29] <burek> extra-cflags extra-ldflags?
[21:31] <KING_LEE> and how do i get this static build to run my script? please excuse my stupidity i have a bad headache today  but i want to get this ........  going
[22:02] <Sashmo_at_work1> can anyone help me out here, I keep getting double the frame rate after encoding.  I use yadif=0 and the ffmpeg output shows 30fps, but everytime I check the output I still get double frame rate, any other ideas?
[22:03] <Mavrik> what's your input framerate? interlaced?
[22:03] <Sashmo_at_work1> 29.97 interlaced
[22:06] <relaxed> yadif=0 should net you 29.97p
[22:06] <Sashmo_at_work1> let me pastebin what I am getting, its werid
[22:09] <Sashmo_at_work1> http://pastebin.com/D7NTwiXs
[22:11] <relaxed> output is 29.97p
[22:11] <Sashmo_at_work1> vlc is telling me that its 59.95
[22:11] <Sashmo_at_work1> 59.94
[22:11] <Sashmo_at_work1> when I try to pull the url
[22:12] <relaxed> Do you need to set all those libx264 options? Output to a file instead of streaming and check the results.
[22:12] Action: relaxed &
[22:14] <KING_LEE> sorry to be anoying, i just cant get the static build running to work through the folder, whats the syntax to combine ./ffmpeg and the script?
[22:16] <llogan> relaxed: i told him yesterday that the output seemed to be ntsc
[22:17] <llogan> KING_LEE: what script?
[22:18] <llogan> ...and i mentioned the deal with the options
[22:20] <KING_LEE> that one http://pastie.org/5047234 burek and relaxed were so kind to hgelp me with that and told me to run http://ffmpeg.gusari.org/static/  but i cant combine them.
[22:21] <KING_LEE> it works great on one file but i want to use the script to do loads of files
[22:25] <burek> [19:54:32] <grepper> KING_LEE: for a in `ls *.MTS` is poor bash.  Don't parse 'ls' output.  Use for a in *.MTS
[22:38] <KING_LEE> burek: we changed that, this is a new script
[22:40] <KING_LEE> but when I try to run it with ./ffmpeg it does not work anymore
[22:55] <llogan> KING_LEE: then show the output so we can see any errors/messages. "not work" is a very common "issue".
[22:57] <KING_LEE> I guess it is probably just a matter of systax combining "./ffmpeg" and "sh my_ffmpeg-script.sh"
[22:58] <KING_LEE> the script and the ffmpeg build work superb on their own
[22:59] <KING_LEE> http://pastie.org/5047656
[23:01] <llogan> KING_LEE: without seeing the actual contents of the scripts i don't know what we can offer.
[23:01] <KING_LEE> http://pastie.org/5047234
[23:02] <KING_LEE> posted it earlier
[23:03] <foonix> burek: --extra-*flags works, thank you
[23:11] <burek> foonix :beer: :)
[23:12] <burek> KING_LEE, obviously, if you need any kind of help
[23:12] <burek> a more extensive logs are needed
[23:12] <burek> what exactly doesn't work
[23:31] <DelphiWorld> hey burek Mavrik https://dl.dropbox.com/u/97608608/MEFTAH%20TAYEB%20ENNAHAR%20TV.mp4
[23:32] <burek> what is that?
[23:33] <burek> i didn't say nice to you
[23:33] <burek> but to fflogger dying :D
[23:33] <burek> I clicked a wrong button :)
[23:36] <DelphiWorld> LOL burek
[23:42] <Mista_D> How do I debug what passlog FFmpeg is looking for in 2 output scenario? Tried `./ffmpeg1 -i ...-passlogfile ffmpeg2pass-0 output0.mp4 ... -passlogfile ffmpeg2pass-1 putput1.mp4" doesnt work.
[23:54] <burek> Mista_D http://ffmpeg.org/ffmpeg.html#Options-3
[23:58] <Mista_D> burek: you suggest to use stats of the x264 options? Under section 5.7 it still lists passlogfile as a valid option in the same manual. Thank you for a hint.
[00:00] --- Sat Oct 13 2012


More information about the Ffmpeg-devel-irc mailing list