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

burek burek021 at gmail.com
Fri Nov 7 02:05:01 CET 2014


[00:13] <gabeodess> Hello.  I am trying to get a background video to show up in Safari, but Im having trouble encoding it correctly.  Im trying to match the codecs to a video I know works.  The video that works has code h264, my code says h264,AAC.  Im wondering how I can get rid of the AAC part.
[00:13] <c_14> -an
[00:14] <danomite> I'm converting live rtsp mp4 stream to ogg/theora stream getting this error a bunch: http://dpaste.com/0M1D1W5
[00:14] <c_14> That should just be a warning.
[00:15] <c_14> wait
[00:15] <danomite> any way to eliminate it?
[00:15] <c_14> The source is mp4?
[00:15] <danomite> yes
[00:15] <c_14> What's your commandline?
[00:16] <danomite> http://dpaste.com/1JMPZAF
[00:17] <c_14> Does it give you the error if you output to a file^?
[00:17] <c_14> -?
[00:17] <c_14> -^
[00:17] <c_14> +?
[00:18] <danomite> making a file now
[00:19] <gabeodess> c_14: okay, that got rid of the AAC, but the video is still not rendering properly in Safar.  The working video has a color profile of SD (6-1-6).  How can I add that to my mp4?
[00:20] <c_14> Can you pastebin the output of ffprobe on both files?
[00:20] <gabeodess> c_14: sure
[00:21] <danomite> c_14, no errors
[00:21] <c_14> danomite: what's your ffserver.conf?
[00:22] <gabeodess> c_14: https://gist.github.com/gabeodess/01e11b8b8070d5cdcc35
[00:23] <danomite> http://dpaste.com/34E6CE5
[00:23] <c_14> gabeodess: add -profile main -pix_fmt yuv420p
[00:24] <c_14> danomite: you have NoAudio twice, shouldn't break anything but it's a noop. ditto global_header, Are you sure you want your framerate to be 1?
[00:25] <danomite> The global header is in there because i was trying mp4 streaming, but I'll remove the doubles for both. My source frame rate is 1 and that's intentional
[00:25] <c_14> Maybe get rid of that option completely (the global header one).
[00:26] <gabeodess> c_14: Works like a charm :) thanks!
[00:27] <c_14> If that doesn't work, try getting rid of preroll and/or startsendonkey. Those three options touch keyframes which could be causing the warning.
[00:28] <danomite> removed global header completely and duplicate no audio, giving this a test run
[00:29] <llogan> gabeodess: add "-movflags +faststart" too if you haven't yet
[00:29] <gabeodess> llogan: what will that do?
[00:29] <karanlyons> Does anyone know whether the QuickTime File Format specification means signed or unsigned when it just says "32-bit integer"?
[00:29] <llogan> move some shit around in the file so it can begin playback before it is completely downloaded
[00:30] <gabeodess> llogan: perfect, thanks!
[00:30] <llogan> show your command and console output if you want more suggestions/flames.
[00:32] <gabeodess> llogan: https://gist.github.com/gabeodess/b6b0729decd600fc3916
[00:32] <danomite> ffplay has an error: http://dpaste.com/12QDZRR
[00:33] <gabeodess> llogan: also, its a silent clip, so I dont know if I should remove the audo codec or what to slim it down.
[00:33] <c_14> gabeodess: -an removes the audio, -acodec is a no-op
[00:34] <gabeodess> c_14: ah.  cool.
[00:35] <c_14> danomite: is ffserver running and accepting content
[00:35] <llogan> gabeodess: "Please use -profile:a or -profile:v, -profile is ambiguous". probably doesn't matter if you have no audio
[00:36] <gabeodess> llogan: if it doesnt matter should I just remove the flag?
[00:37] <llogan> does your device or borwser require Main profile?
[00:37] <gabeodess> llogan: I dont know what that means
[00:37] <llogan> then just leave it or perform tests. instead of -s 640x360 you can be lazy and do "-vf scale=640:-2"
[00:38] <gabeodess> llogan: whats the benefit there?
[00:38] <llogan> ffmpeg will calculate the value for you
[00:38] <gabeodess> llogan: ah, to retain aspect ratio?
[00:38] <llogan> yes
[00:39] <gabeodess> cool
[00:39] <llogan> how did you come up with the value for -vb?
[00:40] <gabeodess> llogan: honestly, I just copied this off a blog.
[00:40] <gabeodess> llogan: I really dont know what Im doing
[00:41] <llogan> remove the -vb and its value. the defaults may suffice here.
[00:41] <danomite> c_14 yes
[00:41] <c_14> danomite: what does curl say?
[00:41] <gabeodess> llogan: note also, that speed is not a convern for me.  This is a one time conversion that Im doing.
[00:42] <llogan> then you can add "-preset veryslow"
[00:43] <danomite> c_14 curl <url> says nothing
[00:43] <gabeodess> llogan: what will that do& besides make it very slow
[00:43] <llogan> https://trac.ffmpeg.org/wiki/Encode/H.264
[00:44] <c_14> danomite: no output from ffserver/ffmpeg ?
[00:44] <danomite> there is will capture
[00:44] <gabeodess> llogan: ah, cool.  Why not use placebo?
[00:44] <llogan> it's a waste of time.
[00:45] <danomite> c_14 real quick when I added a global header line, ffplay started to work
[00:45] <gabeodess> llogan: oh yeah& it says that in the next sentence
[00:45] <danomite> but continues with the warnings
[00:45] <c_14> danomite: tried getting rid of the other two options I mentioned earlier?
[00:46] <llogan> just felt another earthquake...
[00:46] <llogan> or a fat kid was jumping. old building.
[00:47] <danomite> VideoFrameRate is intentional but haven't removed it, NoAudio is only done once now
[00:47] <c_14> danomite: I meant the other two.
[00:47] <c_14> Startonkey or whatever it was
[00:47] <c_14> preroll/startsendonkey
[00:48] <danomite> ah
[00:48] <danomite> trying with those 2 commented
[00:49] <danomite> c_14 same warnings
[00:50] <c_14> And without global_header as well?
[00:50] <c_14> Oh, and if that doesn't work I'm out of ideas.
[00:50] <danomite> With 1 global headers, trying without now
[00:51] <gabeodess> llogan: thanks for all the suggestions
[00:51] <BlackDream> Hello, i have a question. I'm so confused with the licenses that i don't really know what to do in my case. I have make my own COMMERCIAL project in PHP and i'm using FFmpeg. I have compiled it statically and i'm sharing it to my clients. However i provide the static build for FREE without paying. What i have to do more to be 100% ok with this?
[00:51] <danomite> ffplay refuses to play, Invalid data error
[00:51] <c_14> danomite: Then I suggest you try living with the warnings as long as they don't explicitly break things...
[00:52] <danomite> k, then the next question is the video quality drops out periodically
[00:53] <llogan> BlackDream: did you see this? http://ffmpeg.org/legal.html
[00:54] <BlackDream> Yes, but it's a lot confusing for me
[00:55] <llogan> how did you compile ffmpeg? i mean which configure options did you use?
[00:55] <BlackDream> Actually it says that i can't use the patented algorithms that FFmpeg has, i dont even know for which algorithms they are talking about
[00:55] <BlackDream> w8 to find it
[00:56] <danomite> Here's the Feed errors: http://dpaste.com/3E27N0E
[00:56] <BlackDream> ./configure --disable-debug --disable-shared --enable-static --extra-cflags=--static --disable-ffplay --disable-ffserver --disable-doc --enable-openssl --enable-gpl --enable-pthreads --enable-postproc --enable-libass --enable-gray --enable-runtime-cpudetect --enable-libfaac --enable-gnutls --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid
[00:56] <BlackDream> --enable-bzlib --enable-zlib --enable-nonfree --enable-version3 --enable-libvpx --enable-libxavs --disable-devices --enable-librtmp --extra-libs='-lrtmp -lnettle -lhogweed -lgmp -lssl -lcrypto -lz -lc -ldl'
[00:56] <llogan> note that you should use a pastebin service for stuff that is longer than one line
[00:57] <BlackDream> :(
[00:57] <kepstin-laptop> BlackDream: you have "--enable-nonfree" there, that build probably cannot legally be redistributed.
[00:57] <BlackDream> What impact will disable non free will have? What it is included there?
[00:58] <llogan> in your case the nonfree is needed for libfaac support
[00:58] <kepstin-laptop> all the nonfree flag does is allow you to build ffmpeg with combinations of options that have conflicting licenses.
[00:58] <BlackDream> libfaac isnt the same as aac right? i can still use aac?
[00:59] <BlackDream> If so, this is the only real problem? Is the libx264 ok?
[00:59] <llogan> libfaac is an encoder. ffmpeg can support 4 AAC-LC encoders. the native aac encoder isn't the best, but it really isn't too terrible with enough bits
[00:59] <kepstin-laptop> if you disable libfaac, you can still use the built-in aac encoder. libx264 is lgpl2, I think? that should be ok, provided you take care of finding out if you need patent licensing, etc (get a lawyer if unsure).
[01:01] <BlackDream> and one question. What happens if they found out that i am using the non-free codecs and i distribute them? Just curius. I am not telling that i want to be illegal. Just what they can do. If the libfaac is onyl the real problem here i'm going to remove it
[01:02] <llogan> libx264 requires --enable-gpl which results in GPL 2, so you will have to comply with that license
[01:02] <kepstin-laptop> well, if you build with a combination of options that has compatible licenses, and abide by the terms of the licenses (such as making source code available), then none of the open-source developers will go after you.
[01:02] <BlackDream> It also says in the ffmpeg legal that all the patented algorithms are depending on where i live
[01:03] <llogan> license compliance and patent issues are two different things. honestly, the FFmpeg project only cares if you comply with the license.
[01:05] <llogan> you also have --enable-version3 in there, but i don't think any of your other enabled external libraries need that
[01:06] <llogan> and --enable-librtmp is probably just extra baggage since ffmpeg has native rtmp support
[01:07] <BlackDream> Anyway the real problem here should be the enable-nonfree i think. I have to find out what impact will have other than the libfaac
[01:09] <llogan> nothing else in your current configure requires that
[01:09] <relaxed> BlackDream: you won't be able to distribute the binary if you build it with non-free
[01:09] <llogan> and libfaac isn't really that good anyway
[01:10] <BlackDream> OK So perfect
[01:10] <BlackDream> i will remove it
[01:12] <BlackDream> Do i have to release the source code of ffmpeg? I didn't change anything on it. Should i make the binary public for free even if they dont get my software?
[01:13] <relaxed> If someone requests it you have to provide it
[01:13] <BlackDream> So i will have it for free for everyone
[01:17] <BlackDream> And when exactly i wil notice the difference between libfaac and aac?
[01:23] <llogan> BlackDream: you'll just have to compare them yourself
[01:23] <llogan> not that you can use libfaac anyway
[01:57] <wallbroken> hi
[01:57] <wallbroken> i have a .mov file
[01:57] <wallbroken> i nee to rotate it 180° and reseize
[01:58] <wallbroken> to 1024*...
[01:58] <wallbroken> how can i do?
[02:00] <llogan> wallbroken: please use a pastebin service to show some info about the input: ffmpeg -i input.mov
[02:00] <llogan> show the complete console output
[02:05] <wallbroken> llogan: http://pastebin.com/NdWkAT9w
[02:10] <llogan> wallbroken: ffmpeg -i input -vf "hflip,vflip,scale=1024:-2" -metadata:s:v rotate="" -c:a copy output.mov
[02:10] <llogan> or you could use transpose or rotate instead of hflip,vflip
[02:10] <wallbroken> what -2 is?
[02:11] <wallbroken> this command re-encodes the video?
[02:11] <llogan> -2 read https://ffmpeg.org/ffmpeg-filters.html#scale-1 see width and height options
[02:11] <llogan> yes, filtering requires re-encoding
[02:12] <llogan> if you just want to get rid of the rotation metadata: ffmpeg -i in -metadata:s:v rotate="" -c copy out.mov
[02:12] <wallbroken> and where compression algorighm is defined?
[02:12] <llogan> H.264 will be video format by default for .mov output (if your ffmpeg has been configured with --enable-libx264)
[02:13] <wallbroken> i want to re-encode the video according to metadata orientation
[02:13] <llogan> that is what my example should do
[02:13] <wallbroken> and then removes the metadata orientation fields?
[02:13] <wallbroken> if not, some player will be rotate it again
[02:13] <llogan> there is no "automatically rotate based on rotation metadata" feature yet
[02:14] <wallbroken> quicktime has it
[02:14] <wallbroken> *does
[02:14] <llogan> yes, my example removes the rotation metadata
[02:14] <wallbroken> i need to do this because my vlc doesn't read metadata orientation
[02:15] <llogan> you can manually tell VLC to rotate
[02:15] <wallbroken> how?
[02:15] <wallbroken> oh no
[02:15] <wallbroken> i need that vlc reads metadata
[02:16] <wallbroken> like any software image viewer does with jpg
[02:16] <llogan> some players use the metadata and others do not.
[02:16] <llogan> so you will have to decide what you want to support
[02:16] <wallbroken> llogan, rotation tag is for all the containers?
[02:16] <wallbroken> mpeg, avi, mkv, mp4, mov ?
[02:16] <llogan> i don't know what supports it
[02:17] <wallbroken> i think is a good thing
[02:17] <wallbroken> because re-encoding a video means loss of quality
[02:20] <llogan> in VLC: tools > effects and filters > video effects > geometry. then use transform or rotate
[02:20] <wallbroken> yes i know that
[02:20] <llogan> you asked "how?" earlier
[02:21] <wallbroken> yes, but immediatly then i said "oh no" :)
[02:21] <wallbroken> because i knew what you were talking about
[02:21] <wallbroken> can i set only the orientation tag of videos with ffmpeg?
[02:22] <wallbroken> only that...
[02:22] <wallbroken> no other things
[02:22] <llogan> see the second example i gave you
[02:22] <wallbroken> ffmpeg -i in -metadata:s:v rotate="0,90,180" -c copy out.mov
[02:22] <wallbroken> ?
[02:22] <llogan> that does not make sense
[02:22] <wallbroken> into " " i need to specify the angle?
[02:22] <llogan> yes
[02:23] <wallbroken> why does not make sense?
[02:23] <llogan> you have 3 values in your example
[02:23] <wallbroken> oh yes
[02:23] <wallbroken> it's only to figure out
[02:23] <llogan> ok
[02:23] <wallbroken> one last think i'd like to ask you is:
[02:24] <wallbroken> (maybe is off-topic)
[02:24] <wallbroken> it's about VLC
[02:24] <llogan> if you leave it empty then it removes rotation metadata  completely
[02:24] <wallbroken> sometimes the video i play has a bigger resolution than my display, this means that i lost the bottom-right angle to resize with the mouse
[02:25] <wallbroken> and the only thing i have to do is to close VLC
[02:26] <wallbroken> is there some other thing that i can do to shrink the VLC window size?
[02:26] <llogan> sorry, but i don't really know much about VLC. you'll probably get an answer in their channel.
[02:26] <wallbroken> ok, thank you for your help
[02:26] <llogan> in #videolan
[02:27] <wallbroken> i hope the video i'm re-encoding will be more smaller
[02:27] <wallbroken> it's a 5 min video
[02:27] <wallbroken> and it's 1,2 GB
[02:27] <wallbroken> it's made with an iphone
[02:28] <llogan> see https://trac.ffmpeg.org/wiki/Encode/H.264
[02:28] <wallbroken> maybe reducing the resolution will be 50 - 100 mb?
[02:28] <wallbroken> or is false?
[02:28] <llogan> it depends on many factors. read about the -crf option in that link.
[02:29] <wallbroken> i know that, i already used on virtualdub
[03:45] <FearlessHawk> If compression was used in this example http://www.reddit.com/r/movies/comments/2lectl/the_size_of_our_70mm_imax_copy_of_interstellar/clu69ss what would the resulting size be?
[03:48] <c_14> That depends on the "compression" used.
[03:48] <c_14> And also on the content.
[03:48] <FearlessHawk> c_14: x264, or x265
[03:53] <FearlessHawk> I don't know how he came up with 18000x12500 per frame... Thats 225 megapixels...
[03:53] <c_14> I'm not even sure H.264 groks more than 4k video...
[03:53] <c_14> 4k as in 4096x*
[03:54] <FearlessHawk> There's no way that resolution can be right... I've never heard of a 200+ megapixel sensor
[03:54] <c_14> And I think H.265 only groks 8k
[03:55] <c_14> According to the Levels anyway.
[03:58] <FearlessHawk> Holy cow it is correct... http://www.slashfilm.com/film-interview-imax-executives-talk-the-hunger-games-catching-fire-and-imax-misconceptions/ it really is 18000x12500 per frame
[04:29] <d3m0n> My current video is brg24, I am trying to encode webm. Would there be a color conversion going on? My output keeps changing color.
[04:36] <d3m0n> I used this command but the color still changed:
[04:36] <d3m0n> >ffmpeg -i desktop-src.avi -c:v libvpx -qmin 1 -qmax 51 -b 809600 -s 1980x1080 -aspect 16:9 -pix_fmt bgr24 -c:a libvorbis -threads 12 desktop.webm
[04:36] <d3m0n> Specifically -pix_fmt bgr24
[05:04] <relaxed> d3m0n: I don't think vp8 supports bgr24
[05:09] <d3m0n> fudge
[05:09] <d3m0n> relaxed: What would be your suggestions on getting the closest conversion
[05:25] <relaxed> with webm you want yuv420p
[05:26] <d3m0n> Does it always automatically select that?
[05:26] <d3m0n> Even without -pix_fmt
[05:33] <relaxed> yes
[07:22] <kaotiko> hi
[07:50] <shevy> has anyone encountered .lpd files? supposedly it is a flash format but ffmpeg / ffprobe does not seem to like it:
[07:50] <shevy>   2010.lpd: Invalid data found when processing input
[10:32] <pagioss> anyone familair with nginx rtmp module? uses ffmpeg i think
[10:34] <kippi>  is there away to output the current audio level in real-time?, I have seen volume-detect however that is at the end
[11:58] <ibex1101> Hey I'm trying to start a live desktop stream from an Ubuntu System to a Debian System. The following command is used: ffmpeg -re -f x11grab -r 10 -s 1680x1050 -i :0 -map 0:v -f mpegts -vcodec libx264 -crf 18 -preset:v ultrafast -pix_fmt yuv420p rtp://192.168.100.126 -vcodec h264       and it's giving the error "av_interleaved_write_frame(): Invalid argument". Why this error appears?
[13:46] <ecraven> if I have a single input video stream and want to encode multiple output video streams (for multi-bitrate mp4s, one file with multiple streams, not multiple files), how would I do this?
[13:50] <saste> ecraven, tee muxer
[13:50] <ecraven> saste: thanks
[14:19] <fkoiti> Hi!!
[14:20] <fkoiti> I'm trying to create simple transcoding program using ffmpeg libraries, input(any)=>Output(h264/aac). Unfortunately, I can't call ffmpeg via command line from my program.  Then, I need to use ffmpeg libraries in my code. I compiled this example http://ffmpeg.org/doxygen/trunk/doc_2examples_2transcoding_8c-example.html.But, When try transcode a file, a error occours: "broken ffmpeg default settings detected. Use an encoding preset"
[14:21] <fkoiti> What I should to do?
[14:55] <ecraven> saste: sorry, cannot get this to work.. i have three mp4 files, each containing one video, one audio and two hint data streams. I'd like to mux all of these together into one file (for multi-bitrate-streaming). I've tried ffmpeg -i .. -i ... -i .. -acodec copy -vcodec copy out.mp4, but that only copies one audio and one  video stream :(
[14:56] <klaxa|work> try using -map 0 -map 1 -map 2
[14:56] <klaxa|work> does mp4 support multiple videostreams?
[14:57] <ecraven> klaxa|work: that gives me "data stream encoding not supported yet (only streamcopy)", which is what I want anyway :)
[14:57] <klaxa|work> add -c copy
[14:58] <klaxa|work> and omit -acodec copy and -vcodec copy
[14:58] <ecraven> klaxa|work: now "Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument"
[14:58] <ecraven> but it looks better :)
[14:58] <klaxa|work> can you pastebin your command with complete output?
[14:58] <ecraven> a second
[15:01] <ecraven> http://paste.lisp.org/display/144293
[15:01] <ecraven> the first is from a file I have that has the structure I want to replicate
[15:02] <ecraven> it's for the Helix streaming server -- unfortunately I have no choice on the server to use :(
[15:04] <klaxa|work> hmm... no clue to be honest, my best guess would be that mp4 doesn't support some of the hinthandler streams
[15:04] <ecraven> those were generated by -movflags rtphint in the first place :-/
[15:04] <ecraven> I'll try to generate the hints while muxing, not before
[15:06] <ibex1101> I'm trying the following command: ffmpeg -re -f x11grab -r 10 -s 1680x1050 -i :0 -map 0:v -f mpegts -vcodec libx264 -tune zerolatency -b 900k -crf 18 -preset:v ultrafast -pix_fmt yuv420p udp://192.168.100.127:1234 -vcodec h264 -flags nobuffer        How can I reduce latency on this stream?
[15:07] <ecraven> generating the hints while muxing doesn't work either :-/
[15:08] <ecraven> ah, wrong order of arguments
[15:20] <ecraven> ffmpeg seems to add handler_name metadata, can I somehow prevent that?
[15:25] <klaxa|work> see -map_metadata http://ffmpeg.org/ffmpeg.html
[15:25] <klaxa|work> i think using -map_metadata -0 -map_metadata -1 should do the trick
[15:52] <bencc> I'm trying to capture the screen with audio
[15:52] <bencc> http://dpaste.com/04MZAKK
[15:52] <bencc> getting input/output error for the audio
[15:52] <bencc> how can I find the audio device
[15:53] <klaxa|work> maybe just use -f pulse -i default and use pavucontrol to move it to the monitor
[15:53] <klaxa|work> that's what i do
[15:53] <klaxa|work> and while you're at it, maybe select the monitor as the default recording device
[15:54] <bencc> klaxa|work: could it work without pavucontrol?
[15:54] <bencc> I'm trying to make it as simple as possible
[15:54] <klaxa|work> you can use pacmd list-sinks or something and grep
[15:55] <BtbN> Or just pass the index of your monitor source instead of default
[15:55] <BtbN> Or it's device name, might be a bit more reboot-safe
[15:55] <BtbN> -'
[16:09] <bencc> BtbN: how can I find the index of the monitor source?
[16:10] <BtbN> should be somewhere in pavucontrol
[16:10] <BtbN> or pacmd/pactl
[16:31] <bencc> BtbN: "arecord -l" gives me the device
[16:31] <bencc> and "if alsa -i hw:0,0" capture audio
[16:45] <pinkette> is it true that xvid/divx = h263
[16:46] <kepstin-laptop> xvid/divx are mpeg4 asp, which i think is a superset of h263?
[16:47] <pinkette> sorry what is "superset"
[16:49] <kepstin-laptop> pinkette: anyways, short answer to your question is "no, xvid/divx and h263 are not the same thing".
[16:49] <kepstin-laptop> (but they are similar)
[16:50] <pinkette> is avc = h264 ?
[16:53] <kepstin-laptop> "mpeg4 avc" and "h264" are the same, yes.
[16:53] <pinkette> does ffmpeg support h265
[16:54] <kepstin-laptop> ffmpeg can decode h265 (aka "hevc") natively, and can encode it via x265.
[16:56] <tiago2> Hi. I am trying to output xml data from an rtsp stream. How can I do that with ffmpeg
[16:56] <tiago2> The stream has #1.0 (h264 video) and #1.1 (Data: [0][0][0][0] / 0x0000)
[16:56] <tiago2> I only want the data part
[16:57] <tiago2> Actually, #0.0 and #0.1
[16:58] <c_14> ffmpeg -i rtsp://foobar -codec copy -map 0:0 -f data data1 -map 0:1 -f data data2
[17:07] <tiago> c_14: thanks, but I got "Unable to find a suitable output format for 'copy'"
[17:08] <Kip> is there a way to demux/extract all streams from an mkv (an arbitrarily long # of streams) ?
[17:08] <c_14> tiago: pastebin your complete commandline please
[17:08] <c_14> Kip: demux to separate files?
[17:09] <Kip> c_14, yes
[17:09] <c_14> None I know of.
[17:09] <c_14> Without programmatical help, that is.
[17:09] <tiago> c_14: ffmpeg -rtsp_transport tcp -i "rtsp://10.10.9.168:554?meta=1" -codec copy -map 0:0 -f data data1 -map 0:1 -f data data2
[17:09] <kepstin-laptop> Kip: not automatically; you'd have to e.g. write a script that uses ffprobe to identify streams then ffmpeg to extract them. or just use 'mkvextract' from mkvtoolnix, maybe
[17:09] <tiago> I will pastebin the program output
[17:10] <tiago> c_14: http://pastebin.com/raw.php?i=QET30tb6
[17:11] <kepstin-laptop> hmm, looks like mkvextract doesn't have an 'extract all' mode either, you have to specify which tracks to extract there, too.
[17:11] <c_14> tiago: what shell is this?
[17:12] <c_14> Try replacing the "" with ''
[17:12] <Kip> kepstin-laptop, what would be the ffprobe command?
[17:13] <tiago> c_14: bash
[17:13] <kepstin-laptop> Kip: probably "man ffprobe" ;) - it has a lot of options for output format, etc, so what your command will look like depends on what exactly you're doing. But 'ffprobe filename.mkv' is a good start :)
[17:14] <c_14> tiago: try replacing the double quotes with single quotes
[17:14] <tiago> c_14:  same result
[17:15] <c_14> try: ffmpeg -rtsp_transport tcp -i "rtsp://10.10.9.168:554?meta=1" "" -codec copy -map 0:0 -f data data1 -map 0:1 -f data data2
[17:15] <tiago> Unable to find a suitable output format for ''
[17:16] <c_14> Get rid of the quotes entirely.
[17:16] <c_14> None of those characters should be bash-special
[17:16] <pinkette> is it true that h263 and mpeg4-asp is not same thing?
[17:17] <tiago> c_14:  Now I got "Data stream encoding not supported yet (only streamcopy)"
[17:17] <tiago> got it, added -codec copy before the second map
[17:17] <tiago> thanks!
[17:17] <c_14> I still don't understand what bash was doing there though...
[17:18] <tiago> maybe because it's not gnu bash
[17:18] <tiago> I'm on mac (maybe I should've mentioned it)
[17:18] <c_14> Still, that shouldn't be happening.
[17:18] <kepstin-laptop> c_14: it looks like that command had a set of empty quotes "" which caused an empty argument to be passed to ffmpeg, and ffmpeg treated it as an output filename
[17:18] <c_14> kepstin-laptop: Not that one, http://pastebin.com/raw.php?i=QET30tb6 <- this one
[17:19] <c_14> For whatever reason it decided that -codec was part of the rtsp url...
[17:19] <tiago> yeah, weird
[17:20] <kepstin-laptop> c_14: the space between the end quote and the next argument is a utf-8 encoded non-breaking space instead of an ascii space
[17:20] <kepstin-laptop> I think you can type those accidentally on a mac with a shortcut
[17:20] Action: kepstin-laptop downloaded the pastebin and opened it in a hex editor.
[17:21] <c_14> Oh boy.
[17:21] <c_14> That explains it.
[17:22] <c_14> U+1F4A9
[17:25] <kepstin-laptop> no, it's actually a U+00A0 NO-BREAK SPACE, encoded as 0xC2 0xA0
[17:25] <kepstin-laptop> I think?
[17:25] <kepstin-laptop> yep, that's correct.
[17:26] <c_14> Yes, but U+14A9 is unicode pile of poo.
[17:26] <c_14> *F4
[17:26] <kepstin-laptop> oh, afraid my head is running an older version of unicode which didn't recognize that ;)
[17:27] <blippyp> yup
[17:51] <ecraven> c_14: f4a9 is private use, 14a9 is ©, canadian syllabics y-cree moo
[17:51] <c_14> 1F4A9
[17:51] <ecraven> 1f4a9: 💩 :)
[18:12] <blippyp> *oops chattin' the wrong window - my bad...  haha  ;-P
[18:19] <pagioss> anyone familiar iwth nginx rtmp?
[19:02] <kaotiko> hi
[20:04] <Wireless> Hey. Could somone check if I'm not the only one getting framedrops from this command: http://pastebin.com/DtA3Mxf6
[20:05] <Wireless> I'm trying to do the same in C, and I'm getting the same lagspikes there.
[20:06] <Wireless> It's a twitch.tv stream btw.
[20:21] <edakiri> How do you skip forward a certain number of frames, like -ss does with time?
[20:29] <llogan> edakiri: maybe with something like -vf select="gte'(n,240)'"
[20:29] <llogan> may or may not work
[20:31] <edakiri> llogan: I'm trying to -c copy , so I guess -vf won't work together with that.
[20:31] <edakiri> Can I copy multiple excerpts from the input to the output file?
[20:35] <llogan> you could try to make individual segments and then use the concat demuxer
[00:00] --- Fri Nov  7 2014


More information about the Ffmpeg-devel-irc mailing list