[Ffmpeg-devel-irc] ffmpeg.log.20160214
burek
burek021 at gmail.com
Mon Feb 15 02:05:01 CET 2016
[00:01:37 CET] <rocktop> furq: yes this the problem I need to put them in same rosolution and use an image as background for the small one
[00:01:39 CET] <J_Darnley> what about: ffmpeg -i concat.txt -vf scale=1280x728 OUTPUT
[00:02:07 CET] <J_Darnley> and read http://ffmpeg.org/ffmpeg-formats.html#concat-1
[00:02:38 CET] <J_Darnley> actually that might not work either
[00:02:43 CET] <rocktop> J_Darnley: one moment I will try your command
[00:02:53 CET] <J_Darnley> TOO MANU FUCKING CONCAT OPTIONS
[00:03:47 CET] <rocktop> in the file concat.txt I shoud have for example : file 'C:\inetpub\ati.mp4'
[00:04:02 CET] <J_Darnley> Yes I think so
[00:04:12 CET] <J_Darnley> And then the next file on the next line
[00:04:45 CET] <relaxed> the smaller video has a different aspect ratio, so take that into account
[00:05:12 CET] <J_Darnley> Lets get it working forst shall we
[00:05:16 CET] <J_Darnley> *first
[00:10:32 CET] <rocktop> J_Darnley: ffmpeg -i concat.txt maybe consider the file as input video !!?
[00:10:45 CET] <J_Darnley> ?
[00:10:46 CET] <rocktop> the generated video show the content of the file
[00:10:53 CET] <J_Darnley> Yeah
[00:11:01 CET] <J_Darnley> That's what its supposed to do
[00:12:08 CET] <rocktop> J_Darnley: when I play the file I see the the text I have concat.tx text instead of concating the videos
[00:12:26 CET] <J_Darnley> ?
[00:12:50 CET] <J_Darnley> beat me to it
[00:12:56 CET] <furq> you forgot -f concat
[00:13:06 CET] Action: relaxed holsters
[00:14:03 CET] <furq> also if you want to use an image as background for the smaller video then this isn't going to work
[00:23:59 CET] <rocktop> J_Darnley: look at this printscreen http://prntscr.com/a2xkxo
[00:24:11 CET] <rocktop> furq: ^^
[00:24:33 CET] <J_Darnley> input format "tty"!?
[00:24:37 CET] <J_Darnley> WTF is that?
[00:24:42 CET] <rocktop> furq: oh yes should be -f not -i let me check
[00:25:14 CET] <J_Darnley> No it should be -f concat -i concat.txt
[00:25:17 CET] <relaxed> https://trac.ffmpeg.org/wiki/Concatenate
[00:25:43 CET] <rocktop> J_Darnley: ok I will try now
[00:28:32 CET] <J_Darnley> FYI: to copy text from Windows' cmd.exe first right click on the window and choose mark, then make your selection, press enter, and the text will be on the clip board.
[00:29:36 CET] <rocktop> J_Darnley: it take the long time when it is reaching "Input stream #0:0 frame changed from size:1280x720 fmt:yuv420p to size:180x320 fmt:yuv420p4x"
[00:32:42 CET] <rocktop> J_Darnley: the method you gave me doesn't work
[00:33:28 CET] <J_Darnley> Then I suggest you go read relaxed's link
[00:33:53 CET] <J_Darnley> And I would remind you that "doesn't work" is not an error message.
[00:35:26 CET] <rocktop> J_Darnley: no it is freez in some point and I always finish the operation with CTRL + C
[00:35:35 CET] <furq> brb changing all the error strings in this library to "it doesn't work" to annoy J_Darnley
[00:35:50 CET] <J_Darnley> That's a little better
[00:37:29 CET] <rocktop> furq: I am sorry but there is no error in std output
[00:38:44 CET] <furq> this method won't do what you want anyway
[00:39:21 CET] <furq> if you want the smaller video to be the correct size on top of a static image then you'll need to create a 1280x720 image and use the overlay filter with that and the video
[00:39:38 CET] <furq> it's probably simpler to do that in a separate pass and then concat the two videos
[00:40:12 CET] <furq> doubtless there's some filter_complex wizardry which will do it in one go but i don't have a long enough beard to know it
[00:40:35 CET] <rocktop> furq: this what I need exactly I need to have the image with same as the first video foramt to be the background of the small video size
[00:41:16 CET] <furq> well you need to create that yourself
[00:41:33 CET] <furq> then use https://ffmpeg.org/ffmpeg-filters.html#overlay-1
[00:41:40 CET] <furq> then concat that video with the intro video
[00:42:05 CET] <rocktop> furq: yes I will the problem I will have to work with more than one ffmpeg command is it possible to make all work in single command ?
[00:42:16 CET] <furq> maybe but i don't know what that command is
[00:53:08 CET] <fling> How to merge a thumbnail into a file?
[04:20:24 CET] <johnnny22-afk> when encoding 4K content that has the whole background moving, it often studders on the playback because of crappy playback hardware. But is there a way to improve this by changing the way the video is encoded ?
[04:21:39 CET] <J_Darnley> What encoder are you using?
[04:22:52 CET] <johnnny22-afk> for now ffmpeg!?
[04:23:14 CET] <J_Darnley> Shall I assume you're using mpeg1 then?
[04:23:20 CET] <johnnny22-afk> haha oh
[04:23:41 CET] <johnnny22-afk> right now, simple h264 video in mp4
[04:23:58 CET] <J_Darnley> Try x264's fastdecode tuning.
[04:24:23 CET] <johnnny22-afk> humm, using mplayer, not sure how i'd go about doing that. :o/
[04:24:29 CET] Action: johnnny22-afk googles a bit
[04:24:33 CET] <J_Darnley> player?
[04:24:45 CET] <J_Darnley> I thought you were asking about encoding
[04:25:10 CET] <J_Darnley> Do I need to say this again?
[04:25:14 CET] <johnnny22-afk> well, i'm wondering if there's some encoding codecs/options/formats that would help resolve what I'm seeing when playing it.
[04:25:16 CET] <J_Darnley> x264 is not a decoder.
[04:26:20 CET] <johnnny22-afk> basically, help solve jittering cause by the player (i'm aware), but maybe the codec used or some encoder's options would help the cpu+gpu of the decoder ?
[04:27:41 CET] <J_Darnley> Yes it is possible to make video streams that are easier to decode.
[04:28:03 CET] <johnnny22-afk> i'm assuming mpeg2 is easier than h264 ?
[04:28:32 CET] <J_Darnley> Using an option of x264's is a simple way of doing that.
[04:28:47 CET] <J_Darnley> Using a different video format is another.
[04:29:01 CET] <johnnny22-afk> how would i do that for x264 ?
[04:29:14 CET] <J_Darnley> What did I say just a moment ago?
[04:29:20 CET] <J_Darnley> "Try x264's fastdecode tuning."
[04:29:31 CET] <johnnny22-afk> right right
[04:29:32 CET] <J_Darnley> -tune fastdecode
[04:30:03 CET] <johnnny22-afk> those this have an impact on the preset or are those unrelated ?
[04:30:21 CET] <J_Darnley> preset mostly controls speed
[04:30:32 CET] <J_Darnley> Which is why they are named how they are named.
[04:30:41 CET] <J_Darnley> encoding speed that is.
[04:31:33 CET] <johnnny22-afk> and the tune is how the video gets encoded, (looking at the options of -tune )
[04:31:45 CET] <johnnny22-afk> for it to encode based on the type of content
[04:31:48 CET] <J_Darnley> Sort of
[04:31:51 CET] <J_Darnley> yes
[04:32:09 CET] <J_Darnley> It is a dial for the masses to turn
[04:32:37 CET] <johnnny22-afk> zerolatency would give even better decode speed than fastdecode or ?
[04:32:43 CET] <J_Darnley> No.
[04:33:08 CET] <J_Darnley> zerolatency controls the delay between putting a frame into the encoder and getting one out.
[04:33:37 CET] <johnnny22-afk> aaah, so it'll drop frames if it can't hold i guess.
[04:33:42 CET] <J_Darnley> No
[04:34:19 CET] <johnnny22-afk> neways, i'll give it a try :)
[04:34:26 CET] <J_Darnley> Ignore that option
[04:34:31 CET] <johnnny22-afk> will do
[04:35:35 CET] <johnnny22-afk> also, if I use a preset of ultrafast vs veryslow, wouldn't it affect the decoding performances too ?
[04:36:02 CET] <J_Darnley> Only as a side effect.
[04:37:02 CET] <J_Darnley> Ultrafast and fastdecode happen to use the same fast feature
[04:37:45 CET] <J_Darnley> but ultrafast will also use things that make encoding quick but have much less effect on decoding.
[04:41:05 CET] <antiPoP> hi, how can i install ffmpeg in 7.2?
[04:41:21 CET] <J_Darnley> ./configure && make
[04:41:31 CET] <johnnny22-afk> thanks for the info!
[04:41:58 CET] <johnnny22-afk> so, fastdecode kinda generates a bigger file than veryslow or medium, (closer to the size of ultrafast)
[04:42:44 CET] <J_Darnley> Yes.
[04:43:11 CET] <J_Darnley> Ultrafast and fastdecode both use cavlc insead of cabac.
[04:43:31 CET] <J_Darnley> it is quicker to process but results in more bits
[04:44:11 CET] <J_Darnley> At a high quality or bitrate this can be the largest effect on speed
[04:44:34 CET] <J_Darnley> I wonder if I can find an old, pretty graph
[04:45:47 CET] <furq> using cavlc for 4k sounds like a bad time
[04:46:07 CET] <J_Darnley> aw no speed graph
[04:46:21 CET] <furq> i have an encoding speed graph if that's any use
[04:46:25 CET] <furq> although it's not labelled
[04:49:00 CET] <J_Darnley> heh, the good old days: http://akuvian.org/src/x264/entropy.png
[04:49:45 CET] <furq> is there a graph which shows the difference for things you might actually want to watch
[04:50:21 CET] <J_Darnley> It'd be easy enough to create
[04:52:59 CET] <J_Darnley> Damn. 5am
[04:53:05 CET] <J_Darnley> I'm going to sleep.
[05:05:37 CET] <johnnny22-afk> furq: what do you mean by a bad time (using cavlc) ?
[06:19:03 CET] <tombbraindamage> I think I found a bug with the way ffmpeg handles hardsubs from mkv sources.
[06:19:26 CET] <tombbraindamage> Can someone replicate it for me? http://pastebin.com/eL8kMX5P
[06:33:21 CET] <relaxed> tombbraindamage: don't quote the name in the filter
[06:38:39 CET] <tombbraindamage> quoted or not it still fails
[08:13:27 CET] <Demon_Fox> How do I get yuv4mpeg2 output?
[08:18:02 CET] <relaxed> Demon_Fox: -f yuv4mpegpipe output.y4m
[08:18:16 CET] <Demon_Fox> thanks
[08:23:45 CET] <Demon_Fox> Requested output format 'yuv4mpeg2pipe' is not a suitable output format
[08:25:34 CET] <relaxed> There's no "2" in it. What are you trying to do? Do you want yuv4mpeg or mpeg2 video?
[08:25:56 CET] <Demon_Fox> oops
[08:26:19 CET] <Demon_Fox> Thanks
[08:28:49 CET] <Demon_Fox> How do I get progressive interlacing?
[08:30:37 CET] <Demon_Fox> and avoid subsampling
[10:17:23 CET] <dystopia> hello all
[10:17:34 CET] <dystopia> is there anyway to set a proxy for ffmpeg to use
[10:22:29 CET] <fritsch> it takes the one you export
[10:24:19 CET] <dystopia> ffmpeg -i playlist.m3u8 -vcodec copy download.mp4
[10:24:30 CET] <dystopia> how could i add my socks proxy to this line?
[10:34:16 CET] <BtbN> I'm only aware of the http protocol supporting http proxies. So: You don't.
[10:34:58 CET] <dystopia> ok
[10:35:16 CET] <dystopia> :(
[10:38:18 CET] <jaylee1> Hello, I want to make video burn subtitle which file extension is smi, But ffmpeg does not support .smi file for encoding, How can I burn .smi file to video on Mac?
[10:41:10 CET] <jaylee1> Now, I convert .smi to .srt using ffmpeg After that I burn subtitle, But i want to burn .smi file directly
[17:26:26 CET] <xace> is it possible to setup ffmpeg to stream my sound to my other computer in the same LAN? My goal is to have the audio playing on my laptop be streamed to my desktop which is connected to the stereo.
[17:34:03 CET] <furq> xace: you can do that with pulse
[17:34:07 CET] <furq> assuming you're on *nix
[17:36:38 CET] <xace> furq: the laptop is using windows. and i've already got ffmpeg i figured ffmpeg would have a simple method for this
[17:36:55 CET] <xace> like if ffmpeg can use netcast or something
[17:39:37 CET] <c_14> xace: I'm not sure if ffmpeg's input devices on windows support grabbing playing audio.
[17:40:08 CET] <xace> well i've set the output audio to act as the microphone, so ffmpeg is able to catch it
[17:44:43 CET] <c_14> Then it should work, something like ffmpeg -f dshow -i device -f rtp rtp://[remote_ip]:[port]
[17:46:39 CET] <xace> c_14: i assume that's the client, how do I receive it on the server side?
[17:46:52 CET] <c_14> any decent media player should be able to play it
[17:47:46 CET] <xace> c_14: so remoteip could be 192.168.0.24 and port could be 12345 and then I can play it with vlc rtp://192.168.0.24:1234 ?
[17:48:01 CET] <c_14> ye
[17:49:02 CET] <furq> xace: if the desktop is running pulse you can just create an rtp sink on there and it should work automagically
[17:49:22 CET] <furq> emphasis on should because i'm just reading this from the docs
[17:49:44 CET] <xace> cool
[17:49:46 CET] <furq> https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Network/#index2h3
[17:49:55 CET] <furq> ignore the sender side bit
[18:26:22 CET] <Hfuy> Hello.
[18:26:59 CET] <Hfuy> I have an uncompressed AVI which has an alpha channel that I'd like to convert to ProRes 4444 quicktime, maintaining the alpha channel.
[18:27:14 CET] <Hfuy> Googling around suggests that this may not be possible, or at least only became possible recently. Can anyone advise?
[18:48:39 CET] <Hfuy> Oh well, answered my own question. Seems to work fine from bgra .avi to yuva444p10le ProRes .mov
[20:02:49 CET] <anynamereally> Hello. Is it possible to operate on video frames (mpegts) without decoding them? I'm trying to overlay without decoding and encoding
[20:03:23 CET] <DeHackEd> you can't modify the video without decoding them. you can only copy the video from source to destination
[20:16:21 CET] <anynamereally> I'm trying to do something like http://rdist.root.org/2011/09/13/the-magic-inside-bunnies-new-netv/
[21:37:13 CET] <Guiri> Hey everyone. I use a combination of scale, pad, setsar, concat, and map to stream multiple movies at the same resolution to an RTMP server. I really want to play around with ffserver, but I'm a bit confused about where these options go in the configuration.
[21:38:05 CET] <JEEB> my condolences
[21:38:37 CET] <JEEB> ffserver is something someone made ages ago and the knowledge of it is very limited
[21:38:56 CET] <JEEB> if you can get away with what ffmpeg does, I recommend you stay there
[21:39:48 CET] <Guiri> k.
[21:51:24 CET] <furq> someone should really put "please don't use ffserver" in the topic
[21:51:32 CET] <furq> it would save a lot of time
[00:00:00 CET] --- Mon Feb 15 2016
More information about the Ffmpeg-devel-irc
mailing list