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

burek burek021 at gmail.com
Sat Aug 2 02:05:01 CEST 2014


[09:02] <orlp> when I try to capture my screen under Windows 7 64 bit using ffmpeg I get [dshow @ 0000000002b807a0] Could not enumerate video devices - this also happens with  ffmpeg -list_devices true -f dshow -i dummy
[09:03] <orlp> this is using http://ffmpeg.zeranoe.com/builds/win64/static/ffmpeg-20140731-git-d76675d-win64-static.7z
[09:59] <wh-hw> hi, all , how to streaming a video use ffserver and make output stream format to ts ?
[10:00] <wh-hw> by the way , i need use libx265 encoder the video
[10:04] <wh-hw> hello
[10:06] <oak> Hi, I was trying to compile ffmpeg from source
[10:06] <oak> trying to convert a youtube video to mp3
[10:06] <oak> I get this error
[10:06] <oak> audio conversion failed: Unknown encoder 'libmp3lame'
[10:07] <ubitux> you need a build with libmp3lame
[10:07] <oak> not sure what that means :(
[10:07] <oak> I'm pretty new to linux
[10:08] <oak> I installed the libmp3lame-dev package though
[10:08] <oak> using synaptic
[10:08] <ubitux> your ffmpeg needs to be build with --enable-libmp3lame
[10:08] <ubitux> the compilation flags should appears when you type "ffmpeg"
[10:09] <ubitux> but if you're on debian/ubuntu and using your package manager, it's probable that you don't actually use ffmpeg anyway but a fork
[10:09] <oak> linux mint 17
[10:11] <oak> http://pastie.org/9436090
[10:12] <oak> was that what you were asking for?
[10:13] <sacarasc> oak: The command you used to get the error, and the complete output thereof.
[10:13] <ubitux> oak: "configuration: "
[10:13] <ubitux> oak: basically this was built with "./configure"
[10:14] <ubitux> you need to "./configure --enable-libmp3lame" at least (maybe some license flags as well, not sure)
[10:15] <oak> ohhh. Yeah I just typed .configure and no "--enable-libmp3lame" flag
[10:15] <oak> so can I just try it now or is it too late?
[10:16] <ubitux> well you can recompile with it
[10:16] <ubitux> ./configure --enable-libmp3lame && make ...
[10:16] <ubitux> you probably want to link against a few more libs btw
[10:19] <oak> I'm new to linux, I have no idea what linking against a few more libs means
[10:20] <oak> anyway tried "./configure --enable-libmp3lame && make ..." it seems to do something...
[10:21] <oak> but when I try to convert the video I get the same error
[10:21] <ubitux> i doubt it
[10:22] <ubitux> make sure the "--enable-libmp3lame" appears in the configuration line
[10:22] <sacarasc> oak: Try `make clean` before you do the ./configure to make sure it does actually compile again.
[10:23] <oak> ok I'll try that. Just to be sure, you want me to type 'make clean' and then './configure --enable-libmp3lame && make ...' right?
[10:23] <sacarasc> Yes.
[10:25] <ubitux> no need for make clean.
[10:26] <ubitux> and you can install ccache, and use --cc='ccache cc' to avoid wasting time compiling over again everything
[10:27] <oak> doh, I already did the make clean command
[10:27] <oak> I'm noticing this message:
[10:27] <oak> make: *** No rule to make target `...'.  Stop.
[10:28] <oak> was this a typo or something?
[10:29] <oak> this is after typing ./configure --enable-libmp3lame && make ...
[10:30] <sacarasc> Remove the "...".
[10:30] <oak> ah, i figured ;p
[10:31] <oak> the dangers of communicating with ellipses
[10:40] <oak> whew ok finished compiling...so sacarasc, am I good now?
[10:41] <sacarasc> Run it and see.
[10:41] <oak> hmm. nope same error
[10:42] <oak> agh, I need to get to sleep, thanks so much for trying to help me though
[10:42] <oak> I'll come back later tomorrow
[13:02] <hexhaxtron> How can I see the license a video has?
[13:42] <termos> after my avcodec_decode_audio4 and avcodec_decode_video2 calls, the pts of the video and audio AVFrames have been messed up they are both -9223372036854775808. How can I set it correctly after this?
[13:51] <anshul_m> using libav
[13:51] <anshul_m> or ffmpeg
[13:54] <Mavrik> termos, that's AV_NOPTS_VALUE
[13:54] <Mavrik> meaning they're not set
[13:55] <termos> I'm using libffmpeg
[13:55] <Mavrik> what's that?
[13:56] <termos> well, FFmpeg :)
[13:56] <anshul_m> termos, mavrik gave your answer :)
[13:56] <Mavrik> termos, no, that certanly isn't ffmpeg
[13:56] <Mavrik> also what you're calling is part of libavcodec
[13:57] <termos> oh, well I'm not familiar with these naming conventions
[13:59] <Mavrik> termos, calling this on your AVFrame will give you PTS: https://ffmpeg.org/doxygen/trunk/group__lavu__frame.html#gacb9d9082c10e625e51a68caceabd4458
[13:59] <Mavrik> so you can do something like this: 		frame->pts = av_frame_get_best_effort_timestamp(frame);
[14:00] <anshul_m> I am doing live stream using hls of ffmpeg/libavformat, things are running fine when I am using ffmpeg command, but when I am running my program it have glitch at the end of hls_time
[14:00] <Matsy> Can't you just count your own ts?
[14:02] <Mavrik> uh
[14:02] <Mavrik> counting your own TS is a horrible idea
[14:02] <Mavrik> especially when streaming.
[14:03] <anshul_m> if I put hls_time as 2 second, then after all pending frmaes played it get stuck till new ts file is formed
[14:03] <termos> Mavrik: okey thanks, that seems correct. I'll give it a shot
[14:19] <anshul_m> How to dump all the parameter set to encoder
[14:33] <termos> I get no crash and my stream seems fine, but I keep getting the warning "specified frame type is not compatible with max B-frames". I've set keyint to 75 (3 seconds) and keyint_min to 25.
[14:34] <termos> also it's x264
[14:46] <slowguy> i want to transcode a file and upload it to a server on the fly
[14:52] <ersatzbeardr> slowguy: gratz
[14:53] <ersatzbeardr> why don't you make a filesystem on the server and let the filesystem handle the streaming
[14:53] <ersatzbeardr> with smb mount or nfs over a vpn
[14:53] <ersatzbeardr> or fuck off
[14:53] <ersatzbeardr> your choice
[15:05] <Mavrik> O.o
[15:05] <sacarasc> ersatzbeardr: Why so mean?
[15:07] <ersatzbeardr> i take it all back, i thought this was #ubuntu
[15:15] <slowguy> ersatzbeardr: right
[15:16] <slowguy> ersatzbeardr: would i gain over ffpmpeg -i file.ts ftp://server/foo/bar  ?
[15:16] <Matsy> Is there any way to stream RTSP without ffserver?
[15:25] <ersatzbeardr> ftp sucks
[15:26] <slowguy> for you?
[15:30] <termos> i'm setting gop_size, keyint_min in my codec context but it doesn't look like its honored by x264. when I print out my I frames and count them the gop is set to something else
[15:30] <termos> I try to set it to 75 frames but it keeps being 50 frames.
[15:38] <ersatzbeardr> no it functionally sucks as a protocol
[15:54] <Mavrik> termos, that's totally normal.
[15:54] <Mavrik> GOP size means "MAXIMUM distance" between frames
[15:54] <Mavrik> not "exact" distance
[15:57] <Plorkyeran> --no-scenecut makes it put keyframes exactly gop_size frames apart
[15:58] <Plorkyeran> which hurts compression somewhat, but if you specifically need that...
[16:00] <Mavrik> yep
[16:15] <Matsy> Wow
[16:15] <Matsy> Streaming webm with ffmpeg/ffserver works flawlessly
[16:47] <anshul_mahe> which is the c file or defination of av_frame_get_best_effort_timestamp
[16:50] <anshul_mahe> i would correct my question where are accessor of AVFrame is defined
[17:23] <ubitux> anshul_mahe: libavutil/frame.c + libavutil/internal.h (MAKE_ACCESSORS)
[17:25] <Matsy> Is there any way to make ffserver drop the entire file whenever it receives a new stream?
[17:25] <Matsy> And that it just starts over right from that point?
[17:36] <Matsy> Yes there is
[18:14] <TheWhisper> Hi, all! I'm having some trouble with FFmpeg and the Breakaway Audio Enhancer (http://www.claessonedwards.com/index.php?option=com_content&view=article&id=46:breakaway-audio-enhancer&catid=46&Itemid=1089). I am unable to record a video (here are the settings and the output: http://pastebin.com/VVs9gCj3).
[18:16] <TheWhisper> And here are the results of me running -list_devices and then -list_options for the Breakaway device: http://pastebin.com/KFZvquea
[18:19] <TheWhisper> "virtual-audio-capturer" is also listed as a DirectShow audio device, but if I try to record using that, this is what happens: http://pastebin.com/ZLBAiJJh
[18:20] <TheWhisper> If I don't use an audio source, then it works fine.
[18:22] <TheWhisper> Please let me know if you need any more information :)
[18:26] <TheWhisper> And I'm not sure if this helps, but recording using -i video="screen-capture-recorder":audio="virtual-audio-capturer" works fine. From here: https://github.com/rdp/screen-capture-recorder-to-video-windows-free
[18:43] <TheWhisper> Okay, I figured out a fix.
[18:43] <TheWhisper> There's this dropdown in the Breakaway settings: http://i.imgur.com/HZw591T.png
[18:43] <TheWhisper> Wave = Wave out, DS = DirectSound, and KS = Kernel Streaming
[18:43] <TheWhisper> Choosing Kernel Streaming resulted in me being able to record audio and video
[19:12] <neo_mg> Hey! I need to convert a SWF with parameters to mp4. It's a dynamic swf that gets some params, like name. So I have file.swf?name=NEO and I need to convert it to mp4. Can FFMPEG do this? I already tried ffmpeg -i file.swf?name=NEO test.mp4 and it doesnt work 'cause the param is invalid.
[19:13] <sfan5> did you try putting the params into quotes?
[19:14] <neo_mg> Yes, same error.
[19:14] <neo_mg> ffmpeg -i "file.swf?name=NEO" test.mp4
[19:14] <neo_mg> like this?
[19:15] <sfan5> yes
[19:16] <neo_mg> Unable to find a suitable output format for 'name=NEO': Invalid argument
[19:21] <Hello71> more -i
[19:22] <neo_mg> how so ?
[19:22] <Hello71> use more -i
[19:22] <Hello71> ensure you do not have a file called "file.swf name=NEO"
[19:25] <neo_mg> ffmpeg -i file.swf -i name=NEO test.mp4 failed too. 'cause it wont try to open file.swf?name=NEO, it would try to open file.swf and name=NEO file that wont exists
[19:37] <Matsy> neo_mg: You need to host the SWF-file first
[19:38] <Matsy> And then connect to the SWF file through http://xxx/file.swf?name=NEO
[19:38] <Matsy> Or try using file://xxx/file.swf?name=NEO
[19:38] <Matsy> Unsure if the latter works
[19:38] <neo_mg> i'll try it now!
[19:38] <Matsy> The latter is easy to try, though
[19:42] <neo_mg> matsy i'm getting invalid argument trying http or file. with and without quotes
[19:49] <neo_mg> i think it worked like: ffmpeg -i http://127.0.0.1/path/file.swf?param=x output.mp4 with localhost or public path it didnt work. i'll do another tests, thx all
[20:12] <_Crash_Laptop> just tried again compiling FFMPEG via this tutorial and still get an Illegal instruction. Any ideas? - http://wiki.serviio.org/doku.php?id=howto:linux:install:raspbian
[20:12] <_Crash_Laptop> (Read from vunder FFMPEG)
[20:12] <_Crash_Laptop> under*
[20:19] <_Crash_Laptop> even when i install via apt-get i still get it.. wtf
[20:22] <_Crash_Laptop> anyone?
[20:56] <voip1__> hello guys
[20:56] <voip1__> i am transcoding slive stream and sending to streamer
[20:57] <voip1__> every day (i dont know why, may be inpit stream error) my ffmpeg hands 2-3 times
[20:58] <voip1__> and i shuld monitoring and restarting
[20:58] <voip1__> is there any way keep runing ffmpeg, even if we dont have input stream
[20:58] <voip1__> ?
[22:53] <frustrated> Hello
[22:56] <frustrated> Need some help installing ffmpeg. After following the instructions on https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu I am receiving the following error ERROR: libfdk_aac not found
[23:02] <c_14> Can you pastebin your config.log?
[23:04] <frustrated> Here it is http://pastebin.com/QF7fm8LB
[23:06] <frustrated> I am trying to cross compile for windows
[23:11] <zzz_> What is the best filter in ffmpeg for inverse telecine, and deinterlacing, respectively?
[23:12] <sfan5> detinerlacing: yadif
[23:12] <sfan5> deinterlacing*
[23:13] <c_14> frustrated: did you compile fdk-aac with the correct --host?
[23:15] <frustrated> @c_14 I didn't use that option
[23:15] <frustrated> what value should --host be?
[23:16] <c_14> The same thing as your --cross-prefix afaik
[23:17] <frustrated> Okay. Let me try that
[23:21] <c_14> You'll probably also have to use that on all the libraries.
[23:26] <frustrated> Let me try recompiling that first to see if it makes a difference
[23:40] <frustrated> I found another project that makes this cross compilation for mingw a bit easier http://mxe.cc
[23:40] <frustrated> Installing it now
[00:00] --- Sat Aug  2 2014


More information about the Ffmpeg-devel-irc mailing list