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

burek burek021 at gmail.com
Thu Jul 4 02:05:01 CEST 2013


[01:53] <BrianNano> quick question, does ffmpeg get its fonts for subtitles from fontconfig?
[02:03] <relaxed> BrianNano: I believe so.
[02:28] <BrianNano> thanks
[02:28] <BrianNano> I'm extracting fonts from mkvs and dumping them in ~/.fonts that I'm hoping ffmpeg is using when I hard core my subs.
[02:40] <SUNgh0st> hey ffmpeg is giving me some trouble :(
[02:42] <klaxa> ok
[02:42] <SUNgh0st> when i do a ffmpeg screencast and this script usually works on all the other systems i used it will like freebsd and pretty much all linux distros... but when i do it on OpenIndiana Solaris system it works good the first time , lets say i want to do another screencast it will load up ffmpeg and  freeze my entire pc and i tried this alot of times and it works the first time and if i want to do another one it freezes my entire system .. what can be wro
[02:44] <SUNgh0st> is there a way to stop the screencasting instead of using ctrl c in the terminal or thats how you stop it ?
[02:44] <klaxa> you use "q" generally
[02:44] <SUNgh0st> just q
[02:45] <klaxa> but i think SIGINT and SIGTERM will most likely have the same outcome
[02:45] <klaxa> (ctrl+c and pkill ffmpeg)
[02:45] <SUNgh0st> yeah i tried that too
[02:46] <SUNgh0st> because i thought the second time i say well do a test screencast ok first time works ok.. pkill ffmpeg well ctrl c than i said hmm maybe pkill ffmpeg and i load up the script again to do a 2 screencast test and it loads up and Freeze the system
[02:46] <SUNgh0st> i have no idea what is causing this issue as this is the first time i experience this
[02:46] <klaxa> have you checked your system logs?
[02:47] <SUNgh0st> no
[02:48] <SUNgh0st> hmm what log should look at in /var/log
[02:50] <SUNgh0st> keep in mind this is a OpenIndiana system which is Solaris
[02:54] <SUNgh0st> no idea how to check a system log on this system
[02:54] <SUNgh0st> the version of the solaris build of ffmpeg is 1.0
[02:54] <SUNgh0st> my friend uses thesame system and doesn't get freeze up like me
[02:55] <SUNgh0st> well i will give the "q" a go see if that does anything
[02:55] <SUNgh0st> thanks
[02:55] <llogan> he leaves just when i was about to reply
[03:36] <SUNgh0st> install: The -c, -f, -n options each require a directory following!
[03:36] <SUNgh0st> make: *** [install-progs] Error 2
[03:36] <SUNgh0st> why doesn't ffmpeg compiles proper anymore
[04:11] <jonathan_> can ffmpeg take my 4:3 video and convert it to 16:9 WITHOUT CROPPING IT? I'd like to add black bars to the left & right sides of the video but can't get it to work properly
[04:18] <relaxed> jonathan_: yes. pastie.org what you're doing.
[04:25] <jonathan_> http://pastie.org/private/f7lhxmwthmbexqer81qxtw
[04:25] <jonathan_> obviously I'm using the pad filter incorrectly but I'm really confused about how it's supposed to work (and if it's even the right option)
[04:28] <relaxed> man ffmpeg-filters | less +/^'   pad'
[04:28] <relaxed> read up ^^
[04:28] <jonathan_> I don't have man pages for ffmpeg
[04:28] <jonathan_> :(
[04:29] <jonathan_> can you pastie that for me?
[04:29] <relaxed> http://ffmpeg.org/ffmpeg-filters.html#pad
[04:29] <jonathan_> thanks, I'll try again
[04:32] <llogan> jonathan_: pad="ih*(16/9):ih:(ow-iw)/2:(oh-ih)/2"
[04:33] <llogan> pillarboxing
[04:34] <jonathan_> llogan: thanks, but that didn't work (although I'll point out my input is not exactly 16:9, I doubt that should cause an error)
[04:35] <jonathan_> llogan: ok, even with the right aspect ratio, it still doesn't work
[04:36] <llogan> "doesn't work" is, unfortunately, a very common error here.
[04:36] <jonathan_> sorry - it says "Unable to parse option value "0x0" as image size"
[04:37] <llogan> my input was 640x480 4:3
[04:40] <jonathan_> mine is too. http://pastie.org/private/z9q3a2geb24nof9qxui7uw
[04:41] <relaxed> why doesn't it list the SAR/PAR ?
[04:41] <jonathan_> sorry, I don't know what that means :/
[04:42] <relaxed> That was directed at llogan.
[04:43] <llogan> jonathan_: you modified my example
[04:43] <llogan> although now i think it won't give you what you want
[04:43] <jonathan_> yes, my desired aspect ratio is different, but the same error appears with your example too - I'll paste that for you in just a sec
[04:45] <llogan> relaxed: i'm not sure.
[04:45] <jonathan_> even with your example, it still gets an error: http://pastie.org/private/ayw5awvc0e67wtnccio6iq
[04:45] <jonathan_> wait that was the wrong one
[04:46] <llogan> try a more recent build. http://www.evermeet.cx/ffmpeg/snapshots/
[04:46] <jonathan_> here: http://pastie.org/private/9vunspfyfyurmsbtzilqva
[04:47] <mark4o> change -filter to -filter:v
[04:47] <llogan> that should probably do it
[04:49] <llogan> also add: -codec:a copy -codec:s copy
[04:49] <jonathan_> it worked without the codec options
[04:50] <jonathan_> thanks for all your help, guys!
[04:50] <llogan> those are just extra. "-codec:a copy" is so you don't re-encode audio
[04:50] <jonathan_> ah, cool, thanks :)
[07:53] <SUNgh0st> can someone help me to explain why ffmpeg would freeze up my computer ? i use openindiana (opensolaris) system and it will work once though , but if i want to do another screencast again it will start loading the ffmpeg and boom my system just freezes well the mouse works but other than that everything else doesnt and i can't even go to my other tty consoles to just pkill x .. i tried the dev source which i was thinking maybe it was the openindiana v
[07:53] <SUNgh0st> save **
[07:54] <SUNgh0st> blah same
[07:55] <SUNgh0st> im using nvidia graphics and the graphic drivers is Solaris nVidia offical drivers
[07:57] <SUNgh0st> hmm i could be my driver
[07:57] <SUNgh0st> yeah hmm i think i may just figured it out its using 295.75 drivers
[07:58] <SUNgh0st> i found a 319
[07:58] <SUNgh0st> will install that one see if that helps any
[07:58] <SUNgh0st> Fixed a bug that could cause X to crash when using Vertex Buffer Objects (VBOs) with indirect rendering.
[07:58] <SUNgh0st> hmm
[14:38] <superware> can someone please build shared libraries with a specific (mpegts) patchset so I can test it against a udp stream? I gave up trying to build it myself...
[15:18] <skurmedel> Yoooo.
[15:18] <skurmedel> Any ffmpeg compilation pro's in here?
[15:18] <skurmedel> :)
[15:32] <superware> skurmedel: I need to test a patchset, so tell me if you find one :)
[15:45] <skurmedel> superware hehe
[15:45] <skurmedel> I can't even compile ffmpeg :(
[15:45] <kode54> I did it real lazy like
[15:46] <kode54> brew install ffmpeg
[15:46] <skurmedel> I'm certain my pkg-config paths are set up correctly, but ffmpegs configure doesn't seem to use em
[15:46] <skurmedel> I wish I could, but I'm on CentOS 6.4 and that ffmpeg is older than time itself. We need a newer version for our pipeline.
[17:06] <jeje2> Hi to All. I use FFMPEG 1.2 in my software to decompress H264 video packet from IP camera. I have on some error in the log like "Frame Gap" or "Num ref frame".
[17:07] <jeje2> I see there is a new version of FFMPEG, with avcodec55.dll, ... which fix somes bugs on h264
[17:08] <jeje2> But my code work perfect with FFMPEG1.2 and doesn"t work with the last dll files of FFMPEG ,I get them on Latest Zeranoe FFmpeg Build Version: git-e0be3cb (2013-07-03)
[17:09] <jeje2> it seems with the last avcodec file, the function  avcodec_decode_video2 return me 0...
[17:09] <jeje2> and in the log I have "no frame"
[17:10] <jeje2> I can pastebin my code if someone can have a look
[17:19] <braincracker> somebody know how is audio multiplexed with sound in new flv?
[17:19] <braincracker> chromecache has audio and video in different files
[17:19] <jeje2> http://pastebin.com/34U9SRLN
[17:20] <jeje2> I'm lloking the difference in the FFMPEG source but I can't find the difference making it not work with the last FFMPEG and work with FFMPEG 1.2
[18:24] <DylanCl> Hello. I'm using FFMPEG to stream me playing the game 'Minecraf' to www.twitch.tv but my screen keeps "rolling back".
[18:24] <DylanCl> I'm really not sure if it's the script or just me, but I want to get it fixed :/
[19:45] <superware> can someone build win32 ffmpeg? I need to test a small patchset
[20:11] <Lunixed> Hey Guys , I am trying to convert a mov file to mp4 file with h264 video and aacv2 audio encoding.
[20:11] <Lunixed> ffmpeg.exe" -i INPUT.MOV OUTPUT.mp4
[20:12] <Lunixed> works but decreases quality ,also audio not converted , what should be my parameters , also is there any command I can see the type of audio encoding present in the .mov file ?
[20:15] <Mavrik> ffprobe for output of what the file is
[20:15] <LithosLaptop> is the audio already in he-aac?
[20:16] <Mavrik> Lunixed, something like ffmpeg -i INPUT.MOV -codec copy OUTPUT.MP4
[20:16] <Mavrik> if you don't have to transcode audio
[20:16] <Mavrik> ffmpeg -i INPUT.MOV -codec:v copy -codec:a libfdk_aac -b:a 128k OUTPUT.MP4
[20:16] <Mavrik> if you have to transcode audio
[20:18] <Mavrik> oh, add -profile:a he-aacv2 for aacv2
[20:22] <Lunixed> Oh Thanks
[20:23] <Lunixed> for lossess I founfsomething online , currently I am doing -vcodec copy and no -acodec option while converting from mov to mp4
[20:25] <mark4o> with no audio codec specified it depends on what encoders you have compiled in
[20:25] <mark4o> check https://ffmpeg.org/trac/ffmpeg/wiki/AACEncodingGuide for info on the aac encoders that can be used with ffmpeg
[20:26] <Mavrik> Lunixed, don't leave out configuration parameters.
[20:27] <Mavrik> it'll destroy your quality.
[20:30] <LithosLaptop> Lunixed: what audio codec is the source mov file using and what aac audio encoders does your ffmpeg build include?
[20:37] <Lunixed> Maverick|MSG: what exactly are configuration params ? Thanks for the fast response btw :)
[20:37] <Maverick|MSG> Mavrik ^^
[20:38] <Lunixed> >.<
[20:38] <Lunixed> sorry Mavrik
[20:39] <Mavrik> Lunixed, um, the ones I've written few lines up?
[20:39] <Lunixed> Oh sorry I missed that , what does this do ? -b:a 128k bitrate ?
[20:40] <Mavrik> yep
[20:40] <Mavrik> if you don't pass it ffmpeg will choose something for you
[20:40] <Mavrik> probably something that'll sound terrible
[20:40] <Mavrik> same for video parameters ;)
[20:41] <mark4o> 128k is extremely high for AAC-HEv2
[20:41] <Mavrik> yp.
[20:41] <Mavrik> (hence no he-aacv2 parameter in that command line)
[20:43] <LithosLaptop> AAC-HEv2 only usefull up to about 80Kbps
[20:44] <Mavrik> 64k is the highest I usually go
[21:02] <superware> can someone here build win32 ffmpeg? I need to test a small patchset
[21:09] <joltman> I need to trim x amount of minutes and seconds off an H264 file.  Some from the front, some from the back.  I'm sure there are ways to do this in ffmpeg, but I'm not sure what switches I should be looking at.  Anyone have some advice?
[21:09] <Mavrik> hmm, -t and -ss
[21:10] <joltman> -t is just how long to run
[21:10] <joltman> isn't it?
[21:10] <joltman> ohhh
[21:10] <Mavrik> yep, and -ss is start
[21:10] <joltman> i see what you're saying
[21:11] <Mavrik> sadly, I think you can't say "5 seconds off end"
[21:11] <joltman> so i know i want to start at hh:mm:ss
[21:11] <Mavrik> so you'll have to say "1:43:50" if you video is "1:43:55" long.
[21:11] <joltman> and i know i want to run for x amount of seconds after that point
[21:11] <joltman> -codec copy command
[21:13] <joltman> so...something like...
[21:13] <joltman> ffmpeg -ss 01:00:00.0 -t 05:00:00.0 -i input.mkv -codec copy outfile.mkv
[21:14] <joltman> seek to 1 hour into the video, then time for 5 hours and copy to outfile.mkv
[21:14] <Mavrik> yep
[21:14] <joltman> sweet
[21:14] <joltman> thnx!
[21:14] <Mavrik> joltman, small detail: there's a difference if you have -ss before or after -i
[21:14] <Mavrik> keep it before -i and move it after if you have problems
[21:15] <joltman> i read somewhere that having it before -i meant it would seek to that point.  after -i means it would wait -ss time and then begin the ffmpeg process
[21:16] <Mavrik> um, it's different actually
[21:16] <Mavrik> it doesn't matter if you use "-codec copy"
[21:16] <Mavrik> but if you're transcoding, -ss after -i will cause ffmpeg to decode whole video up to the ss point and then start encoding
[21:17] <joltman> ok, i'm just doing a codec=copy
[21:28] <joltman> Mavrik: Thanks!!! it worked!
[21:28] <Mavrik> np ^^
[22:29] <superware> Mavrik: can you build ffmpeg?
[22:32] <superware> can someone here build win32 ffmpeg? please, I need to test a small patchset
[22:40] <llogan> superware: you may want to try Zeranoe's blog: http://ffmpeg.zeranoe.com/blog/?p=187
[22:41] <llogan> or the related forum: http://ffmpeg.zeranoe.com/forum/viewforum.php?f=5
[22:43] <llogan> or ask for assistance (or offer to pay someone) on ffmpeg-user mailing list
[23:04] <ThiefMaster> hey, when using -target pal-dvd to convert e.g. a mkv to mpeg for a dvd.. is there a way to reduce the quality? it's just a little big too big to burn it onto a normal dvd5
[23:06] <superware> llogan: too complex for me
[23:06] <Mavrik> ThiefMaster, try setting bitrate
[23:07] <Mavrik> -b:v
[23:08] <llogan> superware: then offer to pay someone
[23:08] <superware> I'm in Windows
[23:09] <superware> no budget
[23:09] <llogan> oh, i see. you spent it all on Windows.
[23:10] <llogan> i guess you'll just have to wait for the patches to be committed.
[23:10] <durandal_1707> llogan: LOL
[23:10] <superware> :) I can stream the mpegts via the Internet, if you want to help me verify http://ffmpeg.org/pipermail/ffmpeg-devel/2013-June/145286.html
[23:11] <llogan> superware: i'd help you, but (un)fortunately I'm a linux neckbeard.
[23:11] <ubitux> just boot a linux, clone the source, run the configure and make, and in about 2 hours you can try that
[23:11] <superware> llogan: no problem, the patchset also affects linux :)
[23:12] <superware> llogan: we can try it in 5 minutes
[23:12] <ubitux> it's been days you're asking for that, get a grip on yourself :/
[23:12] <superware> ubitux: yeah, 2 hours, without any unix/linux experience
[23:12] <ubitux> ubuntu doesn't require any particular skill
[23:13] <superware> :|
[23:13] <durandal_1707> superware: is there link to stream for that mpegts so i can reproduce/test ?
[23:13] <superware> durandal_1707: it's a udp unicast, I need to setup the remote IP
[23:14] <superware> durandal_1707: can I please /msg you?
[23:14] <durandal_1707> first put few bucks on may paypal
[23:15] <durandal_1707> can I ask to ask to ask can i ask
[23:15] <superware> my PayPal balance was just zeroed, sorry. come on man.
[23:15] <llogan> ThiefMaster: i think the target will use ~5500-6000k, IIRC, so you can try something lower than that with Mavrik's suggestion.
[23:16] <durandal_1707> superware: ahh, than you need to tell me a joke
[23:16] <llogan> What did the leper say to the prostitute?
[23:16] <llogan> "Keep the tip."
[23:17] <brontosaurusrex> superware, tell a joke man, comeon man!
[23:17] <superware> durandal_1707: you WILL laugh when you'll see the video stream ;)
[23:17] <superware> joke joke, ok
[23:18] <durandal_1707> superware: you can msg me, but if you become boring i will ignore you....
[23:18] <brontosaurusrex> wheres the joke?
[23:18] <superware> writing...
[23:18] <durandal_1707> so you gonna setup link?
[23:23] <superware> An old man gets on a crowded bus and no one gives him a seat. As the bus shakes and rattles, the old man's cane slips on the floor and he falls. As he gets up, a seven-year-old kid, sitting nearby, turns to him and says, "If you put a little rubber thingy on the end of your stick, it wouldn't slip." The old man snaps back, "Well, if your daddy did the same thing seven years ago, I would have
[23:23] <superware> a seat today."
[23:23] <superware> you asked for it
[23:24] <llogan> acceptable. you may continue.
[23:27] <superware> llogan: can your machine receive packets UDP packets? (IP to IP)
[23:27] <superware> -packets
[23:29] <durandal_1707> why it can be only unicast?
[23:29] <superware> it's hardware, that's the output
[23:30] <durandal_1707> could you record it?
[23:30] <superware> "only" unicast? unicast will somehow survive over the net, multicast won't
[23:30] <durandal_1707> and eg, just streamcopy
[23:30] <superware> no because UDP is datagrams, not a stream
[23:31] <superware> the original issue was with datagrams sizes (not standard, but valid)
[23:31] <durandal_1707> ahh so its udp protocol issue in lavf?
[23:32] <superware> http://ffmpeg.org/pipermail/ffmpeg-devel/2013-June/145286.html and the two following
[23:33] <superware> there was a udp.c fix which michaelni already commited, but it wasn't the only issue :)
[23:33] <superware> https://github.com/FFmpeg/FFmpeg/commit/804c7b2c62a6e7b596d84609c1707fd383aa57c9
[23:35] <superware> port forwarding can bring the stream to any intranet machine
[23:35] <brontosaurusrex> i liked llogan's joke btw
[23:37] <brontosaurusrex> here is mine, from irc, from today: someguy: “doesn’t mean I’m always write”
[23:38] <superware> come on brontosaurusrex, you just had to ruin, write?
[23:40] <durandal_1707> superware: port forwarding what?
[23:41] <superware> a specific port at the router to a specific internal IP
[23:42] <superware> http://en.wikipedia.org/wiki/Port_forwarding
[23:44] <durandal_1707> there are 10 routers behind me
[23:45] <superware> 10 different networks?
[23:46] <superware> I guess the router with the internet IP can port-forward to your intranet IP
[23:50] <superware> later people
[00:00] --- Thu Jul  4 2013


More information about the Ffmpeg-devel-irc mailing list