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

burek burek021 at gmail.com
Sat Nov 16 02:05:01 CET 2013


[08:40] <prkhr4u> running  "ffmpeg -i rtsp://169.254.75.39:554/live.sdp -f http://localhost:8090/feed1.ffm" getting error: "At least one output file must be specified"
[08:43] <sacarasc> prkhr4u: You did -f which means you're about to force an output format, then you put the output. Either remove the -f or put in a format.
[08:45] <prkhr4u> I only want to stream and do not want to save the stream..In that case should i remove -f?
[09:46] <prkhr4u> "HTTP error 503 Server too busy"  using "ffmpeg -i rtsp://169.254.75.39:554/live.sdp http://localhost:8090/feed1.ffm"
[10:51] <paulr> wondering if anyone can help as i'm rather confused - if I run apparently the same version of ffmpeg with the same video file and same config options, on two different pc's, and getting 2 different outputs - would that be 'normal'? ;/
[11:03] <zap0> possbily.
[11:03] <zap0> how different?
[11:26] <paulr> silly webchat ;/ - not sure if anyone saw previous question - 2 pc's - same video/ffmpeg/settings etc - apparently getting different output - is that 'normal'?
[11:27] <sacarasc> paulr: As in not bit exact copies?
[11:27] <sacarasc> That is normal.
[11:29] <paulr> well, 5MB size difference in encoded video
[11:29] <paulr> with same input
[11:29] <paulr> one output is effectively lipsync'd, the other isn't
[11:30] <paulr> [whilst googling, i'm wondering if i might get more reliable results forcing threads=1
[11:31] <paulr> I was kind of assuming that software calculation would be the same ;)
[11:36] <zee_> -vf subtitles=subtitles.ass/srt hardburns the subtitle into the video..
[11:36] <zee_> how can I add is as a track instead of hardburning it?
[11:37] <viric> with -f, -i and -map I think
[11:37] <viric> I never tried
[11:37] <zee_> with -map i map tracks from the -i input file..
[11:38] <zee_> my thought is to map it as well.. it makes most sense.
[11:38] <JEEB> -i file.ass -c copy and possibly map :P
[11:38] <JEEB> if you want to mux the ass subs into a container
[11:39] <zee_> I just dont see how I would do it? its -map 0:0 .. So, would I -map subtitle.ass:3 or something?
[11:39] <zee_> ok.
[11:39] <zee_> So it is possible to use -i two times in the command?
[11:40] <zee_> I am using gusarios nightly builds.. It converts srt to ass automatically
[11:40] <JEEB> yes, you can use multiple input files
[11:40] <JEEB> just like you can have multiple output files
[11:40] <zee_> great. Ill experiment then
[11:40] <JEEB> by default ffmpeg will select a single a,v,s track
[11:40] <zee_> yea
[11:40] <JEEB> so if you have more than that, you might need to -map
[11:41] <zee_> yes, i use map to define the tracks I want to encode from the mkv's
[11:41] <JEEB> and in map 0:0 the first zero is the input file number
[11:41] <zee_> or m2ts, or mp4 or what ever source I have.
[11:41] <JEEB> for second input it's 1
[11:41] <JEEB> and so forth
[11:41] <ubitux> < JEEB> by default ffmpeg will select a single a,v,s track // not sure it will pick a 's' stream by default actually
[11:41] <JEEB> yeah, not 100% sure about that either, *shrug*
[11:41] <zee_> ill find out and let ya know :)
[11:44] <zee_> it has to be converted to ass.. im pretty sure..
[11:44] <zee_> cause you cannot input the srt and run a vf command on it afterwards?
[11:44] <zee_> and then map it
[11:54] Action: paulr doesn't understand why ffmpeg transcoding results aren't deterministic
[11:54] <viric> paulr: timestamps?
[11:54] <paulr> i'm getting a 100MB file + 105MB file
[11:59] <zee_> JEEB: http://pastebin.com/B9g4U5Gh
[11:59] <zee_> can you suggest me how I map it.. Cause that way is not working..
[12:00] <zee_> it just maps from the 1. input file
[12:01] <JEEB> first of all, the subtitle file is not an input
[12:01] <JEEB> second of all, all your maps are for the first input file
[12:01] <JEEB> also if you want only video and audio out of the first file
[12:01] <JEEB> you can just do -map 0:v -map 0:a
[12:02] <zee_> I tried it without -i for the sub.ass as well...
[12:02] <JEEB> also you will not be able to mux ass into mp4
[12:02] <zee_> but it doesnt add is as a tracks. it hardcodes it
[12:02] <viric> zee_: to what format?
[12:02] <zee_> viric: what?
[12:03] <JEEB> if you want subtitles in mp4 the only alternative is 3GPP Timed Text
[12:03] <JEEB> I am not sure if ffmpeg can convert srt/ass to 3GPP Timed Text :P
[12:03] <zee_> let me try
[12:04] <zee_> it wierd... Cause handbrake will do the job, of adding a srt as a track... :/
[12:04] <zee_> and it uses ffmpeg
[12:05] <JEEB> it does not use ffmpeg's mp4 muxer, and I think that part will then handle the conversion of srt into 3GPP Timed Text
[12:06] <zee_> Probably so.
[12:06] <zee_> ffmpeg wont convert srt/ass to 3dpp
[12:07] <zee_> 3gpp*
[12:10] <zee_> gpac can convert it
[12:13] <JEEB> yes
[12:37] <ubitux> 12:06:59 < zee_> ffmpeg wont convert srt/ass to 3dpp
[12:37] <ubitux> 12:07:04 < zee_> 3gpp*
[12:37] <ubitux> you sure about that?
[12:37] <ubitux> try encoding with -c:s mov_text
[12:38] <zee_> I love you ubitux
[13:05] <Compn> everyone loves ubitux
[13:29] <vl4kn0> Hi, is there any tutorial for beginners using libavfilter? I can't find any except very complex examples.
[13:38] <Compn> vl4kn0 : theres some info on the ffmpeg trac wiki
[13:38] <Compn> i think
[13:57] <diesel420> hi
[13:59] <sacarasc> Are you a Dr Strangelove fan, diesel420?
[14:06] <Compn> i am, great movie
[14:12] <sacarasc> Compn: I only asked because I know a guy who goes by dsl420 on a different network, dsl standing for Dr Strangelove. I have called him diesel420 a few times. And he is the kind of person to stalk me. :O
[14:13] <diesel420> . . .
[14:25] <Compn> sacarasc : methinks you enjoy the 420 too much lol
[14:26] <sacarasc> I do stay awake until gone 04:20 often...
[14:26] <Compn> you irc, but do you ever irc ... on weed?
[14:26] <sacarasc> And, if you go by the incorrect, American, notation, Hitler's birthday is 4/20...
[14:26] <sacarasc> No, I do not.
[14:29] <Compn> ah
[14:29] <Compn> 420 is american slang for marijuana
[14:29] <Compn> so thats why you see often peoples nicknames with 420
[14:30] <sacarasc> It's slang for Hitler's birthday!
[14:31] <Compn> ask your dsl420 guy if he smokes weed
[14:31] <Compn> sour diesel is also the name of a strain of marijuana
[14:31] <tiksa> hi guys I don't know if this is a relevant question but if I have one video stream and one audio stream, and then I map them, then if I want to pipe them to ffmpeg to create different outputs, what's the best kind of format/container to pass them forward to the pipe?
[14:31] <Compn> no its not relevant, we only talk about weed in here :P
[14:32] <Compn> whats your input tiksa ?
[14:32] <Compn> ffmpeg can already do multiple outputs
[14:32] <tiksa> mp4 file
[14:32] <Compn> so it can pipe anything
[14:32] <Compn> what are you piping to ?
[14:33] <Compn> i mean, if you are doing ffmpeg > ffmpeg , you can just use one ffmpeg to do it all
[14:33] <Compn> if i'm understanding your question
[14:34] <tiksa> well the idea is that 1. I give multiple inputs (mp4, png ...) and then use filter_complex that ends to concat. 2. concat filter returns 2 outputs (video, audio streams) which I map. now I want to output multiple sized outputs with those filter applied
[14:35] <tiksa> I didn't find a way to do this with one ffmpeg
[14:35] <Compn> ah, yes someone was here the other day saying they couldnt use filter complex with multiple output files or something
[14:35] <tiksa> if I just index different sized outputs at the end, the filter_complex is applied only to the first output
[14:35] <Compn> then i'd say try mkv for streaming format
[14:35] <Compn> it can handle most mp4 codecs
[14:35] <Compn> pipe format i mean
[14:36] <tiksa> ok, I'll try
[14:36] <tiksa> thanks Compn!
[14:36] <Compn> np
[14:51] <tiksa> -f mkv --> "uknown input format: mkv". am I messing with formats/containers/streams or should I just suppose that my ffmpeg build does not support mkv..?
[14:51] <Compn> hmm
[14:51] <Compn> its -f matroska ?
[14:51] <Compn> er
[14:52] <Compn> you put -f mkv in the wrong spot
[14:52] <Compn> have to put it after your input files
[14:52] <Compn> or something
[14:52] <Compn> what ffmpeg ver you running ?
[14:53] <vl4kn0> can anyone explain what is avfilter_graph_parse-* for?
[14:54] <vl4kn0> I see it used in every example yet I have no idea what it does
[14:54] <tiksa> Compn: mkv -> matroska solved all the problems and I'm getting the output I wanted. (didn't change the place of -f). thanks!
[14:56] <tiksa> (before that I tried a format named nut (?) that caused some problems in video quality)
[14:56] <Compn> hmm, maybe the default nut codecs are wrong
[14:56] <Compn> are you sure you're using -vcodec copy -acodec copy ?
[14:57] <Compn> vl4kn0 : it parses what filters you want to use ?
[14:57] <vl4kn0> Compn: fps
[14:57] <tiksa> here is one of my latest versions.. kind of monster. http://pastebin.com/Jh0HSjg2
[14:58] <tiksa> in the pastebin version there is only 1 output though (I'll have 4)
[15:01] <tiksa> I think I'm not figured completely how formats/codecs/streams are related to each other. however, I managed to build quite a long ffmpeg that works..
[15:01] <tiksa> *I've not figured
[15:05] <Compn> tiksa : all that filter stuff is so complicated to me
[15:05] <Compn> glad someone uses it
[15:08] <tiksa> thanks.. I have to admit it took some time to learn how to use them.
[15:08] <tiksa> actually my system creates those filter commands programmatically
[15:09] <tiksa> that's why they might seem even more complicated..
[17:27] <vl4kn0> Hi, I'm trying to use the "fps" filter (programatically, not in command line) but don't have a clue how to use filters. Can you give me some bulletpoints or resources on what I need to do in order to get it working?
[20:07] <encanis> hey, i want to record my desktop sound, NOT my microphone. how do i do that? ;) i use alsa (hw:0)
[20:53] <llogan> hi. i want to ask a question and then leave in a few minutes.
[20:55] <Mavrik> ;)
[21:14] <spaam> llogan: its time to leave now.
[21:15] <spaam> :)
[21:27] <brandonf_> Howdy! Is anyone familiar with the mpeg2video codec parameters within ffmpeg? Specifically how to specify a custom matrix?
[21:31] <llogan> brandonf_: you mean a color matrix?
[21:35] <brandonf_> I'm not entirely sure. I'm trying to use ffmpeg to encode an mpeg2 file with the same settings as another (as seen from videospec or mediainfo). I've gotten it down to "Custom matrix" vs. "Default matrix"
[22:09] <flaxo> hi... this is the REAL ffmpeg channel right?
[22:11] <Mavrik> -well.
[22:12] <flaxo> i have a file the plays well in vlc and mplayer but totally fucks up in ffplay... anyone care to have a look at a 6MB snippet?
[22:22] <flaxo> i am to clueless to decide if it is worth a bug-report... anyone? -> http://online-multiplayer.com/doom9/data.php
[22:23] <flaxo> damn..
[22:24] <flaxo> here we go: 6MB -> http://falko.vakat.de/download/fpart2.vob
[22:28] <Compn> flarunt : whats up
[22:29] Action: Compn checks it out
[22:30] <Compn> flaxo : what ffplay ver do you have ?
[22:30] <Compn> oh nice loop at the end
[22:30] <flaxo> sec..
[22:31] <Compn> ffplay version N-52523-g0fb64da
[22:31] <Compn> loops my ffplay
[22:31] <Compn> mine is kind of old
[22:31] <Compn> built on Apr 28 2013 00:01:23
[22:32] <flaxo> ok...
[22:32] <flaxo> i totaly fucked up... sorry..
[22:33] <flaxo> i have a self-built ffmpeg installation...
[22:33] <flaxo> but ffplay was still on the debian avplay
[22:33] <Compn> ahhhh
[22:33] <flaxo> i hate this mash...
[22:33] <Compn> that fork ffplay
[22:33] <Compn> the one with all of the bugs
[22:33] <Compn> and then we get bugreports for the buggy fork :\
[22:33] <flaxo> it plays with my own build...
[22:34] <Compn> ok then good :)
[22:34] <flaxo> jeah sorry
[22:34] <Compn> no worries :)
[22:34] <Compn> its not your fault debian lies
[22:34] <Compn> and uses ffmpeg trademark
[22:34] <flaxo> at least i did not file a report ;)
[22:34] <flaxo> jeah i really hate that fuckup they did there...
[22:35] <flaxo> it did not help the linux multimedia front
[22:35] <flaxo> not at all
[22:36] <flaxo> the thing i do not understand is... i uninstalled the debian-ffmpeg package...
[22:36] <flaxo> and never checked if everything was gone..
[22:40] <Compn> hmmm
[22:41] <flaxo> wasted an hour on this!!!
[22:41] <flaxo> the links where still there...
[22:45] <Compn> that seems like debian bug
[22:45] <flaxo> well thanks anyways
[22:48] <Compn> no problem
[22:48] <Compn> sorry we cant fix debian problems
[22:48] <Compn> they dont listen to us
[22:48] <flaxo> -_- i know...
[22:48] <flaxo> i have internet!
[22:48] <Compn> ehe
[23:14] <ac_slater> Hey guys, I cant find much about m4e files. Apparently "Elementary MPEG4 video". I technically need to convert some regular MP4s to this. Any advice is appreciated
[23:17] <JEEB> extensions are just extensions
[23:17] <JEEB> you might want to see what's inside such files
[23:20] <ac_slater> JEEB: right.
[23:21] <ac_slater> JEEB: how do you suspect I do that, assume I'm moderately informed
[23:22] <JEEB> ffmpeg -i welp.m4e or ffprobe welp.m4e
[23:23] <ac_slater> JEEB: http://paste.debian.net/66088/
[23:23] <JEEB> ok
[23:24] <JEEB> that is just raw MPEG-4 Visual
[23:24] <JEEB> no container
[23:24] <ac_slater> JEEB: I see that, so I guess I would like to take some video file and output something equiv to this
[23:24] <ac_slater> this being the file in the paste
[23:25] <JEEB> it's what you get from libxvid and mpeg4 encoders (the latter was named before MPEG-4 had Part 10 aka AVC/H.264)
[23:26] <brimestone> I'm trying to figure out a transport compression where i can bring a 15GB ProRes 422 HQ or similar to something less than 1GB, and the option to rebuilt it back to 15GB ProRes 422 HQ with all its glory...
[23:26] <brimestone> the compressed file doesnt have to be playable...
[23:26] <ac_slater> I see. Good to know. I've been looking into video formats, containers, encoders, etc for the last month. It's starting to come together. So, is there anything in specific I'd need to do so ffmpeg can "convert" any video file to just raw MPEG4 encoder output? (ie - no container (right?))
[23:27] <ac_slater> JEEB: ^
[23:28] <JEEB> ffmpeg -i welp -map 0:v -c:v libxvid -q:v 2 -f m4v out.m4e
[23:29] <JEEB> see if that works
[23:29] <brimestone> JEBB: what that for me?
[23:29] <ac_slater> brimestone: no me, sorry brimestone
[23:29] <brimestone> ohh :)
[23:29] <JEEB> the map basically only selects the video from the input, c:v sets the video encoder, q:v sets the video quantizer to 2 (generally should look rather OK) and sets the output format to m4v (raw mpeg-4 video)
[23:30] <JEEB> brimestone, use lzma2 at max settings with 7z or something? :D
[23:30] <ac_slater> JEEB: I'm really glad I can follow what you just said. I appreciate it
[23:31] <brimestone> lzma2... hmm i have not use that before :)
[23:31] <brimestone> researching..
[23:31] <llogan> brimestone: ffmpeg -i input -fs 1G -c copy -map 0 output.mov
[23:31] <llogan> there you go. no loss. 1G
[23:31] <brimestone> llogan, but can i get it back to where it is
[23:32] <llogan> it was a joke
[23:32] <brimestone> when the file is transported at the destination..
[23:32] <JEEB> brimestone, lzma2 is basically what the newer versions of 7zip handle
[23:33] <JEEB> a more multithreadable version of lzma
[23:33] <JEEB> if maximum settings of that don't cut it, then most probably nothing else will :P
[23:33] <brimestone> JEBB, is there sample documentation on this?
[23:36] <brimestone> ohhh... lzma2 is by itself, not connected to FFmpeg
[23:37] <flaxo> brimestone: what are you trying to accomplish?
[23:37] <JEEB> I mean, anything lossless will end up bigger :P
[23:37] <JEEB> if you need to try and make something smaller without visual degradation
[23:37] <flaxo> why the size limit?
[23:37] <JEEB> then trying out some archiver on maximum settings is all you can try
[23:38] <JEEB> and if that doesn't cut it, then unfortunately it's just impossible and you will have to change how you deal with it :P
[23:38] <brimestone> create a transport file where i have ProRes422HQ -- > (Magic size) -->> (WAN transport)--> ProRes422HQ
[23:39] <flaxo> so you are actually looking for compression only not conversion...
[23:39] <brimestone> i have a need to tranport 45Min high res 1080 video internationally
[23:39] <llogan> get a router that supports N
[23:40] <flaxo> ask the NSA they can handle that size!
[23:40] <JEEB> anyways, given the the file size you gave and unless that has a lot of well compressible data, I would have to say that you most probably ain't gonna hit your 1GB requirement :P
[23:40] <JEEB> prores is basically jpeg
[23:40] <brimestone> i have 100Mbps up and down at my end, but the client downloadingt them dont have that much bandwidth
[23:40] <JEEB> that's not gonna compress well by itself
[23:41] <JEEB> USB stick and snail mail might be the answer depending on how slow the other side is :P
[23:41] <brimestone> Jebb: I can also use H.264
[23:43] <brimestone> JEEB: how about H.264?
[23:44] <brimestone> Plus some VBR magic
[23:44] <JEEB> anyways, it all depends on what exactly you are wishing to do. Because unless your source is very well compressable you ain't gonna fit it in a lossless or close-to-lossless quality into 1GB :P
[23:44] <brimestone> ok, how source should i start with? H.264/AVC-I?
[23:45] <JEEB> what
[23:45] <flaxo> if that codec would exist... wouldn't we all use it on every video?
[23:45] <brimestone> thats suppose to be "Or" like ||
[23:45] <brimestone> :)
[23:45] <JEEB> I still don't understand what you are trying to imply
[23:46] <brimestone> you said, unless my source is compressable.. So what filetype/codec is?
[23:46] <JEEB> ...
[23:46] <JEEB> I meant the source. The clip. What it contains
[23:46] <flaxo> it depends on what is in your videos
[23:46] <JEEB> for example, static screens generally compress very well
[23:46] <JEEB> or mostly static
[23:46] <JEEB> also I still have no idea what exactly you're trying to do and what is more important to you. Video quality or fitting it all into a random file size you have come up with.
[23:47] <brimestone> oh.. no, its Dynamic, but very slow in deltas
[23:47] <JEEB> ok
[23:47] <JEEB> so you can try multiple things
[23:47] <JEEB> 1) output lossless uncompressed copy from your editor
[23:47] <brimestone> ok
[23:47] <JEEB> 2) compress that with lzma2
[23:47] <JEEB> 3) see the size
[23:48] <JEEB> (don't forget to set it all up to eleven in the archiver)
[23:48] <brimestone> then decompress it on the other size?
[23:48] <JEEB> yes
[23:48] <JEEB> if that's too big then most probably a lossless compressed copy will be too, but it's worth a try
[23:49] <JEEB> ffmpeg -i lossless.input.derp -c:v libx264 -crf 0 -preset placebo -g <whatever is the equivalent of --keyint infinite in x264> out.mov
[23:49] <JEEB> this would encode lossless H.264 as long as your libx264 encodes 8bit and not 10bit video (it's a compile-time setting)
[23:51] <JEEB> (of course you should compress audio with something as well, with an archiver or some lossless format like flac, wavpack or ALAC)
[23:52] <JEEB> and in case all that fails you either start dropping your wishes in quality, or you start grabbing a 16GB USB stick or whatever, and send the thing via snail mail :P
[23:54] <brimestone> :) thanks.. ill ping you back
[00:00] --- Sat Nov 16 2013


More information about the Ffmpeg-devel-irc mailing list