[Ffmpeg-devel-irc] ffmpeg.log.20141229
burek
burek021 at gmail.com
Tue Dec 30 02:05:01 CET 2014
[02:01] <Wulf> hi
[02:02] <Wulf> I want to periodically (few times per second) take pictures from my camera and them to a web browser where they can be watched as a movie stream. What would be the best way to implement this?
[03:10] <chan1> hello, while compiling OpenCV, I got
[03:12] <chan1> I tried configure --enable-pic and --extrac-cflags="-fPIC" but got same result.
[03:12] <chan1> Can anybody give me a hint?
[03:12] <chan1> \/usr/bin/ld: /usr/local/lib/libavcodec.a(vc1dsp_mmx.o): relocation R_X86_64_PC32 against symbol `ff_pw_9' can not be used when making a shared object; recompile with -fPIC
[04:06] <pinkette> what does setting "h264 level" do?
[04:24] <debianuser> Wulf: You can stream it with ffmpeg/ffserver as usual, just set output frame rate to 5, for example, for having 5 shots per second. :)
[04:35] <debianuser> pinkette: http://en.wikipedia.org/wiki/H.264/MPEG-4_AVC#Levels
[04:41] <debianuser> chan1: /usr/local/lib/libavcodec.a? Maybe you need to rebuild your ffmpeg with -fPIC, not just OpenCV?
[06:59] <chan1> debinauser:hi, I rebuilt ffmpeg with --enable-shared and the problem is gone! maybe without it, the .so file is not a shared library?..
[07:13] <visiot> can i control udp transmission rate while streaming
[07:17] <kaotiko> RTCP :)
[07:30] <visiot> while multicasting using ffmpeg i'm getting a jitter on my HQAM 40 to 60 ms
[07:31] <visiot> i'm capturing screen
[07:31] <visiot> if i use cvlc on the same i'm getting jitter of 1 to 3 ms only
[07:31] <visiot> how can i reduce jitter size on ffmpeg
[14:11] <AlexRussia> hey, what means things like that when i try convert mp3(native) to mp3(libmp3lame):
[14:11] <AlexRussia> Error while decoding stream #0:0: Invalid data found when processing input
[14:11] <AlexRussia> ?
[14:13] <c_14> It means that your input is probably broken.
[14:16] <AlexRussia> Sad
[15:15] <abjinxed> can I build any ffmpeg version, to support 64 bit arm architecture? Or, Is there any particular version I need to use?
[15:17] <abjinxed> I am trying to find from which version did ffmpeg started supporting 64 bit architecture. But could not find any info on that.
[15:17] <c_14> try git master HEAD
[15:33] <storrgie> I saw a recent post by the kodi team that they have upgraded ffmpeg so that they can play h265. I've got a ton of h264 content (ripped via makemkv), is there a simple way to convert to h265? I'm scared I'll screw something up in the conversion.
[15:34] <c_14> Converting is simple, but it'll take forever.
[15:34] <storrgie> thats fine
[15:34] <storrgie> I have everything on a central server that has a big xeon on it, with 32g memory
[15:35] <c_14> https://trac.ffmpeg.org/wiki/Encode/H.265
[15:36] <ribasushi> more importantly the conversion will be lossy (on top of the original h264 losses)
[15:36] <storrgie> ribasushi, ahh i didnt think of that
[15:36] <storrgie> ribasushi, I'd be better off going from source material then
[15:37] <ribasushi> this is (for better or worse) always the case with encoding
[15:37] <ribasushi> errr lossy encoding
[15:37] <storrgie> ribasushi, actually in reading a bit. it looks like makemkv doesn't re-encode when it does the rip
[15:38] <c_14> ye, makemkv just dumps whatever's on the source into a file
[15:38] <storrgie> ribasushi, http://www.makemkv.com/forum2/viewtopic.php?f=1&t=8338
[15:38] <storrgie> c_14, yeap
[15:38] <storrgie> so I could even h264 this stuff to get a large reduction in filesize
[15:39] <c_14> Technically you'd want to encode from the master, but getting your hands on those isn't easy.
[15:40] <storrgie> I am now not sure what I'll do
[15:40] <storrgie> I wanted to tamp down my increasing storage needs by using h265
[15:40] <storrgie> but I was under the impression I was already using h264
[15:41] <storrgie> now that I realize I've mostly got the raw stream, I would have to do some testing to see if I notice anything visually
[15:41] <storrgie> I keep all my music in flac, it seems like I'd be a poseur to lossly encode the video streams
[16:05] <miburi> hi has anyone ever successfully installed ffmpeg with libopenjpeg before?
[18:56] <Fjorgynn> TIRED I AM
[18:57] <tacpilot> I have linux ffmpeg compiled and installed with libx264-dev .. turns out i need the x264-10b and have downloaded the current binary.. how to point to x264 and not libx264 ?
[19:00] <tacpilot> if is just a CL option just a simple example command would be awesome
[19:01] <__jack__> by x264, you mean the command line executable ?
[19:03] <tacpilot> yes
[19:04] <__jack__> it is useless for a pure ffmpeg usage, you need the lib; however, you can still pipe raw video from ffmpeg to x264
[19:05] <__jack__> something like this: ffmpeg -i blabla -f yuv4mpegpipe - | ./x264 -o blabla -
[19:05] <tacpilot> been digging around for a while and with every thing i fing the relation between x264 - ffmpeg - libx264 is really gray
[19:07] <__jack__> libx264 is a shared library, this means every program, if compiled & linked with, can use it. It's responsible for encoding, decoding, all "x264" stuff; x264 is a command line binary, it uses the libx264, and add cli stuff (parsing args etc etc); ffmpeg can also use the libx264 for encoding, and will add different stuff: multiplexing, decoding, muxing etc etc
[19:07] <__jack__> you cannot use a lib as-is
[19:10] <tacpilot> i would really prefer ffmpeg to use the 10 bit internally .. the info here recommends getting x264 from https://www.ffmpeg.org/general.html#x264 .. am guessing installing from source provides libs for ffmpeg rather than just grabbing the binary ?
[19:10] <jarainf> You need to compile libx264 in 10bit mode and pull it into ffmpeg
[19:12] <tacpilot> IC .. if i uninstall the libx264-dev from repos and compile and install in 10 bit mode from source .. will i need to recompile ffmpeg to utilize the new libs ?
[19:13] <__jack__> yup
[19:13] <tacpilot> will do .. TY All
[20:48] <olvdi> i am trying to record audio from a computer and get a stream of the mp3 data to send over an application of my own, so i have this: http://pastebin.com/gXxSzt1M
[20:49] <olvdi> i have no idea on how to go around to fix that, any help any direction is useful
[20:50] <c_14> add -stdin as an option
[20:54] <olvdi> ffmpeg.exe -f dshow -i audio="My mic" -f s161e -acodec libmp3lame -stdin -
[20:54] <olvdi> is that what u meant?
[20:54] <c_14> you can put it wherever
[20:54] <c_14> and maybe replace - with pipe:1
[20:55] <c_14> though that's just because I think it's cleaner
[20:56] <olvdi> i need stdout and stdin
[20:56] <c_14> hmm?
[20:56] <olvdi> with pipe:1
[20:57] <c_14> pipe:1 is stdout
[20:57] <olvdi> yeah
[20:57] <olvdi> i need stdin and stdout
[20:57] <olvdi> so pipe:1 will only give me stdout ... right?
[20:57] <c_14> You can't output to stdin
[20:59] <olvdi> with -stdin i get the conversion failed randomly btw
[20:59] <c_14> what's your current cmdline ?
[21:01] <olvdi> '-f', 'dshow','-i','audio=Microphone (Webcam C170)','-f', 's16le','-acodec', 'libmp3lame','-stdin','pipe:1'
[21:02] <c_14> and the error ?
[21:03] <olvdi> conversion failed
[21:03] <olvdi> av_interleaved_write_frame(): Invalid argument
[21:06] <olvdi> can i get this issue due to being unable to write to buffer?
[21:07] <c_14> That's the default something broke error. Can you pastebin the complete console output? Everything on stderr?
[22:15] <miburi> anyone have any idea how to fix the "undefined reference to opjXXX" issues when trying to compile and make ffpmeg with openjpeg?
[22:16] <miburi> which is within the libopenjpeggenc.c file "ffmpeg-2.5.2/libavcodec/libopenjpegenc.c:266: undefined reference to `opj_destroy_compress'"
[22:57] <Eryn_1983_FL> hey peeps how do i convert rm to mpeg or mp4?
[23:00] <Eryn_1983_FL> i got it ffmpeg -i foo.rm -vcodec mpeg4 -sameq -acodec libfaac -ab 94208 foo.mp4
[23:05] <SirDarius> Eryn_1983_FL: I would rather use something like ffmpeg -i foo.rm -c:v libx264 -crf:v 20 -c:a libfaac -b:a 96k foo.mp4, because -sameq is probably not what you want (https://ffmpeg.org/faq.html#Why-was-the-ffmpeg-_002dsameq-option-removed_003f-What-to-use-instead_003f)
[00:00] --- Tue Dec 30 2014
More information about the Ffmpeg-devel-irc
mailing list