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

burek burek021 at gmail.com
Tue Dec 16 02:05:14 CET 2014


[00:00] <JEEB> yeah
[00:00] <Mavrik> mostly beacuse noone bothered to implement features that weren't subset of main :)
[00:00] <JEEB> yup :D
[00:00] <Mavrik> I'm still rather surprised all mobile devices record video in c. baseline though
[00:30] <bencc1> Mavrik: can I expect desktop browsers to handle main/high profiles for live webcam stream?
[00:30] <bencc1> 960X540, 20 fps
[00:34] <ac_slater> ugh. Anyone here building libavcodec/libstagefright ? Apparently, I dont know how autoconf works and it never even compiles anything even if I --enable-libstagefright-h264
[00:35] <ac_slater> I cant tell if I should build it externally or if it's part of the build?
[00:36] <ac_slater> the tools/build_libstagefright.sh doesn't make that clear
[01:19] <Dark-knight> !builds
[01:19] <c_14> Dark-knight: whatcha looking for?
[01:21] <Dark-knight> i was looking for Zeranoe FFmpeg builds, but thanks for asking
[03:15] <waressearcher2> is there effect that looks like 80s disco party ? I mean different colored lightes blinked all over the screen ?
[03:17] <c_14> You can probably accomplish it, but the filtergraph would not be pretty.
[04:13] <fffan> can I call avcodec_decode_video2 and av_read_frame in two separate threads in the sametime?
[04:30] <waressearcher2> what is better codec to use when I do screen capture ? if I say want to capture gameplay I use "-vcodec mpeg4 -vb 5000k -bf 1 -q:v 1" is it enought quality ? also is there faster codec I want it to use as less CPU as possible even if it will be more file size output ?
[05:20] <Nosomy> waressearcher2, i use this sometimes; https://dpaste.de/igKw
[05:22] <Nosomy> sometimes, libx264 with yuv444p bt709
[05:22] <waressearcher2> Nosomy: isn't that codec "-vcodec libx264rgb" loads CPU too much ?
[05:22] <Nosomy> ultrafast + qp 0
[05:22] <Nosomy> nop
[05:22] <waressearcher2> isn't "ultrafast + qp 0
[05:22] <waressearcher2> isn't "ultrafast + qp 0" makes quality worse ?
[05:23] <Nosomy> qp 0 is alwayss qp 0 (lossless)
[05:27] <Nosomy> need read x264 mewiki
[05:27] <Nosomy> lol
[06:24] <waressearcher2> how can ffmpeg running in console change console's variables ?
[06:28] <waressearcher2> http://sprunge.us/YUfC this is file I get numbers from and into a variable, I use that code: "cat ../1.txt | while read -r a b; do echo "$a - $b" ; done"    so for every line say: "10 2" it should split it into two variables "$a" and "$b"  and just output them like  "10 - 2" and this is exactly what it outputs http://sprunge.us/OYAM
[06:28] <waressearcher2> every thing is normal, until
[06:29] <waressearcher2> until I add ffmpeg command to that code: "cat ../1.txt | while read -r a b; do echo "$a - $b" ; ffmpeg -i ../1.avi -ss 10 -t 2 -c:v copy -y -f avi ${n}_.avi -v quiet; done" and now its output is really awkward: http://sprunge.us/ZCdg
[06:30] <waressearcher2> I don't even use those $a and $b in ffmpeg command
[06:30] <waressearcher2> but they are altered
[06:30] <waressearcher2> thats a riddle
[06:53] <anshul_mahe> how to add an codec id in libavcodec/avcodec.h
[07:04] <mattfo0> hi.. i have 2 input sources via capture card.. i can stream it over UDP using libx264 via ffmpeg nicely but i have to pick one of the two.. is there a way to _quickly_ toggle between which of the two is being streamed?
[07:16] <waressearcher2> is there a way to output to a stream or to a remote port ? say I want to capture screen with ffmpeg but I don't want it to store to a local file but over LAN to a remote PC so I can on a remote PC that command: "nc -l -p 10000 > 1.avi" now what should I do locally with ffmpeg for it to send stream on that remote PC with open 10000 port ? or I can
[07:16] <waressearcher2>  just use "ffmpeg | nc remote_ip 10000" but that requires for ffmpeg to output on STDOUT, so which one of these two methods I can use ?
[07:20] <anshul_mahe> you can use ftp protocol to store data on remote pc
[07:21] <anshul_mahe> waressearcher2: you can give output name in ftp://path/output.ts as your output file
[07:21] <waressearcher2> I don't want to install ftp I just need to catch that stream and redirect remotely using nc
[07:21] <waressearcher2> why do I need ftp for thiis
[07:24] <anshul_mahe> waressearcher2: it was a mere suggestion, its much easier with ftp you dont need to run anything on remote pc , it will directly store your file in that remote pc
[07:25] <waressearcher2> anshul_mahe: yes, but I need to install ftp
[07:25] <anshul_mahe> waressearcher2: there are number of protocol supported in ffmpeg, you can try directly tcp or udp protocol, if you dont want to install anything
[07:26] <anshul_mahe> to check what your ffmpeg support try command "ffmpeg -protocols"
[07:26] <mattfo0> how can i toggle between two live input sources when streaming with ffmpeg?
[07:27] <waressearcher2> will it be possible to create a pipe say /tmp/out.avi and then use that pipe in ffmpeg command ? so if I redirect every thing from that pipe over network when I run "ffmpeg in.avi /tmp/out.avi" it will actually send its output over network ?
[07:28] <anshul_mahe> yes it is possibble but think again before using pipe there buffer is small, sometimes cant store a single hd frame
[07:30] <anshul_mahe> but you can try pipe protocol for your usecase you prefer, and you need to run aother nc command to read data from pipe and redirect to port
[07:34] <waressearcher2> I can just use "ffmpeg in.avi - | nc remote_ip 10000"
[08:13] <waressearcher2> its strange I do "ffmpeg in.out - | nc remote_ip 10000"  and when I stop ffmpeg and run that video from remote PC I can't seek forward I need to use "mplayer -idx" so some information is not written ? and how to fix it ?
[08:16] <pzich> that's probably a good reason to not write it to a pipe then
[08:17] <waressearcher2> but it should work, if I set output file "-" it shoult write to the STDOUT everything, all information that it put into a regular file it should send to a pipe anyway
[08:17] <waressearcher2> I mean what is explanation of that bug ?
[08:18] <pzich> seeking in a pipe is flaky, and there are a number of ways mplayer may try to do it with a remote host that netcat alone wouldn't handle
[08:19] <anshul_mahe> seek in pipe is not allowed by unix
[08:19] <anshul_mahe> try reading manual of pipe, man pipe
[08:22] <anshul_mahe> I am trying to dump a data stream in raw format to file
[08:23] <anshul_mahe> but it is always writing an empty file
[08:24] <anshul_mahe> here is my cmd http://pastebin.com/JV37GAF1
[08:25] <pzich> I'm pretty sure you can't use -codec copy with a .ts input and a .raw output
[08:26] <pzich> oh, you're trying to read the data stream? hmm
[08:26] <anshul_mahe> yes
[08:27] <waressearcher2> anshul_mahe: "seek in pipe is not allowed by unix", by the way is it allowed to seek over ftp ?
[08:29] <pzich> because ftp is for files
[08:29] <pzich> and files are seekable
[08:42] <anshul_mahe> pzich: any idea what I am doing wrong, Actually my aim is to see hexdump of that data stream.
[08:43] <pzich> I'm not, sure I don't have any files with extra data streams to test with
[08:43] <anshul_mahe> k, :)
[08:43] <anshul_mahe> will share if I did that till evening
[08:43] <pzich> have you tried not using -f rawvideo? I don't think that's right
[08:46] <anshul_mahe> what should I use for extension then, I dont want any muxer hadder with that.
[08:47] <pzich> maybe -f bin ("Binary text")? I've never used it before
[08:47] <anshul_mahe> what format should i use then, default format is decided on basis of file extension, and I dont know  what file extension should be there for data stream
[08:51] <pzich> I would not specify one and instead use '-', so it writes to stdout
[08:51] <pzich> then you can pipe it to a file or to hexdump
[09:08] <visiot> how can i change pcr using ffmpeg
[09:09] <visiot> i'm trying "ffmpeg -pcr_period 40 ", but this argument is not reponding back
[09:10] <visiot> right now ffmpeg documentation says defaault pcr_time is 20ms , iwant to change it
[09:24] <roadfish> I want ffmpeg to get the English track of a vob file.
[09:24] <roadfish> "mplayer -identify" says the tracks are out of order. Get "ID_AUDIO_ID=130" then 129 then 128 then 131.
[09:24] <roadfish> track 128 is the English track.
[09:25] <roadfish> this ffmpeg command works to get the English track:
[09:25] <roadfish>     ffmpeg -y -i in.vob -target ntsc-dvd -map 0:0 -map 0:3 -vcodec copy -acodec copy out.vob
[09:25] <roadfish> But I would like to _automatically_ select track 128. Or ideally, the English language track.
[09:26] <roadfish> Does ffmpeg have something like "mplayer -aid 128 in.vob"? To select the 128 audio track.
[09:46] <fling> 60i vs 60p?
[09:46] <fling> Is 60i even better than 30p? :P
[10:12] <DrSlony> fling 60i=30p
[10:12] <fling> DrSlony: wat wat wat
[10:13] <pzich> maybe in terms of overally data rate
[10:13] <pzich> -y
[10:13] <fling> hmm hmmmm
[10:14] <k_sze> Strange
[10:15] <k_sze> I encoded a mkv file using libx264 codec. I open it in VLC and it can't tell me the length of the video.
[10:15] <pzich> can ffmpeg?
[10:16] <k_sze> let me try
[10:17] <k_sze> "Duration: N/A, start: 0.067000, bitrate: N/A"
[10:18] <roadfish> I was disconnected from #ffmpeg for a bit. But I did come up with a kludgy answer to my question.
[10:18] <k_sze> How can that be?
[10:18] <roadfish> use mplayer to feed the correct value into ffmpeg's "-map 0:###"
[10:18] <roadfish> specifically, do this:
[10:18] <roadfish>     mplayer -identify in.vob -frames 0 2>&1 | grep ID_AUDIO_ID | grep -n 128 | sed "s/:.*//"
[10:19] <roadfish> put into variable POS and then do "-map 0:$POS" ... if you are using bash for example
[10:19] <aleb> If I specify " -vcodec libx264 -preset veryslow" - what bitrate will be used? (I had the impression there was a directory with these presets, but I can't find it)
[10:19] <roadfish> just nothing future reference.
[10:19] <roadfish> s/nothing/noting/
[10:20] <Alina-malina> can i do an image slideshow with ffmpeg? and do transitions, zooms and other cool stuff?
[10:20] <k_sze> So it's an inherent limitation of the mkv container format?
[11:30] <k_sze> Is there a way to get per-codec help from the command line?
[11:31] <k_sze> i.e. make ffmpeg.exe show the help text for options that apply to a specific codec.
[11:34] <Alina-malina> hey guys
[11:34] <Alina-malina> C:\ffmpeg\bin>ffmpeg -loop 1 -i example.jpg -vf "zoompan=z='min(zoom+0.0015,1.5)
[11:34] <Alina-malina> ':d=125" -c:v libx264 -t 6 -s "1280x720" zoomin.mp4  when i do this it make a lagging and awful  video, how to make it smooth and nice?
[11:42] <Alina-malina> http://pastebin.com/6RGS3e49  this is my output :-/
[11:42] <k_sze> By default, ffmpeg outputs AVI files as OpenDML compliant, right? i.e. they can grow to pretty much any size that the underlying filesystem supports.
[12:29] <shal3r_> Can you help to explain why i'm getting that flood of error messages and how to solve them? https://dpaste.de/C5Lp
[12:31] <SUPAD> hello everyone
[12:32] <SUPAD> i'm looking for help on merging 2 mp3 together, it works fine with two given files but when i try to merge a merged one with an other given files i get an error, anyone willing to help ?
[12:39] <DrSlony> shal3r_ what effect does mixing text with mp3 have?
[12:39] <DrSlony> btw ffmpeg is telling "auto" does not work, try "0" instead, or skip it altogether
[12:45] <shal3r_> DrSlony, that text file contains list of wav files to concatenate
[12:48] <Alina-malina> http://pastebin.com/6RGS3e49  this is my output :-/ i get a lagging video from this command:  C:\ffmpeg\bin>ffmpeg -loop 1 -i example.jpg -vf "zoompan=z='min(zoom+0.0015,1.5)  anyone please help me her
[13:47] <DelphiWorld> yo ffmpegsters
[13:56] <DelphiWorld> ffmpeg -re -i file.video -i file.audio -acodec... -vcodec... -f mp4 out.mp4
[13:56] <DelphiWorld> work very good
[13:56] <DelphiWorld> but is there anyway to put a picture on the top right or top left?
[13:58] <DrSlony> ffmpeg's "-re" description in the manual and man page is horrible. http://ffmpeg.org/ffmpeg.html
[14:01] <DelphiWorld> that messed up
[14:07] <selsta> i've asked before but maybe someone knows more about it today: does ffmpeg support downloading hls files that are encrypted with "sample-hls"?
[14:07] <selsta> "sample-aes" is what i meant
[14:09] <selsta> example url: http://demo.unified-streaming.com/video/caminandes/caminandes-sample-aes.ism/caminandes-sample-aes.m3u8
[14:10] <DelphiWorld> selsta: is this url functional?
[14:10] <selsta> yes
[14:10] <selsta> works on ios 8 and os x 10.10 in safari and quicktime
[14:10] <DelphiWorld> selsta: ffprobe show the stream info so should be playable, no?
[14:11] <selsta> ffprobe just shows alot of errors
[14:11] <selsta> [h264 @ 0x7fc3f1008e00] top block unavailable for requested intra mode at 9 0
[14:11] <selsta> [h264 @ 0x7fc3f1008e00] error while decoding MB 9 0
[14:11] <selsta> [h264 @ 0x7fc3f1008e00] concealing 112 DC, 112 AC, 112 MV errors in I frame
[14:13] <DelphiWorld> selsta: so i'm not sure
[14:14] <selsta> DelphiWorld: not sure about what exactly?
[14:14] <DelphiWorld> selsta: not sure if it's playable in ffmpeg
[14:15] <selsta> ffmpeg should not even try to play it if it does not support the encryption
[14:16] <DelphiWorld> i tryed ffplaying it but it slow down my pc;)
[14:16] <DelphiWorld> selsta: do you have experiance with overlet?
[14:16] <selsta> so should i make a bug report about it?
[14:17] <selsta> sorry i've no idea what overlet is
[14:17] <DelphiWorld> selsta: i think better to wait a bit so someone try to answer; if no one then feel report
[14:17] <selsta> okay maybe someone else knows more
[14:20] <DelphiWorld> selsta: i mean overlay...
[14:21] <selsta> DelphiWorld: not really sure what you mean
[14:22] <DelphiWorld> selsta: grouping several pictures in a single video, like one in top right, top left, botum  right, botum left and one should be the background
[14:29] <KAT_> is it possible to transcode one file to multiple files with different encoder setting in the same time with one ffmpeg instance?
[14:53] <c_14> KAT_: https://trac.ffmpeg.org/wiki/Creating%20multiple%20outputs
[15:14] <mac_nibblet>  Undefined constant or missing '(' in 'scene,0.4)'
[15:14] <mac_nibblet> avconv -ss 3 -i MikoNanna_14\:00.flv -vf select='gt(scene\,0.4)' -frames:v 5 -vsync vfr out%02d.jpg
[15:15] <mac_nibblet> What am i doing wrong ?
[15:17] <Mavrik> 1.) You're asking about avconv on ffmpeg channel
[15:18] <Mavrik> 2.) You're not properly escaping your shells special characters
[15:28] <Elirips> If I set a -hls_time of 10 seconds, I get 10 seconds segements as long as the input-source delivers 25 fps. As soon as the input-source brings only 5fps, I get 50 seconds segments. Why?
[16:33] <smo_> hi :)
[16:33] <smo_> imagien i have two url (youtube video and audio) is it possible to stream them in the same time (not downloading and merge) ?
[16:43] <ausjke> I filled up audio chunks in my avi file but still the audio is not muted/silent, how can I make sure audio is absolutely silent in AVI?
[16:43] <ausjke> filled up audio chunks with memset(0)
[16:44] <ausjke> still noisy
[16:44] <c_14> use aevalsrc=0
[16:44] <c_14> smo_: Can you clarify?
[16:45] <smo_> np i found just need to use -i myvideourl -i myaudiourl
[16:45] <smo_> works great :)
[16:48] <smo_> even --s works COOL
[16:48] <smo_> -ss
[16:56] <ausjke> c_14: thanks, but we're call all those avi c functions, not doing it at command line
[16:57] <c_14> Look into the filter code and copy what it does.
[16:57] <c_14> Or call the filter from the api.
[16:58] <c_14> Or use it as a lavfi source
[17:10] <ausjke> c_14: thanks. checking
[17:48] <techtopia> how can they mannage to put out an ffmpeg build almost daily
[17:48] <techtopia> but not manage to update the x264 core within it
[17:52] <__jack__> doesn't change all the time, right ?
[17:52] <__jack__> so no need to update it
[18:00] <techtopia> the version it's running is 5 months out of date
[18:17] <techtopia> if someone wants to compile latest ffmpeg, with latest x264 for me, i will pay you £10 as a paypal gift
[18:18] Action: DelphiWorld slaps techtopia around a bit with a large trout
[18:18] <ezekiel> techtopia: https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
[18:18] <ezekiel> that document has been quite helpful in the past
[18:21] <relaxed> techtopia: http://johnvansickle.com/ffmpeg/
[18:22] <techtopia> thanks relaxed but i need the windows build
[18:22] <ezekiel> NICE! and with a Donate button right there for techtopia.
[18:22] <ezekiel> oh
[18:23] <ezekiel> well, that's crucial information right there.
[18:23] <techtopia> i tried compiling it myself yesetday ezekiel
[18:23] <techtopia> didn't work out too well heh
[18:23] <ezekiel> Windows is a different best. I can't help there.
[18:24] <relaxed> techtopia: http://ffmpeg.zeranoe.com/builds/
[18:24] <techtopia> yes but the x264 it's using in the pre builds is out of date relaxed
[18:26] <kepstin-laptop> there haven't really been any major changes in x264 since october tho; it's mostly been things like assembly optimization for obscure architectures? Unless you're hitting a bug in x264, probably not worth worrying about.
[18:27] <techtopia> i cant be using a version of x264 30 days past the release of a new version
[18:28] <relaxed> Then either compile it yourself or boot into linux and use my build. Those are your options.
[18:29] <techtopia> i tried compiling it myself i spent 3 hours trying last night
[18:29] <techtopia> i would rather just pay someone to build it
[18:31] <DottorLeo> hi! is there any tool to analyze a vob from an interlaced dvd and tell if it is tff or bff?
[18:33] <c_14> use the idet filter
[18:39] <DottorLeo> idet?
[18:40] <DottorLeo> need only the information i don't want to actually deinterlace it :)
[18:40] <c_14> https://ffmpeg.org/ffmpeg-filters.html#idet
[18:42] <c_14> ident doesn't actually deinterace
[18:42] <c_14> -n
[18:49] <DottorLeo> oh :) nice
[18:50] <DottorLeo> i'm quite new to ffmpeg, i've ripped the dvd and i have 6 VOBS (1Gb each), how the command line should be launched?
[18:51] <c_14> ffmpeg -i vob -vf idet -f null /dev/null
[18:53] <DottorLeo> thanks but i think the last part is for Linux, right? For Windows how should end?
[18:54] <c_14> eh, NULL NUL or NIL
[18:54] <c_14> one of those
[18:55] <DottorLeo> thanks
[19:14] <DottorLeo> c_14 can i ask for a hand to decipher it? http://pastebin.com/dWvSfMQb
[19:16] <c_14> IT's TFF
[19:17] <DottorLeo> Because it's the highest number of detected type of frame?
[19:18] <c_14> Yep
[19:20] <DottorLeo> perfect. Thanks for all the help and the new knowledge :)
[19:21] <wodim> hello, has anyone really been far even as decided to use even go want to do look more like?
[19:28] <techtopia> willing to up my offer to £20 if someone can compile me the windows binary
[20:00] <DrSlony> techtopia ?
[20:03] <techtopia> can you do it DrSlony?
[20:03] <DrSlony> techtopia why do you need an unstable version of x264 so badly?
[20:03] <techtopia> it's part of a ruleset i follow
[20:04] <techtopia> i cannot use an out of date version
[20:04] <DrSlony> 2014-03-08 is not out of date
[20:04] <DrSlony> its the latest stable
[20:04] <techtopia> 2014-11-12 is the latest version
[20:05] <techtopia> i could use the august release for 30days after 2014-11-12 version came out
[20:05] <techtopia> now im a few days out of date
[20:10] <pzich> checkout x264 and ffmpeg from source and compile it yourself?
[20:10] <pzich> oh man, Windows...
[20:11] <techtopia> i've been trying pzich
[20:11] <xavery> ;)
[20:15] <DrSlony> techtopia try getting a shared build http://ffmpeg.zeranoe.com/builds/ and update the x264 lib http://www.videolan.org/developers/x264.html
[20:18] <techtopia> the changlog with the shared build says
[20:18] <techtopia> it was compiled with   "x264 20140826-git-dd79a61 <http://videolan.org/developers/x264.html>"
[20:18] <techtopia> so wouldn't i have the same issue of needing to compile ffmpeg again
[20:19] <techtopia> im gonna go get some dinner, then build an xp vm and try compile it again :|
[20:20] <pzich> or maybe just use the stable version
[20:21] <DrSlony> he's following these rules http://scenenotice.org/details.php?id=2029
[20:22] <pzich> ah
[20:27] <DrSlony> is ffmpeg's AAC quality still poor?
[20:28] <pzich> I think it depends on which encoder and setting you use
[20:28] <kepstin-laptop> the internal encoder is better than vo-aacenc, at least.
[20:29] <techtopia> i kick it out to neros encoder for aac
[21:10] <Phlarp> I'm overlaying data from a data file onto video using drawtext filters, the various fields vary in length significantly across the data and I've found imageftbbox and imagettfbbox php functions are returning bounds significantly longer than FFMPEG outputs.
[21:11] <Phlarp> is there a better way to measure height and width of text as ffmpeg will render it?
[21:37] <techtopia> i found a solution :D
[21:38] <techtopia> it's called cheating
[21:38] <DrSlony> do go on
[21:39] <techtopia> i open my encode in a hex editor. find the x264 core revision in the header, change it to the latest version
[21:39] <techtopia> save and win
[21:40] <techtopia> now i just need to get it working from a command line so i can automate it in my script
[21:40] <DrSlony> ohs noes! the rules said dont do that :)
[21:41] <techtopia> i don't think their is anyway for them to detect it
[21:41] <DrSlony> generally those rules are very good, but this specigic thing about using the literally latest x264 is stupid
[21:41] <techtopia> yeah i agree
[21:53] <iive> is the revision string in the extraheader or in the bitstream? if it is in the bitstream, it could be repeated multiple times. (dvb-t does that)
[21:53] <iive> mpeg-ts/dvb
[21:56] <pzich> iive: if you remove +O from your access level you should retain op status but not be auto-opped on identify/join
[21:57] <iive> pzich: i don't access to modify channel access
[21:57] <iive> at least, the last time I tried.
[21:58] <pzich> ah yes, no +f
[22:39] <Kilian]> Hi iam looking for an example that explains how to stream the content of an specific window, iam using linux.
[22:43] <DrSlony> I confirm, vid.stab is the best deshaking option for linux
[22:43] <pzich> nice
[22:51] <diegoviola> hi
[22:51] <diegoviola> how do I delay a subtitle with ffmpeg
[22:51] <diegoviola> when encoding both
[22:52] <diegoviola> into one file
[22:56] <c_14> diegoviola: try itsoffset
[22:56] <diegoviola> ok ty
[23:05] <techtopia> iive how could i check the bitstream for the video info
[23:06] <iive> techtopia: no idea
[23:06] <techtopia> ok no worries
[00:00] --- Tue Dec 16 2014


More information about the Ffmpeg-devel-irc mailing list