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

burek burek021 at gmail.com
Mon Dec 24 02:05:01 CET 2012


[01:58] <Zeeflo> Hey guys.. This setting:  -vf "ass=file.ass" hardburns the subtitle in a new stream when I convert a file to .mp4
[01:59] <Zeeflo> but it does not seem to work when i convert to webm
[01:59] <Zeeflo> is the command different?
[02:07] <cbsrobot> Zeeflo: no
[02:14] <Zeeflo> well.. the subtitle is not getting hardburned
[02:14] <Zeeflo> and theres no errors in the log..
[02:15] <Zeeflo> crap..
[02:16] <Zeeflo> i had a . to much
[02:17] <Zeeflo> hmmm
[02:17] <Zeeflo> that was not the reason..
[02:23] <Zeeflo> the command has to be different!
[02:24] <cbsrobot> as usual ...
[02:25] <Zeeflo> hold on
[02:27] <Zeeflo> http://pastie.org/5566966
[02:32] <cbsrobot> Zeeflo: the ass filter is not used
[02:32] <cbsrobot> can you p
[02:32] <cbsrobot> astebin the first few lines of the ass file ?
[02:32] <Zeeflo> sure
[02:33] <cbsrobot> and tehn - are you sure this works:
[02:33] <cbsrobot> ffmpeg -i /home/media/film/k/Kings\ Speech\,\ The.avi -vf "ass=/home/media/film/k/Kings\ Speech\,\ The.ass" output.mp4
[02:34] <Zeeflo> http://pastebin.com/HyA5gHSL
[02:34] <Zeeflo> yes, im sure that works
[02:34] <cbsrobot> Zeeflo: a bit more
[02:35] <cbsrobot> with the first real subtitles please
[02:35] <Zeeflo> http://pastebin.com/TaeRJN6E
[02:42] <klaxa> can i seek with frame precision in ffmpeg? also, would there be a way to cut a video at specific frames without having to seek through the whole file over and over again?
[02:44] <cbsrobot> Zeeflo: damn it
[02:44] <cbsrobot> hehehe
[02:44] <cbsrobot> you have two times -vf !!!!
[02:45] <cbsrobot> so the second overwrites the first one !
[02:45] <Zeeflo> let me look
[02:46] <cbsrobot> -vf ass=&   &. -vf scale=
[02:46] <Zeeflo> ahh yea i see
[02:48] <Zeeflo> hmm
[02:48] <Zeeflo> new issue:
[02:48] <Zeeflo> Unrecognized option 'scale=1-:320'
[02:49] <Zeeflo> -1:320
[03:05] <Zeeflo> no such filter ass for webm
[03:05] <Zeeflo> crap!
[03:21] <Zeeflo> so the solution is to convert the avi to mp4 with hardburned sub and then convert that again to webm!
[03:21] <Zeeflo> if thats not destroying quality, i dont know what is!
[03:26] <klaxa> you can just mux the mp4 to webm, no?
[03:26] <klaxa> you wouldn't lose quality then
[03:27] <Zeeflo> is it possible to mux it to webm?
[03:27] <Zeeflo> as I understand it its not possible to mux to web,
[03:27] <Zeeflo> webm
[03:27] <klaxa> hmm...
[03:28] <klaxa> <Zeeflo> no such filter ass for webm
[03:28] <klaxa> i don't think filters should depend on the container oO
[03:28] <Zeeflo> im out of ideas..
[03:29] <klaxa> what is your current command line?
[03:29] <Zeeflo> for webm?
[03:29] <Zeeflo> i dont have one for webm
[03:29] <klaxa> for both
[03:31] <Zeeflo> this is for my standard mp4 in 720p http://pastebin.ca/2295979
[03:32] <klaxa> if you change that to output.webm it says the ass-videofilter is not supported for webm?
[03:32] <Zeeflo> i cant just change that..
[03:32] <klaxa> because?
[03:32] <Zeeflo> it needs other libratires
[03:32] <Zeeflo> libraries
[03:32] <Zeeflo> webm uses the libvpx
[03:33] <Zeeflo> not libx264
[03:33] <klaxa> ah right...
[03:33] <klaxa> well then, encode to libvpx instead of libx264?
[03:33] <Zeeflo> the libvpx library defines values differently from the libx264
[03:34] <Zeeflo> you cant just copy the values used in libx264 to libvpx
[03:34] <klaxa> change your parameters accordingly i guess?
[03:34] <Zeeflo> i have done that
[03:34] <klaxa> i mean this way you'd be encoding twice, that's shit
[03:34] <Zeeflo> yes
[03:34] <klaxa> could you encode to webm?
[03:34] <Zeeflo> i dont think muxing is possible
[03:34] <Zeeflo> yes i can encode to webm
[03:34] <klaxa> if so, take those parameters and skip the x264 encode
[03:34] <Zeeflo> i just need the subtitles burned into them
[03:35] <klaxa> using -vf ass=some.ass shouldn't be affected by the container
[03:36] <Zeeflo> i found the error..
[03:37] <Zeeflo> i think..
[03:38] <Zeeflo> got it!
[03:38] <Zeeflo> i have to use the daily snapshot
[03:38] <Zeeflo> it supports ass filter with webm
[03:38] <Zeeflo> the stable release does not
[03:38] <ubitux> it does.
[03:39] <Zeeflo> no way
[03:39] <ubitux> it's not container specific
[03:39] <ubitux> filters apply to the video stream, not related to webm or anything
[03:39] <Zeeflo> cause when I run the ffmpeg fetched with apt-get it doesnt recognize ass
[03:39] <ubitux> of course, you need to have the filter available (so a build with --enable-libass)
[03:39] <ubitux> maybe because you're not using ffmpeg but the fork
[03:39] <Zeeflo> if I use the daily build, it encodes with subs in the webm,
[03:40] <Zeeflo> i didnt build the systemwide ffmpeg
[03:40] <Zeeflo> i aptituded it
[03:40] <Zeeflo> but its ok
[03:40] <Zeeflo> Ill just use the bartok build
[03:40] <ubitux> bartok ?
[03:40] <ubitux> burek ?
[03:40] <Zeeflo> thats probably better anyways
[03:40] <Zeeflo> yea
[03:40] <Zeeflo> burek hehe
[03:41] <ubitux> debian/ubuntu is not packaging ffmpeg
[03:41] <Zeeflo> nah
[03:41] <Zeeflo> i added the sources
[03:41] <ubitux> so when you apt* ffmpeg it doesn't install ffmpeg but a fork
[03:41] <Zeeflo> ok
[03:41] <Zeeflo> does ffmpeg use something thats not GPL?
[03:42] <Zeeflo> also, is it just my server or does libvpx encode terribly slowly?
[03:47] <Zeeflo> http://pastebin.ca/2295981 <-- where in this command can I use the scale=xxx:xxx command?
[03:53] <Zeeflo> anyone?
[03:54] <klaxa> after ass=some.ass
[03:55] <klaxa> -vf "ass=subtitle.ass:scale=xyz:xyz"
[03:55] <klaxa> it's a video filter, no?
[03:55] <Zeeflo> it is
[03:55] <Zeeflo> but wont that scale the subtitles?
[03:56] <klaxa> dunno try it out
[03:56] <Zeeflo> didnt work
[03:56] <Zeeflo> wait
[03:57] <Zeeflo> rror initializing filter 'ass' with args '/home/media/film/k/Kings Speech, The.ass:scale=320:240'
[03:57] <klaxa> wut
[03:59] <Abhijit> hello.
[04:01] <Zeeflo> ...
[04:02] <ubitux> ?
[04:02] <ubitux> Zeeflo: you want to scale the video but not the subtitles?
[04:03] <Zeeflo> the video and/or subtitle
[04:03] <ubitux> < Zeeflo> does ffmpeg use something thats not GPL? // depend on your build
[04:03] <ubitux> ffmpeg can link against non free libraries
[04:03] <ubitux> most of ffmpeg code is lgpl
[04:03] <ubitux> some parts are gpl
[04:03] <ubitux> (and are enabled with --enable-gpl)
[04:04] <Zeeflo> if the subtitles are not scaled with the video, then a size 18 font in a 320:240 video will probably be overkill.
[04:04] <Zeeflo> ok
[04:04] <Zeeflo> then thats probably why its not packaged in the libs
[04:04] <ubitux> if you want to scale the video, put the scale filter before ass
[04:04] <ubitux> you can also use original_size parameter to ass/subtitles filter
[04:05] <ubitux> to play with font scaling
[04:05] <Zeeflo> ubitux: i actually did that, cause that more more sense.. that did not work either
[04:05] <ubitux> < Zeeflo> then thats probably why its not packaged in the libs // ?
[04:05] <ubitux> did what?
[04:06] <ubitux> original_size     <image_size> ..FV.. set the size of the original video (used to scale fonts)
[04:06] <ubitux> vf scale=320:240,ass=foo.ass:original_size=320:240
[04:06] <Zeeflo> i tried to run this coammnd: http://pastebin.ca/2295983
[04:07] <Zeeflo> it gave me this error: Error initializing filter 'scale' with args '320:240:ass=/home/media/film/k/Kings Speech, The.ass:flags=0x4'
[04:07] <ubitux> ',' is the filter separator
[04:07] <Zeeflo> so it should be devided by ,
[04:07] <Zeeflo> i thought it was :
[04:07] <ubitux> ':' is the option separator within filters generally
[04:08] <Zeeflo> ubitux: what does this option do: ass=foo.ass:original_size=320:240
[04:08] <Zeeflo> does it scale the subtitles to fit the picture?
[04:09] <ubitux> you can use it to scale
[04:09] <Zeeflo> ok! Smart
[04:09] <Zeeflo> ill try that
[04:09] <klaxa> ah yeah my bad, i thought it was ':' for some reason or another
[04:09] <Abhijit> hello. where can I start learning how libavg is using vdpau through ffmepg? So that I want to program libavg to use vaapi through ffmpeg? where can I learn about libavg ffmpeg programming?
[04:09] <Abhijit> help please
[04:10] <Zeeflo> klaxa, i thought it was too
[04:11] <Zeeflo> ubitux: the original_size=xxx:xxx option gives invalid response.
[04:11] <Zeeflo> http://pastebin.ca/2295985
[04:19] <Zeeflo> is there some way to make it scale to, lets say, ½ the size of the original?
[04:19] <Zeeflo> like a scale=1:2
[04:19] <Zeeflo> or something
[04:24] <ubitux> 320x240
[04:25] <Zeeflo> so its not defined by xxx:xxx but with x?
[04:39] <Zeeflo> I have noticed, that the higher the resolution, the more it stutters..
[04:39] <Zeeflo> is that because it needs more than 1 pass?
[04:42] <ubitux> < Zeeflo> so its not defined by xxx:xxx but with x? // ':' is an option separator, scale happened to have first parameter width, and second parameter height
[04:43] <ubitux> in ass, it's seeing : first parameter filename, then original_size=320, then "240"
[04:43] <ubitux> unless you specify "320x240" for original_size
[04:43] <ubitux> no idea for your lag, there is only one pass
[04:43] <Zeeflo> i think its cause I had set the option to realtime
[04:44] <Zeeflo> im trying with good now
[04:44] <Zeeflo> realtime is fine for 240p and 480p
[04:44] <Zeeflo> 576p and 720p its bad
[04:45] <Zeeflo> and yea, the " " makes sense..
[04:45] <Zeeflo> it reads all : as delimiters!
[04:45] <Zeeflo> so, enclose it with " "
[04:45] <Zeeflo> of course
[04:46] <Zeeflo> its really bad!! :/
[04:46] <Zeeflo> ubitux: do you know if webm should be played through a html5 player before it looks good?
[04:47] <ubitux> ?
[04:47] <ubitux> i don't understand the question
[04:49] <Zeeflo> this command: http://pastebin.ca/2295991 gives a good quality image, but it stutters alot!!
[04:49] <Zeeflo> can you see any fault in it, that could cause it?
[04:50] <Zeeflo> or, as I asked, could it be that the webm needs to be served through a website HTML5/Flash video player before it stops the stuttering?
[04:54] <ubitux> (scale=-1?)
[04:55] <ubitux> -cpu-used 0?
[04:55] <ubitux> does it play fine with ffplay?
[04:56] <ubitux> how do you play it?
[04:56] <Zeeflo> i dont have ffplay, its on a headless server. Im playing it directly in firefox
[04:56] <Zeeflo> and yes, I was told, the more cpu-used it will encode faster, but lose quality
[04:56] <ubitux> bandwidth issues?
[04:56] <ubitux> slow server?
[04:56] <Zeeflo> scale=-1 is to keep the original resolution
[04:57] <Zeeflo> hell no
[04:57] <ubitux> wget the video and play it locally
[04:57] <Zeeflo> :)
[04:57] <Zeeflo> i am playing it over LAN
[04:57] <Zeeflo> but i will try
[04:57] <ubitux> what do you mean by "keep the original resolution"?
[04:57] <ubitux> doesn't work if you just drop it?
[04:58] <Zeeflo> I copied it to my local system and played it with VLC.. No problem there
[04:58] <Zeeflo> when playing it directly in firefox, it stutters
[04:59] <Zeeflo> playing it direcly in opera, looks perfect
[04:59] <Zeeflo> playing it directly in IE 9, it stutters
[05:01] <Zeeflo> safari wont play it directly
[05:02] <Zeeflo> playing it in chrome looks perfect as well
[05:03] <Zeeflo> I think it just needs to be parsed by a player before it looks good in all browsers.
[05:03] <ubitux> maybe it just needs a demuxer & decoder that doesn't suck :p
[05:03] <ubitux> though, it should be playable with firefox
[05:03] <Zeeflo> :P
[05:03] <ubitux> if not, that's either a bug in firefox, or in the produced file
[05:03] <Zeeflo> but yes, it should be
[05:04] <ubitux> i need to sleep, good luck
[05:04] <Zeeflo> ill upload the files to amazon s3 now, and parse it through 2 html5 players with swf fallback
[05:04] <ubitux> try to play with vf setpts maybe
[05:04] <Zeeflo> ubitux: can I ask you 1 last thing before you go to sleep?
[05:04] <ubitux> do it quick
[05:05] <Zeeflo> yes,
[05:05] <Zeeflo> this is my routine for making mp4's.. But I want to make mp4's where I define the bitrate and so on like I do in my webm's..
[05:05] <Zeeflo> look here:
[05:06] <Zeeflo> http://pastebin.ca/2295995
[05:07] <Zeeflo> can you quickly edit it with a routine to give the output file a max bitrate and a scale
[05:09] <ubitux> i don't know
[05:09] <ubitux> look at the documentation
[05:09] <Zeeflo> sleep well
[05:10] <ubitux> http://ffmpeg.org/ffmpeg.html http://ffmpeg.org/ffmpeg-codecs.html#Video-Encoders
[05:10] <Zeeflo> i know.. i just spend hours on what you can do in 2 minutes.
[05:11] <Zeeflo> its taken me all day today to figure out webm
[05:11] <ubitux> won't take me two minutes, i don't do much encode myself
[05:11] <ubitux> anyway, have fun
[05:11] Action: ubitux &
[05:12] <Zeeflo> :)
[05:12] <Zeeflo> sleep well
[11:03] <an3k> someone familiar with GraphEdit or one of its knockoffs? I need to check which filters, decoders and splitters a software uses so i can remove the broken ones
[15:45] <xios> hi all
[15:46] <xios> is there any chance to use swfhash ans swfsize in ffmpeg ?
[15:47] <xios> ???
[15:59] <xios> can any one help plz ?
[16:22] <Francexi> hi, i have a problem with the grabbing of a video from the X server, anyone can help me?
[16:23] <ubitux> xios: i don't understand the question
[16:23] <ubitux> Francexi: explain your problem
[16:24] <ubitux> use pastebin or similar if necessary
[16:24] <Francexi> ubitux: i grab the video using this command
[16:25] <Francexi> $ ffmpeg -f alsa -i pulse -f x11grab -s 1280x1024 -i :0 -acodec libfaac -vcodec libx264 -vpre lossless_ultrafast -threads 0 out.mp4
[16:26] <Francexi> ubitux: but the video results to be too fast, and the audio is cut at the point that the video finishes
[16:26] <xios> hi all
[16:27] <xios> i have a simple question : is it possible to use swfsize swfhash in ffmpeg ?
[16:27] <ubitux> xios: i told you i don't understand your question
[16:27] <xios> ok
[16:27] <ubitux> Francexi: check with the aresample filter if you can't force sync somehow
[16:28] <ubitux> (-f alsa -i pulse, huh?)
[16:28] <xios> i have this : rtmp://cp108476.live.edgefcs.net/live/france2_1_800@45496 swfsize=927444 swfhash=6c1be1765187eae0bc9af07d858fae59a0effd3c5b803d08db261ced2c5512bb live=1
[16:28] <xios> when i use it as input in ffmpeg
[16:28] <Francexi> ubitux: i use those option to record the audio from PulseAudio server
[16:28] <xios> it gives me use swfverification and when i do , it ignore it
[16:29] <Francexi> however, how i can use aresample filter?
[16:29] <ubitux> xios: i'm able to play the stream here
[16:29] <ubitux> ./ffplay 'rtmp://cp108476.live.edgefcs.net/live/france2_1_800@45496' works fine
[16:29] <xios> well im trying ro use it as input into ffmpeg
[16:30] <xios> to restream it to my xbmc
[16:30] <xios> try it with ffmpeg and u will see
[16:30] <Francexi> ubitux: the problem is not the audio, but the video: it results accelerated. Aresample filter acts on the audio, doesn't it^
[16:30] <ubitux> Francexi: try to play with -async option in ffmpeg
[16:30] <ubitux> mmh that's right
[16:31] <ubitux> but are you sure the video is too fast?
[16:31] <xios> so
[16:31] <Francexi> yep, i'm sure at 100%
[16:31] <xios> what u mean too fast ?&
[16:31] <ubitux> xios: ./ffmpeg -i 'rtmp://cp108476.live.edgefcs.net/live/france2_1_800@45496' -f null -
[16:31] <ubitux> this looks fine
[16:31] <xios> oh u talking to francexi lol
[16:31] <xios> sorry
[16:31] <ubitux> xios: it's recommended to use -re btw
[16:32] <ubitux> so ./ffmpeg -re -i 'rtmp://...' ...
[16:32] <xios> -f null what does do ?
[16:33] <ubitux> pushing nowhere
[16:33] <ubitux> i'm testing demux & decode.
[16:34] <Francexi> well ubitux, i have to try to record with the -async option?
[16:34] <ubitux> Francexi: yes, do some experiments
[16:34] <ubitux> i don't know much
[16:34] <Francexi> hold on, i'm trying
[16:34] <ubitux> Francexi: also, you have setpts filter
[16:35] <ubitux> and asetpts
[16:35] <xios> swfVerification request use --swfVfy :( still the same issue
[16:35] <ubitux> https://www.ffmpeg.org/ffmpeg-filters.html#asetpts_002c-setpts
[16:35] <ubitux> xios: i have no problem demuxing and decoding the stream
[16:35] <ubitux> so i don't understand your problem
[16:35] <ubitux> please pastebin what command you are running
[16:36] <xios> here my code : ffmpeg -re -i rtmp://cp108476.live.edgefcs.net/live/france2_1_800@45496 -vcodec copy -acodec copy -f flv rtmp://localhost/live/f2
[16:36] <xios> by the way i got it working
[16:36] <xios> but it stops after 60 seconds
[16:37] <xios> but rtmpgui because its using swfhash and swfsize it keep playing
[16:39] <killown> how can I capture the internal audio with ffmpeg?, for example I would like to record the sound from chromium flashplayer which is playing an youtube video
[16:39] <xios> this one works for 60 sec = ffmpeg -re -i "rtmp://cp108476.live.edgefcs.net/live/france2_1_800@45496 live=1 swfVfy=1" -vcodec copy -acodec copy -f flv rtmp://localhost/live/f2
[16:40] <xios> @bitux u did the test ?
[16:40] <ubitux> gimme a minute please&
[16:41] <xios> of course
[16:42] <ubitux> it indeed seems to stop after 1 minue
[16:42] <ubitux> minute
[16:42] <ubitux> xios: play with -rtmp_swfhash
[16:43] <ubitux> and -rtmp_swfsize etc
[16:43] <ubitux> -rtmp_swfverify as well
[16:45] <ubitux> xios: all the option can be listed with ffmpeg -help full
[16:46] <Francexi> ubitux: use the filter setpts=N/(25*TB) doesn't work
[16:46] <ubitux> killown: configure your audio device in capture mode, and try https://www.ffmpeg.org/ffmpeg-devices.html
[16:46] <Francexi> the video still results accelerated
[16:46] <ubitux> Francexi: i don't know :(
[16:47] <xios> hope u r not lost lol
[16:47] <Francexi> i think ffmpeg skips some frames
[16:47] <killown> ubitux ok
[16:47] <xios> ok
[16:47] <xios> so it does exist swfsize in ffmpeg then
[16:47] <ubitux> seems to
[16:48] <Francexi> and when he tries to encode the video simply joins the frame whitout care of the real timestamp
[16:48] <xios> but i have to put inside the quotes ?
[16:48] <xios> or outside
[16:48] <xios> ffmpeg -re -i "rtmp://cp108476.live.edgefcs.net/live/france2_1_800@45496 live=1 swfVfy=1  here"   or here -vcodec copy -acodec copy -f flv rtmp://localhost/live/f2
[16:49] <Francexi> there must be a method to force ffmpeg to use the timestamp of the frame
[16:49] <microchip_> outside quotes, i guess
[16:49] <ubitux> ffmpeg -re -rtmp_swfsize ... -rtmp_... -i 'rtmp://...' -c copy -f flv ...
[16:49] <ubitux> Francexi: you should pastebin your command and full output
[16:49] <Francexi> ok, hold
[16:50] <xios> unknown option -rtmp_swfhash
[16:51] <ubitux> upgrade.
[16:51] <ubitux> what version are you using?
[16:51] <xios> what command to use to get version
[16:51] <xios> im using windows
[16:51] <ubitux> first line of your output
[16:52] <xios> nov 25 2012
[16:52] <ubitux> this is not the first line
[16:52] <xios> g c c 4.7.2
[16:52] <ubitux> this isn't as well
[16:53] <xios> well i have ffmpeg in system32
[16:53] <xios> cdm==> then i type ffmpeg -i xxxxxxxxxxxxxxxxxxxxxx
[16:53] <ubitux> just type "ffmpeg" and paste the first line.
[16:54] <xios> n-74062-g26c531c
[16:54] <xios> this one ?
[16:54] <ubitux> why won't you just paste the whole line? T_T
[16:54] <xios> ok i will
[16:54] <xios> Microsoft Windows [Version 6.1.7600] Copyright (c) 2009 Microsoft Corporation.  All rights reserved.  C:\Users\adam>ffmpeg -i ffmpeg version N-47062-g26c531c Copyright (c) 2000-2012 the FFmpeg developers   built on Nov 25 2012 12:23:20 with gcc 4.7.2 (GCC)   configuration: --disable-static --enable-shared --enable-gpl --enable-version3  --disable-pthreads --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --ena
[16:55] <ubitux> ok, sounds relatively recent
[16:55] <ubitux> you should have the option available
[16:55] <xios> but did u try with rtmp_swfsize and -rtmp_swfhash to see if it works ?
[16:56] <xios> can you try them ? to see if it works if you have already these commands enabled
[16:57] <ubitux> it ./ffmpeg -re -rtmp_swfsize 927444 -rtmp_swfhash 6c1be1765187eae0bc9af07d858fae59a0effd3c5b803d08db261ced2c5512bb -i rtmp://cp108476.live.edgefcs.net/live/france2_1_800@45496 -f null -
[16:57] <ubitux> i have no error here
[16:58] <xios> Microsoft Windows [Version 6.1.7600] Copyright (c) 2009 Microsoft Corporation.  All rights reserved.  C:\Users\adam>ffmpeg -i ffmpeg version N-47062-g26c531c Copyright (c) 2000-2012 the FFmpeg developers   built on Nov 25 2012 12:23:20 with gcc 4.7.2 (GCC)   configuration: --disable-static --enable-shared --enable-gpl --enable-version3  --disable-pthreads --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --ena
[16:58] <ubitux> please use pastebin
[16:58] <xios> anyways it said failed to set up swfsize
[16:58] <ubitux> your paste is not complete
[16:59] <xios> ok hold on
[16:59] <xios> http://pastebin.com/cT6kNJat
[17:00] <Francexi> ubitux: http://pastebin.com/K1w8DiQq
[17:01] <ubitux> xios: this was added in 635ac8e1be91e941908f85642e4bbb609e48193f on "Date:   Mon Aug 13 17:05:00 2012 +0200"
[17:01] <ubitux> try to upgrade
[17:02] <ubitux> Francexi: what's the command?
[17:02] <Francexi> ffmpeg -f alsa -i pulse -f x11grab -s 1280x1024 -framerate 25 -r 25 -i :0 -acodec libfaac -vcodec libx264 -vpre lossless_ultrafast -filter_complex "setpts='N/(25*TB)'" -threads 0 /dat/out.mp4
[17:03] <Francexi> (/dat is the mount pont of my secondary disk)
[17:04] <Francexi> ubitux: ah, however i'm running Slackware, if it can help
[17:05] <ubitux> sorry i really don't know
[17:05] <ubitux> maybe you can try to ask on ffmpeg-user mailing list
[17:05] <killown> ubitux, thank you worked!
[17:06] <killown> I had to use pavucontrol
[17:06] <ubitux> burek: don't you see often ppl asking about desync a/v capture?
[17:06] <Francexi> ubitux: you was talking with me?
[17:07] <ubitux> Francexi: about "idk" + ffmpeg-user ml yes
[17:07] <burek> ubitux occasionaly, why?
[17:07] <Francexi> okok, i'll try with the mailing list, thanks a lot
[17:07] <ubitux> burek: because Francexi is one of them; and i never know what's wrong ;)
[17:08] <burek> give me a cmd line
[17:08] <Francexi> burek: you're talking to me?
[17:08] <Francexi> are you*
[17:08] <ubitux> burek: command line just a few lines above
[17:08] <ubitux> and pastebin as well
[17:08] <burek> oh i see it now
[17:10] <burek> Francexi, try switching video/audio inputs
[17:10] <Francexi> ? you means the video input first and then the audio?
[17:10] <burek> ffmpeg -f x11grab ... -f alsa -i pulse ...
[17:10] <Francexi> mmm, hold i try
[17:12] <Francexi> nope
[17:12] <Francexi> burek: doesn't work
[17:13] <burek> ok, try using -f alsa -i hw:0
[17:13] <burek> instead of pulse
[17:13] <Francexi> burek: you read which is my problem?
[17:14] <Francexi> burek: cause i don't have problem with the audio, but with the video: it results too fast
[17:15] <burek> Francexi what player did you use to playback your resulting video
[17:16] <xios> sorry i was on the phone,
[17:16] <Francexi> mplayer
[17:16] <xios> but the swfhash works great with rtmpgui
[17:16] <Francexi> and when i upload it to youtube it results accelerated too
[17:17] <burek> Francexi, can you explain what accelerated means
[17:17] <burek> is audio ok?
[17:18] <Francexi> burek: the audio is ok but is cut at the finish of the video
[17:18] <Francexi> in the video
[17:18] <Francexi> if i do an action that want 1 second to performs
[17:18] <burek> well audio should be cut at the finish of the video
[17:18] <burek> i dont see a problem there
[17:18] <Francexi> in the video the duration is 0,5
[17:18] <Francexi> (or some like that)
[17:19] <burek> try with more reasonable durations like 15-20 seconds
[17:19] <burek> if you need that kind of small periods, use flac/raw video
[17:19] <Francexi> all the rec tries is of 15-20 seconds
[17:19] <burek> Francexi, wait for a second
[17:19] <burek> let's not split the topic too wide
[17:19] <burek> 1st
[17:19] <xios> @ubitux the swfsize and swfhash works great with rtmpgui but why with ffmpeg it doesnt
[17:20] <burek> audio should be cut at the finish of the video
[17:20] <burek> right?
[17:20] <Francexi> yep
[17:20] <Francexi> the audio is right
[17:20] <burek> so, that's not an error
[17:20] <burek> also, audio plays at normal speed?
[17:20] <Francexi> yep
[17:20] <burek> so, how can you get faster video then?
[17:21] <burek> if the video was faster, it would last shorter than audio right?
[17:21] <Francexi> yes. I think ffmpeg skips some frame, then when encodes the video he simply joins they, without care of the real timestamp
[17:22] <burek> no need to guess anything, we can check it easilyu
[17:22] <burek> im just trying to  understand what exactly is the issue
[17:22] <ubitux> xios: works fine here, i can play more than 1 minute of the stream
[17:22] <ubitux> and i don't know what "doesnt work" mean without more details
[17:22] <burek> how can your audio play normally and video play faster without video being shorter than audio
[17:23] <xios> play the stream ok but restreaming it by ffmpeg it doesnt work for me
[17:23] <xios> well
[17:23] <xios> i just tried the code that u gave me
[17:23] <ubitux> Francexi: if you only capture the video, the resulting video is too fast? (how much faster?)
[17:23] <xios> i got to errors
[17:23] <Francexi> the video is shorter the audio
[17:23] <Francexi> and the audio is cutted when the video finished
[17:24] <burek> how can you tell it's shorter
[17:24] <Francexi> ubitux: same as without audio
[17:24] <ubitux> ok then simplify your problem to video only
[17:24] <xios> http://pastebin.com/8K9mZnuK
[17:24] <Francexi> ' if i say "Hello" the video speaks:"Hel"
[17:25] <Francexi> and the happy shaking hand is faster than expected asd
[17:26] <Francexi> (i'm not actualy recording this things)
[17:26] <Francexi> those*
[17:27] <Francexi> burek: i'm noticed the video becomes faster than the "normal" when the CPU use is more intensive and viceversa
[17:28] <Francexi> i've*
[17:29] <burek> Francexi, did you monitor your cpu
[17:29] <burek> how much of it is used during grabbing
[17:29] <Francexi> no, i know that when i start a game the cpu is more used then without anyone
[17:30] <xios> ubitux u checked the log ?
[17:30] <burek> Francexi, find the way to log your cpu usage
[17:30] <Francexi> (especially when it waste tons of resource in the damn garbage collector
[17:30] <burek> if it is near 80-90% that's your issue
[17:31] <ubitux> xios: i'm sorry i'm busy
[17:31] <xios> ok man no pb
[17:31] <Francexi> burek: mmm maybe the KDE desktop can help me in this thinks
[17:31] <burek> google is your friend :)
[17:32] <xios> burek could you help :)
[17:32] <burek> sure
[17:32] <burek> just a sec
[17:32] <xios> http://pastebin.com/8K9mZnuK
[17:33] <Francexi> burek: yes, the cpu often reach the 100%
[17:34] <burek> Francexi, buy a faster cpu :)
[17:35] <Francexi> i dont' think is the cpu
[17:35] <burek> lol
[17:35] <burek> ok :)
[17:35] <Francexi> i tried to save the raw video
[17:35] <Francexi> and then encode that
[17:35] <burek> xios, isn't it obvious?
[17:35] <burek> Unrecognized option 'rtmp_swfsize'
[17:36] <burek> you are using old ffmpeg
[17:36] <xios> yeah
[17:36] <burek> with option introduced ni newer versions
[17:36] <xios> well no
[17:36] <xios> u can look into the log
[17:36] <xios> http://pastebin.com/8K9mZnuK
[17:36] <xios> u will see the date
[17:36] <Francexi> burek: when i tried to save the raw video without encoding, afetr the encoding the problem still remains
[17:36] <burek> Francexi, well, try grabbing without playing the game
[17:36] <burek> and see if your video still has issues
[17:36] <Francexi> just tried
[17:37] <burek> and try grabbing for more than 1-2 seconds :)
[17:37] <Francexi> i tried before use the chat -.-
[17:37] <Francexi> how ever
[17:37] <burek> xios, that's 30 days old
[17:37] <xios> really
[17:37] <xios> well im on windows
[17:37] <burek> do you know how much that is in ffmpeg's world?
[17:37] <burek> :)
[17:37] <xios> i got it from ffmpeg site
[17:38] <Francexi> without the game is slighlty faster then the reality
[17:38] <burek> xios, try the latest git version
[17:38] <xios> its compiled for windows ?
[17:38] <burek> Francexi, did you check cpu again
[17:38] <Francexi> no, not that time
[17:38] <Francexi> damn i have to go
[17:39] <Francexi> i hope i'll see you again when i reconnect
[17:39] <burek> :beer: :)
[17:39] <Francexi> thanks a lot burek
[17:39] <Francexi> bye everyone
[17:40] <xios> for windows it seems i have the last
[17:40] <xios> :(
[17:40] <xios> http://ffmpeg.zeranoe.com/builds/
[17:41] <burek> hm, they didnt update the site for a month..
[17:41] <burek> well, i cant help about that
[17:41] <xios> ok
[17:41] <xios> compiling it for windows is it complicated ?
[17:42] <xios> i have no idea how it works
[17:42] <burek> i never tried it :)
[17:42] <burek> i use linux :)
[17:42] Action: burek raises his head proudly :)
[17:42] <burek> (in a virtual box on windows) :D
[17:42] <xios> ok i will try then no clue lol
[17:42] <xios> well i test on my pc
[17:43] <burek> you might try installing virtualbox
[17:43] <xios> coz i have a server with win server
[17:43] <xios> :(
[17:43] <burek> and some small linux distro
[17:43] <burek> download static ffmpeg
[17:43] <burek> (binary for linux)
[17:43] <burek> and just run it
[17:43] <burek> i know it's not very convenient, but still..
[17:44] <xios> i have to get it for windows becoz i test on my local pc to get it working properly on my server ( windows server)
[17:44] <burek> wait wait
[17:44] <burek> try ffmpeg -h full
[17:44] <burek> see if there is
[17:44] <burek> rtmp_swfsize
[17:45] <xios> ok
[17:45] <burek> maybe your ffmpeg is not old
[17:46] <xios> i need to get it page by page
[17:47] <xios> how to do so
[17:49] <SolarisBoy> pipe to more on windows
[17:49] <SolarisBoy> ffmpeg -h full |more
[17:59] <xios> i dont have it
[17:59] <xios> was long to read all the output lol
[18:05] <Rsd> I want to install ffmpeg for encoding user uploaded content to mp4, do i need to install all codecs such as a52codec etc to support the decoding of this codec or is decoding always supported except for some codecs such as x264
[18:05] <JEEB> most decoders are a part of libavcodec internally, and thus they are all available as-is
[18:05] <JEEB> most external libraries are encoders, like x264
[18:06] <JEEB> there IIRC are some exceptions, like libopenjpeg for jpeg2000 support or so
[18:06] <JEEB> and libopus for opus decoding
[18:11] <Rsd> So most manuals wherw they compile for example a52 this is mainly for encoding
[18:12] <JEEB> I'm not even sure that's needed
[18:12] <JEEB> a52 is ac3
[18:12] <JEEB> and libavcodec has its own ac3 encoder
[18:13] <JEEB> and the liba52 support has actually been removed already :)
[18:14] <JEEB> but yes, most libraries that people add are for encoding, bar a couple
[18:14] <Rsd> So if i follow the centos compilation guide i have almost all decoders
[18:14] <JEEB> that sounds like the compilation guide is old :D
[18:15] <JEEB> just do ./configure on an up-to-date ffmpeg code base (git HEAD) and you have almost all of the decoders
[18:15] <JEEB> then enable the few things you have to specifically
[18:15] <JEEB> also centos probably has an old yasm, so you might have to build an up-to-date yasm to get all optimizations enabled :)
[18:16] <Rsd> Ok thata great
[18:16] <Rsd> I m comming from flixengines on2
[18:16] <Rsd> But that isn't supported anymore
[18:18] <Rsd> On some manuals i also see they grab the codecs from mplayer / mencoder are these also for encoding
[18:19] <JEEB> those are probably the windows binaries. They are for mplayer/mencoder, but I have no idea if they still work
[18:20] <JEEB> I don't think they ever worked with ffmpeg
[18:30] <Zeeflo> Is it possible to crop the picture when encoding from eg. avi to mp4 etc
[18:30] <JEEB> if you are re-encoding, then yes
[18:31] <JEEB> you have both the scale filter for resizing, as well as a filter that can do cropping as well
[18:31] <Zeeflo> i have movie a (avi) and re-encoding it to mp4
[18:31] <Zeeflo> i probably do. Im using the daily build
[18:31] <JEEB> -vf crop
[18:31] <JEEB> is the filter
[18:31] <Zeeflo> ok
[18:32] <Zeeflo> how do I figure out what to crop, to get rid og the black lines above and under the picture?
[18:32] <JEEB> http://ffmpeg.org/ffmpeg-filters.html#crop
[18:32] <Zeeflo> or, how _much_ to crop
[18:32] <JEEB> you'd have to find out how big those areas are by yourself, unfortunately :)
[18:32] <JEEB> although there is a cropdetect filter as well
[18:32] <JEEB> see the next filter in the filters doc
[18:33] <JEEB> although to be honest
[18:33] <JEEB> such "detectors" area always somewhat off
[18:33] <JEEB> *are
[18:33] <JEEB> they might work in some cases, but in general you should be in the end decide by yourself
[18:33] <Zeeflo> so, you take a screenshot..
[18:34] <Zeeflo> and measure the black areas in ie, photoshop?
[18:34] <Zeeflo> what would you recommend?
[18:35] <JEEB> something like that, although photoshop or something would be quite an overshoot :) Aegisub or something would be able to use libavcodec to load up the source file, and then the video window should let you check co-ordinates
[18:36] <JEEB> also do remember, if you are cut between overcropping and leaving a bit of black, overcrop
[18:37] <Zeeflo> or, cant I just figure it out, i mean.. If I have a movie, thats only 1280x576, then isnt it safe to say that theres missing 72 pixel on either side of the picture (144pixel in total) to make the picture true 720p (1280x720)
[18:38] <JEEB> if you know how the video is done already, then you can make simple math with that, sure :P
[18:38] <Zeeflo> ok
[18:38] <JEEB> and naturally you can test by making short encodes
[18:38] <Zeeflo> then, let me see if I have gotten this..
[18:38] <Zeeflo> please correct me if im wrong.
[18:39] <JEEB> -ss seeks to a set time stamp, -t encodes a set amount of time
[18:39] <JEEB> both set seconds
[18:39] <JEEB> you can easily just test a bit with these :)
[18:40] <Zeeflo> crop=in_h-2*72
[18:40] <Zeeflo> yes, I know that :)
[18:40] <Zeeflo> i use the timestamp alot to just make 30 second runs
[18:41] <Zeeflo> but is my crop command correct for removing 72 pixels from the top and bottom, total 144 pixel
[18:41] <Zeeflo> ?
[18:42] <JEEB> see the docs, you'll probably want to set width and height, both of them
[18:42] <Zeeflo> ?
[18:42] <JEEB> otherwise the one value you give seems to get used for both
[18:42] <JEEB> because crop=in_h seems to create a square"
[18:42] <JEEB> "Crop the input video central square"
[18:42] <JEEB> and you are setting one value as well
[18:42] <JEEB> so I guess that will create a video with the width of in_h-2*72
[18:43] <JEEB> (and height, a square)
[18:43] <JEEB> long story short, probably something like crop=in_w:in_h-2*72
[18:43] <JEEB> test it out
[18:44] <Zeeflo> wouldnt it detect itself what the video in w*h is?
[18:44] <JEEB> yes, but with your line it would set width after cropping to be "in_h-2*72"
[18:44] <Zeeflo> ahh you mean i just have to define the width, even though theres noting
[18:44] <JEEB> I'm pretty sure that's not what you want :P
[18:45] <JEEB> (and then it would make it a square)
[18:45] <Zeeflo> yea
[18:45] <Zeeflo> hehe
[18:45] <Zeeflo> it would be a pretty slim movie afterwards
[18:45] <JEEB> yes, first variable given is the width, second is height
[18:45] <Zeeflo> alright, im gonna test it real quick
[18:45] <JEEB> then the latter ones if you want to start counting from somewhere else but the middle
[18:46] <Zeeflo> ok7
[18:47] <Zeeflo> which cpu's are better at processing movies with ffmpeg?
[18:47] <JEEB> if we are looking at x264 performance and performance in general cpu-wise, Intel is leading at the moment
[18:48] <JEEB> I wish AMD would put up more of a resistance :<
[18:48] <Zeeflo> im pretty tired of my amd server
[18:48] <Zeeflo> im thinking about getting an i7 980
[18:48] <JEEB> also, the newer the arch the better
[18:48] <Zeeflo> and another 8gb ram so it totals 24gb
[18:48] <JEEB> I just got myself an ivy bridge this year (3570K)
[18:48] <Zeeflo> cause i need to encode a sh*tload of movies
[18:49] <Zeeflo> when I encode webm in 720p it freaking drops to 13fps
[18:49] <Zeeflo> and its a phenom x2 quadcore 3.3 ghz
[18:49] <Zeeflo> wtf
[18:49] <Zeeflo> x2 or x3
[18:49] <Zeeflo> cant remember
[18:50] <JEEB> if it's a quad core than it's a phenom II I guess
[18:50] <Zeeflo> i think it is
[18:50] <Zeeflo> but still.. 13 fps is nothing!
[18:50] <Zeeflo> it takes forever
[18:50] <JEEB> I used to buy the higher ends of those for low budget things
[18:50] <JEEB> but that was in 2010
[18:50] <JEEB> lol
[18:50] <Zeeflo> yea thats when i bought the server as well
[18:51] <JEEB> no way I'd buy AMD except for very low budget stuff now
[18:51] <JEEB> (and even then older Intels might get closer)
[18:51] <Zeeflo> the sales person was like "oh my, you gotta buy this new phenom 3.3 ghz quadcore blabla best for server."
[18:52] <Zeeflo> oh well. Ill go with the i7 980
[18:52] <Zeeflo> and now i gotta try this cropping
[18:52] <Zeeflo> brb
[18:53] <JEEB> hmm
[18:53] <JEEB> not sure if it's better to get a quad core newer tech i7/i5 or 980
[18:53] <JEEB> 980 has six cores
[18:54] <JEEB> meh, not sure
[18:54] <Zeeflo> its a deal I can get for a server in germany for 30 days..
[18:54] <Zeeflo> to just encode!
[18:56] <Zeeflo> can I combine these two: -vf crop=in_w:in_h-2*88,scale=-1:576,
[18:56] <Zeeflo> ?
[18:57] <Zeeflo> hmm.
[18:57] <Zeeflo> no go
[18:58] <Zeeflo> so, how would I crop the source and at the same time scale down to 576p ?
[19:00] <Zeeflo> OK! This is wierd.. When I crop and scale at the same time, the black areas get double as big
[19:03] <Zeeflo> ok, the file is 1280x544, so I do -88*2 to remove the black.. But that makes the picture 1280*368
[19:03] <Zeeflo> the black grows with 88 on each side..
[19:03] <Zeeflo> ?
[19:06] <Zeeflo> http://pastebin.ca/2296097
[19:10] <Zeeflo> anyone?
[19:38] <Zeeflo> has anyone a suggestion with my cropping issue?
[19:53] <ubitux> Zeeflo: what doesn't work?
[19:53] <ubitux> also, you should use quotes or your '*' will be interpreted by your shell
[19:54] <ubitux> Zeeflo: it's not "at the same time"
[19:54] <ubitux> crop=...,scale=...,ass=...  crop the video, then scale it, then apply a ass filter
[19:56] <edgy> Hi, some ffserver tutorials have things like AVOptionVideo qmin 10, others have VideoQMin 3, I don't understand when I need that and what's the relation to VideoBitRate? is the first for VBR and the second for CBR or what?
[19:59] <ubitux> q* options are generally quantizer or quality factors, so are often associated with variable bitrate modes
[19:59] <ubitux> while bitrate options are often used to achieve a constant rate
[20:03] <edgy> ubitux: I am looking at https://www.virag.si/2012/11/streaming-live-webm-video-with-ffmpeg/ on which he specified both
[20:03] <Zeeflo> reading
[20:04] <Zeeflo> still trying to comprehend!
[20:04] <ubitux> not sure that's the best idea to do so
[20:04] <Zeeflo> ahh
[20:04] <Zeeflo> you dont mean I should encode three time, its the order hehe
[20:05] <edgy> ubitux: and the values he used like qmax 42 is low quality so I wonder how this goes with vb 400, and why he used qmin 10 instead of 0
[20:05] <edgy> I have to disconnect now and would reconnect after 20 min, may be I get an answer
[20:06] <Zeeflo> i read that I need to have those values because ffmpeg screws up the video if theyre not there
[20:06] <Zeeflo> let me look
[20:11] <Zeeflo> here: -qmin 10 -qmax 42  This sets minimum and maximum quantization values. Since as of 0.9, FFmpeg sets those values wrong by default, adding these is required for a a decent video quality. Omitting these will produce blocky broken video.
[20:12] <Zeeflo> but perhaps this is only true for webm?
[20:25] <Zeeflo> ubitux: -vf "crop=in_w:in_h-2*88","scale=-1:576","ass=/hom etc etc doesnt work
[20:25] <Zeeflo> something is weird is going on
[20:26] <Zeeflo> it makes ffmpeg interpret Video: h264, yuv420p, 2003x576 [SAR 46080:46069 DAR 80:23], q=10-42, 800 kb/s, 90k tbn, 23.98 tbc
[20:26] <ubitux> what doesn't work?
[20:26] <Zeeflo> cropping, then scaling then adding subs
[20:26] <ubitux> and what goes wrong?
[20:26] <Zeeflo> with " " around the commands
[20:27] <Zeeflo> [libx264 @ 0x229b300] width not divisible by 2 (2003x576)
[20:28] <Zeeflo> what am I doing wrong?
[20:28] <ubitux> what is the width of your input?
[20:28] <Zeeflo> -vf "crop=in_w:in_h-2*88","scale=-1:576","ass=file.ass"
[20:28] <ubitux> you don't need all these quotes
[20:28] <ubitux> "crop=in_w:in_h-2*88,scale=-1:576,ass=file.ass" should be enough
[20:28] <Zeeflo> the source avi is 1280x544
[20:29] <an3k> grrr, all these 32-bit & 64-bit mixed software is so annoying. you don't know if a 64-bit of toolA will work with a 32-bit version of toolB ... sometimes yes, sometimes no
[20:29] <Zeeflo> so I want to crop it to 1280x720
[20:29] <Zeeflo> then scale it, then add subs
[20:29] <Zeeflo> ok
[20:30] <Zeeflo> it doesnt work :/¨
[20:30] <ubitux> please pastebin the full command and output
[20:30] <Zeeflo> ok
[20:31] <Zeeflo> let me paste it privately, and have the answer in public?
[20:31] <ubitux> ??
[20:31] <ubitux> why in private?
[20:32] <Zeeflo> cause of urls etc in the commands
[20:32] <ubitux> ok so
[20:33] <ubitux> input is 1280x544
[20:33] <ubitux> you do a crop=in_w:in_h-2*88
[20:33] <Zeeflo> width is not divisible by 2
[20:33] <Zeeflo> yea
[20:33] <Zeeflo> 88 on each side in height
[20:33] <ubitux> so you get a video of 1280x368
[20:33] <ubitux> then you ask swscale to scale it up
[20:34] <ubitux> to a height of 576, keeping aspect ratio
[20:34] <ubitux> guess what happens to the width?
[20:34] <Zeeflo> it blows up too
[20:34] <ubitux> no.
[20:34] <ubitux> it's just doing math
[20:34] <ubitux> >>> 1280 * 576/368.
[20:34] <ubitux> 2003.4782608695652
[20:34] <ubitux> tada here you go.
[20:35] <Zeeflo> but, i thought cropping was getting rid of the black areas beneath the picture..
[20:35] <ubitux> ?
[20:36] <ubitux> what's the relationship with what we are talking about?
[20:37] <Zeeflo> the picture is only 544px high.. So I have 88px of black area above and beneath the picture itself
[20:37] <ubitux> yes?
[20:37] <Zeeflo> i thought i could crop those black areas away thus making the video 1280x720
[20:37] <ubitux> please read what i said starting here:
[20:37] <ubitux> 20:32:53 <@ubitux> ok so
[20:37] <ubitux> 20:33:03 <@ubitux> input is 1280x544
[20:37] <Zeeflo> yes
[20:38] <ubitux> cropping means removing video, how can you remove some part of the image and increase the height?
[20:38] <Zeeflo> my logic says, cropping away 88px on each side of the picture = 720px picture after
[20:38] <ubitux> ??
[20:38] <Zeeflo> in my book cropping is like cutting
[20:38] <Zeeflo> i guess its not?
[20:39] <ubitux> i don't understand what you are trying to do at all
[20:39] <ubitux> your input is input is 1280x544
[20:39] <ubitux> first,
[20:39] <ubitux> what do you want to crop?
[20:39] <Zeeflo> so, what would I need to do to get those 88px cut from the picture to get the picture to become 720px instead of 544px
[20:40] <ubitux> &
[20:40] <Zeeflo> let me make a screen shot hehe
[20:40] <Zeeflo> and try to explain
[20:40] <ubitux> you said cropping is cutting away
[20:40] <ubitux> how can you increase the size
[20:40] <Zeeflo> isnt it?
[20:40] <ubitux> by removing from the video?
[20:40] <Zeeflo> with the scale
[20:40] <ubitux> one step at a time please
[20:40] <Zeeflo> ill make screenshot
[20:44] <Zeeflo> http://postimage.org/image/487qyfidv/
[20:45] <Zeeflo> i hope im artistic enough
[20:46] <Zeeflo> @ubitux: http://postimage.org/image/487qyfidv/
[20:47] <ubitux> Zeeflo: right
[20:47] <ubitux> so
[20:47] <ubitux> you realize that the pictures is going to get insanely ugly, right?
[20:48] <Zeeflo> hmm
[20:48] <Zeeflo> the reason I want to do this is to achieve true 720p
[20:48] <Zeeflo> and not 544p
[20:48] <Zeeflo> but, I dont want the picture to be butt ugly..
[20:48] <ubitux> replace your scale with scale=iw:ih+2*800
[20:48] <ubitux> and you'll get the distorded horror you are looking for
[20:49] <Zeeflo> heh
[20:49] <Zeeflo> ill try just to see it
[20:50] <ubitux> 2*88 sorry
[20:50] <ubitux> not 2*800 of course
[20:50] <Zeeflo> yea
[20:51] <Zeeflo> i guess theres just no way around it..
[20:51] <Zeeflo> the source is what it is..
[20:51] <ubitux> what's the problem with just cropping?
[20:52] <Zeeflo> can I do that?
[20:52] <ubitux> do what?
[20:52] <Zeeflo> just crop it and no scaling?
[20:52] <ubitux> why couldn't you?
[20:52] <Zeeflo> well.. what if I want to have a 576p version...
[20:53] <Zeeflo> basically, i need to versions of all videos. i need an SD version and an HD version.. The HD version should be 1280x720p and the SD should be 1024x576p
[20:53] <ubitux> crop the right ;)
[20:53] <Zeeflo> so, if the source is 1280x544, im pretty screwed
[20:53] <ubitux> right & left
[20:54] <Zeeflo> wont that cut out parts of the moving picture?
[20:54] <ubitux> it will :)
[20:54] <ubitux> well, you can just resize to width=1024
[20:54] <ubitux> the height will be smaller but well
[20:54] <ubitux> you can still pad with black if necessary
[20:55] <Zeeflo> ok
[20:56] <Zeeflo> i could just make scale=1024:576 then?
[20:56] <Zeeflo> crop=blabla,scale=
[20:57] <Zeeflo> but basically, im just more interested in how i get the black areas out of movies like that..
[20:57] <Zeeflo> if I can scale it away somehow, or cut it out
[20:57] <Zeeflo> etc
[21:07] <raket> -scale 16:10 ? :D
[21:12] <Zeeflo> ok
[21:13] <Zeeflo> ubitux: also, libvpx is encoding half as slow as libx264. Is that normal?
[21:13] <ubitux> no, libx264 is encoding two times faster than libvpx ;)
[21:13] <ubitux> libx264 is pretty mature & fast&
[21:14] <ubitux> you should play with libvpx settings though, you can most likely improve things
[21:14] <Zeeflo> probably with the cpu settings
[21:14] <Zeeflo> but thats on behalf of quality..
[21:15] <Zeeflo> a 1280x720 with good settings took my cpu to the floor.. 13fps
[21:15] <an3k> wow! my system thinks "Format: AC-3" is MPEG1Audio ....
[21:19] <Zeeflo> and why are you guys here!
[21:19] <Zeeflo> its christmas tomorrow!
[21:19] <Zeeflo> you should be with family!
[21:20] <an3k> as you said, tomorrow ;)
[21:21] <Zeeflo> hehe
[21:22] <Zeeflo> im thinking..
[21:22] <an3k> also very funny: with windows 7 you get l3codeca.acm and l3codecp.acm ... both are Fraunhofer MP3 Codecs but l3codeca.acm is just the Advanced one and l3codecp.acm is the Professional one with more options like higher bitrate encoding, etc.
[21:22] <Zeeflo> wouldnt it be easier to have a super powerfull ffmpeg streaming server to encode on the fly, and maybe even perhaps save the encoding?
[21:22] <an3k> WTF is microsoft so damn stupid to ship BOTH files?
[21:28] <Zeeflo> what the F are these errors? http://pastebin.ca/2296142
[21:29] <an3k> its not getting enough data
[21:30] <Zeeflo> if it fatal/vital?
[21:30] <Zeeflo> will the video be corrupted?
[23:52] <car> hi. whats the best way to re-stream a http-stream (mpeg-ts). to understand take a look at http://www.qpic.ws/images/stream.png ---- is it possible with ffmpeg and ffserver?
[00:00] --- Mon Dec 24 2012


More information about the Ffmpeg-devel-irc mailing list