[Ffmpeg-devel-irc] ffmpeg.log.20140213
burek
burek021 at gmail.com
Fri Feb 14 02:05:01 CET 2014
[00:00] <rufsketch1> relaxed: note I'm declaring camera1.flv as an input twice, but one of them will eventually be changed to camera2.flv.
[00:01] <rufsketch1> the console output is as follows
[00:02] <rufsketch1> relaxed: http://pastebin.com/raw.php?i=7x6v57Lq
[00:03] <relaxed> ok, the latest version of ffmpeg is 2.1.3. You're using 0.10.
[00:05] <relaxed> Many things have changed since then, notably the inclusion of -filter_complex to handle multiple inputs with -i $1 -i $2 instead of using movie=$1
[00:06] <relaxed> rufsketch1: http://johnvansickle.com/ffmpeg/
[00:06] <relaxed> rufsketch1: http://trac.ffmpeg.org/wiki/FilteringGuide
[00:07] <rufsketch1> relaxed: ah, I was using the version in the ppa
[00:10] <relaxed> stable linux distro's software are very much a snapshot in time
[00:14] <wolfman2000> Evening. I'm trying to upgrade a Mac program from ffmpeg 0.10.x to 2.1.3. I've included the new header files required in the include directory, but the issue now is that files that used to link no longer. http://pastebin.com/jZBSb71 Any idea where I'm going wrong?
[00:15] <relaxed> BtbN: I prefer using map: "-map 0 -map -0:s -map -0:t" (include everything but subs and attachments, such as fonts)
[00:15] <BtbN> relaxed, i ended up with -map 0:v:0 -map 0:a:0
[00:15] <BtbN> to map only the first audio and video stream, and throw away everything else
[00:16] <relaxed> yeah, it's best to specify exactly what you're after.
[00:16] <BtbN> that stream has like 7 audio streams, which are all basicaly the same
[00:24] <wolfman2000> ...I mistyped my own pastebin. wow.
[00:24] <wolfman2000> http://pastebin.com/jZBSb7YI <-- let's try this again.
[00:35] <relaxed> wolfman2000: nothing
[00:35] <wolfman2000> relaxed: did you view the proper pastebin link? or do you just not have a clue why I'm failing?
[00:36] <relaxed> the last link you pasted is not proper
[00:36] <wolfman2000> I thought I fixed that with the second
[00:36] <relaxed> copy and paste
[00:37] <wolfman2000> http://pastebin.com/jZBSb7Y1 the joys of using two computers at once...
[00:38] <relaxed> are you cross compiling?
[00:39] <wolfman2000> relaxed: no. building on Mac for Mac.
[00:39] <relaxed> I don't have any experience with xcode
[00:39] <wolfman2000> I'm just using windows IRC because my other active channels are there right now.
[00:39] <luaduck> hey hey folks, longshot question, but is it possible to get ffmpeg to continue outputting (a video stream) even if one of two inputs goes offline?
[00:40] <klaxa> i have no idea either, but it looks like the ffmpeg libraries were not compiled for the correct architecture
[00:40] <llogan> wolfman2000: compiling via homebrew might be easiest: http://trac.ffmpeg.org/wiki/MacOSXCompilationGuide#Shortcut:CompileFFmpegthroughHomebrew
[00:40] <wolfman2000> well, let's ignroe the xcode part and focus on the undefined symbols part. I did a search for _avcodec_find_decoder and couldn't find anything in the c++ methdod.
[00:40] <klaxa> which is why xcode (?) ignores them and therefore nothing gets linked
[00:40] <relaxed> this has man hits, google: xcode "ld: symbol(s) not found for architecture i386"
[00:41] <relaxed> many*
[00:41] <wolfman2000> llogan: don't take it the wrong way, but I am under instructions to not enable the decders OR gpl. Not sure how many of these instructions I cn actually follow
[00:42] <llogan> "You can run brew info ffmpeg to see additional configuration options" I assume that should let you modify it? i don't know.
[00:42] <wolfman2000> I can brew install dependencies just fine.
[00:42] <relaxed> wolfman2000: you should be able to modify the homebrew build script to --disable-* if not
[00:42] <relaxed> and omit --enable-gpl
[00:42] <wolfman2000> but I purposefully insisted on compiling maually through ./configure and make
[00:43] <wolfman2000> so really...the only question here is the arch. what is the right one?
[00:44] <relaxed> I would say amd64
[00:44] <klaxa> probably the one you are using... does uname -a on os x display the system's architecture?
[00:44] <relaxed> apple doesn't even ship i386 hardware anymore
[00:45] <wolfman2000> x86_64
[00:45] <wolfman2000> relaxed: this project file is very old...I would have upgraded it already if it didn't cause other problems.
[00:45] <relaxed> your output has "-arch i386"
[00:46] <relaxed> so you are, in fact, cross compiling
[00:46] <relaxed> or trying to
[00:46] <wolfman2000> ...you mean this whole time I've been building universal apps?
[00:51] <relaxed> wolfman2000: this might be helpful: http://fate.ffmpeg.org/report.cgi?time=20140212105539&slot=x86_64-darwin-clang-3.5
[00:52] <relaxed> obviously you don't need --enable-memory-poisoning --samples=/Users/jeremy/src/ffmpeg/fate/fate-suite
[00:53] <wolfman2000> ...so th exta cflags and ldflags?
[00:54] <relaxed> yes
[00:55] <relaxed> make sure you specify yasm too if it's not picked up
[00:55] <wolfman2000> yasm is picked up on my system, so that's not an issue. just have to go back and investigate somethng first bfore switching to this plan.
[00:57] <relaxed> good luck, I'm off to dinner.
[01:12] <wolfman2000> relaxed: when you get this...bigger underlying issue that's out of scope with this channel. Joys of maintaining an old project when others helped with older versions and are now in hiding.
[05:43] <bornpilot> question: when I do "ffmpeg -encoders" I use a listed encoder such as mpeg4 so that my last commands would be -f mpeg4 test.mp4 I receive the following error mpeg4 is not a suitable output format. What I am missing here?
[07:38] <Logicgate> why is watermarking so slow with ffmpeg
[07:38] <Logicgate> can I somehow speed it up
[07:38] <Logicgate> vsync?
[07:55] <zap0> watermarking.... lol.. and the point of it?
[08:14] <Logicgate> zap0, it's for work
[08:14] <Logicgate> I'm simply doing what I'm told lol
[09:27] <ItsMeLenny> is there some sort of command line editor that will give me a frame by frame view at the same time
[09:27] <ItsMeLenny> i want to chop out 3 sections of a long video but need to do it down to the frame
[09:40] <zap0> ItsMeLenny, consider something like virtualdub
[09:43] <ItsMeLenny> zap0, ubuntu linux
[09:43] <zap0> WINE ;)
[09:52] <steem> good day everyone
[09:54] <steem> do someone have experience with celp wav files?
[10:09] <excalibr> ItsMeLenny, avidemux
[10:13] <ItsMeLenny> excalibr, yeah i ended up using it, its just finicky and doesnt have much export options
[10:23] <znf> Hello. Does the drawtext filter have something like overlay=eval=init?
[12:14] <OrNix> hello. tell me please, what's wrong in this command? http://pastebin.ca/2639897
[12:15] <sacarasc> OrNix: Wrong username or password, it looks like.
[12:16] <OrNix> sacarasc, no, credentials are correct. VLC eats this URL normally
[12:18] <OrNix> i haven't got any experience in ffmpeg. I want to use stream from rtsp-camera on website with swf and ffserver.
[13:01] <Taoki> Hello.
[13:01] <Taoki> I have a question. How do you make a video from a png image sequence, but also add a wav file as the audio? http://en.wikibooks.org/wiki/FFMPEG_An_Intermediate_Guide/image_sequence explains how to make a video file from a png sequence, but not how to add the audio (wav to it)
[13:02] <Taoki> ffmpeg -f image2 -i image%d.jpg output.mpg - What should I add to that to specify my wav file for the sound?
[13:02] <sacarasc> Just add an extra -i blah.wav to the inputs.
[13:02] <Taoki> Ah, so -i is the sound. Thanks
[13:02] <sacarasc> You might have to use -map too, but I don't think so.
[13:02] <sacarasc> -i means the next argument is an input file.
[13:03] <Taoki> oh
[13:05] <Taoki> So I can have multiple -i arguments?
[13:05] <Taoki> ffmpeg -f image2 -i image%d.jpg -i audio.wav output.mpg
[13:05] <sacarasc> Yes.
[13:05] <Taoki> Thanks
[13:14] <Taoki> For some reason it's still not working. It seems to attempt overriding the image files themselves, instead of packing them to a video
[13:14] <Taoki> ffmpeg -f image2 -i ${file}/video/*.png -i ${file}/audio.wav ${file}/render.avi
[13:14] <Taoki> Where ${file} is path to the folder
[13:15] <Taoki> Anyone know what's wrong with that line?
[13:16] <sacarasc> Which version of ffmpeg are you using?
[13:17] <Taoki> 2.1.2
[13:17] <sacarasc> That should support globbing, but I am not sure how to turn it on. :D
[13:17] <Taoki> globbing?
[13:18] <sacarasc> https://trac.ffmpeg.org/wiki/Create%20a%20video%20slideshow%20from%20images#Usingaglobpattern
[13:18] <sacarasc> Using * to represent more than one file.
[13:18] <Taoki> Ah
[13:19] <Taoki> I tried %d but it didn't seem to work
[13:19] <Taoki> Said the file can't be found
[13:19] <sacarasc> ffmpeg -pattern_type glob -f image2 -i ${file}/video/*.png -i ${file}/audio.wav ${file}/render.avi
[13:19] <sacarasc> That *should* do it.
[13:20] <Taoki> Same error
[13:20] <Taoki> File './video/0002.png' already exists. Overwrite ? [y/N]
[13:20] <Taoki> It should be using it, not attempting to write to it
[13:21] <sacarasc> ffmpeg -f image2 -pattern_type glob -i '${file}/video/*.png' -i ${file}/audio.wav ${file}/render.avi
[13:21] <sacarasc> That, maybe.
[13:21] <Taoki> Same
[13:21] <__raven_> rtmp to ustream drops framerate extremely at 2mbit any experience with that?
[13:30] <Taoki> sacarasc: Something is really off. ffmpeg believes it's writing to an input
[13:30] <Taoki> I don't know what sort of bug can cause something like that
[13:31] <Taoki> Yes. ffmpeg does generate an avi file, but also overwrites the image sequence. Which I cannot get
[13:32] <znf> How do I rotate a drawtext= filter?
[13:36] <Taoki> sacarasc: How can ffmpeg attempt to write to an input? This is kinda mind-blowing for any program to do, when you specify a clear input and output
[13:36] <Taoki> I think there's a major bug somewhere
[13:37] <sacarasc> Taoki: Because there's something going wrong with globbing. FFmpeg didn't used to support * at all, so if you do it wrong, it things that the second file is the output./
[13:39] <Taoki> sacarasc: ok. Why doesn't %d work then? I tried it but it says the file can't be found
[13:40] <sacarasc> That would look for 1.png
[13:40] <sacarasc> image1.png
[13:41] <Taoki> Ah. In my case it starts from 0001.png and goes to 0786.png or so
[13:41] <Taoki> How should I adapt it?
[13:42] <sacarasc> %4d I think. Maybe %3d.
[13:42] <Taoki> Ah, got it!
[13:42] <Taoki> Yes, %4d
[13:42] <Taoki> Now it works at last :) Thanks for the help
[14:32] <karab44> hello
[14:34] <karab44> I want to conver a:mp2 v:mpegts *.mpg to mpeg4 or other popular editable format
[14:35] <karab44> what I get is that avconv and ffmpeg freezes after few minutes of conversion
[14:35] <karab44> some people suggested me that file can be corrupted but it works on VLC very well without causing any problems or artifacts occurs.
[14:36] <karab44> Is there a possibility for ffmpeg to fix corrupted AVfiles?
[14:57] <Balteck> hi all. Any1 can help me about an unsupported stream?
[15:00] <durandal_1707> what stream?
[15:03] <fschuetz> I would like to do some reading to better understand ffmpeg, especially stuff like resampling. What would be a good place to start?
[15:04] <JEEB> depends from which side of things. ffmpeg-all and the trac examples open up some stuff for the cli
[15:04] <JEEB> and the doxygen is for the code
[15:04] <Balteck> hi durandal. I have bought Monster University bluray that have a E-AC3 audio. I tried to play on my raspberry and my windows but ffplay give me error: [eac3 @ 0417e3a0] unsupported frame type : skipping frame
[15:04] <Balteck> [eac3 @ 0417e3a0] Dependent substream decoding is not implemented. Update your F
[15:04] <Balteck> Fmpeg version to the newest one from Git. If the problem still occurs, it means
[15:04] <Balteck> that your file has a feature which has not been implemented.
[15:05] <Balteck> So I've downloaded a dolby digtal plus demo and I got the error.
[15:05] <Balteck> But on documentation ffmpeg support e-ac3. So what's wrong?
[15:05] <JEEB> yeah, libavcodec only partially supports E-AC3. It will play only the core.
[15:06] <Balteck> so this is the problem.
[15:06] <Balteck> Infact with raspberry i'm only hear 3 channel (left/right and center)
[15:07] <Balteck> If I sent the demo of dolby digital plus, there is possibility to support it?
[15:08] <durandal_1707> i dunno if we already have such samples
[15:08] <JEEB> there are some
[15:08] <durandal_1707> i doubt there is specification...
[15:09] <Balteck> this is the site with demo: http://www.demo-world.eu/trailers/high-definition-trailers.php
[15:09] <fschuetz> @JEEB: I want to understand, how the underlying data works. That is 'channel layouts, layers, etc.'. But I also get the idea that one has to know ffmpeg well, to be able to write say a piece of code that takes any audio data as an input stream and writes pcm data.
[15:09] <Balteck> look at Dolby Digital Plus Channel Check (Lossless)
[15:10] <JEEB> durandal_1707, I at least see 52_b_ pdf as a spec
[15:10] <fschuetz> I would like to get some overview as to what has to be considered regarding all the different workings of ffmpeg decoders/encoders muxers/demuxers, etc.
[15:10] <JEEB> and the _b_ part is supposed to be the E-AC-3 part
[15:10] <Paranoialmaniac> there is the spec of eac3
[15:11] <Balteck> So, if i want to see my new bluray, I need to rip it, demux audio, convert in ac3 and remux it?
[15:13] <Paranoialmaniac> libavcodec can decode ac3 compatible substreams inside eac stream. your eac3 has no compatible substream?
[15:17] <Balteck> On Raspberry with openelec that use ffmpeg decode the stream and send pcm audio on my avr. Only 3 channel and not bitstrem (On AVR I see pcm audio, not Dolby digital Plus)
[15:17] <Keestu> why is so to get pts of packet is always 0?
[15:17] <Keestu> does it have any meaning or it is wrong ?
[15:18] <Balteck> On windows ffplay stream it with difficulty (audio, pause, audio, ecc)
[15:18] <Balteck> The demo on windows is mute, on raspberry the same result
[15:21] <Paranoialmaniac> patches welcome? libavcodec eac3 decoder has no support of additional independent substreams and any dependent substreams.
[15:22] <JEEB> basically someone has to get off his arse and implement those extra features :)
[15:23] <Paranoialmaniac> i think the latest spec of eac3 is Document A/52:2010, 22 November 2010
[15:23] <JEEB> surprising, available straight from atsc
[15:24] <JEEB> the one on multimediawiki is from 2005 :D
[15:25] <Paranoialmaniac> another spec is published from etsi
[15:25] <Paranoialmaniac> ETSI TS 102 366 V1.2.1 (2008-08)
[16:01] <_Leo_> Hello, I am using FFmpeg in windows, I used the prores_ks encoder to generate mov file, when played in QT 7.x player I get "Apple Prores 422 (HQ)" in movie inspector but when I play with QT 10.x it says "prores_ks" in movie inspector, why is this difference? Is it can be fixed in some way?
[16:52] <fschuetz> I am writing an audiodecoder in C and want to output pcm (to Android AudioTrack). Does this mean that I can just use the data field of a decoded frame (avcodec_decode_audio4) or do I have to encode/mux to pcm codec/format?
[16:59] Last message repeated 1 time(s).
[18:19] <superware> I'm using libav to decode a live network stream, what's the most simple way to sync incoming frames for rendering?
[18:24] <Rathann> superware: this is #ffmpeg, not #libav
[18:25] <sacarasc> They could be using libav* from FFmpeg, not the libav project.
[18:25] <superware> yes, sorry!
[18:33] <superware> how should I sync video frames from a live network stream?
[18:40] <asdfmaster> hey could anyone give some help
[18:40] <asdfmaster> please
[18:40] <asdfmaster> i'm stuck compiling ffmpeg
[18:44] <jnvsor> what's your process?
[18:45] <asdfmaster> well i'm building a ffmpeg to encode mp4 videos to webm
[18:47] <asdfmaster> on a server of my company and i'm not alowed to change or update a lot of packages
[18:47] <asdfmaster> and the'r using debian 6
[18:48] <asdfmaster> and they dont want to upgrade, and the ffmpeg from the repositories doenst support wemb
[18:48] <asdfmaster> with vp8 and aac
[18:49] <asdfmaster> so i went the linux way to do things and tried to compile it with configuration "./configure --enable-libvpx --enable-libvorbis --enable-pthreads --disable-swscale"
[18:50] <asdfmaster> the --disable-swscale is because it generates error and does nothing
[18:52] <asdfmaster> so when i add the "--disable-swscale" it go through and gets done but there is no ffmpeg binary
[18:53] <asdfmaster> so, i'm stuck with no ffmpeg to encode webm
[19:04] <ChocolateArmpits> If anyone is wondering about deinterlacing with default filters, here are my personal results: For final image quality: yadif+mcdeint > w3fdif > yadif. For rendering speed: yadif > w3fdif > yadif+mcdeint. For least artifacting: yadif > yadif+mcdeint > w3fdif.
[19:06] <ChocolateArmpits> If anyone has furthers questions, I think I could answer them
[19:06] <ChocolateArmpits> further*
[19:14] <aphirst> Hi; I thought I'd show my face since we've encountered a minor but interesting bug over in #mpv-player, which seems to occur depending on ffmpeg/libav version
[19:14] <aphirst> https://github.com/mpv-player/mpv/issues/547
[19:15] <aphirst> some VobSub subtitles glitch up
[19:21] <JEEB> I think such stuff is better to be brought up in #ffmpeg-devel
[19:21] <aphirst> ah
[19:21] <superware> how should I sync video frames (no audio) from a live network stream? I need minimal latency...
[19:21] <aphirst> JEEB: should I copy-paste it there?
[19:22] <JEEB> aphirst, make it replicate'able with ffmpeg cli if possible, and then note on which versions of FFmpeg it happens or doesn't happen?
[19:22] <JEEB> if that is possible, of course
[19:22] <JEEB> given it's a subtitle issue and subtitles are hurr and durr in libavcodec
[19:24] <aphirst> JEEB: I'm not really in a position to put too much time into installing several different versions of ffmpeg, older prebuilt versions in the repo occasionally require downgrade dependency hell; and building one version from scratch takes forever
[19:24] <JEEB> yeah, I do understand
[19:24] <JEEB> just noted that such would be the best if the thing is already fixed in HEAD
[19:24] <JEEB> so it would be known which currently supported branches should have something backported
[19:24] <JEEB> if HEAD has a problem, then that's a whole separate bag of beans
[19:45] <Guest78736> hello, can ffserver pull external stream and serve it?
[20:53] <superware> how should I sync video frames (no audio) from a live network stream? (with minimal latency)
[21:46] <ChocolateArmpits> How can I set framerate for ffplay ? "-r" throws an error
[21:56] <llogan> ChocolateArmpits: ffplay -vf fps=12 input
[21:57] <ChocolateArmpits> llogan, will that alter playback rate or drop frames ?
[22:02] <dashcloud> so, I am in the process of capturing my VHS tapes, some of which have closed captioning (visible as line noise at the bottom of the video). I'd like to have my capture card pre-crop that area out ahead of time- what should I set?
[22:03] <llogan> ChocolateArmpits: probably drops frames i'd guess.
[22:04] <llogan> dashcloud: are you using ffmpeg?
[22:04] <dashcloud> to do the capturing yes
[22:04] <llogan> you can use the crop filter
[22:04] <llogan> http://ffmpeg.org/ffmpeg-filters.html#crop
[22:06] <dashcloud> the card normally captures 720x480- which includes the close captioning bars. What should I use to keep as much of the picture as possible?
[22:07] <karab44> hello
[22:08] <karab44> I edit video and sound with screen is good in editor. After render both are desynchronized
[22:08] <karab44> I tried many things. Any hints how to fix that?
[23:12] <eZpl0it> hey guys
[23:12] <eZpl0it> I'm trying to grab some vhs to my computer
[23:13] <eZpl0it> the recording works actually quite good, the sound and colors work. The quality is also okay. The one thing that bugs me is that
[23:13] <eZpl0it> my output video is cropped somehow. The original format is 4:3 and it looks like it is cropped to 16:9.
[23:13] <eZpl0it> My command line looks like this:
[23:13] <eZpl0it> ffmpeg -f video4linux2 -i /dev/video0 -f alsa -ar 44100 -ac 2 -acodec pcm_s16le -i hw:2 -vcodec mpeg4 -vtag xvid -qp 0 -qscale:v 1 -flags +ilme+ildct -alternate_scan 1 -qscale:a 1 -acodec libmp3lame -ar 44100 -ab 128k -deinterlace -y geburtstag.avi
[23:14] <eZpl0it> Could someone help me saving my birthday cassete ? :)
[23:25] <llogan> karab44: are you using ffmpeg?
[23:25] <karab44> yes
[23:25] <karab44> ffmpeg avconv
[23:25] <llogan> that's not ffmpeg.
[23:25] <sacarasc> karab44: avconv is not from FFmpeg, it's from LibAV. Their channel is #libav
[23:26] <llogan> it's a fork of FFmpeg. when they forked they used some of our names (ffmpeg, libav*) so it's confusing to users.
[00:00] --- Fri Feb 14 2014
More information about the Ffmpeg-devel-irc
mailing list