[02:02] <Shimmy_> Hey! Anyone has some spare time? Please read this issue: https://ffmpeg.org/trac/ffmpeg/ticket/747 [02:02] <Shimmy_> It's something already implemented in an external project, just need to sew it in FFmpeg [02:05] <beastwick987> hey quick question, I am trying to do a 2 pass encode and it seems to come out that the final product is actually a bigger file size than the first pass. [02:06] <beastwick987> Where can I find a good tutorial on the matter? I thought all I have to do is specify -pass 1 and -pass 2 to do this, but I guess it is not working properly :( [02:07] <sacarasc> Did it follow the bitrate you specified? [02:13] <beastwick987> yes I believe so [02:13] <beastwick987> I mean, they are identical [02:13] <beastwick987> otherwise it spits out an error [02:37] <beastwick987> anyone know where I can find documentation on 2 pass encoding? [02:38] <sacarasc> So, the second pass followed the bitrate you specified? [03:02] <beastwick987> yes [03:02] <beastwick987> the 2nd pass followed the bitrate specified [03:11] <sacarasc> Then it doesn't matter, does it? [03:11] <sacarasc> When I do 2 pass, the first pass output is usually /dev/null. [08:00] <shreya> Hello,I need to pass a series of images to avcodec_encode_video.. [08:00] <shreya> Can 1 image be passed as 1 frame...or it needs multiple frames? [08:00] <shreya> Please help [09:57] <JacobS2> Hello, Is there any whay I can increase the size of the real-time buffer? I keep getting this error: "real-time buffer 155% full! frame dropped!" [09:58] <JacobS2> this is the command: -f dshow -i video="screen-capture-recorder":audio="SoundMAX Digital Audio" -vcodec libx264 -preset ultrafast -tune zerolatency -r 6 -async 1 -acodec libmp3lame -ab 24k -ar 22050 -bsf:v h264_mp4toannexb -maxrate 750k -bufsize 3000k -rtbufsize 20000k -f mpegts udp://192.168.5.215:48550 [10:00] <JacobS2> this is the output: http://pastebin.com/SDYzGw2Y [12:53] <JacobS1> anyone knows the proper way to use the pan filter ? I am trying to take a stereo input and mute one channel and get a stereo output with one channel muted [12:53] <JacobS1> this is my command: -rtbufsize 100000000 -f dshow -i video="screen-capture-recorder":audio="SoundMAX Digital Audio" -vcodec libx264 -preset ultrafast -tune zerolatency -r 10 -async 1 -f pan="stereo:c2=c2" -ab 32k -ar 22050 -bsf:v h264_mp4toannexb -b 614400 -f mpegts udp://192.168.5.215:48550 [15:23] <Goffredo> Trying to compile ffmpeg I get this error on arch linux 64 (libpulse is installed from repos) [15:23] <Goffredo> /usr/lib/libsndfile.so.1: undefined reference to `vorbis_version_string' [15:24] <Goffredo> any help? [18:13] <PowerCC> Howdy! [18:14] <PowerCC> could anyone tell me if there is a syntax in ffmpeg so when I'm upscaling say a 720p to 1080p to auto-guess the aspect ratio and/or pad. [18:15] <PowerCC> or would I forever have to calculate 1280x528 is 1920x792 [18:20] <PowerCC> ? [18:33] <PowerCC> good day [18:36] <relaxed> PowerCC: -vf 'scale=1920:-1' [18:37] <PowerCC> nice! [18:37] <PowerCC> with quotes or without? [18:38] <relaxed> I would say it's best to always quote the filter chain. [18:39] <Kasper^> hi, noob with ffmpeg, need a bit of help [18:40] <Kasper^> in doc/examples decoding_encoding.c in video_decode_example() [18:40] <Kasper^> it's assumed that we know the codec, we open the files and begin decoding [18:41] <Kasper^> is it possible to open the file and obtain the codec and begin decoding after ? [18:41] <Kasper^> there used to be a avcodec_find_decoder() function before [18:50] <PowerCC> Kasper^: talking to me ;) [18:51] <PowerCC> here is what I am trying to do [18:52] <PowerCC> -vcodec mpeg2video -b 20971k -maxrate 30000k -bufsize 8388k -acodec ac3 -ab 448k -ar 48000 -vf 'scale=1920:-1' -f vob - [18:52] <PowerCC> works great on my old devices. [18:52] <PowerCC> gonna give it a spin. [18:53] <PowerCC> No such filter: 'scale=1920:-1' [18:53] <PowerCC> so with mpeg2 not possible. [18:57] <Mavrik> of course it's possible, filters are codec independent [18:58] <Mavrik> just how obsolete ffmpeg do you have? [18:58] <PowerCC> Mavrik, it's working now. [18:58] <PowerCC> Stream #0.0(und): Video: mpeg2video, yuv420p, 1920x792 [PAR 1:1 DAR 80:33], q=2-31, 20971 kb/s, 90k tbn, 23.98 tbc [18:58] <PowerCC> very nice! [18:58] <Kasper^> hmm.. [18:58] <Kasper^> I am using the latest git [18:59] <PowerCC> relaxed: thank you very much for answering a n00b question. [18:59] <PowerCC> i will now add this to my pytivo parameters too. [18:59] <Kasper^> but I am not trying to use ffmpeg itself but the libavcodec/format/etc.. libs [18:59] <Kasper^> trying to build an app that will read a video file frame by frame [19:00] <Kasper^> I have some very old code that is not outdated due to the API changes [19:00] <Kasper^> the closest is the doc/example code [19:00] <PowerCC> relaxed: it worked without the quotes [19:00] <Kasper^> but that one assumes the codec is known [19:01] <PowerCC> -vcodec mpeg2video -b 20971k -maxrate 30000k -bufsize 8388k -acodec ac3 -ab 448k -ar 48000 -vf scale=1920:-1 -f vob - [19:42] <Whoopie> Hi, I try to compile xdtv which uses ffmpeg. I had to replace guess_format by av_guess_format, and now, it shows these warnings on x64: [19:42] <Whoopie> container-ffmpeg.c:50:5: warning: implicit declaration of function 'av_guess_format' [-Wimplicit-function-declaration] [19:42] <Whoopie> container-ffmpeg.c:50:19: warning: assignment makes pointer from integer without a cast [enabled by default] [19:42] <Whoopie> Function `av_guess_format' implicitly converted to pointer at container-ffmpeg.c:50 [19:42] <Whoopie> The problem is that the build in a Ubuntu PPA fails if there're are implicit conversions. How can I fix that? [20:25] <Goffredo> anyone here using aarch who could help me compile ffmpeg with aac support? [20:45] <granjero> Hi [20:45] <granjero> Got problems to embed srt subtitles into mp4 [20:47] <granjero> ffmpeg -i movie.mp4 -i movie.srt -scodec copy -sameq moviesub.mp4 [22:36] <Yerodin> I'd like to convert a directory full of wmv's into avi with xvid and libmp3lame using ffmpeg. There are about 100 files so I'm looking for a solution not to enter every single file. Any ideas? [22:37] <Tjoppen> for f in *.wmv ; do ffmpeg -i $f [other options] ; done [22:38] <Yerodin> ty Tjoppen. What does "for f in ..." stand for exactly. Don't like to use something I didn't understand ;-) [22:38] <Tjoppen> it's a small shell script [22:39] <Tjoppen> on windows you could use a .bat file, but I don't recall the syntax. internet probably knows [22:40] <Yerodin> No windows over here at all :) [22:41] <Tjoppen> no worries then. I suggest reading a light shell scripting tutorial - comes in handy [22:42] <Tjoppen> "bash tutorial" seems to generate lots of useful hits [22:44] <Yerodin> I do have this now: [22:44] <Yerodin> for f in *.wmv; do ffmpeg -i $f -map 0:0 -map 0:1 -threads 4 -aspect 16:9 -y -f avi -er 3 -acodec libmp3lame -ab 128k -ar 48000 -ac 2 -vcodec libxvid [22:44] <Yerodin> But afaik I need to set an output file, doesn't I? [22:45] <Yerodin> Tjoppen: Already bookmarked an bash tut but didn't have the time to actually start reading. [22:45] <JEEB> ${f}.out.avi [22:45] <JEEB> at the end [22:45] <JEEB> or something [22:46] <JEEB> you can either call out that f variable by just doing $f or "properly" putting lulzy curly braces around it [22:46] <Yerodin> for f in *.wmv; do ffmpeg -i $f -map 0:0 -map 0:1 -threads 4 -aspect 16:9 -y -f avi -er 3 -acodec libmp3lame -ab 128k -ar 48000 -ac 2 -vcodec libxvid ${f}.avi [22:47] <Yerodin> All I get is a > prompt... [22:48] <Yerodin> Now I feel kinda nooby -.- I'm to stupid to type a command which does what I want :( [22:49] <JEEB> for f in *.wmv; do ffmpeg -i $f -map 0:0 -map 0:1 -threads 4 -aspect 16:9 -y -f avi -er 3 -acodec libmp3lame -ab 128k -ar 48000 -ac 2 -vcodec libxvid ${f}.avi; done [22:49] <Yerodin> Ah! [22:49] <JEEB> for starts the loop's parameters, do does something for every loop, done means the loop's done [22:49] <JEEB> http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-7.html [22:49] <JEEB> see the for loop sample [22:49] <JEEB> this is basically raping that kind of stuff into a one-liner [22:50] <Yerodin> Thanks a lot! [22:50] Action: Yerodin reading the link. [22:50] <Freakshow> JEEB: 'raping' or 'wrapping' ? ;-) [22:51] <JEEB> depends on if you like perl golf [22:51] <Freakshow> lulz [22:51] <Freakshow> touché [22:58] <Yerodin> Is there a way to get ffmpeg to use all 4 cores at 100% ? [23:00] <rainmaker1> Is there a way to get some stats from ffmpeg in 5 min interval for example? [23:02] <rainmaker1> I am aware of http://www.pixiv.net/member_illust.php?mode=medium&illust_id=25903500 [23:02] <rainmaker1> ups :) [23:02] <rainmaker1> I am aware of -vstats_file [23:02] <JEEB> suddenly pixiv links in my #ffmpeg [23:02] <rainmaker1> but it's simply to much.. [23:02] <rainmaker1> sorry for that :) [23:03] <rainmaker1> someone posted that link on another channel.. [00:00] --- Mon Mar 19 2012
participants (1)
-
burek