[Ffmpeg-devel-irc] ffmpeg.log.20120623
burek
burek021 at gmail.com
Sun Jun 24 02:05:02 CEST 2012
[00:12] <maujhsn> ubitux This is a perfect command for streaming live audio via mic input! ffmpeg -f oss -i /dev/dsp -acodec libmp3lame -ab 128k -ac 2 -ar 44100 -re -f rtp rtp://234.5.5.5:1234 can anybody give me a modified version of this command to record only my desktop? Thanks!
[00:17] <dariop> To put it more simply. What if I don't want to use Mpeg-4 SP or Mpeg-4 ASP. I want to use H.264 with the divx codec. How would I do that?
[00:29] <iive> dariop: x264
[00:31] <dariop> iive: x264 isn't divx though? or are they related?
[00:32] <iive> why would somebody use divx for h264?
[00:32] <dariop> I thought it'd be divx for H.264
[00:32] <iive> x264 is the best encoder.
[00:33] <dariop> well, I don't know but I read that divx has an MPEG-4 ASP codec, and an MPEG-4 AVC codec. And for flexibility, i'd like to be able to use divx for either, as it's available for either.
[00:34] <iive> sorry, what you are saying doesn't make sense.
[00:35] <dariop> seems to make sense.. wikipedia says about divx "There are two DivX codecs; the regular MPEG-4 Part 2 DivX codec and the H.264/MPEG-4 AVC DivX Plus HD codec."
[00:36] <iive> nobody who knows anything about video codecs uses divx.
[00:37] <dariop> ok so divx is rubbish, but i think technically there wasn't anything that didn't make sense
[00:37] <iive> their mpeg4 asp encoder never got as good as xvid, even after xvid development stopped completely and haven't been active for over 5 years.
[00:38] <iive> technically it didn't make sense. Other codecs offer better encoding, and it is not needed for decoding, as formats are standard.
[00:39] <dariop> I mean, in terms of terminology, the terminology wasn't wrong.
[00:39] <dariop> it's easy to mess that up and not make sense!
[00:40] <iive> divx is trademark. saying you are going to use them, means you are going to use their codec.
[00:41] <iive> and I think they still bundle their free codec with malware.
[00:41] <dariop> ouch
[00:41] <iive> ^Wadware.
[00:43] <dariop> what is a decoded video called?
[00:44] <dariop> like, if it's encoded, it's encoded with some codec to fit a standard video compression format
[00:44] <dariop> but when it's decoded, what's the format?
[00:44] <iive> hum, they don't mention any bundles, so my info is probably outdated.
[00:44] <iive> raw pictures. usually in yuv420 colorspace.
[00:45] <dariop> is that regardless of container format?
[00:45] <dariop> or is that only for an mpeg4 container?
[00:46] <iive> if it is decoded, then it is DEcoded.
[00:47] <dariop> ok, so not in any container once decoded.
[00:47] <dariop> Is avidemux's mpeg4 codec the same codec that ffmpeg uses? who made it?
[00:47] <iive> yuv colorspace is similar with the way analog TV is encoded. RGB is how it is shown on the screen.
[00:48] <iive> no idea. haven't used avidemux. But 99% of the video programs use ffmpeg libavcodecs. some in addition to xvid/x264 etc.
[00:49] <iive> i mean, free open source programs.
[00:50] <dariop> is every codec within libavcodec a library? i see libxvid is actually called lib..
[00:51] <dariop> but is ffmpeg's mpeg4 just as much a library as libxvid?
[00:51] <beandog> <iive> nobody who knows anything about video codecs uses divx.
[00:51] <beandog> that is the quote of the day
[00:52] <beandog> dariop: might find a lot of answers here: http://wiki.multimedia.cx/index.php?title=Main_Page
[01:13] <iive> dariop: many of the video routines and functions are common and could be shared among codecs. bitstream (de)coding, transforms, motion compensation/estimation, etc...
[01:17] <iive> libavcodecs supports hum... can't find the page, maybe 190 different flavors of video codecs and 120 flavors of audio codecs.
[01:18] <iive> most of them are decoders.
[01:29] <burek> beandog, well it makes sense
[01:29] <burek> just compare outputs of x264 and divx
[01:29] <beandog> burek: oh, I'm not arguing with him
[01:29] <burek> it's like comparing mp3 and aac+
[01:29] <burek> :)
[01:29] <beandog> it's just funny :)
[01:29] <burek> ok :)
[01:30] <burek> maujhsn, you should try libaacplus first :))
[01:57] <dariop> is there such a thing as arc?
[01:58] <dariop> like, is it an audio codec, and is it in ffmpeg?
[01:58] <dariop> i've heard of "mpeg-4 asp/arc"
[02:15] <jesk> how can I give the audio tracks in a MP4 movie individual names? can't figure out how to do that with the -meta options.
[03:02] <Sashmo> does anyone have a clue what the "programid" was changed to in the latest git ?
[03:10] <burek> Sashmo, http://ffmpeg.org/ffmpeg.html#Stream-specifiers-1
[03:12] <Sashmo> thanks, but now I feel stupid, I dont understand the specifier, before it was -programid XXXX, now what is it? -p:program_id XXXX ???
[03:12] <Sashmo> dosnt matter what I try, it comes back unrecognized
[03:13] <burek> -p:XXXX
[03:13] <burek> no. wait
[03:14] <burek> yes
[03:14] <burek> -p:XXXX
[03:14] <Sashmo> ya, that didnt work LOL, eh hvala za pomoc
[03:14] <Sashmo> ne radi
[03:14] <burek> please speak in english so that others can understand too :)
[03:14] <Sashmo> Unrecognized option 'p:7024' Failed to set value '-re' for option 'p:7024'
[03:14] <burek> Sashmo, can you please use pastebin.com, to show your command line and its output?
[03:14] <Sashmo> http://pastebin.com/UbeRjXkq
[03:16] <Sashmo> http://pastebin.com/WCvHp6dg
[03:16] <Sashmo> output
[03:16] <Sashmo> ignore the clear-re in the command it was mistyped
[03:18] <burek> try -p:7024:0
[03:18] <Sashmo> SAME
[03:18] <Sashmo> oops
[03:18] <Sashmo> sorry for caps
[03:19] <burek> try -p:7024:0 23
[03:19] <burek> ?
[03:19] <Sashmo> same
[03:19] <burek> oh
[03:19] <burek> my bad
[03:20] <burek> these are specifiers, not options
[03:20] <burek> so, use it like this
[03:20] <burek> -c:v:p:7024 libx264
[03:21] <Sashmo> that works
[03:21] <burek> or -c:p:7024:0
[03:21] <Sashmo> :D
[03:21] <burek> p:7024 is like 'v'
[03:21] <burek> in -c:v
[03:21] <Sashmo> so tell me what is that? c, v, p for program
[03:21] <burek> it's a specifier
[03:21] <burek> stream specifiers
[03:21] <Sashmo> hmm
[03:21] <Sashmo> I need to read more
[03:21] <burek> http://ffmpeg.org/ffmpeg.html#Stream-specifiers-1
[03:21] <Sashmo> for sure
[03:21] <burek> :)
[03:22] <Sashmo> my source is h264, im getting lots of errors while decoding, is there a way around it?
[03:23] <burek> is it just at the beginning or all the time?
[03:23] <Sashmo> http://pastebin.com/rb8r42Cy all the time
[03:24] <burek> either your udp stream is lossy
[03:24] <burek> (looses some packets)
[03:25] <burek> or you are still receiving the beginning chunks for all the streams in that flow
[03:25] <Sashmo> Im using this pro software call stream anylyzer, and it shows none
[03:25] <burek> those errors are normal in the beginning of the reception
[03:25] <burek> since key frames are missing
[03:25] <burek> and codec doesn't have a first reference picture
[03:25] <Sashmo> my sinlge program transport stream is fine
[03:25] <burek> to make all the subsequent diffs on
[03:26] <iive> could it be something that pops ups where tv program/show is cut at the studio?
[03:26] <iive> i see h264 and mpeg2 there
[03:26] <iive> does it change codec at runtime? or does it decode 2 video streams at once?
[03:27] <Sashmo> no, its one transport stream with both mpeg2 and h264
[03:27] <Sashmo> in StreamXpert, from Dektec, it shows that there are no errors at all
[03:28] <iive> mpeg2 and h264 on the same PID?
[03:28] <Sashmo> I use that as my measuring stick
[03:28] <Sashmo> no nono
[03:28] <Sashmo> in the same input stream
[03:28] <iive> aka, same transponder.
[03:28] <iive> but are you decoding the whole transponder, aka 2 or more video PIDs
[03:28] <Sashmo> yup
[03:29] <Sashmo> well, yes, the entire output from that transponder
[03:29] <Sashmo> 30 megs 16 services
[03:29] <Sashmo> what can I use to share pics again?
[03:29] <burek> as soon as you receive the first keyframe (for each program/stream) those errors should stop
[03:29] <Sashmo> hmm
[03:29] <burek> probably your pro software ignores those errors until keyframe is reached
[03:30] <Sashmo> Ill show you a pic, where can I send it again? I forgot
[03:30] <iive> Sashmo: i was just going to ask if this produces visible artifacts.
[03:30] <Sashmo> nope, the source is perfect
[03:31] <Sashmo> http://postimage.org/image/qyl4ac5ld/
[03:31] <iive> btw, does your device report (uncorrected) bit error rate ?
[03:31] <Sashmo> I've never had to check that
[03:31] <Sashmo> no
[03:31] <Sashmo> im sure that would reflect in bad pcr
[03:33] <iive> depends what it threats for error.
[03:33] <Sashmo> actually, I cant eve get a good decode at all on any service that I choose
[03:34] <iive> hum
[03:35] <iive> sorry, I'd love to stay and tickle it, but I have to get some sleep
[03:35] <Sashmo> thanks anyways
[03:35] <iive> i keep asking. and trying
[03:35] <Sashmo> yeah, for sure ;)
[03:53] <brocatz> hi, i'm encoding x264/mp3 into an mp4 container and when i open the file in chrome it doesn't play (plays fine in smplayer) and causes my macbook air on my other machine to crash
[03:53] <brocatz> any idea what i'm doing wrong
[03:53] <brocatz> SET PRESET=slow
[03:53] <brocatz> SET AUDIOFLAGS=-acodec libmp3lame -ab 128
[03:53] <brocatz> ffmpeg -i "java 2012-06-23 01-51-14-32.avi" %AUDIOFLAGS% -vcodec libx264 -preset %PRESET% -crf 22 -r 30 -y midiobjects-2.mp4
[03:58] <burek> brocatz, try using -profile baseline
[03:59] <Sashmo> there stream indentifiers are really messing me up
[04:03] <Sashmo> hey burek, that stream identifuer isnt working for me, it worked the first time, but I think that was something with how the TS stream was last parsed, now, I cant even get anything, I think that command is not right
[04:03] <Sashmo> are you burek with cheese? or meat?
[04:04] <Sashmo> I think Im getting those errors, because its trying to decode the data in the stream, not the video data
[04:13] <brocatz> yeah weird
[04:13] <brocatz> i can't encode a video chrome will play
[04:13] <brocatz> that's the last one i encoded http://fieldsofnoise.org/junk/midiobjects-4.mp4
[09:31] <burek> Sashmo, you might need stream index with program id, like this
[09:31] <burek> -c:v:p:7024:0
[09:32] <burek> or maybe -c:p:7024:v
[09:32] <burek> try both
[10:25] <burek> how can I tell ffplay which stream(s) to play in multiple ES input?
[11:27] <jesk> I'am asking me how software parses and uses MP4 files
[11:27] <jesk> there are atoms which contain meta informations and data
[11:27] <jesk> each atom just has a header which states is size
[11:28] <jesk> but nowhere one atom reference to another
[11:28] <jesk> how does the tree structure work, anyone with a little bit knowledge about this?
[11:35] <burek> jesk, did you check ffmpeg's mp4 decoder
[11:36] <burek> or demuxer
[11:38] <dvgsvc> how can i capture an image from a webcam
[11:38] <dvgsvc> i'm on win7. want to do this from cmd.exe
[11:52] <dvgsvc> anyone?
[12:48] <cryptopsy> mp3 is an unknown codec, i can convert my files with libmp3lame, but what's missing to get 'mp3' working instead of 'libmp3lame' ?
[12:50] <cryptopsy> a 58MB .3pg file converst to 48MB .mp3 file, shouldn't i be saving way more space going from video to audio like this? 3gp is a mobile phone format for video and sound
[13:47] <acovrig> is it possible to replace ~5sec of video with a picture in the middle of a video file?
[13:47] <cryptopsy> sure
[13:48] <acovrig> cryptopsy: how? I'm guessing I have to convert the entire video to images, then replace a few of the images with the 'title' image, then splice it back, is there an easier way?
[13:53] <LexSfX> it can be done without any video degradation using matroska ordered chapters
[13:54] <LexSfX> that requires that the mkv splitter used for playback supports those
[13:56] <burek> dvgsvc, http://ffmpeg.gusari.org/viewtopic.php?f=25&t=13
[13:57] <acovrig> LexSfX: I'd prefer to keep it flv/mp4 for the internet -were uploading this to youtube
[13:57] <burek> cryptopsy, libmp3lame is an encoder for mp3 audio
[13:57] <LexSfX> youtube supports mkv. i'm not sure if it handles ordered chapters properly in its transcode though.
[13:58] <burek> there is no 'mp3' encoder in ffmpeg, but there is 'libmp3lame' for that purpose
[13:58] <burek> type ffmpeg -codecs
[13:58] <acovrig> LexSfX: can it be played directly on Andriod/iOS?
[13:58] <burek> also, take a look at libaacplus (and wikipedia) to see how to save even more space without loosing much quality
[13:59] <LexSfX> acovrig: probably not. those platforms suck.
[13:59] <LexSfX> :P
[13:59] <LexSfX> well, imo, any video playback platform that doesn't support mkv sucks
[13:59] <burek> acovrig, use video editor for such actions and not an encoder (like ffmpeg)
[14:00] <burek> acovrig, also, take a look at libavfilter, I think you might use select() to select the input video until some timestamp is reached and then switch to image input and back again to original input
[14:01] <burek> but I never tried it :) so you'll have to test it yourself :)
[14:01] <acovrig> LexSfX: yea, iOS is *picky* were using this to get there: mencoder "$ofn".flv -o "$ofn".mp4 -vf dsize=300:272:2,scale=-8:-8,harddup -oac faac -faacopts mpeg=4:object=2:raw:br=128 -of lavf -lavfopts format=mp4 -ovc x264 -sws 9 -x264encopts nocabac:level_idc=30:bframes=0:bitrate=512:threads=auto:global_header:threads=auto:subq=5:frameref=6:partitions=all:trellis=1:chroma_me:me=umh
[14:02] <acovrig> burek: the main reason for using ffmpeg (or mencoder for that matter) is to automate it. I am getting video from dvgrab (in a church setting) and using diatheke and convert (ImageMagick) to get a bible verse to a jpg
[14:02] <LexSfX> if you're planning on uploading this to youtube, note that youtube transcodes every single video it receives into its own lossy format
[14:03] <LexSfX> meaning you should ideally upload lossless video to youtube
[14:03] <LexSfX> to prevent additional quality loss
[14:03] <LexSfX> youtube isn't like other streaming sites like nicovideo, for example, which handles any video that the flash player can handle natively
[14:04] <LexSfX> and transcodes only videos that aren't supported by flash player
[14:04] <LexSfX> youtube transcodes *all* videos
[14:05] <acovrig> LexSfX: quality isn't an issue (at this point), were (trying to) upload ~1.5hr to youtube over DSL :/ and is that nicovideo.com?
[14:05] <LexSfX> nicovideo the big japanese video streaming site
[14:06] <LexSfX> it's nicovideo.jp, for reference
[14:06] <LexSfX> i was using it as an example
[14:07] <acovrig> ok, were looking for something that will let us stream video (from firewire) for free without ads, I've looked at youtube live, and I'm hoping that google will let us use it (its in beta stages?) when they validate r acount in < a wk.
[14:33] <sweb> i want to convert my movie to animated gif . but just 8 frame all of whole ... how can i process it ? with `-r 1` i just can get one frame ... i need to get whole 8 picture from whole movie ... how can i do that ?
[14:48] <zap0> sweb, if you know the frame count its about a bazillion times easier.
[15:05] <burek> sweb, try ffmpeg -i input -vframes 8 output%02d.png
[15:05] <sweb> burek: ty i will try
[15:56] <cryptopsy> burek: what do i need to have the mp3 encoder ?
[15:57] <burek> configure your ffmpeg with --enable-libmp3lame
[15:57] <burek> and install liblamemp3-dev
[15:57] <burek> or compile it from source
[16:22] <cryptopsy> i have libmp3lame
[16:22] <cryptopsy> i want to use mp3 encoder instead of libmp3lame
[16:22] <burek> cryptopsy, I don't understand your question
[16:22] <cryptopsy> there's an mp3 encoder and libmp3lame encoder
[16:24] <burek> where exactly? :)
[16:24] <cryptopsy> in canada
[16:24] <cryptopsy> toronto ontario
[16:24] <burek> oh, well :) good for them :)
[16:24] <cryptopsy> here's an example
[16:24] <cryptopsy> ffmpeg -i in.3gp -acodec mp3 -ar 22050 -f wav out.mp3
[16:25] <cryptopsy> currently libmp3lame works in place of 'mp3' after acodec
[16:25] <burek> what does it have to do with ffmpeg? :)
[16:25] <cryptopsy> it's an ffmpeg command
[16:25] <burek> ok, and?
[16:25] <cryptopsy> so am wondering what i need to compile ffmpeg with for this to work
[16:25] <burek> I already told you
[16:25] <burek> liblame
[16:25] <cryptopsy> liblame is for libmp3lame
[16:26] <burek> it's the name of the library that encodes mp3 audio
[16:26] <cryptopsy> there's more than one mp3 encoder
[16:26] <cryptopsy> there's mp3 and libmp3lame
[16:26] <burek> how did you figure that out?
[16:27] <cryptopsy> first by looking at -acodec examples and then verify by having ffmpeg show which encoders are available
[16:27] <burek> how did you verify
[16:27] <cryptopsy> ffmpeg -codecs
[16:27] <cryptopsy> D A D mp3 MP3 (MPEG audio layer 3)
[16:28] <burek> I see
[16:28] <cryptopsy> there should be an 'E' there for encoder
[16:28] <burek> and where do you see letter E there
[16:28] <burek> ?
[16:28] <burek> right
[16:28] <burek> because it's a decoder
[16:28] <burek> that's what D stands for
[16:28] <burek> it's not an E(ncoder)
[16:28] <cryptopsy> how do you figure?
[16:28] <burek> it says above
[16:28] <burek> before the list
[16:28] <cryptopsy> there can be an E there, how do you figure not?
[16:29] <burek> read above the list
[16:29] <burek> there is a legend
[16:29] <cryptopsy> which part?
[16:29] <burek> what?
[16:29] <cryptopsy> where do you see D and E are mutually exclusive?
[16:29] <burek> what are you talking about man?
[16:29] <burek> read the top of the list
[16:29] <cryptopsy> see above
[16:29] <cryptopsy> there is a legend
[16:30] <burek> so, you understand now what does ".E.... = Encoding supported" mean?
[16:30] <cryptopsy> sure
[16:30] <burek> so, do you see 'E' beside 'mp3'
[16:30] <cryptopsy> no, because it isn't set up that way
[16:30] <burek> can we agree now that 'mp3' does not support encoding? (i.e. it's only a decoder)
[16:30] <cryptopsy> it's ambiguous
[16:31] <burek> that's why you (and everybody else) use libmp3lame with ffmpeg
[16:31] <burek> case closed.
[16:31] <cryptopsy> why are there examples using 'mp3' in the acodec field?
[16:31] <burek> give me one
[16:31] <cryptopsy> i just did
[16:31] <burek> does it work?
[16:31] <cryptopsy> no, because i don't have mp3 set up as an encoder
[16:31] <burek> give me the one that works
[16:31] <cryptopsy> but OP who wrote the example did
[16:31] <burek> what OP?
[16:31] <cryptopsy> works for him
[16:32] <cryptopsy> http://www.google.ca/url?sa=t&rct=j&q=fmpeg+3gp+to+mp3&source=web&cd=1&ved=0CF0QFjAA&url=http%3A%2F%2Fsuperuser.com%2Fquestions%2F230538%2Fhow-to-convert-3gp-audio-file-to-mp3&ei=ctHlT6qhMarc0QHG15n1CQ&usg=AFQjCNGXsAjwA6IR2LncCUNRRMU6au3MXQ
[16:32] <burek> google? :)
[16:32] <burek> can you please give a specific url
[16:33] <cryptopsy> no, i can't
[16:33] <cryptopsy> that will redirect you though
[16:33] <burek> well, ok.. it's your issue anyway
[16:33] <burek> not mine :)
[16:33] <cryptopsy> google is hiding the full URL
[16:33] <cryptopsy> actually i've lost interest
[16:34] <burek> that's good :)
[16:34] <burek> use your free time to read ffmpeg manual instead
[16:34] <cryptopsy> i'm glad you can find comfort in failure
[16:34] <burek> so you don't get misdirected by some random postings on the internet
[16:34] <burek> well, I've cleared that for you
[16:34] <cryptopsy> i don't have a problem with random postings
[16:34] <burek> it's just you are stubborn
[16:35] <cryptopsy> you're being a dick
[16:35] <burek> you are claiming something that's not true
[16:35] <burek> and trying to prove I'm wrong
[16:35] <burek> well, no matter what I am
[16:35] <burek> I did help you
[16:35] <cryptopsy> you're beating around the bush instead of providing a concrete example
[16:35] <burek> so you are welcome
[16:35] <cryptopsy> i'm sorry but you're wrong
[16:35] <burek> ok
[16:35] <cryptopsy> glad we managed to straighten that out
[16:35] <burek> well, my command lines all work :)
[16:36] <cryptopsy> then you're wasting your time
[16:36] <burek> which pretty much proves who is wrong and stubborn here :)
[16:36] <burek> obviously :)
[16:36] <burek> so I leave you now :)
[16:36] <cryptopsy> you, of course
[16:36] <cbreak> have you considered using lame?
[16:36] <burek> good bye :)
[16:36] <cbreak> it's an mp3 encoder
[16:36] <cryptopsy> might as well not have spoken
[16:36] <cryptopsy> cbreak: yes
[16:36] <zap0> "might as well not have spoken" married?
[16:36] <burek> :D
[16:37] <cryptopsy> zap0: am not married, is that bad?
[16:37] <cryptopsy> tom leykis would disagree
[16:38] <burek> the problem is that guy doesn't understand that 'mp3' codec in ffmpeg is just a decoder
[16:38] <burek> and all this time he is just trying to prove me I'm wrong for saying that :)
[16:39] <zap0> he who feeds trolls...
[16:40] <burek> was it pass midnight yet? :)
[16:40] <zap0> gets something something karma, kettle, stones, birds.. something..cliche something.
[16:41] <cryptopsy> the proof is in the ambiguous sentence fragment, excuse me but i like to double check things, even if you are correct
[16:41] <cryptopsy> are you married?
[16:41] <burek> no, I'm a dick :)
[16:41] <cbreak> burek: maybe he's stupid
[16:42] <cryptopsy> am not stupid
[16:42] <cbreak> excellent
[16:42] <cbreak> then consult ffmpeg -codecs
[16:42] <cbreak> and search for that you want to look at
[16:42] <cryptopsy> perhaps for me, but that still makes you wrong, which is more important than what you think i am
[16:42] <cbreak> a D in the first column means Decoding
[16:43] <cbreak> an E in the second means Encoding
[16:43] <cryptopsy> fantastic, did you come up with that all by yourself?
[16:43] <cryptopsy> Encoding and Decoding can be active or passive verbs you know
[16:43] <burek> :)))
[16:43] <cryptopsy> as in 'encoding support is built in', or 'encoding is the only function you see in this codec regardless of how you configured it'
[16:43] Action: burek takes pop-corn and beer :)
[16:43] <cbreak> seems you ARE stupid
[16:43] <cryptopsy> burek: waste of time, don't you have something better to do like beating your wife, or your dick?
[16:43] <cbreak> and you are not aware of it
[16:44] <cryptopsy> am not stupid, you are
[16:44] <cbreak> so I won't waste my time with you
[16:44] <cryptopsy> you just did
[16:44] <cbreak> should you ever realize that you are stupid: Told you so :D
[16:44] <cbreak> should you not: Told you so anyway.
[16:44] <cryptopsy> i like to live in the real world
[16:44] <cryptopsy> and the sky is blue, great
[16:45] <cryptopsy> whether you are wrong or right, you sure told me
[16:45] <cryptopsy> telling is more important to you than the information you transmit
[16:45] <burek> :))))))))
[16:45] <burek> it's good this is being logged :D
[16:45] <cryptopsy> if i'm stupid, what does that make you --- hyper-stupid ?
[16:45] <burek> will post it on bash.org :D
[16:46] <cryptopsy> i was in #bash twice today actually
[16:46] <burek> why am I not surprised for you being regular at bash.org :D
[16:46] <cryptopsy> perhaps because you're too apathetic to check
[16:46] <cryptopsy> you wouldn't be surprised if you were certain, whether i am or am not
[16:46] <cryptopsy> would it suprise you at all, not being able to follow a google link? beats me *shrugs*
[16:48] <burek> btw, I followed the link, and simply, the guy is wrong :)
[16:49] <burek> if you don't believe me, as a member of this community, but you believe more a website, not even related to ffmpeg, then fine
[16:49] <cryptopsy> perfectly fine, in a parallel universe
[16:49] <burek> also cbreak confirmed to you what I said, so.. I'm pretty sure you're the one who doesn't get something here
[16:49] <cbreak> burek: you've still not ignored him? He's stupid.
[16:49] <cryptopsy> you follow the link just now, in one case you're 80%dick 20%stupid, in the other case the numbers are exchanged - but in either case the situation is grim
[16:50] <cbreak> he'll just try to pull you down to his level
[16:50] <cryptopsy> talking behind me back, how classy
[16:50] <burek> cryptopsy, if you will feel better calling me (or anyone) names, feel free to do so..
[16:51] <burek> it won't make you smarter however
[16:52] <cryptopsy> on a scale from normal to extremely stupid (0 to 10) what would you rate me?
[16:52] <burek> does it matter?
[16:53] <cryptopsy> you're still here, is that significant?
[16:53] <burek> I'm just amused by your ego :)
[16:53] <burek> you understand slowly that you made fool of yourself
[16:53] <burek> calling other people names and stuff
[16:53] <burek> and finally not being right after all that
[16:53] <cryptopsy> this is not the case, though i haven't read the discussion in reverse
[16:54] <burek> anyway, no need to continue this any more really
[16:54] <burek> if you have any particular question about ffmpeg feel free to ask
[16:54] <burek> if not, well, have a nice day then
[16:54] <cryptopsy> your fat wife calling you?
[17:23] <raptor67682> can I get a stream to my harddisk from this http://87.117.201.159:8080/
[17:23] <raptor67682> by using ffmpeg ?
[17:26] <cbreak> mplayer could -dumpstream maybe.
[17:37] <sweb> how can i remove all metadata from current media /
[17:38] <sweb> ?
[17:51] <aquarat> is it possible to merge two videos into one file (left and right to half SBS) using ffmpeg ?
[17:54] <Sashmo1> is there a audio sync option that I can use while encoding? I gett some reference picture missing, and over time, causes sync to go out, is there a work around?
[17:59] <burek> raptor67682, did you try: ffmpeg -i http://87.117.201.159:8080/ -acodec copy out.mp3
[18:00] <burek> sweb, did you try playing with -metadata
[18:00] <burek> giving it a stream id which has no metadata at all
[18:00] <burek> so it would copy nothing
[18:01] <burek> or try -dn
[18:01] <burek> aquarat, can you rephrase your question?
[18:02] <burek> Sashmo1, -async, -vsync and -isync
[18:02] <burek> sweb, also -map_metadata
[18:23] <aquarat> thanks for answering burek, but I'll BBL
[18:23] <aquarat> :)
[18:24] <burek> :beer: :)
[18:40] <swick> hey,I've an input with rawvideo in realtime and most of the time everything works fine. But if the input drops a few frames the output video gets faster because it's fixed fps. Is there a way to have a variable framerate? (ffmpeg -f rawvideo -pix_fmt bgra -s hd1080 -r 10 -i ./fifo -y video.mkv)
[18:47] <burek> swick, what did you want ffmpeg to do with that line?
[18:49] <raptor67682> beer: beer is my friend
[18:50] <swick> burek,I'm using this as input https://github.com/livibetter/x11grabr
[18:50] <swick> burek, but with to hight fps the video gets faster
[18:50] <raptor67682> ffmpeg -i http://87.117.201.159:8080/ -acodec copy out.mp3 that s very cool . Thank you so much. pitty that no one knows that on google because it replaces mencoder and streamrippeer even better
[18:50] <burek> ok, just tell me what did you expect ffmpeg to do with that line, swick ?
[18:51] <burek> raptor67682, :beer: :)
[18:52] <swick> burek, convert the rawvideo to a real video. not sure what you mean
[18:53] <burek> swick, I'm asking because you didn't specify any encoding options
[18:53] <raptor67682> I am wondering if it works with a .pls fine since it is more complicated
[18:53] <burek> so I assumed maybe you expected to just put uncompressed video in mkv
[18:53] <raptor67682> http://www.sky.fm/mp3/beatles.pls
[18:54] <raptor67682> http://www.healthradio.net/player/healthradio/playlist.pls (wokring)
[18:54] <swick> burek, atm I don't care how it saved in the container. I just want it to be there so I can watch it.
[18:55] <burek> raptor67682, ffmpeg doesn't support reading playlists (yet)
[18:56] <burek> swick, well ok..
[18:57] <burek> if you just want to watch it, you could use ffplay
[18:58] <swick> I also want to be able to watch it later
[18:58] <burek> well try another format
[18:58] <burek> like -vcodec libx264 out.mp4
[18:58] <burek> see if that shows the same issue
[19:04] <swick> burek, same issue. the video is to fast with high fps (30). with 10 it works fine
[19:16] <burek> well, that's expected I guess.. if you loose some frames, you loose their timestamps too
[19:16] <burek> so when new timestamps arrive, video has to fforward to get to that point in time, I guess..
[19:16] <burek> try to make your input not drop the frames
[19:18] <swick> rawvideo does not contain timestamps (I think so at least)
[19:22] <swick> I don't get why ffmpeg can't just add a timestamp based on the time it's running
[19:22] <swick> maybe it can but i don't know how
[20:35] <raptor67782> I found a program called powerwget.sh ... that does all about downloads. linux is really cool, does mms, streamn, download from link,...
[20:48] <Bolle> I tried avoiding asking help here... I get an error when trying to transcode from a dvb-s stream. It streams it, successfully, for about 30 seconds-2 minutes and then stops. There are 3 errors.
[20:49] <Bolle> The first error is [mpeg2video @ 0x2c80900] mpeg_decode_postinit() failure which gets repeated x amount of times, then it starts streaming, when it crashes the errors say: PES packet size mismatch [mpeg2video @ 0x2c80900] ac-tex damaged at 21 26 [mpeg2video @ 0x2c80900] Warning MVs not available [mpeg2video @ 0x2c80900] concealing 450 DC, 450 AC, 450 MV errors [mp2 @ 0x2c86c80] incomplete frame
[20:50] <gavlig> hello. can anybody explain me what are the options in avformat_write_header for and how do i fill them properly?
[20:50] <Bolle> If you want the entire output, I could just as well post it in a pastebin
[21:17] <Bolle> Is there anyone that could help?
[21:43] <nobdraisentone> How can I create video for youtube having jpg image and mp3 audio file?
[21:48] <jesk> seems that I'am too dumb for simply setting Title-Tag for eacht audio track in mp4 output
[21:49] <jesk> anyone an idea?
[22:06] <swick> nobdraisentone, ffmpeg -i music.mp3 -i image.jpg -acodec copy -vcodec mjpeg video.mkv
[22:09] <krogg> so I've got a video, an avi with h264 format content. It has no audio. Trying to add an mp3 file to it as audio.
[22:09] <krogg> ffmpeg -i ds_1pass_h462_recoded_silent.avi -c:v:0,0 copy -i ~/tune_filler/try.mp3 -c:a:0,0 copy out.avi
[22:10] <krogg> above should, as far as I understand, use copy mode on both audio and video to make a new file
[22:10] <krogg> instead, ffmpeg stubbornly insists on recoding the video as mpeg4
[22:10] Action: krogg is at wits end
[22:17] <swick> krogg, this works for me: ffmpeg -i video.mkv -vcodec copy -i music.mp3 -acodec copy out.avi
[22:20] <swick> jesk, show your command
[22:22] <krogg> "Unknown decoder 'copy'"
[22:24] <swick> krogg, wierd. try ffmpeg -i video.mkv -i music.mp3 -acodec copy -vcodec copy out.avi
[22:26] <Bolle> Could someone please help me? I've been trying to find an actual solution.
[22:27] <krogg> swick, wow: that worked. thanks.
[22:27] Action: krogg saves that as a script for future use :p
[22:28] <swick> krogg, you're welcome
[22:28] <aquarat> burek, are you still here ?
[22:29] <swick> Bolle, http://ffmpeg.org/trac/ffmpeg/ticket/1157 ?
[22:30] <aquarat> does anyone know how to take two video files and squash them side-by-side into a new file ?
[22:30] <aquarat> specifically referring to two full HD streams and squashing them horizontally, without preserving aspect ratio into a full HD file
[22:31] <aquarat> so scale file 1 to 960x1080 and place on right of new full hd file and scale file 2 to the same res and place on the left
[22:31] <aquarat> :)
[22:32] <krogg> swick, thanks again
[22:32] Action: krogg must be going
[22:33] <swick> aquarat, I found this http://ffmpeg.org/pipermail/ffmpeg-user/2012-February/004985.html
[22:34] <gavlig> bumping my last question: could anybody please explain me what are the options in avformat_write_header for and how do i fill them properly? or where can i get the list of available options?
[22:34] Action: aquarat clicks
[22:36] <aquarat> er swick, that looks like it
[22:36] <aquarat> thanks :)
[22:36] <aquarat> I'll give it a try quickly
[22:37] <swick> gavlig, http://ffmpeg.org/doxygen/trunk/group__lavf__encoding.html#g78d4e734fecb1d2385536e6dd5b7b9f5
[22:37] <burek> nobdraisentone, http://ffmpeg.gusari.org/viewtopic.php?f=25&t=39
[22:37] <burek> jesk, did you try -metadata
[22:39] <burek> krogg should have used -c copy
[22:39] <burek> that would apply copy to all input streams
[22:39] <burek> aquarat, yes I am :)
[22:42] <Bolle> Swick, it looks just like my error, though mine is for one stream that starts n stops after a small time, though this pc has a weaker CPU. I could try it on a stronger CPU and see if there is any difference in how long it lasts. Though I still think it won't solve the problem.
[22:42] <aquarat> hey burek, I was going to finish off my question from earlier, but I think swick has given me good answer
[22:42] <aquarat> just trying to adapt it now for multiple files
[22:43] <burek> ok :)
[22:43] <burek> Bolle, can you please use pastebin.com, to show your command line and its output?
[22:43] <Bolle> Sure.
[22:45] <Bolle> http://pastebin.com/P2PEEtaH
[22:49] <burek> Circular buffer overrun. To avoid, increase fifo_size URL option. To survive in such case, use overrun_nonfatal option
[22:50] <burek> and yes "ac-tex damaged" :/ is your network connectivity an issue Bolle ?
[22:51] <Bolle> Already tried.
[22:51] <burek> i.e. did you let the ping running while you are receiving the stream
[22:51] <burek> to see if the link is ok all the time?
[22:51] <nobdraisentone> swick: great, thanks
[22:52] <Bolle> I'm streaming it locally, so yes I do know it's not an issue.
[22:52] <burek> either it's a damaged input or it is a bug in ffmpeg
[22:53] <burek> you can submit a bug report to ffmpeg trac if you want
[22:53] <Bolle> Watching it doesn't give me an issue and it's fluid.
[22:53] <burek> and be prepared to provide a sample of your input too, so that developers can reproduce that issue
[22:53] <Bolle> It seems a lot of people have done that already. Not sure it will get me anywhere-
[22:55] <Bolle> I'm using DVBlast, streaming raw udp, though while i stream it as regular rtp instead it errors through out the lapse of the transcoding.
[22:56] <Bolle> And I probably don't make any sense again? Could I possibly demux/decode with another software, to re-encode with ffmpeg?
[23:11] <Bolle730> With ffplay I get the same error ac-tex. It plays fine though, with a skip once and again.
[23:11] <aquarat> burek, does this make sense : ffmpeg -i `basename $i .MTS`-r.avi -filter:v "[in]setpts=PTS-STARTPTS,pad=iw*2:ih:iw:0,[left]overlay=0:0[deint];movie=`basename $i .MTS`-l.avi,setpts=PTS-STARTPTS[left],[deint]yadif=0[scale],[scale]scale=iw/2:ih[out]" -f mp4 -c:v libx264 -b:v 25m -c:a copy `basename $i .MTS`.mp4;
[23:12] <Bolle730> Initially I thought it was a matter of the decoder?
[23:20] <nobdraisentone> > Incompatible pixel format 'yuvj444p' for codec 'mjpeg', auto-selecting format 'yuvj420p'
[23:21] <nobdraisentone> What WxH should image have to be able for mjpeg
[23:21] <nobdraisentone> ?
[23:26] <nobdraisentone> 320x240?
[23:28] <Mavrik> you're not making any sense.
[23:31] <Bolle730> swick(I believe that was your name), a stronger cpu solved the issue of how long it lasts, I'm running two streams at the moment, one rtp and one raw udp, the rtp errors, the raw udp doesnt. But they are both running, so far 15 minutes each.
[23:33] <swick> Bolle730, I'm sorry but it's to complicated for me. I'm just a normal user...
[23:34] <Bolle730> Yes, but it still helped me in knowing why it quit. The cpu couldn't handle it.
[23:35] <Bolle730> I already think I know how to fix the problem, think only though. But in regards to the errors message I had, about fifo_size and the other, I don't remember what it was(on another pc) I'm supposed to set them at the end of the output, right? Like udp://@:10000?fifo_size&(the other option)
[23:46] <aquarat> yadif
[23:47] <aquarat> yadif=0 means temporal and spatial interlacing check ?
[23:47] <aquarat> yadif=0:0 means above and lower field first ?
[23:48] <aquarat> yadif=0:0:2 means above plus optimisations for SSE2 ?
[00:00] --- Sun Jun 24 2012
More information about the Ffmpeg-devel-irc
mailing list