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

burek burek021 at gmail.com
Tue Feb 28 02:05:02 CET 2012


[00:03] <cbsrobot> brontosaurusrex_: scale=480:480*ih/iw/sar
[00:04] <brontosaurusrex_> cbsrobot: uh, nice :)
[00:05] <cbsrobot> brontosaurusrex_: and why cropping afterwards ... ?
[00:06] <brontosaurusrex_> cbsrobot: just to get mod(2)
[00:06] <cbsrobot> you could also use it on the scale - or will you see the difference ?
[00:07] <cbsrobot> and isnt it rather:
[00:07] <cbsrobot> floor(ih/2)*2
[00:08] <cbsrobot> brontosaurusrex_: try:
[00:09] <cbsrobot> -vf "scale=480:floor(480*ih/iw/sar)*2,setsar=1:1"
[00:10] <cbsrobot> sorry
[00:11] <cbsrobot> -vf "scale=480:floor(240*ih/iw/sar)*2,setsar=1:1"
[00:12] <chipotle> hi
[00:14] <brontosaurusrex_> cbsrobot: thats great, care to explain where you get 240 ?
[00:15] <cbsrobot> brontosaurusrex_: 480/2
[00:15] <cbsrobot> hehe
[00:15] <burek> :) :beer:
[00:15] <cbsrobot> or 120*2
[00:15] <brontosaurusrex_> yeah, my math sucks badly i guess
[00:16] <cbsrobot> just kidding
[00:26] <brontosaurusrex_> wa wa we wa wo wo, i guess i have a working wildfireS script, very nice!
[00:45] <brontosaurusrex_> cbsrobot: thanks for the math lesson ;)
[00:45] <brontosaurusrex_> night all
[00:53] <t4nk256> anyone familair with doby e development status?  https://roundup.libav.org/issue937
[04:29] <patrykmoura> hey guys
[04:29] <patrykmoura> good nite
[04:29] <patrykmoura> im tryin to install ffmpeg in my CentOS, ive install all libraries with disabled-shared and prefix=/home/vamolaco/
[04:29] <patrykmoura> My problem is, ffmpeg keeps installing libs at /usr/lib... ive tried to change the --libdir=/home/vamolaco/lib, but ffmpeg again installed libasound.so.2 (link) in /usr/lib and the libasound.so in the same dir (/usr/lib)... i want to install everything under the prefix ive setted...
[04:29] <patrykmoura> Can you guys help me, pls?
[04:29] <patrykmoura> This is a way for me, to install ffmpeg in my webhost that doesnt offer support for ffmpeg and don´t allow ssh access =(
[07:08] <kurtis> Hey guys, i'm taking a 128k bitrate mp3 file and trying to re-encode it as .ogg using ffmpeg. For some reason, the output file using the same bitrate is 3 times as large. My command: http://pastebin.com/Vj6HVc3d
[07:09] <kurtis> Is this normal?
[07:10] <mystica555_> kurtis: you didn't specify the codec
[07:10] <mystica555_> ogg is a container; on my end, its defaulting to FLAC
[07:10] <mystica555_> you can look for yourself in the output
[07:11] <mystica555_>   Stream #0:0 -> #0:0 (mp3 -> flac)
[07:11] <mystica555_> with your command
[07:11] <kurtis> mystica555_: ahh okay. I thought I read somewhere it automatically guesses on the codec to use based off of the file name. but i didn't know there were multiple .ogg encodings. Any suggestions?
[07:12] <kurtis> Yep, it went to flac
[07:13] <kurtis> particularly I guess, is there certain encodings that should be used for the web?
[07:13] <mystica555_> again, ogg is a container; it can contain vorbis, h264, subtitles, heck i bet it could even encapsulate mp3 if someone wanted to create an abomination.
[07:13] <mystica555_> it was used before mkv came on the market
[07:14] <mystica555_> for web, mp3 or ogg/vorbis are about the most standard you can find
[07:15] <mystica555_> the ogg container is just not as flexible as mkv, so everyone changed over. before either, there was no proper multiplex format for arbitrary streams
[07:15] <kurtis> nice! Yeah I had no idea it was just a container before. I wonder how the HTML5 marketing is going to work if there's no specific encoding. And I think Vorbis is probably right. Thanks!
[07:15] <mystica555_> you could do an mpeg program stream with specific things, or a quicktime file / mp4 stream again with specific things
[07:16] <mystica555_> not sure on the html5 end; i know with video they have to browser detect because of firefox not doing h264 and others not doing webm
[07:18] <kurtis> Yeah, I'm sure that'll come later :) Do I just throw in the '-acoding vorbis' flag before the output file?
[07:18] <kurtis> whoops '-acodec vorbis'
[07:23] <kurtis> hmm that throws errors
[07:23] <mystica555_> yeah
[07:23] <mystica555_> that should work
[07:23] <mystica555_> or not
[07:23] <mystica555_> im an idiot
[07:23] <mystica555_> libvorbis
[07:23] <mystica555_> the built in one isnt as good
[07:23] <mystica555_> ...latency
[07:23] Action: mystica555_ smacks his dsl
[07:24] <kurtis> haha sweet, thanks :) yeah here's the errors I got, but I'll try libvorbis instead. http://pastebin.com/M34qh8vn
[07:24] <mystica555_> yeah libvorbis should work
[07:24] <kurtis> hmm, unknown encoding
[07:25] <mystica555_> [NULL @ 0x8f88ba0] Codec is experimental but experimental codecs are not enabled, see -strict -2
[07:25] <kurtis> guessing i need libvorbis-dev and probably a recompile of ffmpeg?
[07:25] <mystica555_> thatd be the error
[07:25] <mystica555_> ffmpeg gave you 'unknown encoding' ?
[07:25] <kurtis> Yeah, I saw that error -- but when I try "libvorbis" I get: Unknown encoder 'libvorbis'
[07:25] <mystica555_> ohh
[07:26] <mystica555_> youd need to be using a ffmpeg compiled with libvorbis support then yes
[07:26] <kurtis> sweet, hopefully that won't be too hard :)
[07:26] <mystica555_> *an
[07:26] <kurtis> Thanks!
[07:27] <mystica555_> you're welcome :)
[07:28] <kurtis> Is it possible to optimize ffmpeg at all?
[07:29] <kurtis> hmm, I installed libvorbis-devel and re-ran ./configure but it says "libvorbis enabled    no"
[07:31] <mystica555_> hm..
[07:33] <kurtis> I could try using the "experimental" encoder but that sounds kinda scary :)
[07:34] <mystica555_> ive even read some stories about how it makes a valid bitstream but is horrible sounding
[07:35] <mystica555_> as for the configure..
[07:35] <mystica555_> i don't know why its not finding it.
[07:35] <mystica555_> maybe theres a config cache file
[07:36] <kurtis> possibly, I found this page: http://xiphmont.livejournal.com/51160.html which uses ./configure switches to disable built-in vorbis and enable libvorbis, hopefully it'll work
[07:39] <kurtis> sweet, i think it's going to work! taking forever to configure though
[07:51] <mystica555_> fwiw, ive simply done ./configure before and it ends up finding mine..
[07:51] <mystica555_> which os are you on there?
[07:52] <mystica555_> o wait no..
[07:52] <mystica555_> why do i always assume, try, then am wrong.
[07:52] <mystica555_> i know mplayer auto-finds everything, and was thinking about that
[07:52] <mystica555_> whereas ffmpeg needs some --enable bits..
[07:53] <mystica555_> but as i look at my 'no' list, eh, ive got every one of those bits installed and it all syas no.. why they arent enable by default is unknown to me
[07:53] <mystica555_> or, default to 'detect'
[10:46] <rpvl> Hi! I'm wondering if it's possible to hardcode srt subtitles in an mp4 video with ffmpeg... ?
[10:47] <Mavrik> not by itself
[10:47] <Mavrik> ffmbc fork should be able to though
[10:47] <Mavrik> (never tried it though)
[10:48] <rpvl> humm ok. thanks, I'll give that a try
[11:31] <Kartagis> rpvl: I use mencoder+ffmpeg. I could give you the code snippets if you like
[11:33] <rpvl> Kartagis: that would be nice :)
[11:37] <Kartagis> http://pastebin.com/mKDAgKY0
[11:37] <Kartagis> rpvl: ^^
[11:40] <rpvl> Kartagis: tks, I'll just use the subtitles part, the video and audio may passthrough
[11:42] <cbsrobot> rpvl: see the libass filter
[11:42] <cbsrobot> if you can convert srt to ass you can hardcode subtitles
[11:43] <rpvl> cbsrobot: using only ffmpeg?
[11:43] <cbsrobot> http://ffmpeg.org/libavfilter.html#ass
[11:44] <cbsrobot> you need to compile it with --enable-libass
[11:45] <cbsrobot> how many srt files you have ?
[11:47] <rpvl> I just have one... my use case is simple.. I have an mp4 movie.. and I want to hardcode the srt subtitle file into it... to watch it on apple tv
[11:47] <cbsrobot> I can convert srt to ass if you want
[11:48] <rpvl> I found a ruby script that seems to do it: https://github.com/morr/srt2ass/blob/master/srt2ass.rb
[11:50] <rpvl> I just have to compile ffmpeg with the -enable-libass
[11:55] <cbsrobot> rpvl: theres a little bug in the srt2ass
[11:55] <cbsrobot> I let you guess for a bit
[11:56] <cbsrobot> I'll be back a bit later
[11:56] <cbsrobot> lets say I think there is a little bug .-)
[11:57] <rpvl> hehe ok, I'm compiling ffmpeg now... I'll try the script after :) tks
[11:58] <Kartagis> cbreak: it doesn't convert?
[12:01] <ubitux> ffmpeg -i a.srt a.ass doesn't work? :)
[12:01] <ubitux> then you can hardsub the a.ass with -vf if you --enable-libass at compile time
[12:02] <rpvl> ubitux: awesome... it works :)
[12:02] <Kartagis> hmm
[12:02] <rpvl> the conversion to ass I mean
[12:02] <rpvl> I'll have to check the syntax to use with -vf
[12:04] <Kartagis> ubitux: with .ass, I can directly hardcode subtitle into .mp4 files?
[12:05] <cbsrobot> ubitux: thats even faster
[12:05] <cbsrobot> ubitux: btw in my expereince most converters ignore the following sentence in the nice ass-spec.doc :
[12:05] <cbsrobot> Note that there is a single digit for the hours!
[12:06] <cbsrobot> rpvl: ^ this was the little bug btw ....
[12:06] <rpvl> eheh ok
[12:13] <greg_f> Hello to all!\
[12:19] <rpvl> I tried with > ffmpeg -i movie.mp4 -acodec copy -vcodec copy -vf ass=subs.ass output.mp4
[12:19] <greg_f> I am writing service to broadcast video/audio in hls. I use ffprobe to test ts files like ffprobe -loglevel debug media0.ts and got some errors. Can somebody explain me what they mean? http://dpaste.com/708439/
[12:21] <cbsrobot> rpvl: I think streamcopy wont work with filters
[12:21] <Mavrik> rpvl, just copying the video won't change it :)
[12:21] <Mavrik> rpvl, you'll have to re-encode
[12:32] <sasishiju> On Fedora 16 for x86 machine, I did yum install ffmpeg-devel. Then I built ffmpeg. But I get NULL avcodec_find_decoder(CODEC_ID_H264);
[12:33] <sasishiju> I get NULL as return for avcodec_find_decoder(CODEC_ID_H264);
[12:33] <sasishiju> Why is it so? I do av_register_all and avcoedc_register_all
[12:33] <sasishiju> as initialization code
[12:34] <Mavrik> your ffmpeg isn't build with libx264
[12:35] <sasishiju> I built x264 separate
[12:35] <sasishiju> I have a separate source base for x264 and ffmpeg.. I build them separate...
[12:39] <sasishiju> Mavrik. I built x264 and ffmpeg separate. Thats how we do for both Windows and Mac .. Now I did the same for Linux
[12:39] <Mavrik> well, you need to build ffmpeg so it'll link against libx264
[12:40] <Mavrik> with --enable-libx264 as parameter to configure script
[12:40] <cbsrobot> sasishiju: or do it the git clone way ....
[12:41] <sasishiju> cbsrobot: and Mavrik: I did git clone of the source bases...
[12:41] <sasishiju> of both of them and did configure and make for both of them....
[12:42] <cbsrobot> why did you yum install ffmpeg-devel then ?
[12:42] <rpvl> Mavrik: damn.. that will take like.. ages... its a 720p movie
[12:42] <sasishiju> I didnt use --enable-libx264.. I thought it was for using x264 binaries available in ffmpeg libraries......
[12:46] <sasishiju> cbsrobot: I thought yum install was for meeting the dependencies for the code base to be built.....
[12:48] <sasishiju> cbsroot: should I do yum uninstall ffmpeg-devel and try?
[12:48] <cbsrobot> sasishiju: yeah
[12:52] <Mavrik> rpvl, well, how do you expect to change encoded video frames without reencoding? :)
[12:52] <Mavrik> rpvl, you can always do soft-subtitles
[12:53] <rpvl> Mavrik: well... I want the movie to run on an Apple TV.. so.. soft subtitles are not an option I guess..
[12:53] <Mavrik> hmm
[12:53] <Mavrik> I know iPhone/iPad support soft subtitles in .mp4 files, why wouldn't Apple TV?
[12:54] <rpvl> What are the requirements? do you know? I'm new to appletv :)
[12:54] <sasishiju> cbsroot:confused... in fact i was wrong.. there was no result to my previous "yum install ffmpeg-devel"
[12:55] <sasishiju> cbsroot: So there is no need to do yum erase
[12:56] <sasishiju> My doubt is - in windows code, i used avcodec_init();	av_register_all();avcodec_register_all();
[12:56] <sasishiju> In Linux Fedora 16, for the latest git source, avcodec_init doesnt compile
[12:56] <Mavrik> rpvl, I used handbrake to put srts in for iPhone....
[12:57] <sasishiju> Anything wrong in my initialization?
[13:10] <sasishiju> Mavrik, --enable-libx264 , is it a must even if I build x264 separate?
[13:11] <sasishiju> My problem is NULL as return value for avcodec_find_decoder(CODEC_ID_H264);
[13:16] <Mavrik> yes.
[13:16] <Mavrik> of course it is
[13:21] <ubitux> < Kartagis> ubitux: with .ass, I can directly hardcode subtitle into .mp4 files? // if you want to burn the subtitles -vf ass=bla.ass, otherwise ffmpeg -i bla.ass to get it muxed
[13:22] <ubitux> < cbsrobot> Note that there is a single digit for the hours! // it looks like ffmpeg is using a single digit: return snprintf(str, strlen, "%d:%02d:%02d.%02d", h, m, s, ts);
[13:23] <cbsrobot> ubitux: ffmpeg is but most other converters not
[13:24] <cbsrobot> and vf ass will fail on two digit hours
[13:24] <cbsrobot> let's say libass will fail ....
[13:24] <ubitux> parsing is done by libass
[13:25] <ubitux> the ffmpeg filter only deals with the api and blit the bitmaps
[13:25] <cbsrobot> ubitux: I know - not sure what to do about it.
[13:26] <ubitux> fix the softwares outputing invalid files
[13:26] <cbsrobot> Normally I report it to the makers of the converters ....
[13:26] <ubitux> and maybe make libass handle it with a warning
[13:39] <MindSpark> hi, can someone tell me what the parameters are for android video encoding? I am trying to convert an rtmp stream to rtsp so it would display on an android device
[13:40] <MindSpark> but it's only playing audio (black video)
[13:41] <Mavrik> depends on device
[13:41] <Mavrik> for older you need to keep h.264 in baseline profile up to level 3.0
[13:44] <MindSpark> where do I get these profiles? I compiled ffmpeg from scratch and I cannot find a place where the profiles are located
[13:44] <MindSpark> and what do you mean with level 3.0?
[13:45] <Mavrik> MindSpark, profiles, levels: http://en.wikipedia.org/wiki/H.264/MPEG-4_AVC#Profiles
[13:45] <JEEBsv> profiles = H.264 feature sets
[13:45] <JEEBsv> levels = how much memory the decoder will need to decode the stream
[13:45] <JEEBsv> basically ways to have hardware makers do more simple stuff
[13:45] <Mavrik> android supported media formats: http://developer.android.com/guide/appendix/media-formats.html
[13:46] <JEEBsv> and easy ways of making stuff for various hardware
[13:46] <MindSpark> ok, I am going to try to explain what I am trying to do here, because I am not sure if this is even possible
[13:46] <Mavrik> encoding h.264 (and profiles/levels) with ffmpeg: http://www.virag.si/2012/01/web-video-encoding-tutorial-with-ffmpeg-0-9/
[13:46] <MindSpark> there's a channel stream in rtmp which I need to convert to rtsp to stream on a phone
[13:47] <MindSpark> I am trying to do this on a server using ffserver
[13:47] <MindSpark> not on the phone itself
[13:47] <MindSpark> and then requesting the stream from that server
[13:47] <JEEBsv> have fun, ffserver is not documented and not really known by many
[13:48] <MindSpark> JEEBsv, what do you recommend to achieve something like that?
[13:49] <MindSpark> I've been trying to get this done for over a week
[13:49] <Mavrik> I couldn't get ffserver to work wht h264 yet... the latest documentation still talks about asf files
[13:49] <Mavrik> I'm not even sure if ffserver can stream h264
[13:49] <JEEBsv> it should be able to do a lot, but after you do all the required voodoo
[13:49] <JEEBsv> MindSpark: I have no idea about reading rtmp, but generally if you want human-usable streaming most people use VLC
[13:50] <Mavrik> *sigh*
[13:50] <Mavrik> guess I'll have to take a weekend and write something myself :P
[13:50] <JEEBsv> VLC on command line should work for most cases
[13:50] <MindSpark> Mavrik, I think it can, I actually got it to work using moboplayer on android
[13:50] <JEEBsv> and it's much less voodoo-filled than ffserver
[13:51] <Mavrik> I've had serious memory leak problems with VLC few versions back
[13:51] <JEEBsv> vOv
[13:51] <JEEBsv> I've only used VLC usually a few hours in one go
[13:52] <Mavrik> anyway, we're licensing Wowza right now, but am still looking for solutions for home/NPO use that are opensource/free :\
[13:52] <MindSpark> I am looking at vlc right now. Is there a difference between RTP and RTSP? sorry newbie here
[13:52] <Mavrik> MindSpark, yeah, it is
[13:52] <Mavrik> I suggest avoiding RTP, it's not tivial to set it up
[13:53] <MindSpark> for streaming, there's http,rtp,udp (?) and mmsh
[13:53] <JEEBsv> also, do note that you usually want the newest VLC with the newest libraries, currently 2.0 is newest with relatively OK'ish aged libraries
[13:53] <JEEBsv> I think VLC could do rtsp as well
[13:53] <Mavrik> yes, VLC can do RTSP
[13:53] <Mavrik> documentation is very arcane, not to mention half of it is obsolete now that 2.0 came :(
[13:53] <JEEBsv> yeh
[13:54] <Mavrik> anyway, I'll stop whining now
[13:54] <JEEBsv> but that's still "more usable" than ffserver
[13:54] <JEEBsv> lol
[13:54] <Mavrik> need to figure out how to grab 720p from these blackmagic devices
[13:54] <JEEBsv> I still remember when I looked at ffserver the first time
[13:54] <Mavrik> (very appropriate name for a company that makes video hardware)
[13:54] <JEEBsv> not gonna look at it another time
[13:54] <MindSpark> so what are my other options?
[13:54] <MindSpark> would wowza work?
[13:56] <cbsrobot> Mavrik: how do you do taht ?
[13:58] <Mavrik> cbsrobot, ?
[13:58] <Mavrik> MindSpark, yes, but wowza is rather expensive for such use
[13:58] <Mavrik> MindSpark, I suggest you look into VLC 2.0
[13:58] <cbsrobot> grab form bm devices
[13:59] <MindSpark> Mavrik, I am downloading vlc as we speak :) can it be run on a linux server from cli ?
[13:59] <Mavrik> cbsrobot, ffmpeg via directshow for now
[13:59] <Mavrik> MindSpark, yeah... I'm just not sure if it can act as a streaming server
[13:59] <JEEBsv> it can
[14:00] <JEEBsv> you can basically build VLC without the GUI and have it do the usual streaming stuff
[14:00] <JEEBsv> and run it without one even if you build it with it
[14:01] <Mavrik> ah
[14:01] <cbsrobot> Mavrik: https://github.com/lu-zero/decklink-ffmpeg but i heard it will not work with latest ffmpeg
[14:01] <Mavrik> cbsrobot, I managed to grab PAL input with latest ffmpeg and intensity shuttle
[14:01] <Mavrik> there's something wrong with dshow input plugin when trying to do 720p though, I'll probably have to patch ffmpeg
[14:06] <MindSpark> but if I was to use ffserver, would that be possible?
[14:07] <MindSpark> I just don't want to regret the week I worked on this
[14:07] <JEEBsv> possibly, just that no-one knows how many goats you have to sacrifice for it to work
[14:08] <JEEBsv> arcane magic that works with the underwater power of the Cthulhu
[14:10] <Mavrik> also, check for planetary alignment, Saturn could have some effects on your succes
[14:31] <rainmaker1> Hi, can ffmpeg transcode rtmp output to multicast address?
[14:51] <kevin_> GOOD MORNING
[14:51] <kevin_> :}
[14:51] <kevin_> oh, i never new amsg went across networks. hrm
[14:51] <kevin_> knew*
[17:27] <teratorn> hiya, if I decode a yuv420p frame from a video, and the frame.width == 320, but frame.linesize[0] == 352, something is definitely screwed up, isn't it?
[18:13] <Tostada> Hi.. I tried to upgrade ffmpeg to 0.10 and I get a couple errors. LIBAVFILTER_2 not defined in file libavfilter.so.2 with link time reference
[18:14] <Tostada> And this one: WARNING: library configuration mismatch..  Thanks.
[21:03] <GTRsdk> How do I convert m4v -> AVI?
[21:05] <mystica555_> starting out with something as simple as ffmpeg -i file.m4v file.avi
[21:06] <mystica555_> adding perhaps some useful codec and bitrate options in the mix
[21:06] <mystica555_> (after the -i before the output name)
[21:06] <mystica555_> well after the -i inputfile rather
[21:07] <GTRsdk> Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
[21:09] <mystica555_> could you pastebin the entire command and its output?
[21:28] <rainmaker1> vadim_: Hi, no luck this time... after 13 hours ffmpeg exited...
[21:28] <rainmaker1> vadim_: did you saw the post on youtube about circulr buffer overun error?
[21:29] <vadim_> rainmaker1: hi... nope, give me the link please
[21:29] <rainmaker1> vadim_: http://www.google.com/support/forum/p/youtube/thread?tid=35c3e3d1c2ea6f1f&hl=en
[21:30] <rainmaker1> vadim_: the strange thing is that at the end of post he claims that everything works just fine using -maxrate switch
[21:31] <rainmaker1> vadim_: however when I tried the same it crashed afetr 13 hours, and now I have used -maxrate with -bufsize ...
[21:32] <GTRsdk> mystica555_: sorry I don't have it pastebined yet, but it is a multiple chapter file. Could that be the issue?
[21:33] <rainmaker1> vadim_: It really looks like memory leak, I will try to dig into the udp.c
[21:34] <mystica555_> it really shouldnt be the issue; it sounds like something is wrong like a codec is being chosen that avi cant contain properly or some other bug that really the text would be helpful to see. otherwise its speculation
[21:35] <vadim_> rainmaker1: just a minute... have to read it carefully
[21:36] <GTRsdk> mystica555_: I'm running Debian 7 (wheezy/testing) http://pastebin.com/HRxXAw9Z
[21:37] <rainmaker1> vadim_: take your time :)
[21:39] <mystica555_> GTRsdk: try potentially -c:v copy.  one question i have, what is the intended use for this avi output that the m4v wouldnt do?
[21:39] <GTRsdk> mystica555_: play on windows media player
[21:40] <mystica555_> is there a reason you require windows media player, versus any other more capable piece of softare?  also, have you tried ffdshow-tryouts for a really useful codec set for directshow?
[21:41] <mystica555_> at best, i can only say mess around with the codec options, or wait for someone who knows a bit more about what the particulars of the error mean.. im still not quite sure why its not working..
[21:41] <GTRsdk> mystica555_: well there's application that requires windows media player to be able to view it in order for the video to be converted to 3D
[21:41] <mystica555_> try ffdshow-tryouts
[21:41] <mystica555_> that should allow it to open in media player, if it'll open in anything directshow
[21:43] <GTRsdk> the movie was overwritted D:
[21:43] <GTRsdk> now it is a blank file ;(
[21:44] <mystica555_> ouch
[21:45] <mystica555_> anything you put on the commandline that appears to be a media file, but without a -i immediately preceeding, is considered to be an output
[21:45] <mystica555_> perhaps a previous command tried to output to both files
[21:45] <mystica555_> :\
[21:46] <vadim_> rainmaker1: well... as i remember, i have tried -maxrate parameter, not sure how long it worked... if i'm still here, it worked not long enough...
[21:48] <mystica555_> GTRsdk: i sort of wish ffmpeg had a -o to specify output in this circumstance..
[21:48] <mystica555_> and a media file without any -i or -o is just an error
[21:48] <rainmaker1> vadim_: don't know what to do next except to looking in code..
[21:49] <vadim_> rainmaker1: even if with 1 to 1 stream it work more or less long (let's say up to 13 h)... when i try to get 1 to many streams it crash very fast...
[21:50] <vadim_> rainmaker1: we definitly need a programer with experience in *nix programming, and with a fresh look at this code...
[21:54] <rainmaker1> vadim_: with two output streams for me it worked abouth 21 hours :) which is again bad.. :)
[21:54] <rainmaker1> vadim_: do you know someone? :D
[21:54] <rainmaker1> vadim_: and one very strange thing... how come the
[21:55] <vadim_> rainmaker1: not yet... :(
[21:55] <rainmaker1> vadim_: that nobody except us is complaining about this bug?
[21:55] <rainmaker1> vadim_: ffmpeg is widley used vlc too
[21:57] <vadim_> rainmaker1: you're wrong... i found at least three open tickets on bug tracker regarding this problem, some of them quite old, more than 4 months...
[21:58] <vadim_> rainmaker1: there was some else people asking about this problem right here... but, have no idea if they found a solution...
[22:01] <vadim_> rainmaker1: do you use v0.10?
[22:02] <rainmaker1> vadim_: me wrong? it's impossible :D
[22:02] <vadim_> rainmaker1: pardon?..
[22:02] <rainmaker1> vadim_: no, I use git snapshot a few days old
[22:03] <rainmaker1> vadim_: why?
[22:10] <vadim_> rainmaker1: i can't use v0.10+ with the segmentation patch...
[22:11] <vadim_> rainmaker1: this is another problem for me...
[22:11] <rainmaker1> vadim_: why you dont use latest git version?
[22:15] <vadim_> rainmaker1: i use it... but only to test the udp module...
[22:16] <rainmaker1> vadim_: did you happend to get out of sync videos? I mean audio and video are out of sync?
[22:17] <vadim_> rainmaker1: yes... it happens to me after about 3-4 hours of transcoding
[22:19] <vadim_> rainmaker1: but at this moment, this is not so important
[22:19] <vadim_> rainmaker1: the only good thing on this situation, is my english practice ))
[22:21] <rainmaker1> vadim_: :D:D:D
[22:22] <rainmaker1> vadim_: well the bad thing is that now it takes me couple of hours to repeat the problem so it's gonna to be very slow debug :(
[22:23] <b0ot> Does anyone know of any thing in linux that would be good for streaming low latency video over a lossy link with linux?
[22:23] <rainmaker1> vadim_: do you know a better way to crash it faster?
[22:23] <vadim_> rainmaker1: i'm in the same situation
[22:23] <b0ot> I noticed when you stream video with vlc you get a lag of around 2 seconds.
[22:24] <rainmaker1> b0ot: which is not bad, but if you want you can use zerolatency option in x264
[22:25] <rainmaker1> b0ot: but keep in mind that 2sec is maybe related to buffering at the other end..
[22:27] <b0ot> rainmaker1, Why does it work with things like ip cameras where you have like zero lag.
[22:27] <b0ot> and how do I use the zero latency option
[22:28] <vadim_> rainmaker1: i think, i know... but will get you the cli in about 30 minutes... i'm recompiling ffmpeg
[22:29] <rainmaker1> vadim_: that would be great
[22:29] <rainmaker1> b0ot:  -tune zerolatency
[22:30] <rainmaker1> b0ot: again, it depends if you have buffering on the other end...
[22:31] <b0ot> Sorry I'm a bit confused, I was told that the people here would be able to help. Is this using some program to do the streaming like vlc?
[22:31] <b0ot> or is the "program" x264
[22:31] <b0ot> And what type of viewer would be best to result in the lowest latency for viewing
[22:33] <rainmaker1> b0ot: the program is ffmpeg it uses x264 lib in order to transcode incoming stream to h264 but, it could be used for various other tasks
[22:34] <rainmaker1> b0ot: don't know about viewer, and I am not the expert about anything related to ffmpeg or x264
[22:34] <b0ot> So I could take an rtp video stream transcode it with ffmpeg
[22:34] <b0ot> and stream it out multicast to my network?
[22:36] <tclarke> can ffmpeg encode redcode files?
[22:36] <tclarke> if not, does anyone know of a library or tool that can?
[22:37] <rainmaker1> b0ot: I guess, but I didn't do it, maybe someone else can help
[22:37] <VooDooNOFX_> tclarke, as in the red file format used in RED cameras?
[22:38] <tclarke> yes...I have large vvideo (8kx8k) I'm trying to encode and I need a format widely supported by NLVE tools
[22:38] <tclarke> red seems a good choice if I can find an encoder
[22:38] <tclarke> I'm open to other ideas as well
[22:38] <VooDooNOFX_> why not just use the red command line tools from RedCine(x)?
[22:40] <tclarke> I'll look into that...depends on the licensing but that could work
[22:40] <tclarke> thanks
[22:40] <b0ot> Does anyone have any information on how to take an rtsp video stream and use ffmpeg to restream that out (low latency as possible) mulitcast across a network.
[22:41] <VooDooNOFX_> tclarke, i'm pretty sure that ffmpeg can't really read red's raw sensor data. I'm no expert on it though. If you find it can, please let me know!
[22:42] <VooDooNOFX_> btw, 8k red images? that's a pretty high end camera dude
[22:42] <tclarke> it's not camera data...it's synthetic
[22:42] <VooDooNOFX_> sounds like a major release post production thing
[22:42] <tclarke> http://ffmpeg.org/general.html lists r3d as a supported decode format
[22:43] <finsternis> I have a .avi file that does not work right (audio pauses frequently and there are visual artifacts) in vlc 2.0 and older versions of mplayer (do not have newer versions) but it plays well with a very recent ffplay. mplayer omits errors like "ac-tex damaged at".
[22:43] <finsternis> I tried ffmpeg -i in.avi -acodec copy -vcodec copy out.avi to fix it, but that caused the .avi to show this problem throughout the file in vlc, but the in.avi only had it starting 10 minutes into it
[22:43] <tclarke> VooDooNOFX_: thanks for the pointers...should get me moving a little further
[22:44] <finsternis> any suggestions how to further debug and fix this? Goal is to make it work in vlc like it does in ffplay.
[22:54] <finsternis> ffmpeg -i in.avi -acodec copy -vcodec copy out.mp4 seems to work
[22:57] <finsternis> and turning the mp4 into an avi seems to fix it
[23:01] <Takyoji> Any way to aptly cut off from the end of a video, without having to re-encode the whoooole thing? (H.264 in MP4 container)
[23:03] <vadim_> rainmaker1: are you still here?
[23:04] <rainmaker1> vadim_: yes
[23:06] <vadim_> rainmaker1: do you see my pinvitation to private?
[00:00] --- Tue Feb 28 2012


More information about the Ffmpeg-devel-irc mailing list