[Ffmpeg-devel-irc] ffmpeg.log.20120428
burek
burek021 at gmail.com
Sun Apr 29 02:05:02 CEST 2012
[01:01] <Diogo> hi again..one question this is possible to stream a videofile do windows media server?
[01:02] <Diogo> http://forum.videohelp.com/threads/326575-ffmpeg-to-windows-media-server-what-does-the-code-look-like?p=2022260 --- i saw this post talking about that...thanks
[10:03] <elkng> is mp3 free to use ? can I create audio files in *.mp3 formats ?
[10:34] <burek> I think not
[11:48] <elkng> is "-vcodec mpeg4" the same as "-c:v mpeg4" ?
[11:52] <sacarasc> I think so.
[11:55] <elkng> I have video "h264 1280x720" what is the fastest way to rescale it to "640x480" ? entire recoding ?
[11:57] <sacarasc> Yes, you'd have to do that.
[12:17] <elkng> when I use option "-pass 1" and it generates file 1.avi can I use same output file 1.avi with option "-pass 2" ? the important file after making "-pass 1" is ffmpeg2pass-0.log ?
[12:18] <sacarasc> If you want to use the same output file, you'll need to use -y on the command line too.
[12:18] <sacarasc> Or, you could push the first pass output to /dev/null.
[12:20] <Vigud> Hi, I want to convert a video so that if in the source video something is barely moving, then in the output video it's not moving at all.
[12:21] <Vigud> Can anyone here help me? I'm new to video encoding/decoding.
[12:22] <Vigud> I have tried noise reduction but it didn't give me expected results.
[12:38] <aquarat> Hi... does FFMpeg support multi-channel mpeg2 audio files ? ie. a single mp2 audio file that contains two or more channels of discrete audio?
[12:53] <Doxin> I've got a program that puts out raw RGB24 frames, and i'd like to pipe those to ffmpeg to encode it. any pointers?
[13:15] <k-man> what preset should i use to encode for iphone 4s/
[13:15] <k-man> ?
[15:43] <Adys> while recording from webcam, I get errors such as "The v4l2 frame is 614396 bytes, but 614400 bytes are expected"
[15:43] <Adys> after a few seconds and it stops recording.any way to avoid that?
[15:47] <burek> can you please use pastebin.com, to show your command line and its output?
[16:15] <howdy> hi. can anyone help me with this error? http://pastebin.com/iA2jneY3
[16:19] <howdy> anyone here use ffmpeg?
[16:20] <Vigud> Most people here don't answer questions, they ask them.
[16:20] <howdy> Vigud: how about you? do you answer?
[16:22] <howdy> cbreak, my main man from amsterdam. you around?
[16:22] <cbreak> I am not from that place.
[16:22] <Vigud> No, I am one of many askers here.
[16:23] <howdy> cbreak: oh, thought you were. you usually help me out. can you help me with this error?
[16:23] <cbreak> no idea. FFMPEG seems to think that your input stream is broken
[16:24] <cbreak> "Application provided invalid, non monotonically increasing dts to muxer in stream 0: 67 >= 33"
[16:24] <howdy> so there's no way around this?
[16:25] <howdy> like a way to force it or something?
[16:25] <cbreak> no idea. I would try to put the -vcodec copy after the -acodec so that you don't reorder the streams, but I doubt that that's the problem's cause
[16:27] <howdy> cbreak: ya, i still get the same error
[16:32] <howdy> cbreak: do you possibly know of something aside from ffmpeg that could get the job done?
[16:32] <cbreak> maybe using MP4Box directly to mux, after using ffmpeg or what ever to transcode the audio
[16:33] <cbreak> but I haven't compiled MP4Box in ages and it was a major pain to do it on OS X
[16:33] <howdy> cbreak: i'm on os x also. i've tried that and it works but the audio is way out of sync
[16:36] <burek> howdy, the error is produced in mp4 muxer
[16:36] <burek> so try another format
[16:36] <burek> and see if the error persists
[16:37] <howdy> burek: i tried mkv and i get the same error. is there another container you suggest?
[16:37] <burek> then your input format (mkv) might be damaged/invalid
[16:38] <burek> did you try extracting raw audio/video to dev/null
[16:38] <burek> just to see if everything is fine with the input
[16:38] <howdy> burek: how do i do that?
[16:38] <burek> -vn -an
[16:39] <howdy> so just like ffmpeg -i movie.mkv -vn -an ??
[16:39] <burek> ffmpeg -i input -vn -f wav /dev/null
[16:39] <burek> or something similar
[16:40] <howdy> just to be sure, i get "File '/dev/null' already exists. Overwrite ? [y/N]". select yes?
[16:40] <burek> also try updating your ffmpeg, it might help
[16:40] <burek> yes, or use -y
[16:41] <fantastic001> hi, when i try to compile ffmpeg i get this error ./libavcodec/dsputil.h:448:47: error: expected ;, , or ) before v1
[16:41] <howdy> burek: it seems to have worked. this is what i got http://pastebin.com/FrxrGCXJ
[16:42] <burek> now try with video
[16:42] <burek> maybe -f rawvideo or something
[16:42] <burek> not sure.. type ffmpeg -codecs
[16:43] <burek> no ffmpeg -formats
[16:43] <burek> fantastic001, did you change the source code in any way?
[16:43] <howdy> burek: so just add -f rawvideo to the syntax?
[16:43] <cbsrobot> howdy: you can also try to use the following command to see where problem occures: ffmpeg -i input.mkv -vf showinfo -f null /dev/null
[16:43] <howdy> or remove -vn also?
[16:43] <burek> howdy, ffmpeg -i input -an -f rawvideo /dev/null
[16:43] <fantastic001> burek: no
[16:44] <burek> fantastic001, where did you get the sourcecode from?
[16:44] <fantastic001> from git repo
[16:44] <burek> let me take a look, just a sec
[16:44] <howdy> burek: it still has a while to go. but it is working without error
[16:45] <cbsrobot> fantastic001: do a "git pull" again
[16:45] <howdy> cbsrobot: thanks. i'll try that as soon as this finishes
[16:45] <cbsrobot> make clean
[16:45] <cbsrobot> -configure again
[16:45] <cbsrobot> and if it breaks try "git diff"
[16:45] <fantastic001> cbsrobot: i did git clone today
[16:46] <cbsrobot> what compiler ?
[16:46] <burek> void (*butterflies_float)(float *restrict v1, float *restrict v2, int len);
[16:47] <fantastic001> gcc
[16:47] <fantastic001> 4.7
[16:47] <cbreak> interesting... --enable-nonfree
[16:47] <burek> howdy, then your input is ok
[16:47] <fantastic001> i enabled nonfree
[16:48] <burek> it's probably mp4 muxer having trouble with your a/v streams
[16:48] <burek> try using mkv for the output too
[16:48] <howdy> burek: here's the final output http://pastebin.com/Cztm0D9M
[16:49] <cbreak> fantastic001: that's not for you :)
[16:49] <howdy> burek: i get the same error when i try mkv
[16:49] <cbreak> I was just surprised that I had to enable nonfree for openssl
[16:49] <howdy> burek: i also get an error even if i try to copy both the -acodec and -vcodec
[16:50] <burek> cbreak, yeah, that's really weird :)
[16:50] <cbreak> maybe appache license isn't free enough :)
[16:50] <fantastic001> does anyone knows why i get this error ? :D
[16:51] <burek> howdy, it's most probably a bug in ffmpeg, but in order to be sure, you need to update your ffmpeg to the latest git
[16:51] <burek> fantastic001, can you paste 10-20 lines above that one on pastebin.com
[16:53] <howdy> burek: is there an easy way to update? or do i just delete everything and start over?
[16:53] <burek> in the folder where you extracted your ffmpeg source code
[16:53] <burek> say /tmp/bla/ffmpeg
[16:54] <burek> just cd into it
[16:54] <burek> and do make uninstall; make distclean; git pull
[16:54] <burek> and then do ./configure again
[16:54] <burek> make && make install
[16:55] <fantastic001> burek: yes, wait please
[16:55] <fantastic001> http://pastebin.com/MkraQvRL
[17:00] <burek> fantastic001, just a sec
[17:00] <fantastic001> ok....
[17:05] <burek> fantastic001, is there any way of downgrading your gcc
[17:07] <fantastic001> burek: hmm
[17:07] <fantastic001> why ?
[17:07] <burek> well, I'm looking at google's results regarding this message
[17:07] <burek> I hope he will find his terminal again :)
[17:08] <burek> fantastic001 :)
[17:08] <burek> I've tried looking at google: http://www.google.com/search?q=libavcodec%2Fdsputil.h+error+expected+before+v1
[17:08] <fantastic001> :)
[17:09] <fantastic001> sorry
[17:09] <burek> and most of those results point to the broken versions of gcc
[17:09] <burek> so my wild guess is that it's the culprit
[17:09] <burek> so, if you can, try installing some other version of gcc, either newer or older
[17:09] <fantastic001> newer version does not exists
[17:10] <fantastic001> this is case only for gcc <4.3
[17:10] <fantastic001> in google results
[17:10] <fantastic001> i googled before i asked question :)
[17:10] <burek> yes, but still..
[17:10] <cbreak> 4.3 is quite old
[17:10] <burek> there are no other references to the solution of that kind of problem
[17:10] <fantastic001> cbreak: i know, i am using 4.7
[17:10] <burek> so I guess they've made a regression (again)
[17:10] <cbreak> isn't 4.7 a beta?
[17:11] <fantastic001> no
[17:11] <fantastic001> gcc (GCC) 4.7.0
[17:11] <burek> there is 4.8
[17:13] <fantastic001> hmm
[17:13] <fantastic001> i'll try
[17:13] <fantastic001> but before i set --enable-shared option in ./configure i compiled ffmpeg succesfully
[17:13] <fantastic001> but now with --enable-shared i get error
[17:13] <burek> you might check the channel #gcc here
[17:14] <burek> and ask there?
[17:15] <fantastic001> ok
[17:17] <howdy> burek: now it works! thanks bro
[17:19] <burek> :beer: :)
[17:53] <malinens> hi guys! yadif sucks. with older ffmpeg version I could use -deinterlace option and it worked well but now I can try any combination of yadif option and I still bad results :/ Is it possible to deinterlace video in the same manner as with older ffmpeg?
[17:53] <JEEB> malinens, I really don't see how you could've possibly gotten better results with -deinterlace than with yadif
[17:54] <malinens> old ffmpeg: http://bwap.org/a.mp4
[17:54] <JEEB> what kind of a source were you dealing with?
[17:54] <JEEB> can you post a sample?
[17:54] <malinens> new ffmpeg: http://video.tiesraides.lv/flv/20120428_1804_blogs_3_a.mp4
[17:55] <malinens> http://pastebin.com/TwAk1bZi
[17:58] <JEEB> anyways, yadif has been so good even in cases where it shouldn't be used that I'd be surprised to see something as hated as -deinterlace to be able to beat it
[17:59] <JEEB> in any case, a sample would be nice of the source :P
[18:01] <malinens> sample bwap.org/d.mp4
[18:01] <malinens> http://bwap.org/d.mp4
[18:02] <malinens> sorry
[18:02] <malinens> http://bwap.org/d.mpg
[18:05] <JEEB> ooh, looking at the latter sample I guess you have just selected the wrong field order
[18:06] <JEEB> or something along the lines of that :)
[18:20] <malinens> yup yadif=0:0 seems ok when checking manually. maybe something with my software
[18:33] <malinens> nope :/ http://video.tiesraides.lv/flv/20120428_1904_d.mp4 I use 2-pas encoding with yadif=0:0. command I used: http://pastebin.com/TitcmNRB
[18:34] <malinens> ignore -deinterlace. not used in my app...
[21:03] <dalkor> http://pastebin.com/EyqwsEfU Any ideas? I have both codecs
[21:04] <sacarasc> Sounds like a broken file.
[21:06] <dalkor> I figured as much >.> Anyone have experience with rtmpdump?
[21:06] <dalkor> Or know where I could get support.
[22:33] <odie5533> What is the difference between having vcodec before or after -i or the -ss before or after -i?
[22:40] <sacarasc> odie5533: If you have -vcodec before -i, you're telling ffmeg that the input file should use that decoder.
[22:40] <sacarasc> I forget about -ss...
[22:40] <odie5533> I found this on it: http://ffmpeg.org/pipermail/ffmpeg-user/2011-November/003221.html
[22:41] <odie5533> which explains it well enough. Thanks for explaining the vcodec though. I think that might be why I was getting an error
[00:00] --- Sun Apr 29 2012
More information about the Ffmpeg-devel-irc
mailing list