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

burek burek021 at gmail.com
Sun Oct 28 02:05:01 CEST 2012


[00:20] <naxil> hello
[00:20] <naxil> i want do this file Duration: 00:00:08.08, start: 3.000000, bitrate: 6999 kb/s
[00:20] <naxil>     Stream #0.0: Audio: 0x0162, 44100 Hz, stereo, s16, 96 kb/s
[00:20] <naxil>     Stream #0.1: Video: vc1, yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 6140 kb/s, 29.97 tbr, 1k tbn, 29.97 tbc
[00:20] <naxil> i can encode the same file with linux?
[00:21] <naxil> i want start from youtube video and finish to the same info
[00:23] <JEEB> you can most probably encode it, but there is no vc1 encoder in libavcodec so you can't encode to the vc1 format :P
[00:23] <JEEB> no idea what you meant because you certainly didn't put it clear what you want
[00:24] <naxil> yes JEEB
[00:24] <naxil> i want make a output file like the ffmpeg -i info
[00:25] <iive> ffprobe ?
[00:25] <naxil> but if i can't make the vc1 file..
[00:25] <JEEB> yes, libavcodec doesn't have vc1 encoders
[00:25] <naxil> ffprobe?
[00:25] <naxil> what is it?
[00:25] <JEEB> you can get a free vc1 encoder from MS
[00:25] <JEEB> called the expression encoder
[00:25] <iive> sorry... got the wrong idea.
[00:25] <naxil> for linux?
[00:25] <JEEB> the free version of it contains an up-to-date VC-1 encoder
[00:25] <JEEB> naxil, hah
[00:25] <naxil> i use ubuntu lucid
[00:25] <naxil> i hate m$
[00:26] <JEEB> I'm not even sure if the VC-1 reference encoder can be built on linux
[00:26] <JEEB> naxil, try expression encoder under wine
[00:26] <iive> probably with some tweaking.
[00:26] <JEEB> if it doesn't work then you can't encode vc1 under linux
[00:26] <naxil> yes i have try
[00:26] <iive> i remember some programs used the reference decoder.
[00:26] <naxil> but it close with error after i hav einstall it
[00:26] <iive> this actually gives me an idea.
[00:26] <naxil> say to me windows error
[00:27] <JEEB> naxil, do you have an up-to-date wine?
[00:27] <naxil> i don't know.. i can install latest wine with 10.04 ubuntu?
[00:27] <JEEB> try the official ppa?
[00:27] <JEEB> http://www.winehq.org/download/ubuntu
[00:28] <naxil> wine-1.4
[00:28] <naxil> i have wine-1.4
[00:28] <JEEB> try wine-1.5
[00:28] <naxil> JEEB
[00:28] <naxil> tnx
[00:28] <naxil> thz
[00:28] <naxil> thv
[00:28] <naxil> thanks
[00:28] <naxil> lol
[00:29] <JEEB> but really, if you need to encode VC-1 it's much simpler to just use windows if wine really doesn't work :P
[00:29] <JEEB> be it in a virtual machine or not
[00:33] <naxil> isprivate?
[00:34] <naxil> Jeeb but for see the info about options on ffmpeg
[00:34] <naxil> becasue ffmpeg --help show only...
[00:34] <JEEB> what?
[00:37] <naxil> the right options for encode
[00:37] <naxil> i not see the help
[00:37] <naxil> where i can see all the options?
[00:37] <JEEB> eh
[00:37] <JEEB> -help
[00:37] <JEEB> single -
[00:37] <JEEB> in general ffmpeg options all have a single -
[00:38] <naxil> axil at naxil-desktop:~$ ffmpeg -help
[00:38] <naxil> FFmpeg version SVN-r0.5.9-4:0.5.9-0ubuntu0.10.04.1, Copyright (c) 2000-2009 Fabrice Bellard, et al.
[00:38] <naxil>   configuration: --extra-version=4:0.5.9-0ubuntu0.10.04.1
[00:38] <naxil> i see only this.. not the options like -o
[00:39] <JEEB> also geez that is old, but it won't help you encode vc-1
[00:39] <iive> naxil: this is at least 3 years old. :P
[00:40] <iive> and upgrading ubuntu won't give you real ffmpeg.
[00:40] <JEEB> well not like he will able to encode vc-1 if he updates his ffmpeg >_>
[00:50] <naxil> what iive?
[02:29] <V1nce> hi
[03:44] <hexsprite> I'm trying to do a slow motion effect on a video and copy audio silence.  The problem here is that it doesn't stop encoding when the video ends and tries to keep encoding /dev/zero forever.  Any tips?? ffmpeg -i %(input_filename)s -ar 44100 -acodec pcm_s16le -f s16le -ac 2 -i /dev/zero -acodec aac -ab 128k -strict -2 -vcodec libx264 -vf 'setpts=%(slomo_factor)i*PTS' -map 0:0 -map 1:0 %(output_filename)s
[03:48] <hexsprite> guess i could add an explicit -t option
[03:51] <hexsprite> how can I ask ffmpeg to stop encoding when it reaches the end of the video input file as opposed to keep trying to encode the audio which is longer?
[06:33] <Reelee> I am having problems using multiple chains (with overlays) in filter_complex: http://pastebin.com/dsk9TShq  Can someone please help me out?
[08:28] <elkng> how to get convert part of video into frames in "png" format ?
[08:29] <elkng> to extract only frames from 20 to 40 ?
[08:44] <zap0> how do you think?
[12:29] <divVerent> is there a way to specify HUGE input command lines to ffmpeg from a file?
[12:29] <divVerent> I tried using -fpre, but it doesn't recognize i= and itsoffset= in there
[12:30] <divVerent> and all I want to do is to use like thousands of input files with different itsoffset, and amix them
[12:30] <divVerent> yes, I did look into doing this with sox instead, it seems to not be able
[12:32] <divVerent> hm... it failed anyway, amix's "longest" stream length setting fails to work properly with -itsoffset
[14:14] <GRMrGecko> I have both a video and audio source. The video ends at 38590 frames, which is before the audio ends. How can I make ffmpeg stop encoding the file at end of video input?
[14:14] <GRMrGecko> -async 0?
[14:15] <JEEB> I think there was a -shorter option or something?
[14:22] <GRMrGecko> JEEB: I'll look, thanks
[14:23] <GRMrGecko> JEEB: -shortest
[14:23] <GRMrGecko> thanks:D
[14:34] <WGH> hello, I'm having trouble capturing my screen with ffmpeg on Windows
[14:35] <WGH> I've installed additional DirectShow filter and it works fine, but
[14:35] <WGH> there are no audio input filters
[14:35] <WGH> according to various web sites, there should be several input filters with names matching actual audio devices
[14:35] <WGH> but there are none
[14:36] <WGH> GraphStudio also doesn't have "audio capture source" option in the drop-down list
[14:41] <WGH> oh, I've found the solution, but it wasn't obvious at all
[14:42] <WGH> I've done something with so-called "stereo mix" device
[14:46] <WGH> I should write about that on the ffmpeg wiki
[15:02] <WGH> as always, you solve the problem the moment you ask about it on IRC
[16:13] <mcnesium> i have trouble with converting ogv to webm: http://pastie.org/5123504
[16:13] <mcnesium> searching 'oggvorbis_encode_init: init_encoder failed' on the web gets me lots of stuff but none of it has a real solution in it
[16:14] <mcnesium> so can anyone help me find the error?
[16:14] <mcnesium> this is on ubuntu 12.10
[16:14] <mcnesium> ffmpeg version 0.8.3-6:0.8.3-6ubuntu2
[16:26] <mcnesium> same with the original .avi file http://pastie.org/5123551
[16:27] <Mavrik> 1.) avconv obviously isn't ffmpeg even though Ubuntu maintaners think that
[16:27] <Mavrik> 2.) libvorbis probably doesn't like your output audio settings
[16:27] <Mavrik> try setting number of channels to 2 or raising sample rate to 22050
[16:28] <JEEB> that's libav used as you can see, try switching from the ffmpeg command to avconv (as it's the updated binary in libav), and yes -- what Mavrik says about output audio settings.
[16:36] <mcnesium> Mavrik: i figured that i geht this answer here, but i have the same output with ffmpeg, just accidentally caught the "wrong" paste
[16:36] <Mavrik> mcnesium, mhm, just remember not all things we say here always work (or hold for) avconv :)
[16:38] <JEEB> then I guess you would have to poke your audio encoder settings
[16:38] <JEEB> because sample format at least gets autoconverted to something thatl libvorbis likes
[16:39] <JEEB> mcnesium, also the ffmpeg in there is really old, if you are going to use the stuff delivered with ubuntu, you should use the avconv command. libav rewrote parts of ffmpeg and renamed it avconv. ffmpeg's ffmpeg (the tool) currently has those updates, but libav's 'ffmpeg' is basically a very old version of it that was removed after the 0.8 release in libav.
[16:40] <JEEB> how did you switch sample rate again...
[16:40] <JEEB> ah
[16:40] <JEEB> -ar
[16:41] <JEEB> mcnesium, try adding -ar 22050 after the -i
[16:41] <mcnesium> ar 22050 didn change a thing, but using 44100 i get a different error, hold on :)
[16:42] <mcnesium> http://pastie.org/5123606
[16:42] <JEEB> fun stuff, you should ask #libav that I guess
[16:42] <mcnesium> i googled that error before, too but also only lots of pastebin foo
[16:42] <mcnesium> okay ill try
[16:43] <JEEB> yes, that one just means that the timestamps didn't rise from the last frame
[16:43] <mcnesium> can i avoid that?
[16:44] <JEEB> depends on where it's happening
[16:45] <mcnesium> so this is a file-specific problem?
[16:45] <JEEB> could be a muxer specific in libav
[16:45] <JEEB> (in the 0.8 release of theirs)
[16:46] <mcnesium> didnt figure this to be so so complicated to convert a video to webm these days -.-
[16:59] <knob> Hello everyone
[16:59] <knob> Are there any "support forums" for ffmpeg?
[16:59] <knob> Someplace you might suggest I go to post some questions/doubts?
[16:59] <JEEB> the one in the topic?
[17:01] <knob> damn...
[17:02] <knob> sorry for that, and thank you JEEB =)
[17:02] <knob> much appreciated
[17:02] <JEEB> np, never really visited it myself but it is in the topic so I would guess it's more or less official :)
[17:02] <knob> side-question:  I am successfully creating a small .mpg with ffmpeg.  I want to play that video on a webpage.  Any players you guys suggest?
[17:03] <knob> I saw FlowPlayer.org and html5 video... yet not sure what/where/why.
[18:30] <m4t> im getting a segfault in avformat_open_input->adts_aac_read_header->ff_id3v1_read
[18:30] <m4t> across multiple versions (0.8.x, 0.10.x)
[18:30] <m4t> i think im missing some configure option to enable that?
[18:33] <m4t> http://pastebin.com/kW6s64Rk
[18:38] <m4t> im getting another crash with wma at avformat_open_input->asf_read_header->avio_read
[18:43] <m4t> http://pastebin.com/dNMj4yJj
[19:01] <m4t> for some reason AVIOContext is seems to be null when passed to avio_read()
[19:02] <m4t> #0  0x000003fff6345880 in avio_read (s=0x0, buf=0x3fff44f3c40 "@\\b", size=16)
[19:47] <PwrSurge> hello
[19:47] <PwrSurge> When I try to use ffmpeg, i get [mjpeg @ 0x438ab0] Could not parse framerate: 25.
[19:47] <PwrSurge> any idea what is going on?
[20:56] <RobertNagy> is there any function in ffmpeg that would allow me to resample x number of audio samples to y number, where x changes and y is constant, without having to initialize a swresample context everytime?
[21:42] <ZiNC> Hey.
[21:47] <funyun> hi. i'm trying to encode a video but the encode is very slow. here's the syntax i'm using "ffmpeg -i movie.mpg -vcodec libx264 -vf crop=in_w-6:in_h-4:4:2,scale=854:480 -preset slow -crf 17 -threads 0 video3.h264"
[21:48] <funyun> does anyone know why this is happening?
[21:52] <ZiNC> What's "slow"?
[21:53] <funyun> ZiNC: the video is half or more the speed it should be
[21:53] <ZiNC> The encoding speed?
[21:53] <funyun> ZiNC: playback speed
[21:54] <ZiNC> Is framerate identified correctly in the final video?
[21:54] <ZiNC> Does it max the CPU?
[21:56] <funyun> ZiNC: it uses 17% of the CPU. i used the same framerate mediainfo provides for the source
[21:57] <ZiNC> Not sure then.
[21:58] <ZiNC> If you think it's about encoding parameters, perhaps try changing them and see the effect.
[22:00] <funyun> cbsrobot: http://pastebin.com/3T3HVn7t
[22:03] <cbsrobot> funyun: what happens if you add -r 24000/1001
[22:04] <cbsrobot> just encode the first few minutes to test
[22:04] <cbsrobot> use -t 600
[22:04] <cbsrobot> f.ex
[22:13] <PwrSurge> When I try to use ffmpeg, i get [mjpeg @ 0x438ab0] Could not parse framerate: 25.
[22:13] <PwrSurge> any idea what is going on?
[22:14] <durandal_1707> PwrSurge: full uncut console output
[22:24] <funyun> cbsrobot: yes, that helped. but now i think it's too fast
[22:37] <funyun> cbsrobot: yes. def too fast
[22:38] <Simex> Hello everybody
[22:58] <PwrSurge> ffmpeg version 0.10 Copyright (c) 2000-2012 the FFmpeg developers
[22:58] <PwrSurge>   built with gcc 4.5.3
[22:58] <PwrSurge>   configuration: --disable-encoders --disable-muxers --disable-ffplay --disableP
[22:58] <PwrSurge> peg --enable-demuxers --enable-parser=mjpeg --enable-demuxer=mjpeg --enable-decP
[22:58] <PwrSurge> --disable-bsfs --enable-decoder=dvbsub --enable-demuxer=mpegps --disable-device2
[22:58] <PwrSurge> sable-zlib --enable-bzlib --disable-network --disable-ffprobe --disable-static
[00:00] --- Sun Oct 28 2012


More information about the Ffmpeg-devel-irc mailing list