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

burek burek021 at gmail.com
Tue Jun 17 02:05:01 CEST 2014


[00:57] <aarobc> Hello. Is there a way to use the -map option to copy all streams, but then append another stream on top of it (other than manually specifying all the streams)
[00:57] <c_14> What do you mean with append another stream?
[00:58] <c_14> -map 0 will map all the streams from input to output
[00:59] <aarobc> c_14: well, I want to preserve all the existing streams, but then also add another stream that is transcoded from the AC3 audio, but in vorbis. so you have two audio streams. one for high quality, and one for backup in case you're playing on something that doesn't support ac3
[01:01] <aarobc> The reason I'm wanting to preserve the existing stream structure is in some cases you have a file that has multiple languages or commentary. I'd want that to be preserved.
[01:04] <aarobc> okay, just tested it and it works
[01:05] <aarobc> if you just use -map 0 -map 0:1 -c copy -c:a:1 libvorbis
[01:51] <morenoh153> never used ffmpeg before. Can it be used to make a screen recording? if so how?
[01:52] <c_14> https://trac.ffmpeg.org/wiki/Capture/Desktop
[01:52] <aarobc> morenoh153: https://trac.ffmpeg.org/wiki/Capture/Desktop
[01:52] <aarobc> lol
[01:55] <morenoh153> ok. How can I get a browser extension to execute that?
[01:57] <c_14> what?
[01:57] <c_14> explain
[01:57] <morenoh153> I want to make a chrome extension that will record the window. I have to bundle ffmpeg i think.
[01:58] <c_14> I have no clue how chrome extensions work.
[02:20] <aarobc> Is there still no multi-threded vp9 encoding?
[02:21] <c_14> not as of when I last checked
[02:21] <aarobc> for shame :(
[02:21] <aarobc> I thought that it was all finalized. How do they exepect anyone to use it if there isn't a usable encoder for it?
[02:27] <llogan> aarobc: they don't care about general users encoding. only decoding via watching in youtube
[02:28] <llogan> by "they" i mean Google
[02:28] <aarobc> How the hell does google do that anyway? they just have servers of fpgas doing hardware encoding?
[02:29] <llogan> $$$$$$$$$ & basements full of chinese orphan children manually encoding
[02:29] <aarobc> lol
[02:30] <llogan> but yes, lots of hardware. why should they care about how long it would take a normal person to encode when 99.8% of users will only be watching and not encoding with this format?
[02:33] <llogan> but that is just what I think is the situation. reality may differ
[02:34] <frikimaster> Hi! Any recommends to encode 1080i to 720p? I've tested yadif with poor results
[02:36] <llogan> you can add -t 10 to encode a short segment. and input sample could be helpful too.
[02:38] <frikimaster> i can't repeat the process now, sorry. Is a motorsport video with fast horitzontal moves
[02:38] <c_14> frikimaster: ffmpeg has at least 3-5 deinterlacing filters. Maybe try one of the other ones?
[02:39] <frikimaster> the best one in my case and opinion is yadif. In fact it isn't soooo bad
[02:42] <frikimaster> mm i need to upload some samples :-P
[02:42] <frikimaster> i'll go back (after testing -t option, thanks)
[02:42] <llogan> it has several modes. 1 (or send_field) may look better for your content than the default 0 (send_frame)
[02:46] <frikimaster> command used: http://pastebin.com/JEpyLA31
[02:48] <llogan> that's not ffmpeg
[02:49] <llogan> you're going to have to get help from avconv people
[02:49] <llogan> or use ffmpeg
[02:49] <llogan> (the real one)
[02:50] <frikimaster> i've readed just a bit about this topic. OK, i'll test mpeg also
[02:51] <llogan> the version in the Ubuntu repository is an unsupported counterfeit
[02:51] <llogan> see http://ffmpeg.org/download.html#LinuxBuilds or http://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
[02:52] <llogan> if you want ffmpeg (and therefore suggestions and help from this channel)
[03:06] <ElDimentio> does ffmpeg support Xunlei XV files?
[03:06] <ElDimentio> I'm trying to find a converter to FLV but all I find keeps bringing up virus alerts :/
[03:07] <llogan> i never heard of Xunlei XV. got a sample?
[03:08] <ElDimentio> well, I do, but it's nearly 200MB :/
[03:09] <ElDimentio> doesn't seem convenient to share
[03:09] <ElDimentio> it's a Chinese format
[03:09] <llogan> is it too big for you to share? 200 MB is fine for me to download
[03:09] <ElDimentio> a lot of Chinese TV shows are in this format, a program called Xunlei can download TV shows in that format but only Xunlei can play them
[03:10] <ElDimentio> where would I go to share that file then? any suggestions?
[03:10] <ElDimentio> my internet speeds are okay
[03:10] <llogan> dropbox, google drive, datafilehost
[03:10] <ElDimentio> ah yes
[03:11] <ElDimentio> dropbox it is
[03:12] <ElDimentio> being able to convert this would be great ... I find Xunlei too annoying (bloated) to be restricted to its media player, but their resources are immense
[03:13] <ElDimentio> https://www.dropbox.com/s/0rlzjm9b1apg0j5/1.xv
[03:13] <ElDimentio> does that work?
[03:15] <llogan> yes, thanks.
[03:15] <ElDimentio> no, thank you!
[03:28] <llogan> ElDimentio: does not appear to do so, but it might not be hard to implement. go to the bug tracker and make a feature request
[03:29] <llogan> provide the input file. also download a recent ffmpeg and provide "ffmpeg -i 1.xv" and the complete output from that command.
[03:32] <llogan> it is H.264 video.
[03:33] <ElDimentio> okay I'm registering right now
[03:34] <llogan> probably in FLV container that they crapped on
[03:34] <ElDimentio> so I just do "New Ticket" ?
[03:35] <llogan> yes. summary "Support decoding of Xunlei XV file" or something like that
[03:36] <llogan> type: enhancement, priority: wish, version: git-master (if you're using recent ffmpeg), keywords: xv
[03:37] <llogan> give description of file type, how it was created or what created it, and info on what can play it properly
[03:39] <llogan> i have to go now, but i'll be here tomorrow. the bug tracker will email you if there is ticket activity, so you don't have to add yourself to CC (if i can recall correctly)
[03:39] <ElDimentio> okay, thanks!
[03:45] <ElDimentio> ok done: https://trac.ffmpeg.org/ticket/3720#ticket
[04:44] <DeadSix27> is it possible to add x ammount of MS of blank audio to an existing audio file?
[08:37] <b_jonas> I can encode audio so that this mobile phone can play it, and I can encode video too, but now I have to figure out how to combine the two :)
[08:41] <sacarasc> b_jonas: Give both commands and I'll use my copy/pasting skills to make it work.
[09:00] <b_jonas> sacarasc: thanks, I'll try to combine them first
[09:01] <b_jonas> I might come back if I fail, but now I have other work to do
[09:38] <ekem> hi guys, im attempting to run ffserver, and everything appears to start fine, but the file it makes in temp is owned by root
[09:39] <ekem> while the server is being run as my user
[09:39] <ekem> if i try and run ffserver as a root, it seg faults, anyway, when i try and use ffmpeg to input a video i get a permission denied to the .ffs
[09:39] <ekem> er .ffm, does anyone have any suggestions?
[16:16] <termos> is there a way for ffmpeg to reduce the mpegts header overhead? I have several mpegts files when converting to hls and I would like the overhead to be at a minimum
[16:19] <termos> I'd pretty much like something like apples mediastreamsegmenter, only built into ffmpeg
[17:29] <GEEGEEGEE> Is there a way to send the same output to multiple RTMP servers? My command at the moment is:
[17:29] <GEEGEEGEE> ffmpeg -i \"http://source:9609/stream.ts\" -vcodec copy -acodec libfaac -ar 44100 -f flv  rtmp://server1.com/live/test\
[17:31] <c_14> https://ffmpeg.org/ffmpeg-formats.html#tee
[17:31] <c_14> look at the tee muxer
[17:32] <GEEGEEGEE> ok thanks c_14
[19:44] <ninjas_> oh wow
[19:44] <ninjas_> I am so glad I found this
[19:44] <ninjas_> I'm trying to run a BASH command for FFMPEG out of PHP ... then I just learned that I can call an FFMPEG command right from PHP without using shell_exec()
[19:45] <ninjas_> is there a php user on?
[19:51] <ninjas_> I'm trying to pass a variable into an ffmpeg string
[20:07] <GEEGEEGEE> Im trying to output to multiple RTMP servers with ffmpeg -i "http://source:9609/stream.ts" -vcodec copy -acodec libfaac -ar 44100 -f tee "[f=flv]rtmp://paris2/live/test|[f=flv]rtmp://paris3/live/test"
[20:07] <GEEGEEGEE> but its not working :/
[20:08] <GEEGEEGEE> http://pastie.org/9295782rf
[20:08] <GEEGEEGEE> http://pastie.org/9295782
[20:08] <c_14> I wanted the output.
[20:10] <GEEGEEGEE> oh sorry
[20:11] <GEEGEEGEE> http://pastie.org/9295787 here
[20:13] <c_14> Just a question, does this command work when outputting to a file/when outputting to a single stream? Because it looks a lot like ffmpeg is failing at the h264 stream.
[20:14] <GEEGEEGEE> yeah ive been using it for weeks when just outputting to a single server
[20:15] <c_14> can you try adding -map 0 as an output option?
[20:17] <GEEGEEGEE> I did this: ffmpeg -i "http://source:9609/stream.ts" -vcodec copy -acodec libfaac -ar 44100 -f flv rtmp://paris2/live/test -vcodec copy -acodec libfaac -ar 44100 -f flv  rtmp://paris3/live/test and it seems to be working
[20:18] <c_14> ye, but you'll be encoding the audio twice
[20:31] <llogan> c_14: i applied your patch
[20:48] <ninjas_> does anyone use PHP and FFMPEG?
[20:49] <Fjorgynn> nope noone
[20:49] <ninjas_> riiiiiiiiiiight
[20:49] <ninjas_> I'm trying to determine if I'm using shell_exec() right or not
[20:50] <ninjas_> or if I need ot quit using that and just use a direct command?
[20:57] <llogan> ninjas_: there are a few simple examples here: https://trac.ffmpeg.org/wiki/Using%20FFmpeg%20from%20PHP%20scripts
[20:57] <Mista_D> when using -vf null, -c copy
[20:58] <ninjas_> yeah
[20:58] <ninjas_> I think what I'm running into is
[20:58] <Mista_D> why is it that when using "-vf null", then "-c copy" is forbidden? Isn't "
[20:58] <ninjas_> my putenv isn't there
[20:58] <Mista_D> Isn't null filter just passes bitstrem through?
[20:59] <Mista_D> sorry for typing errs.
[21:02] <ninjas_> bool putenv ( string $setting ) I see this
[21:04] <ninjas_> I don't understand how to use it
[21:04] <ninjas_> I'm freaking lost - can anyone help me use putenv to tell my PHP file where ffmpeg is installed?
[21:05] <llogan> try #php
[21:06] <ninjas_> gotta be invited
[21:06] <ninjas_> are you in it to invite? :)
[21:18] <llogan> no
[21:20] <llogan> apparently there is "no official [PHP] IRC channel"
[21:22] <ninjas_> llogan any idea on what I can do?
[21:25] <llogan> http://php.net/support.php
[21:25] <llogan> other than that, no, sorry
[21:30] <billyshambrook> Does anyone know of any good c api examples for using the metadata injection feature in silencedetect?
[21:37] <nijm> Does anyone know what the silencedetect audio filter output is supposed to look like? I'm trying it on a video and it doesn't seem to be producing any output.
[21:37] <nijm> billyshambrook, I'm guessing you might?
[21:40] <ninjas_>  putenv("PATH=" . $_ENV["PATH"] . ":/opt/asotechs/ffmpeg-2.2.3");
[21:40] <ninjas_> this was solve to my problem
[21:44] <nijm> Here's the command I used when I tried to use silencedetect and the output I got: http://pastebin.com/pXNm9N7V
[21:44] <nijm> Am I doing something wrong?
[21:45] <nijm> I'm trying to get 200ms silences less than -50dB.
[21:54] <llogan> nijm: if it does not detect the provided parameters it won't output anything, so you may have to adjust your d or n
[21:55] <nijm> llogan, is there anything in the output that acknowledges the filter is being used?
[21:56] <nijm> llogan, if I try to use a fictional 'jibberish' filter is still happily processes the file: ffmpeg -i Derek_20130205_2311.ts -vn -sn -filter:a jibberish=n=-10dB:d=0.01 -f null -
[21:57] <llogan> you can try adding "-loglevel debug" as a global option
[22:08] <ninjas_> I'm getting "could find no file with path" ffmpeg
[22:08] <ninjas_> and I'm using absolute path
[22:09] <ninjas_> llogan you know anything for that?
[22:20] <ninjas_> my bad guys, I'm new to IRC
[22:21] <ninjas_> http://pastie.org/9296136
[22:23] <c_14> You forgot to paste your ffmpeg command
[22:23] <llogan> why no line breaks?
[22:24] <ninjas_> llogan it is error log
[22:25] <ninjas_> http://pastie.org/9296174
[22:25] <ninjas_> sorry, here is my command
[22:27] <c_14> If I'm reading the ffmpeg output correctly, bash isn't expanding the glob correctly.
[22:27] <ninjas_> the *
[22:28] <c_14> precisely
[22:29] <ninjas_> ok, so i should rename my image files ot 001.jpg 002.jpg 003.jpg
[22:29] <ninjas_> so they are very uniform?
[22:30] <ninjas_> or is there anotehr way to do?
[22:30] <c_14> What are you trying to do?
[22:31] <ninjas_> make a video for each image 12 seconds long in the folder
[22:31] <ninjas_> random number of files in the folder
[22:35] <c_14> You might want to test this in 3 steps.
[22:35] <ninjas_> Sure
[22:35] <c_14> The ffmpeg commandline on one picture until that works.
[22:35] <ninjas_> ok
[22:35] <c_14> The for loop with an echo or an ls until that works.
[22:35] <c_14> And then combine them.
[22:35] <ninjas_> ok, here I go
[22:35] <ninjas_> thanks for the inspiration
[22:54] <yusif> how i can use ffmpeg with vs 2012
[22:55] <JEEB> it's in the fine documentation, although vs2013 is recommended
[22:55] <JEEB> since it has actual support for C99 features
[22:55] <JEEB> so it doesn't need the converter
[22:56] <yusif> i have vs 2012  i downlod the converter but i dont know how to install it so help me
[22:56] <JEEB> read the documentation or watch dae's vimeo clip on it :P
[22:57] <JEEB> also I'm not sure how long the converter will be supported, so I recommend you update to 2013 as soon as it's possible
[22:59] <yusif> JEEB can you recommend tutorial or book explain how to use ffmpeg in devloper  way  not cmd line
[23:01] <JEEB> if you know what the components more or less do (esp. lavf and lavc), then the doxygen is your friend
[23:01] <JEEB> also there are examples in the source tree
[23:01] <JEEB> consider most other examples out of date
[23:55] <ninjas_> c_14
[23:55] <ninjas_> you did it
[23:55] <ninjas_> thank you
[23:55] <c_14> I didn't do _that_ much.
[23:55] <c_14> Thanks anyway.
[23:56] <ninjas_> nah man
[23:56] <ninjas_> having someone to talk to about this stuff
[23:56] <ninjas_> that has a brain
[23:56] <ninjas_> and isn't a stack overflow jerk
[23:56] <ninjas_> (not that all of them are)
[23:56] <ninjas_> makes a big difference, thank you very much
[23:56] <ninjas_> I'm compiling the second command now
[23:56] <ninjas_> cross your fingers!
[23:56] <ninjas_> its a concat, should be easy
[23:56] <ninjas_> just taking a while
[23:57] <ninjas_> *explode*
[23:57] <ninjas_> famous last words
[23:59] <ninjas_> http://pastie.org/9296687
[00:00] --- Tue Jun 17 2014


More information about the Ffmpeg-devel-irc mailing list