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

burek burek021 at gmail.com
Wed Mar 21 02:05:01 CET 2012


[00:00] <MrJOnes> probably aren't, but it is pretty much impossible to find detailed info about this on the web
[00:00] <MrJOnes> yea probably should..
[00:00] <MrJOnes> or not ship FFmpeg myself :)
[00:00] <JEEBsv> also remember that at least MPEG-LA doesn't count source code :D
[00:01] <JEEBsv> only binaries
[00:01] <JEEBsv> (this was actually set public in a certain doom9 thread where donald graft asked about it from MPEG-LA)
[00:01] <JEEBsv> (and published the reply e-mail)
[01:24] <cvpcs> so i was wondering, i noticed URLProtocol is deprecated since it was made private, so is there a replacement for defining custom protocol IO? (i.e. open [protoname]://[location] and it passes to your handler)?
[02:56] <MrJones_> is there a malloc() that gives me allocated pointers?
[02:56] <MrJones_> um sorry, meant *aligned pointers
[02:56] <MrJones_> or is that only possible with static memory areas known at compile time?
[02:57] <MrJones_> or is malloc always aligned in some way?
[02:57] <MrJones_> just wondering since FFmpeg requires aligned memory buffers at some places
[02:58] <PurplePeter> MrJones_: man memalign
[02:59] <MrJones_> oh
[02:59] <MrJones_> is that function available on windows?
[03:00] <MrJones_> or something comparable?
[03:00] <drv> av_malloc
[03:00] <MrJones_> av_malloc is aligned? nice
[03:00] <MrJones_> ok I'll switch my buffers to av_malloc then
[03:58] <MrJones_> avcodec_decode_audio3() gives me an "Operation not permitted" error (I used av_strerror on its return value)
[03:59] <MrJones_> since I passed it an AVPacket with the data (so data reading was done by me) and since that error is only known to me in the context of file access, what does that mean? :|
[04:00] <MrJones_> does it still read/seek in some way through the format context?
[09:06] <luc4> Hi! Anyone who knows what happens when a web radio is paused with ffplay.
[12:42] <Guest9606> any hot guys here
[12:43] <Guest9606> wanna talk dirty boys?
[12:44] <Guest9606> reply pls
[13:13] <microchip_> lol
[13:16] <hi117> im fat, and i cant see my dick because of my folds
[13:16] <hi117> wanna chat?
[13:17] <microchip_> sure :p
[13:22] <Tjoppen> I put on my robe and wizard hat
[13:23] <level09> how do I get an output video to have the same video codec/audio/rate of the original one ?
[13:23] <Tjoppen> -vcodec copy
[13:24] <Tjoppen> and -acodec copy
[13:27] <shreya> Hey all,I get this error :Output #0, mpeg, to '/home/shreya/Desktop/test.mpeg':
[13:27] <shreya>     Stream #0.0: Invalid Codec type -1
[13:27] <shreya> How to resolve it?
[13:27] <shreya> Please help :)
[13:27] <JEEBsv> I'm sorry, I don't think we have espers available here
[13:28] <JEEBsv> you might want to pastebin your whole command line as well as its output
[13:39] <level09> Tjoppen: thanks very much
[13:39] <level09> will try that
[13:51] <level09> Tjoppen: what if I want to copy all other video configuration , like rate , bitrate etc .. ? can I use the same syntax ?
[13:51] <level09> -a copy -ab copy -r copy ?
[13:51] <Tjoppen> if they can be copied they are
[13:51] <Tjoppen> or should be at least
[13:51] <level09> can they not be copied ?
[13:52] <level09> :)
[13:52] <Tjoppen> those are encoder settings. you're remuxing, not transcoding
[13:53] <level09> Tjoppen: I'm only mixing down an overlay image (like watermark) , but want to keep the original format etc ..
[13:54] <Tjoppen> then you need to encode. -vcodec libx264 -crf 24  or something like that, use the google
[13:54] <Tjoppen> since you're doing the watermark using a filter
[14:16] <luc4> Hi! Anyone who knows what happens when a web radio is paused with ffplay?
[14:42] <KING_LEE> hello! i am looking for an ffmpeg command to change MTS to MOV or AVI in order to get it into cinelerra. i found this one:  ffmpeg -i original.mts -b 185M -s 1920x1080 -vcodec dnxhd -acodec pcm_s16le intermediate.mov  on the cinelerra for grandma page but the output file is huge, more than 10 times the size of the original.  i also tried ffmpeg -i inputfile.MTS -deinterlace -sameq outputfile.avi which gives a smaler file (2,5 mb instead of 10,9) but wont p
[14:44] <KING_LEE> sorry, the last command gives a mov of 2,5 mb and an avi that wont play in cinelerra (9 mb)which
[14:54] <Mavrik> using "-sameq" will destroy your video
[14:54] <Mavrik> it doesn't do that you think it does
[14:55] <Mavrik> also, please provide the ffprobe input for your input files
[14:55] <Mavrik> so we know what kind of input are you talking about
[14:58] <KING_LEE> ok, whats ffprobe?
[14:58] <KING_LEE> i am a bit new to ffmpeg
[15:02] <KING_LEE> Input #0, mpegts, from 'lee_dis_soul_an_der_bank_aus_der_mini.MTS':
[15:02] <KING_LEE>   Duration: 00:00:03.84, start: 0.482967, bitrate: 23720 kb/s
[15:02] <KING_LEE>   Program 1
[15:02] <KING_LEE>     Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 50 tbc
[15:02] <KING_LEE>     Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, s16, 256 kb/s
[15:07] <iive> KING_LEE: i may be very wrong, but I've got the impression that cinelerra needs the video to be in intra only format. Aka only have keyframes, It needs this to be able to access frames randomly.
[15:08] <iive> This would mean that the converted video would always be bigger, compared to formats that use intra frames (differential P/B)
[15:08] <iive> as your video is already 1920x1080, you don't need the -s
[15:09] <KING_LEE> ok?
[15:09] <Mavrik> yeah, it seems that Cinelerra doesn't really support compressed input formats
[15:09] <Mavrik> so 10x the size of your H.264 input isn't special
[15:11] <KING_LEE> do you mean its best to just stick with the huge file?
[15:11] <iive> yes
[15:12] <KING_LEE> ok
[15:12] <KING_LEE> i was just wodering because it wont play in a media player
[15:13] <KING_LEE> then i found out that its so huge
[15:13] <KING_LEE> i am not very familliar with the different formats an what size is normal to a certain format
[15:14] <iive> h264 at the moment is the format that provides best compression. at least with good encoder like x264
[15:16] <KING_LEE> and that would give me a smaller file withe equal quality?
[15:16] <iive> KING_LEE: the mts is already using h264, see what you pasted :)
[15:17] <KING_LEE> aww, sorry
[15:17] <iive> if it comes from a bluray, you may be able to squeeze the file, as they usually don't try to get the best size/quality ratio. They compress it so the movie would take the whole disk.
[15:18] <KING_LEE> no its a MTS file from a canon xa10
[15:19] <iive> aha, camera.
[15:19] <iive> they usually don't have enough power for optimal compression.
[15:19] <KING_LEE> i became a student and i can get my hands on it now so i wanted to try out a few things with filming and editing
[15:19] <iive> but squeezing it comes as the last step.
[15:20] <KING_LEE> but i got stuck with the format
[15:20] <iive> so don't bother with that now.
[15:20] <KING_LEE> the size is the next ting, i might run out of dik space soon
[15:20] <KING_LEE> disk
[15:20] <iive> are disks still expensive?
[15:21] <KING_LEE> a have already filmed a few things and wanted to batch process all of it in a script
[15:22] <iive> i've never used cinelerra, so I have no idea what formats it accepts.
[15:23] <KING_LEE> hehe, true... but if i want to do a film for the campus tv then that would be a cridillion gb of footage
[15:25] <KING_LEE> well, i have worked a bit with it and dont know any other good video editors in linux
[15:26] <iive> i've never used cinelerra, so I have no idea what formats it accepts.
[15:27] <KING_LEE> i could use the windows machines here but i kinda like cinelerra now that i nknow my way around a bit
[15:27] <KING_LEE> so  ffmpeg -i original.mts -b 185M -vcodec dnxhd -acodec pcm_s16le -deinterlace intermediate.mov  would be my command for the script?
[15:27] <KING_LEE> or should i change anything else?
[15:30] <iive> not sure what -deinterlace does, if you use recent ffmpeg, -vf yadif may be better. Not sure for the exact syntax either.
[15:31] <iive> i just know that ffmpeg now supports video filters and that yadif is ported to it.
[15:34] <KING_LEE> i just added the deinterlace because i wanted to skip adding a deinterlace effect in cinelerra
[15:35] <JEEB> yes, you will then want -vf yadif
[15:35] <JEEB> -deinterlace is something awful
[15:37] <KING_LEE> ffmpeg -i original.mts -b 185M -vcodec dnxhd -acodec pcm_s16le -vf yadif intermediate.mov  ?
[15:38] <iive> mov or mxf , whatever works for you :)
[15:39] <iive> btw, i've read that there is cinelerra-CV (community version), it may support more formats as input.
[15:41] <KING_LEE> not sure about the mts
[15:41] <KING_LEE> what doeas yadif mean?
[15:44] <bove> what kind of artifact causes a white background to become dark gray in the middle of a x264?
[15:46] <sacarasc> KING_LEE: YADIF = Yet Another De Interlacing Filter.
[15:46] <iive> Yet Another DeInterlace Filter -> yadif
[15:46] <KING_LEE> thank you
[15:47] <iive> it is a middle class, higher classes usually use motion estimation too.
[15:47] <KING_LEE> alright, thanks a lot
[15:47] <KING_LEE> i am sorry to interrupt this conversation now, i have to get my son from the kindergarden. can i get back to you later?
[15:48] <iive> :)
[15:49] <KING_LEE> thanks  :)
[17:00] <blez> how to get the best audio quality from flv to mp3?
[17:01] <rav0> hope that the flv has mp3 audio already and copy the stream
[17:06] <blez> my output is somehow unclean compared to the original
[17:08] <blez> the audio is aac
[17:13] <Jordan_> how do i convert to h.264
[17:20] Last message repeated 1 time(s).
[21:13] <Kasper^> trying to get the r,g,b from AVFrame http://pastebin.com/3Ux6X7Wk
[21:14] <Kasper^> pixel is in RGB24 format
[21:14] <Kasper^> am I doing it right ?
[21:16] <j-b-r> Where is the correct place to be to ask questions about using mkvmerge/mkvtoolsnix?
[21:24] <hellop> Hello.  Is there a way to apt-get the baseline preset on Debian?
[21:26] <hellop> Or is there any tutorial for installing the baseline and default presets on Debian?  I've installed from Git, and don't seem to have any of the presets mentioned on 95% of the internet.
[21:31] <hellop> IOW, how can I encode in h.264/aac baseline profile?
[21:32] <beandog> j-b-r: whats your question
[21:32] <j-b-r> Welp, I just asked it in #matroska
[21:33] <j-b-r> I'm asking if there is any limit to how much I can delay a track using mkvmerge
[21:34] <beandog> oh
[21:34] <beandog> dunno, sorry
[21:35] <j-b-r> Actually I might've just figured out why it appeared that what I was doing was not working. There seems to have been a PEBCAK
[21:35] <beandog> never admit that publicly.
[21:35] <beandog> :)
[21:35] <beandog> Just say "there was a bug."
[21:36] <j-b-r> Other than that, it's not possible to do lossless frame accurate splitting of an mkv, right?
[21:37] <beandog> dunno -_-
[21:43] <cbreak> it's not possible.
[21:44] <cbreak> mkv doesn't even define what video codec you have to use.
[21:44] <cbreak> and even if it would, most people would likely pick something sane like h264, which can not be frame-accurately split without reencoding.
[23:59] <crispycritter> I'm getting an assertion failure (the one at the very top of ff_MPV_frame_start), but after a bit of a hack-and-slash job on the source.  I'm wondering if anyone can point me in a useful direction to look for a likely place where I broke something.
[23:59] <crispycritter> the hack-and-slash job started with a git tree as of 572c0ddc89709035cb733da870aa50373ffbd7e1
[00:00] --- Wed Mar 21 2012


More information about the Ffmpeg-devel-irc mailing list