[Ffmpeg-devel-irc] ffmpeg.log.20121216
burek
burek021 at gmail.com
Mon Dec 17 02:05:01 CET 2012
[00:07] <lake> I am importing video from a v4l2 device @ 720x480 and 4:3 aspect ratio. Also, I am deinterlacing with yadif=0, cropping and scaling. My goal is then to take the high quality mkv file and convert it to dvd. I do have a glitch in my output file though... there are a few seconds at the very beginning where the frame is stuck but i can hear audio and a few seconds in the video plays normally and audio and video
[00:07] <lake> are synced correctly. pastie to come soon
[00:18] <lake> pastie to go along with my issue: http://pastebin.com/zC6VxbZi
[00:19] <lake> it displays the capture command that i use and the capture output. It also shows the output of the convert to MPG command (ffmpeg -i foo.mkv -target ntsc-dvd -aspect 4:3 out.mpg)
[00:20] <lake> again, the outputted mpg has frames that display frozen for seconds while audio plays. Once the audio has reached a certain point the video plays properly and the audio and video are synced correctly. very strange.
[00:21] <lake> here is a pastie of the mediainfo from the source mkv and the outputted mpg: http://pastebin.com/iHpfHAh4
[00:30] <lake> sorry if it makes no sense, i'm trying to wrap my ahead around this. phew
[00:33] <kode54> why is libfdk-aac considered non-free? does libfaac include a license, or is that non-free as well?
[00:37] <klaxa> i thought libfdk-aac was free
[00:40] <technicus> Hello, is there a way to capture desktop activity and configure the system to recognize the capture as a video camera stream?
[00:41] <klaxa> technicus: take a look at x11grab
[00:48] <technicus> I am trying to do something . . . maybe a little weird . . .
[00:49] <technicus> I want to take a video, and have it recognized as a video camera device . . . is there a way to do that?
[00:51] <klaxa> what are you trying to achieve? you could pipe the x11grab output to a named pipe and see if whatever program needs a camera can take that pipe as an argument
[00:53] <technicus> That is basically what I am trying to do :)
[00:54] <klaxa> but for what purpose? maybe this approach is overkill
[00:56] <technicus> Well I am experimenting with < https://github.com/zk00006/OpenTLD > but it requires a video camera stream, but I don't have a camera.
[00:56] <technicus> I got the software compiled, but it is looking for a camera.
[00:58] <klaxa> mmh no idea
[01:32] <klaxa> relaxed are you there?
[02:07] <gcr> Hey, I'm building an FFI for ffmpeg. I'd love to use the AVOptions framework so I don't have to change my library as you add and remove struct fields for eg. AVCodecContext, but can I be sure that all the struct fields are exposed as AVOptions? E.g. AVCodecContext->pix_fmt isn't exposed in the options table, so I have to reference it by offset, ew
[02:13] <gcr> So I guess my question is, is it possible to build a video/audio decoder (and maybe encoder too) that completely relies on AVOptions while only worrying about the first few "essential" fields of the options-enabled structs?
[02:22] <mog> hi
[02:24] <mog> i have a 91 gig feature length movie thats some 10 bit raw 1080i video file, id like to convert it x264 file thats high quality
[02:25] <mog> does someone have a line they use on blurays or other high def source?
[02:39] <klaxa> are you mog from #3LN?
[02:40] <mog> yno?
[02:40] <klaxa> klx
[02:40] <klaxa> hmm nvm, anyways depends on what kind of movie it is i think
[02:41] <klaxa> especially for the -tune options, maybe try to ask in #x264 too
[02:41] <mog> *nods*
[04:51] <beware> which would be better for encoding, mpeg4 or libxvid?
[04:52] <sacarasc> Probably about the same.
[04:53] <beware> i find that when using -b to set a bitrate, mpeg4 adheres to it closely but libxvid uses it only roughly as a quality indicator and varies a lot
[04:54] <beware> this is with 2 pass
[04:56] <roboman2444> beware, i usually use x486 or whatever it is
[04:56] <beware> x264?
[04:57] <roboman2444> yea
[04:57] <roboman2444> that thing works wonders...
[04:58] <beware> it's a different codec
[04:58] <roboman2444> https://www.youtube.com/watch?v=FV8hCXqx9Yo
[04:58] <roboman2444> whole thing was only 500 mb
[04:58] <beware> so you're basically answering my question with "the sky is blue"
[04:58] <roboman2444> yea
[04:58] <roboman2444> but mpeg4 is good also
[04:59] <sacarasc> H264 is *AN* MPEG4, like "mpeg4" and xvid.
[04:59] <beware> yes
[04:59] <roboman2444> mpeg4 is usually supported by more things, idk about size though
[04:59] <roboman2444> i personally like mkv for size
[04:59] <beware> part 2 versus part 10
[04:59] <beware> mkv is a container
[05:00] <roboman2444> whats its default encoding?
[05:00] <klaxa> libxvid implements mpeg4 part 2, so xvid videos itself are valid mpeg4 (aka, every mpeg4 decoder will be able to decode xvid)
[05:01] <klaxa> at least it's like that when wikipedia is not lying and i remember it correctly
[05:01] <klaxa> i think xvid is more efficient than mpeg4, i might be wrong though
[05:01] <beware> you mean every mpeg4 part 2 decoder? or are mpeg4 part10 decoders fully backwards compatible with part 2 too?
[05:01] <klaxa> yes every mpeg4 part 2 decoder
[05:01] <klaxa> i don't know about backwards compatibility with mpeg4 part 10 decoders
[05:02] <klaxa> i think i personally would prefer libxvid in this case
[05:02] <klaxa> what is your usecase?
[05:03] <klaxa> i remember encoding a video in mpeg4 (not with libxvid) because it would have been played back on an unknown device
[05:03] <klaxa> or at least unknown by me at the time of encoding
[05:03] <beware> ddr (video game) background videos for simulation (stepmania)
[05:04] <klaxa> just go with libxvid i guess
[05:04] <klaxa> should be widely compatible
[05:04] <beware> i am using mpeg4 atm, because with libxvid, the variable bitrates (constant quality) means that the more "quiet" videos get artefacts
[05:05] <beware> like in the very begin, you see the video take some time to "build up"
[05:05] <klaxa> oh they do?
[05:05] <beware> (which you see everytime it loops)
[05:05] <klaxa> and they don't with mpeg4?
[05:05] <beware> indeed
[05:05] <klaxa> in that case use mpeg4
[05:05] <beware> if i say -b 2000,
[05:05] <beware> then with mpeg4, it's 2000 (average), with libxvid, it's a constant quality
[05:05] <beware> (but it bases it on the bitrate figure given)
[05:06] <beware> i wonder if i can tell libxvid to really use the bitrate as a bitrate
[05:07] <beware> ok this is odd
[05:07] <beware> it's not true that mpeg4 really exactly adheres to the bitrate. somehow, but that "building up" artefact is gone with mpeg4
[05:07] <beware> (and present with libxvid)
[05:12] <klaxa> beware: in that case use mpeg4 :P
[05:57] <lake> does vsync/async slow down converting?
[06:16] <lake> when is vsync/async actually needed
[06:32] <lake> is it possible for me to concat mkv files into one mkv file?
[06:38] <klaxa> http://ffmpeg.org/ffmpeg.html#concat-1
[06:53] <lake> klaxa: that is fantastic.
[06:53] <klaxa> i had that open myself :P
[06:53] <klaxa> will need it in the future
[06:54] <lake> klaxa: thanks! I thought the syntax was lame, so i wrote a simple helper in ruby to run it automatically and drop all the files of a directory in the concat line :p
[06:54] <lake> it sure would be cool if it used like "*.mkv"
[06:55] <klaxa> write code, create patch, write to dev-mailing list, ???, profit
[06:56] <lake> lol
[06:58] <lake> damn that concat line didn't seem to work actually
[06:58] <lake> frick
[06:58] <lake> it only used the first video
[07:00] <lake> maybe i actually have to reencode instead of vcodec copy
[07:19] <smj> x264 has -presets, but does mpeg2 encoding have a quality setting?
[07:23] <klaxa> you can use bitrate or quality based settings i think
[07:39] <smj> but if I'm using -target for encoding for DVD
[07:39] <smj> that doesn't sound like a great idea
[07:56] <smj> does -target have any proper documentation?
[07:56] <smj> is the dvd option for single or dual layer dvd?
[09:14] <zenny1> hi, trying to compile ffmpeg on ubuntu 12.04. Pulled from git as well as tarball, but getting "gcc is unable to create an executable file". config.log shows nothing more than "gcc -c -o /tmp/ffconf.oJdyME7G.o /tmp/ffconf.Os3rT7hV.c \n gcc-4.7: error trying to exec 'as': execvp: No such file or directory \n C compiler test failed.". How can I solve this problem. System has both 4.6 and 4.7 gcc with a fallback /usr/bin/gcc bash scri
[09:17] <zenny1> ??
[09:24] <smj> are you sure you have installed everything you need for compiling?
[09:29] <zenny1> yep.
[09:29] <zenny1> I followed this guide (https://github.com/avxsynth/avxsynth/wiki/System-Setup)
[09:30] <zenny1> and this one (http://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide), only the ffmpeg part for compilation from git.
[09:33] <zenny1> @smj: also created a bash script as stated here (http://stackoverflow.com/questions/9985840/when-installing-gcc4-7-on-12-04-gcc-doesnt-switch-from-4-6-to-4-7)
[09:36] <smj> what happens when you try sudo apt-get build-dep ffmpeg
[09:36] <smj> ?
[10:07] <MCBFirestar> hi hi
[10:07] <MCBFirestar> :D
[10:08] <MCBFirestar> I am having some issues running ./configure, it is saying that the /tmp dir does not exist or is not writtable
[10:08] <MCBFirestar> but it exists and it is writeable
[10:09] <sacarasc> Can you execute things in it?
[10:17] <pzich> is there a good way to improve the seek time when using -ss?
[10:17] <pzich> oh, I guess by googling: http://ffmpeg.org/trac/ffmpeg/wiki/Seeking%20with%20FFmpeg
[10:22] <MCBFirestar> \o/
[10:22] <MCBFirestar> fixed the problem by changing the configure script
[10:22] <MCBFirestar> and set the TMPDIR in the topof the file
[10:22] <MCBFirestar> ty
[10:22] <MCBFirestar> :)
[10:33] <nafiux> Hello, I have problem compiling ffmpeg with --enable-librtmp
[10:33] <nafiux> Can you help me?
[10:49] <zenny1> @smj: 'sudo apt-get build-dep ffmpeg' gives 'Picking 'libav' as source package instead of 'ffmpeg'
[10:49] <smj> huh...
[10:52] <hiptobecubic> another great reason to avoid ubuntu it seems
[11:03] <zenny1> but does one need to compile once again the static ffmpeg builds or they are binary?
[11:04] <sacarasc> THey're binaries.
[11:05] <burek> you just download them, extract and run
[11:09] <zenny1> okay
[11:12] <zenny1> getting 'configure: error: C compiler cannot create executables' even when the static ffmpeg was used. :-(
[11:13] <burek> wait
[11:13] <burek> you're doing something wrong
[11:13] <burek> no need for configure
[11:13] <burek> extract the downloaded archive, that contains static ffmpeg
[11:13] <burek> you'll get (at least) ffmpeg file/binary
[11:13] <burek> run it using ./ffmpg
[11:13] <burek> run it using ./ffmpeg
[11:13] <burek> that's it
[11:15] <zenny1> I needed ffmpeg to compile to compile avxsynth (see here: https://github.com/avxsynth/avxsynth/wiki/System-Setup), mere binaries are already available in the ubuntu repository.
[11:19] <burek> then you need to compile your ffmpeg
[11:22] <zenny1> have been following http://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide for the second day without success.
[11:25] <zenny1> checking if it works by purging gcc and reinstalling.
[11:49] <smj> does Linux have any tool for simple calculations? for doing something like ffmpeg -i inputfile -b `calc 700*1024*1024/3600`k outputfile
[11:50] <cbsrobot> bc
[11:50] <cbsrobot> ^ smj
[12:03] <smj> that looks good, but is -b `echo "(700*1024)/(90*60)"|bc`k the cleanest way to use it?
[12:06] <cbsrobot> I guess so
[12:06] <cbsrobot> but you can also create a script if you want
[12:07] <cbsrobot> something along the lines
[12:07] <cbsrobot> echo "$1" | bc
[12:08] <cbsrobot> than you can throw your string to it & : -b `mybc "(700*1024)/(90*60)"`k
[12:08] <sacarasc> Eww, CD sized files.
[12:15] <smj> sacarasc, what's wrong with CD sized files?
[12:16] <sacarasc> They're usually awful looking.
[12:17] <smj> depends on whether you're encoding a movie or a youtube clip
[12:18] <sacarasc> Most of the movies I encode end up 1.5-2.5GB for SD.
[14:38] <digited> hi there
[14:39] <digited> I want to make a Qt app which can read metatags from mp3s and oggs with ffmpeg (dev package)
[14:39] <digited> where to start? What to download?
[14:40] <digited> because Phonon... doesn't work well, to be short...
[14:42] <digited> I have Qt ready on Win7 x64 and downloaded builds of ffmpeg-win32- dev, static and shared
[14:45] <smj> I know nothing about ffmpeg API, but http://ffmpeg.org/doxygen/1.0/group__metadata__api.html
[14:46] <digited> thanks, looks close enough
[14:51] <digited> so I guess the metatag reading code should look something like this http://ffmpeg.org/doxygen/1.0/ffprobe_8c-source.html#l01814
[14:52] <digited> so 1995
[14:56] <Zandman26> Is there anyway I can split monitor audio from my mic audio in ffmpeg when you run through linux and the alsamixer
[15:05] <digited> hm, looks like in my case there's a shortcut http://stackoverflow.com/questions/9464617/retrieving-and-saving-media-metadata-using-ffmpeg
[15:11] <Zandman26> digited: were you adressing my problem?
[15:12] <ubitux> you can use ffprobe -of xml
[15:16] <Zandman26> Ok I'm just resently got in to ffmpeg, I guess that would produce a xml file but what would it tell me?
[15:28] <digited> Zandman26, no, and ubitux ' reply was for me too, most probably
[15:32] <Zandman26> Ok^^
[15:51] <finics> Hello, Is MpegTs encoding still buggy in ffmpeg, as I read on some forum?
[15:58] <francogrex> I used to know how to do this now it's lost. How to convert flv files to the avi format that is playable from Wii nintendo SD card
[15:58] <francogrex> google has shit all
[16:20] <burek> finics, try and see
[16:22] <finics> Yes I tried and also faced many problems, so I thought to sk before facing more issues.
[16:26] <burek> then provide pastebin of your output logs
[17:10] <Zeeflo> hey guys. How do I copy a video stream but add a subtitle track?
[17:10] <Zeeflo> I am using this -map 0 -vf "ass=/home/media/film/p/Predator.ass" -c:v libx264 -preset medium -crf 21
[17:10] <Zeeflo> i tried with -map 0 -vf "ass=/home/media/film/p/Predator.ass" -c:v copy
[17:10] <Zeeflo> that didnt work
[17:11] <klaxa> this way you would burn the subtitle in
[17:11] <Zeeflo> thats what i want to do
[17:11] <klaxa> just do -i <subtitle file> -c:s copy
[17:11] <Zeeflo> i dont want the audio copied
[17:12] <klaxa> in that case: ffmpeg -i <video-file-with-audio> -i <subtitle-file> -an -c:v copy -c:s copy output.mkv
[17:12] <Zeeflo> look here: http://pastebin.ca/2294054
[17:12] <Zeeflo> i donT want to copy the audio
[17:12] <klaxa> but you want to reencode the audio to aac?
[17:12] <Zeeflo> yes
[17:13] <Zeeflo> i want to keep the encoding, cause its h264
[17:13] <klaxa> and do you want the subtitles to be softsubs or hardsubs? (i.e. a subtitle stream in the file, or subtitles embedded in the video-stream)
[17:13] <Zeeflo> but i want to encode to stereo aac and burn in subtitles
[17:13] <Zeeflo> hardsubs
[17:13] <klaxa> if you want to burn in subtitles you must reencode
[17:13] <Zeeflo> all over?
[17:14] <klaxa> yes
[17:14] <Zeeflo> ok
[17:14] <klaxa> because you are changing the videostream itself
[17:14] <Zeeflo> ok.. it will just lose quality
[17:14] <Zeeflo> encoding an encoding
[17:15] <klaxa> yes it will
[17:15] <klaxa> it will also have hardsubs :P
[17:15] <Zeeflo> thats why i though it would be possible to keep the encoding and just burn another stream into it
[17:15] <klaxa> which will overlay parts of the video anyways
[17:15] <Zeeflo> i have to do it like that to make it possible to play with flowplayer
[17:15] <Zeeflo> flowplayer wont support websrt
[17:16] <klaxa> not really, you are taking an image, put a new layer on it, but in order to be able to play it, it has to be one layer, so you add those layers together and then you have to reencode
[17:16] <Zeeflo> ok
[17:16] <klaxa> so yeah hardsubbing has to be reencoded
[17:16] <klaxa> generally, applying videofilters means you have to reencode
[17:17] <Zeeflo> yea
[17:17] <Zeeflo> ok
[17:22] <praedo> can ffmpeg output audio only to a shoutcast server?
[17:31] <klaxa> if i remember correctly, ffmpeg is not a protocol compliant shoutcast source-client
[17:33] <praedo> any idea to extract audio from a rtmp source and reuse it for shoutcast?
[17:34] <Zeeflo> ask the copyright holder for the audio source
[17:34] <Zeeflo> :P
[17:38] <gcr`> PNG format question: are pixels stored in premultiplied format?
[17:59] <Nick-S> i've generated h264 mp4 but it only opens in vlc
[18:15] <Zeeflo> heh
[18:15] <Zeeflo> open it with something else.
[18:16] <Nick-S> it won't work with windows media player
[18:16] <Nick-S> isn't mp4 a good container for wmp?
[18:16] <Zeeflo> install a codec pack
[18:17] <Nick-S> what would work out of the box?
[18:17] <Zeeflo> coop
[18:18] <Nick-S> ?!
[18:19] <Zeeflo> hold
[18:21] <Zeeflo> here: http://lmgtfy.com/?q=k-lite+codec+pack
[18:26] <sander__> Do anyone know about a service that lets me upload videos, and embed those videos into my own private section on my webpage?
[18:26] <klaxa> youtube?
[18:27] <sander__> Ah.. then you need to put the video to private I guess? So only those with the link can use it?
[18:28] <sander__> klaxa, is there any alternatives? I heard vimeo dosn't allow commercial videos
[18:29] <Nick-S> Zeeflo: i need to produce something that windows media player will play out of the box
[18:30] <Zeeflo> s3 amazon aws
[18:30] <Zeeflo> Nick-S, you need to produce what?
[18:31] <Zeeflo> WMP wont play mp4 h264 out of the box
[18:31] <Zeeflo> use avi for that
[18:34] <Nick-S> avi with mp4?
[18:34] <Nick-S> avi with h264 with play?
[18:34] <Zeeflo> yes, you can encode x264 with avi
[18:35] <Zeeflo> avi is a container like mp4
[18:35] <Zeeflo> avi is just playable out of the box with wmp
[18:35] <Nick-S> so thats my solution from my .ts to avi instead of mp4
[18:35] <Zeeflo> yes
[18:35] <Tjoppen> Zeeflo: win7+ wmp plays mp4 out of the box
[18:36] <Zeeflo> Tjoppen, doesnt look like it ;)
[18:36] <Tjoppen> I guess I'll have to double check some day
[18:41] <Nick-S> Tjoppen: doesn't
[18:52] <edsiper> is there any rtp/h264 expert around ?
[18:54] <jshanab_> I just pulled this morning and am trying to build on x86_64 linux with --enable-shared but I get the final lnking error. Does anyone have a working ./configure formula?
[19:05] <jshanab_> make distclean before the configure is the trick
[19:05] <jshanab_> g'day
[19:28] <nafiux> Hi, I have a problem with segmenter.c: [mpegts @ 0x1165ae0] no streams
[19:28] <nafiux> Can you help me?
[19:44] <nafiux> ?
[19:47] <zenny1> Hi again, i tried to compile ffmpeg in ubuntu 12.04 (as mentioned here: https://github.com/avxsynth/avxsynth/wiki/System-Setup, but when I try to configure, I get 'gcc is unable to create an executable file.' and fails. I have purged and reinistall gcc and libc6 (dev libs too), yet without success. Any input will be appreciated!
[19:55] <saste> pb nafiux
[19:58] <nafiux> saste thanks, it is: http://pastie.org/5539867
[20:00] <saste> nafiux, what's this m3u8-segmenter thing?
[20:03] <saste> nafiux, also your version is pretty old
[20:03] <nafiux> saste, I need take a source and segmenter it as HTTP Live Stream
[20:13] <cbsrobot> zenny1: did you try: apt-get install --reinstall libc6
[20:14] <zenny1> yep
[20:14] <cbsrobot> whats config.log saying ?
[20:19] <zenny1> the config.log says at the end 'WARNING: Unknown C compiler gcc, unable to select optimal CFLAGS' and 'gcc -c -o /tmp/ffconf.DBrVm2Cr.o /tmp/ffconf.olcKplxY.c \n /usr/bin/gcc: 6: exec: /usr/bin/gcc-4.7: not found \n C compiler test failed.' and nothing else.
[20:20] <saste> nafiux: still I have no idea what m3u8-segmenter is
[20:20] <saste> also we have a native segmenter which can be used for that purposes
[20:21] <saste> and an hls muxer
[20:21] <saste> but for that you need a pretty recent version of ffmpeg
[20:21] <nafiux> Ok, but can I segment continuously?
[20:21] <saste> what do you mean?
[20:21] <saste> what is "continuously"?
[20:22] <zenny1> @cbsrobot: reinstalled build essential, gcc and libc6, but does not seem to have any effect.
[20:24] <cbsrobot> zenny1: do you have /usr/bin/gcc-4.7 ?
[20:24] <cbsrobot> if yes, try to run: sudo ln -sf /usr/bin/gcc-4.7 /usr/bin/gcc
[20:25] <nafiux> Ok, I need take a video source FROM camera, and convert this to HTTP Live Stream to see in a iOS device
[20:26] <saste> nafiux, i can help with specific problems, there is nothing specific in your problem, i just replied that ffmpeg should already have what is needed
[20:27] <saste> but you need a recent version
[20:27] <zenny1> @cbsroot: no gcc-4.7 (installed but purged)
[20:27] <nafiux> Ok, I want to get the recent version and compile it right now
[20:32] <nafiux> saste, I need a correct ./configure command to compile :)
[20:33] <saste> nafiux, which system?
[20:33] <nafiux> Centos 6.3
[20:33] <saste> please check the wiki
[20:34] <saste> https://ffmpeg.org/trac/ffmpeg/wiki/CentosCompilationGuide
[20:34] <nafiux> Ok, I used: ./configure --enable-gpl --enable-libfaac --enable-libfdk-aac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx --enable-x11grab --enable-libx264 --enable-nonfree --enable-version3
[20:34] <nafiux> Ok I wait :)
[20:35] <nafiux> ERROR: libfaac not found
[20:38] <zenny1> @cbsroot: as an option, i installed gcc-4.7 and made a symbolic link, yet nowhere to go. :-(
[20:49] <nafiux> saste: ERROR: librtmp not found
[20:50] <saste> nafiux, they are generic errors
[20:50] <saste> i can't and i won't reply to that, because otherwise i'll have to spend all my time repeating again and again how to solve (non-ffmpeg) specific errors
[20:50] <saste> google will provide a wealth of hints about how to fix those issues
[21:05] <nafiux> saste! Thank you :) I'm building right now
[21:05] <nafiux> All it's ok, next, I will test the segmenter parameters from Ffmpeg
[21:11] <cbsrobot> zenny1: same error ?
[21:11] <cbsrobot> and zenny1 - get my name right
[21:11] <cbsrobot> else I wont see your ping
[21:13] <zenny1> @cbsrobot: sorry for the oversight due to the whine the gcc stuff is creating for two days. Still no solution out! ;-)
[21:14] <cbsrobot> so same error as before ?
[21:14] <zenny1> yep
[21:14] <cbsrobot> and now your /usr/bin/gcc points to gcc-4.7 ?
[21:17] <zenny1> Now it shows a new line (no more gcc-4.7 stuff): 'gcc -c -o /tmp/ffconf.1hMBhPfx.o /tmp/ffconf.2B4GUsO6.c \n gcc: error trying to exec 'as': execvp: No such file or directory \n C compiler test failed."
[21:17] <zenny1> I have already removed gcc-4.7. only gcc-4.6
[21:19] <cbsrobot> zenny1: which as
[21:19] <zenny1> /usr/bin/gcc -> gcc-4.6
[21:19] <nafiux> saste! :) ready, so, I need to know how I can segment with ffmpeg
[21:20] <cbsrobot> zenny1: what does "which as" say ?
[21:20] <cbsrobot> in the terminal
[21:21] <cbsrobot> and what des "echo $PATH" say ?
[21:23] <zenny1> @cbsrobot: which as does not return anything and echo $PATH shows :
[21:23] <zenny1> /usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/var/lib/gems/1.8/bin
[21:24] <cbsrobot> zenny1: so there is no /usr/bin/as ?
[21:24] <zenny1> yep
[21:24] <cbsrobot> and your PATH look a bit wired
[21:24] <cbsrobot> try to install as
[21:25] <cbsrobot> I'd start the path with; /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:.....
[21:25] <cbsrobot> and then the rest
[21:25] <cbsrobot> or something similar
[21:25] <zenny1> cbsrobot: no package called 'as'
[21:25] <cbsrobot> maybe someone with a ubuntu can tell whats the default path
[21:26] <Zeeflo> what is?
[21:26] <Zeeflo> im on debian
[21:26] <cbsrobot> zenny1: sudo apt-get install build-essential
[21:27] <cbsrobot> it should be included in build--essential
[21:27] <cbsrobot> s/-//
[21:28] <zenny1> cbsrobot: reinstalled build-essential several times and again doing .
[21:28] <zenny1> still no output to which as!
[21:28] <cbsrobot> apt-get install binutils
[21:28] <Zeeflo> use aptitude dude
[21:28] <Zeeflo> it automatically installs all deps
[21:29] <cbsrobot> apt-get should do it aswell
[21:29] <Zeeflo> also, when you give in, let me know :D
[21:30] <zenny1> cbsrobot: after reinstalling binutils as exists. Let me try to compile again.
[21:32] <zenny1> cbsrobot: thanks, it started working now after reinstalling binutils. Thanks for your help. How did you figure out it is due to as?
[21:32] <cbsrobot> you wrote it:
[21:32] <cbsrobot> 'gcc -c -o /tmp/ffconf.1hMBhPfx.o /tmp/ffconf.2B4GUsO6.c \n gcc: error trying to exec 'as': execvp: No such file or directory \n C compiler test failed."
[21:32] <cbsrobot> trying to exec 'as':
[21:33] <zenny1> ocbsrobot: ah that part I missed. my bad eyes.
[21:34] <zenny1> thanks for pointer and help. appreciate it!
[21:34] <cbsrobot> and the typing lacks a bit too :-D
[21:34] <cbsrobot> np
[21:35] <cbsrobot> zenny1: doesent the ubuntucompileguide install binutils ?
[21:35] <cbsrobot> if not - can you add it ?
[22:11] <zenny1> cbsrobot: no, I will add it. Thanks again!
[22:20] <djszapi_> Hi, do you have support for the lagarith codec?a
[22:20] <djszapi_> I have been told that maybe decoding, but not encoding?
[22:24] <mang0> Hey guys, I'm trying to record my desktop with this command: `ffmpeg -f alsa -ac 2 -i hw:0,0 -f x11grab -r 20 -s 1920x1080 -i :0.0 -acodec pcm_s16le -vcodec libx264 -pix_fmt yuv420p -preset ultrafast -threads 0 output.mkv` but I'm getting an error...shown here: http://www.pasteall.org/38091 What might be causing this? I'm on Debian Wheezy, running ffmpeg 0.8.4-6:0.8.4-1 (from October this year). I've got t
[22:24] <mang0> wo monitors, the primary (left) one is 1920x1080, the secondary (right) one is 1280x1024. I only want to record the left once, hence why the script has got 1920x1080. The monitors are set to twinview. Any help appreciated, thanks.
[22:33] <Zandman26> Hi all, I want to know if there is a way to split monitor sound from mic sound in ffmpeg on a linux machine?
[22:35] <klaxa> mang0: no idea what causes that, try mp4 as a container it might be more roboust to that error you got, it appears to be muxing related
[22:37] <mang0> klaxa: You mean rather than output.mkv, try .mp4?
[22:37] <klaxa> yeah
[22:38] <klaxa> output.mp4 or something
[22:38] <mang0> Right.
[22:43] <mang0> http://www.pasteall.org/38092 klaxa New error now!
[22:45] <cbsrobot> mang0: you use ffmpeg from libav
[22:45] <klaxa> >[mp4 @ 0x1153900] track 1: could not find tag, codec not currently supported in container
[22:45] <klaxa> well...
[22:45] <cbsrobot> which is rather outdated
[22:45] <klaxa> yeah that too
[22:46] <cbsrobot> mp4 does not support pcm audio !
[22:46] <klaxa> compile ffmpeg from source if possible, static binaries can't include x11grab
[22:46] <cbsrobot> are you trying to stream or to saturate your bandwidth ?
[22:46] <cbsrobot> ah - just record
[22:50] <mang0> Sorry, was afk.
[22:51] <mang0> cbsrobot: Just to record, yes. I've got an alternative though, with recordmydesktop. The encode times are a little higher than I'd like, but it seems to be working fine.
[22:52] <klaxa> recordmydesktop uses ffmpeg
[22:53] <klaxa> for desktop recording you might want to use lossless encoding
[22:54] <mang0> Hm. I'm not sure how much recording I'm going to be doing yet, so...who knows!
[22:55] <mang0> Maybe I will, maybe I won't. If I need high quality recording, I will
[00:00] --- Mon Dec 17 2012
More information about the Ffmpeg-devel-irc
mailing list