[Ffmpeg-devel-irc] ffmpeg.log.20120605
burek
burek021 at gmail.com
Wed Jun 6 02:05:03 CEST 2012
[00:38] <rabeeh> hi all: i'm representing Solid-Run which is a company that developed CuBox; an open source platform www.solid-run.com
[00:39] <rabeeh> i was wondering if there are developers around that are interested in getting ffmpeg ported to use the hardware decode engine that is on the product.
[00:39] <Freakshow> is -deinterlace still available?
[00:41] <Freakshow> I see it in the docs but I seem to recall someone saying that it was not worthwhile to set it against the input
[00:42] <Freakshow> if it's deprecated, where should the yadif filter be defined?
[00:42] <Sazpaimon_> what'
[00:42] <Sazpaimon_> erm
[00:42] <Sazpaimon_> what's the status on changing stream parameters in a multistream OGG?
[00:44] <sht3> hi folks. If I have x264 installed in a non-standard prefix, how do I tell ffmpeg where to search for it when ./configure'ing?
[00:48] <sht3> i'm pretty sure it's a flag to the compiler just not sure what
[00:49] <mzcl-mn> pasteeater:
[00:49] <mzcl-mn> pasteeater 21:22:54
[00:49] <mzcl-mn> mzcl-mn: you can keep libavcodec-extra-53 and use a compiled ffmpeg.
[00:49] <mzcl-mn> you can compile ffmpeg and just not install it and still run it. 21:23:25
[00:50] <mzcl-mn> pasteeater: will I be able to use a compiled version of ffmpeg to decode dvb-t?
[00:57] <pasteeater> mzcl-mn: yes if you use ffmpeg or ffplay directly
[00:59] <mzcl-mn> pasteeater: use them as players is that right?
[01:08] <Freakshow> odd, I don't think I've seen this before:
[01:08] <Freakshow> [rtsp @ 0x10180ee00] Audio timestamp 16431169 < 16432064 invalid, cliping
[01:09] <Freakshow> and it was indeed clipping
[01:09] <Freakshow> :P
[01:11] <Freakshow> and I'm STILL not seeing output bitrate on rtsp
[01:11] <Freakshow> frame=28766 fps= 15 q=40.0 size= 0kB time=00:31:54.80 bitrate= 0.0kbits/s dup=0 drop=28703
[01:11] <Freakshow> even on ffmpeg-0.11
[01:27] <cbsrobot> rabeeh: check #ffmpeg-devel
[01:27] <rabeeh> cbsrobot: thanks
[01:29] <pasteeater> Freakshow: -deinterlace is still available, but it isn't as flexible or as "good" as yadif.
[01:31] <pasteeater> as for usage just add "-vf yadif" as an output option for the most basic usage
[01:48] <N0hbdy> hey all, is there a flag that I'm missing if I want ffprobe to print out the size of the frames?
[02:02] <mzcl-mn> pasteeater: hello again I was compiling ffmpeg after having compiled x264 and libvpx (but not installing them) how can I link the configuration of ffmpeg (the ./configure instruction) to the libvpx path?
[02:15] <mzcl-mn> can i install only x264, and libvpx and just compile ffmpeg (not installing it) to have it find libvpx...?
[02:53] <mzcl-mn> hello everybody. can anyone give a hint about this configure error in ffmpeg: /usr/bin/ld: cannot find -lvpx
[02:53] <mzcl-mn> what is lvpx?
[02:58] <pasteeater> mzcl-mn: http://pastebin.com/fmVgwKLX
[02:58] <pasteeater> or something like it
[02:58] <pasteeater> i forgot libvpx, but you get the idea
[03:01] <mzcl-mn> pasteeater: thanks will try immediately
[03:09] <mzcl-mn> pasteeater: you said you forgot libvpx, so I assume I can install it too as I am doing with x264, is that correct?
[03:09] <pasteeater> i assume so
[03:14] <pasteeater> maybe i should change the ubuntu guide to a local install instead of shitting around with the repo junk
[03:15] <mzcl-mn> :)
[03:16] <mzcl-mn> pasteeater: by the way is it normal to have a ffms missing librery while configuring x264?
[03:16] <pasteeater> yes
[03:16] <mzcl-mn> ok
[03:17] <pasteeater> it's just this: http://code.google.com/p/ffmpegsource/
[03:32] <mzcl-mn> pasteeater: can i ask you 1 more questions before I leave? (it's been a long day)
[03:35] <mzcl-mn> i issued ./configure --help at libvpx source directory and did not see the --prefix option
[03:36] <mzcl-mn> is it ok to use it?
[03:48] <pasteeater> mzcl-mn: should be
[03:49] <pasteeater> don't worry about screwing anything up. this will just install in your home directory, not your system, so if you want to delete it just delete ~/ffjunk
[03:50] <pasteeater> and to run it just: cd ffmpeg, ./ffmpeg -i input ... output
[03:50] <pasteeater> or for x264: cd ffjunk/bin; ./x264
[03:51] <pasteeater> or you can add ffjunk/bin your $PATH, but that's just more work
[03:58] <pasteeater> wow, i should have had dinner first, and then this whisky.
[03:59] <pasteeater> or whiskey to be specific since it's from ireland
[04:18] <mzcl-mn> pasteeater: dear fellow, you've made it!!
[04:19] <mzcl-mn> you made it to install
[04:19] <mzcl-mn> so thank you very much
[04:20] <mzcl-mn> what can I do in return?
[04:21] <mzcl-mn> feel like a member of a geek club (although kind of an assistant or something) :)
[04:22] <mzcl-mn> pasteeater: check this out!
[04:22] <mzcl-mn> ffmpeg version git-2012-06-05-1b27b8b Copyright (c) 2000-2012 the FFmpeg developers
[04:22] <mzcl-mn> built on Jun 5 2012 03:09:18 with gcc 4.6.3
[04:22] <mzcl-mn> configuration: --extra-cflags=-I/home/crisr/junk/src/include --extra-ldflags=-L/home/crisr/junk/src/lib --enable-gpl --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libvpx --enable-nonfree --enable-version3 --enable-x11grab
[04:23] <mzcl-mn> libavutil 51. 56.100 / 51. 56.100
[04:23] <mzcl-mn> libavcodec 54. 23.100 / 54. 23.100
[04:23] <mzcl-mn> libavformat 54. 6.101 / 54. 6.101
[04:23] <mzcl-mn> libavdevice 54. 0.100 / 54. 0.100
[04:23] <mzcl-mn> libavfilter 2. 78.100 / 2. 78.100
[04:23] <mzcl-mn> libswscale 2. 1.100 / 2. 1.100
[04:23] <mzcl-mn> libswresample 0. 15.100 / 0. 15.100
[04:23] <mzcl-mn> libpostproc 52. 0.100 / 52. 0.100
[04:23] <mzcl-mn> that's all for the night
[04:23] <mzcl-mn> cheers to your health!!!
[05:16] <raptor67782> hello, I would like to do ffmpeg -i mms.wmv -vn -ar 44100 -ac 2 -ab 192 -f mp3 ~/pen/00sound.mp3
[05:16] <raptor67782> without mencoder, and with installing WMA PRO codec. Would you know if it would be possible?
[05:20] <mystica555> depends on if the audio codec is decodable by ffmpeg; i believe that most wma audio is
[05:20] <mystica555> you'd also likely need -c:a libmp3lame
[05:23] <pasteeater> raptor67782: and 192k, not 192. recent ffmpeg can decode wmapro audio
[05:25] <raptor67782> pasteeater: I havent that chance of recent things, rather old. I have debian stable squeeze :(
[05:26] <raptor67782> maybe I could copy a dll or other from the deb of w32codecs from the repos?
[05:27] <raptor67782> dpkg -l | grep lame returns nothing. seems that the box as no lame either :(
[05:27] <raptor67782> lame is likely not to be installed. I guess ogg might be fine either ... well, I nee dto check(could be adetail since wma is most improatnt)
[05:51] <zap0> anyone able to explain to me how multichannel audio is output?
[10:08] <corecode> hi there
[10:09] <corecode> is there a way to specify two formats for an input?
[10:09] <corecode> i'd like to on-the-fly recode spdif input from one audio device and output it on another
[10:10] <corecode> but somehow i can only pass either -f alsa or -f spdif, but not both
[10:12] <Mavrik> corecode: you want two separate inputs?
[10:15] <Peter___> Is there a way to build an ffmpeg live stream dynamically, let's say start with one audio stream, add another audio stream after 5 Minutes etc
[10:15] <Mavrik> Peter___: not really I'm afraid
[10:16] <Peter___> So you always need the entire input at the beginning of the stream, you can not add it later?
[10:17] <Mavrik> Peter___: ffmpeg isn't really meant for streaming applications, it's meant for transcoding
[10:17] <Mavrik> Peter___: so there's no mechanism to change settings once the program is running
[10:18] <Peter___> Okay, my problem ist, i get an live stream and transcode it and send it to an wowza server to publish the stream. Works perfectly. But I would like to add on demand video layers.
[10:19] <Mavrik> Peter___: I'm pretty sure you can't do that without writing your own encoder
[10:20] <Peter___> Is it possible to stop the stream and then start the stream again with the additional input? Does the viewer realize the switch?
[10:20] <corecode> Mavrik: in essence i want to stack demuxers
[10:20] <Peter___> Otherwise I think once the stream is stopped, the viewer has the start the stream again
[10:21] <corecode> Mavrik: alsa is the real input, but i need to run it throught the spdif demux
[10:21] <Mavrik> Peter___: that probably depends on player, but the ones I've used did not stop if you restarted the stream to wowza
[10:21] <Mavrik> corecode: hmm, I'm quite sure you can't stack demuxers
[10:22] <Peter___> I use https/rtmp Streaming to flash and <video>-object
[10:22] <Peter___> I have to try what happend when stopping and restarting the stream
[10:22] <Mavrik> corecode: it's even strange you should need that - you should be able to point spdif demuxer to correct hardware input port
[10:24] <Peter___> Mavrik: Thank you!
[10:24] <corecode> Mavrik: how?
[10:25] <Mavrik> corecode: hmm, looking at the code it seems ffmpeg only has an SPDIF muxer
[10:26] <corecode> yea
[10:26] <Mavrik> but I'm not entirely clear why would you need a demuxer, why isn't that handled by your sound device?
[10:26] <corecode> because the ac3 decoding has to happen in software
[10:26] <corecode> it comes in as raw data
[10:26] <Mavrik> so you actually need an AC3 decoder?
[10:28] <corecode> yes
[10:28] <corecode> but a spdif demuxer
[10:28] <corecode> for data that comes from alsa
[10:28] <corecode> :/
[10:34] <eok> hey, i have a problem. i'm trying to place a webcam recording as an overlay on my desktop recording. The problem is I have no idea how to make the audio in sync with the webcam
[10:34] <eok> using this command: http://paste.kde.org/493286/
[10:37] <eok> if i take the audio from the webcam recording i have to use -i webcam.flv -i desktop.flv -map 1.0 -map 0.1 but it makes no differense. The overlay seems to come a second or so later than the other input
[10:50] <zap0> anyone able to explain to me how multichannel audio is output?
[10:55] <corecode> Mavrik: any ideas?
[10:55] <Mavrik> corecode: nope, don't have any devices with SPDIF input
[10:56] <Mavrik> as far as I knew SPDIF was just a carrier of a raw signal, it's still not clear to me why would it need demuxing
[11:00] <corecode> spdif is a container format
[11:00] <corecode> framing format
[11:00] <corecode> you need to "demux" it to unpack the ac3 or whatever is inside
[11:34] <corecode> is there a dummy encoder that will move a AVFrame into an AVPacket?
[12:07] <IchGuckLive> hi all im fighting for now 5 days with my aiptek V10 to get a conversion to it
[12:07] <IchGuckLive> only 1/3 of the video in vertical is clear visable then it stripes out
[12:08] <IchGuckLive> someone has an idea all players show it fine only the beamer does not
[12:09] <IchGuckLive> if i use the windows aiptek converter al is fine but im on ubuntu
[12:33] <eok> anyone know how i would go about getting the avfilter input in sync with the original input?
[12:34] <eok> seems like avfilter gives a delay when i use movie as an video source
[12:43] <Diogo> hi this is possibly to stream to rtmp server (using rtmpe or basic auth in rtmp)
[12:43] <Diogo> ?
[12:43] <Diogo> i'm using this command : /servers/ffmpeg/bin/ffmpeg -re -i FILE.mp4 -isync -vcodec copy -acodec libfaac -ab 128000 -ar 32000 -f flv "rtmp://IP/live/STEAM"
[12:43] <eok> yea, i do it like this -metadata streamName=webcam tcp://dev-vm221:1234
[12:44] <eok> dev-vm221 is running crtmpserver
[12:47] <eok> but i guess other rtmp servers can do the same
[12:47] <Mavrik> Diogo: yep, RTMP works
[12:47] <Mavrik> tested with crtmpd and Wowza
[12:47] <Diogo> i know that works
[12:47] <Diogo> but i need auth
[12:47] <Diogo> basic auth or rtmpe
[12:48] <Mavrik> good for you
[12:48] <Mavrik> what's the problem?
[12:48] <Diogo> ?
[12:49] <Diogo> when i change to rtmpe
[12:49] <Diogo> appear this message:
[12:49] <Diogo> Trying different position for server digest!
[12:50] <Mavrik> did you pass the right securetoken?
[12:50] <Mavrik> make sure your ffmpeg is compiled with librtmp and then read this: http://linux.die.net/man/3/librtmp
[12:50] <Mavrik> the syntax is the same.
[12:51] <Mavrik> eok: does vsync/async help?
[12:52] <eok> tried async, but it didn't do anything
[12:52] <eok> might have implemented it wrong
[12:53] <eok> i haven't tried vsync
[12:56] <eok> Maverik: the way i understand ffmpeg just has one input, only that it modifies that input with avfilter. i'm not sure i can do anything with my main input without affecting the avfilter input
[12:57] <eok> i was thinking if there was a way to put the audio as an input in avfilter instead, but not sure how to do that. I'm not very skilled with this :)
[13:00] <eok> i tried taking out the audio from the original file, creating the recording with the overlay, then reapplying the audio to the recording with a delay, but then it was in sync the first few frames and it got more and more out of sync
[13:01] <eok> if i can get the audio file and video file in sync i should be set to go
[13:02] <eok> i first did: ffmpeg -i desktop.flv desktop.wav
[13:03] <eok> then created the desktop.flv with webcam.flv as overlay
[13:03] <eok> and then ffmpeg -i test.flv -i desktop.wav -itsoffset 2 -acodec libmp3lame -map 0:0 -map 1:0 result.flv
[13:09] <filo1234> hi
[13:10] <filo1234> how can I see if I have enabled VP8 codec ?
[13:11] <Mavrik> filo1234: -codecs
[13:11] <Mavrik> filo1234: encoder is called "libvpx"
[13:11] <Mavrik> decoder is vp8 IIRC
[13:11] <filo1234> D V D vp8 On2 VP8
[13:12] <Mavrik> it seems you have a decoder :)
[13:12] <filo1234> Mavrik: well so if I want pass encoder -vcodec libvpx then ?
[13:12] <Mavrik> filo1234: then you need "E libvpx" in your "-codecs" list :)
[13:16] <filo1234> Mavrik: http://paste.ubuntu.com/1024859/
[13:16] <filo1234> seems I don't have
[13:17] <Mavrik> filo1234: yeah, you'll need recompile your ffmpeg with libvpx (and compile libvpx first of course) to get VP8 encoding capability
[13:17] <Mavrik> filo1234: there's a guide in topic for ubuntu ;)
[13:18] <filo1234> Mavrik: yeah I followed that guide
[13:18] <filo1234> https://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide
[13:18] <filo1234> for this reason I was sure that I has VP8 support
[13:18] <filo1234> :(
[13:21] <Mavrik> filo1234: your "configuration:" line is missing the "--enable-libvpx", so I guess you missed it
[13:22] <Mavrik> filo1234: if you compiled libvpx as part of the guide, you just have to rebuild ffmpeg with that flag in configuration
[13:22] <filo1234> ok
[13:23] <filo1234> thanks
[13:25] <eok> Mavrik: what could be the reason my audio starts off in sync then rapidly get more and more ahead of the video?
[13:25] <Mavrik> eok: maybe your video encode is too slow
[13:25] <Mavrik> or just timestamps don't match
[13:25] <Mavrik> that's not a trivial problem to solve :\
[13:26] <eok> must i do something when i take the audio from the original file?
[13:26] <eok> ffmpeg -i desktop.flv desktop.wav
[13:32] <zap0> eok, does that not work?
[13:36] <eok> zap0: after doing that i add an overlay to desktop.flv with avfilter (using -an to exlude sound) then i add the desktop.wav to det new file (test.flv) with -itsoffset 2
[13:37] <eok> the audio is then in sync for the first few frames and get horribly out of sync over time
[13:37] <zap0> how can you tell audio is in sync by just a few frames
[13:38] <eok> no its in sync the first few seconds of the file
[13:38] <eok> after that it gets more and more out of sync
[13:38] <zap0> how many players have you tried
[13:38] <eok> audio comes ahead of video
[13:38] <eok> only vlc
[13:38] <zap0> so VLC plays it out of sync.
[13:39] <zap0> thats all you know.
[13:41] <eok> now i know it's the same in mplayer
[13:42] <eok> and ffplay
[13:43] <eok> i need to do something to make sure the audio and video are in sync
[13:43] <eok> nothing i've tried has helped though
[13:44] <zap0> delay the audio, or add some blank video at the start.
[13:45] <burek> cbsrobot :D :beer: :)))
[13:46] <eok> zap0: delaying the audio doesn't help, because they are drifting apart
[13:47] <cbsrobot> burek: a cold one .... yeah
[13:47] <zap0> are you specifying the freq of your audio
[13:47] <eok> i already delayed it with 2 sec, this makes my first clap in sync, but the last is not
[13:47] <eok> not when putting the audio back in
[13:47] <eok> only when recording it in the first place
[13:49] <eok> tried ffmpeg -i test.flv -i desktop.wav -ar 22050 -itsoffset 2 result.flv
[13:49] <eok> same result
[13:51] <zap0> -i twice
[13:51] <zap0> you sure the wav file is encoded in 22050?
[13:53] <eok> you mean like this? ffmpeg -i desktop.flv desktop.wav -ar 22050
[13:59] <zap0> your arguments are after the -i are for the output. what about input arguments?
[14:01] <burek> eok, ffmpeg has history with syncing issues, so I would suggest you abandon it until the matter is fixed finally
[14:02] <burek> at least for live inputs, from camera and mic and stuff like that
[14:02] <ubitux> zap0: he is specifying 2 inputs, so he needs twice the -i
[14:03] <ubitux> look into -async option
[14:06] <rsv> how can i convert a mp4 file to a avi file
[14:06] <ubitux> ffmpeg -i in.mp4 out.avi
[14:09] <rsv> i want the codec format to be mpeg 4 video
[14:09] <ubitux> mpeg4 video codec is the default in avi afaik
[14:10] <ubitux> and mpeg4 avc is the default in mp4 iirc.
[14:12] <rsv> when i use the command you mentioned i get the file with the format: MPeg-4 video (FMP4). But i want the format Mpeg4 Video XVID
[14:13] <burek> use -vtag xvid
[14:14] <rsv> burek: thanks i just googled and found out
[14:14] <rsv> what is the difference between the 2. can you explain what is this video fourcc
[14:14] <eok> ubitux: that was a paste mistake, i use two -i
[14:15] <burek> rsv, you have it all explained here http://ffmpeg.gusari.org/viewtopic.php?f=25&t=592
[14:15] <eok> zap0: tried -async 1 before -i aswell, no change
[14:16] <zap0> eok, i know not more.
[14:17] <eok> zap0: :(
[14:18] <ubitux> eok: as an output option
[14:18] <eok> ubitux: that aswell
[14:19] <ubitux> -fflags genpts maybe? :p
[14:19] <eok> i think the problem lies in that i'm tryin to sync the audio with something inside avfilter
[14:19] <ubitux> (are you using a recent version?)
[14:20] <eok> this is what i'm doing: http://paste.kde.org/493286/
[14:20] <eok> compiled from git
[14:20] <eok> should be latest
[14:21] <eok> avfilter causes a delay, so the desktop.flv and the webcam.flv overlay is out of sync
[14:23] <eok> i thought maybe take the sound from desktop.flv, add an -an flag to the previous command, then apply the sound back to the finished file with a delay that compensates for avfilters delay
[14:24] <eok> but there must be a better solution
[14:24] <ubitux> no idea, maybe saste has one :)
[14:24] <ubitux> (or you could ask ffmpeg-user ml)
[14:25] <eok> yea
[14:25] <eok> thought about it
[14:28] <eok> i'm considering trying avisynth to overlay the webcam
[15:27] <svenstaro> anyone here I can ask about transition changes to 0.11?
[15:52] <mzcl-mn> hello everybody
[15:53] <mzcl-mn> Diogo: olá
[15:53] <mzcl-mn> Diogo: fala português?
[15:54] <mzcl-mn> does anyone know the command for watching dvb-t encoded in h.264 with ffmplay?
[15:56] <mzcl-mn> sorry ffplay... :(
[15:57] <raptor67682> it means that ffmpeg is now very heavy and non-lightweight, where are the dll to play the wmapro, into the /usr/bin/ffmpeg or on additional codecs into libs? will be be huge deb with thousand million of dependencies that one doesnt need ?
[16:39] <filo1234> Mavrik: hey welcome back... now I have libvpx
[16:39] <filo1234> \o/
[16:39] <Mavrik> good :D
[16:40] <filo1234> Mavrik: do you know some right or good option for create a "good" webm video?
[16:40] <Mavrik> I wrote pretty much what I know here: http://www.virag.si/2012/01/webm-web-video-encoding-tutorial-with-ffmpeg-0-9/
[16:40] <filo1234> thanks
[16:41] <filo1234> vcodec:v is the same -vcodec?
[16:41] <filo1234> -vcodec:v
[16:41] <filo1234> uhmmm
[16:42] <filo1234> -codec:v
[16:42] <filo1234> -codec:v - Specifies the video encoder to be used, in our case that is libvpx VP8 library
[16:43] Action: filo1234 answered itself
[16:43] <Mavrik> yeah
[16:44] <filo1234> well thanks a lot Mavrik
[16:45] <smjms> has anyone managed to compile ffmpeg with link-time optimization?
[16:46] <smjms> or the shared libraries?
[17:36] <share> is possible to stream a .glc file with ffmpeg?
[17:49] <share> hello???
[18:00] <svenstaro> error: AVFormatContext has no member named mux_rate
[18:00] <svenstaro> how to fix in 0.11?
[18:06] <share> GLC_VIDEO_YCBCR_420JPEG
[18:06] <atlithorn1> burek, I noticed that we got a fix for https://ffmpeg.org/trac/ffmpeg/ticket/1400
[18:07] <atlithorn1> http://git.videolan.org/?p=ffmpeg.git;a=commit;h=aba8065adb63f1b00bcef7762534d1c41cb870bb
[18:07] <atlithorn1> I tried it out and amerge doesn't segfault anymore but it does hang the machine at the end just like amix
[18:07] <atlithorn1> probably a new ticket seeing how it's a seperate issue?
[19:42] <Freakshow> thanks pasteeater (wrt the deinterlace vs. yadif)...
[19:42] <Freakshow> s/the/to
[19:43] <Freakshow> can yadif be used as the docs define as well? -filter:v yadif
[19:44] <pasteeater> Freakshow: yes. sometimes i still use the other syntax out of habit.
[19:45] <pasteeater> what type of input are you working with?
[19:45] <Freakshow> raw dv
[19:46] <pasteeater> then you should probably add -pix_fmt yuv420p unless you don't care if yuv422p is used instead
[19:46] <pasteeater> im unsure if something like quicktime could play yuv422p
[19:47] <Freakshow> /nod. Yup... put that in log ago, baseline won't work with that anyway from what I understand
[19:47] <pasteeater> baseline won't work with quicktime?
[19:47] <Freakshow> no, yuv422p
[19:47] <pasteeater> inconceivable!
[19:47] <pasteeater> oh
[19:47] <pasteeater> duh
[19:47] <Freakshow> lulz
[19:48] <Freakshow> had a 'princess bride' flashback there
[19:48] <pasteeater> experiment with the two yadif modes and see what you like best. or if deinterlace looks good enough for you then you could always use that
[19:49] <Freakshow> yeah, I've been working with ydif=1:1 at the moment which seems to work nicely
[19:49] <pasteeater> dv is bottom field first, IIRC (i can never remember), so the second value for yadif will be 1 if autodetect doesn't work
[19:49] <pasteeater> ..as your example is
[19:50] <pasteeater> you may try doubling your output framerate with yadif=1:1
[19:50] <pasteeater> -r 60000/1001
[19:51] <pasteeater> oterwise some scenes may look jerky. maybe. i can't remember.
[19:51] <Freakshow> is there any benefit to setting the trusting the interlaced flag or should I leave that alone?
[19:52] <pasteeater> what option is that?
[19:52] <Freakshow> looks like mode:parity:auto
[19:53] <Freakshow> auto being the option to either trust the interlaced flag and only deinterlace frames marked as interlaced
[19:53] <pasteeater> i don't remember that being there. maybe it's more recent that when i was using yadif.
[19:53] <Freakshow> just looking at the online docs... 0 is default, which is to deinterlace all frames
[19:54] <Freakshow> but seriously... for baseline output to older mobile devices, this should be plenty
[19:54] <Freakshow> like anyone would see interlacing on a nokia curve
[19:54] <Freakshow> I can barely see the screen!
[20:50] <loincloth> hola
[20:51] <loincloth> has anyone had issues with ffmpeg encoded video in an html5 player where the player will play audio only the first time you click.. then if you click again the video goes with the audio playing again on top of the audio playing from the first click?
[20:52] <loincloth> it's a weird bug only seeming to affect some videos.. and it happens in firefox and webkit so i'm not sure it's browser specific
[20:52] <LexSfX> so many factors
[20:52] <loincloth> yeah :[
[20:52] <loincloth> really struggling to pin down what the key ones are
[20:53] <LexSfX> "ffmpeg encoded video" is really vague though
[20:53] <loincloth> sure
[20:53] <LexSfX> what is your command line?
[20:53] <loincloth> one sec
[20:54] <LexSfX> sorry, gotta go; lunch time. hopefully someone else can help you
[20:54] <loincloth> np
[21:05] Action: cbsrobot hands burek another cold beer
[21:10] <Freakshow> burek is drinking already?
[21:15] <pasteeater> loincloth: your command and the complete output would be useful and a link to one of the misbehaving videos.
[21:16] <loincloth> pasteeater: sure.. thx for following up.. i got distracted and assumed nobody else was paying attention :)
[21:17] <corecode> hi
[21:17] <corecode> any idea why the av_find_input_format here fails? http://codepad.org/p2dVIVkW
[21:20] <corecode> ah
[21:20] <corecode> i needed to run avdevice_register_all() as well
[21:26] <pasteeater> corecode: mostly cli users here
[21:43] <loincloth> pasteeater: unfortunately i don't know that i can produce a full command.. these videos are produced by a simple mac .app which is basically implemented in one applescript
[21:43] <loincloth> so i can paste this nonsense for you: -an -pass 1 -passlogfile /tmp/ffmpeg2pass -vcodec libx264 " & video_size & " -b 1500k -flags +loop -cmp +chroma -partitions +parti8x8+partp8x8+partb8x8 -me_method epzs -subq 6 -trellis 0 -refs 1 -bf 16 -b_strategy 1 -coder 1 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt 100k -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -y " & file_format(my_video, ".mp4") &
[21:43] <loincloth> ";" & "~/interactives/library/setup/ffmpeg/bin/ffmpeg -i " & original_filepath(my_video) & " -acodec libfaac -vcodec libx264 " & video_size & " -ab 128k -pass 2 -passlogfile /tmp/ffmpeg2pass -vcodec libx264 -b 1500k -flags +loop -cmp +chroma -partitions +parti8x8+partp8x8+partb8x8 -flags2 +mixed_refs -me_method umh -subq 5 -trellis 1 -refs 5 -bf 16 -b_strategy 1 -coder 1 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt
[21:43] <loincloth> 100k -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -y " & file_format(my_video, ".mp4")
[21:43] <loincloth> wow
[21:43] <loincloth> sorry
[21:43] <loincloth> but i don't know how useful that is
[21:43] <loincloth> didn't realize that would barf on multiple lines
[21:44] <loincloth> i don't know if i can share the video now that i think about it.. corporate rules.. i could run some public domain nonsense through the app i guess but
[21:44] <loincloth> i dunno.. probably nothing can be done here anyway
[21:44] <loincloth> thanks tho
[21:46] <pasteeater> can you repaste it on pastebin or something? with the console output?
[21:47] <loincloth> pasteeater: not sure i can easily.. i dunno how applescript handles that crap or if i can capture it.. somebody else develops this thing
[21:47] <loincloth> just nevermind.. i'll just go back to wallowing in this nightmare.. thanks tho
[21:48] <pasteeater> i can tell you're using an old ffmpeg because youre not using presets
[21:48] <pasteeater> thus the million options
[21:50] <pasteeater> and you forgot the link so we can take a look and possibly duplicate the issue
[21:52] <loincloth> i don't think it's an old ffmpeg.. just an organization staffing development positions with people who aren't strong developers
[21:53] <loincloth> pasteeater: i didn't forget anything.. how is it not clear that i'm thanking you for your efforts but throwing in the towel on my end
[21:53] <loincloth> I THANK YOU SIR
[21:53] <loincloth> BUT I AM DONE PURSUING THIS
[21:53] <loincloth> THANKS
[21:53] <loincloth> ETC
[21:54] <pasteeater> wow, what a mess.
[22:34] <Freakshow> yep, that really just happened
[23:31] <eok> is it possible to map one stream specifier to one output and another specifier to a second output?
[23:32] <eok> say i want the audio from the input in one file, and the video in another file
[23:35] <eok> to be more specific, i have two inputs, x11grab and alsa. they are both encoded and sent to an rtmp sever, what i want is to also send audio from alsa in a mp3 container, and video from x11grab to a flv container :)
[23:36] <cbreak> can't you use named pipes, tee and some other scripts?
[23:36] <cbreak> it'll be a mess but might work
[23:36] <pasteeater> relaxed: ping
[23:37] <juanmabc> mmm, relax
[23:37] <eok> maybe, i dont want to introduce something that might cause delay, as that is what i'm trying to fix
[23:39] <pasteeater> you can just add additional outputs
[23:40] <pasteeater> but it will encode for each one instead of copying
[23:40] <eok> but if i output to a flv it includes both audio and video
[23:41] <eok> how will that be when i merge the audio output with the video output?
[23:41] <eok> wont that have 2 audio inputs on top of eachother?
[23:43] <eok> i need to do this because i'm overlaying the webcam stream on the x11grab with libavfilter. this causes a delay (audio comes about 2 sec before video) so i take the audio as its own input and itsoffset the video
[23:44] <eok> at the same time i'm streaming to an rtmp server, and that needs both audio and video
[23:44] <eok> its already a mess :)
[23:45] <atlithorn1> can you paste the command line as is to pastebin?
[23:45] <eok> sure
[23:46] <pasteeater> you can use -map to designate input streams to your output(s)
[23:46] <pasteeater> but yes, the command (and complete console output) will be useful
[23:47] <eok> so the question is how to i get the audio.mp3 in the 3 command
[23:47] <atlithorn1> guys, I'm wondering if any of you have any ideas of a workaround for the issue here http://ffmpeg.org/trac/ffmpeg/ticket/1400
[23:47] <eok> http://paste.ubuntu.com/1025815/
[23:48] <eok> and in the first command i want desktop.flv to only include the video
[23:50] <atlithorn1> and -an won't work?
[23:51] <eok> right before desktop.flv?
[23:51] <eok> i can do this? -an desktop.flv desktop.mp3
[23:52] <atlithorn1> no -an negates any audio
[23:52] <eok> yea, i think i tried that
[23:53] <eok> i need to send audio and video first to rtmp, then video to desktop.flv, then audio to audio.mp3
[23:54] <atlithorn1> and you want to do it in one command
[23:54] <eok> preferably
[23:55] <eok> only way i figured out how to workaround the delay caused by libavfilter overlay
[23:56] <eok> all because to guys at work want have the webcam and desktop in two players so they can decide what they want in fullscreen
[23:57] <eok> its a pain :)
[23:57] <eok> messes up the recording
[23:57] <pasteeater> just say "no".
[23:58] <eok> well, i agree it would be cool
[23:58] <pasteeater> Embrace you Linux admin powers and lord it over them.
[23:58] <eok> im a network admin, lol.. hardly touched linux :)
[00:00] --- Wed Jun 6 2012
More information about the Ffmpeg-devel-irc
mailing list