[Ffmpeg-devel-irc] ffmpeg.log.20140621
burek
burek021 at gmail.com
Sun Jun 22 02:05:01 CEST 2014
[00:00] <Serus> er, that's a typo
[00:00] <Serus> that should be -vf
[00:01] <c_14> You can't specify two -vf's on one command line, use one -vf and separate filters with commas
[00:01] <c_14> Also, what you're doing won't create webvtt subtitles.
[00:01] <c_14> It'll hardcode them.
[00:01] <c_14> ffmpeg has a webvtt encoder in current git head.
[00:02] <c_14> If that's what you're after.
[00:05] <Serus> is there a binary available?
[00:05] <Serus> (for windows)
[00:05] <c_14> http://ffmpeg.zeranoe.com/builds/
[00:07] <c_14> Also, if the subtitles are already in the WebVTT format (which they might be judging from the .vtt ending) you could probably get away with another input option with -i daishuki.vtt and -c:s copy
[00:08] <Serus> do I have to retime them?
[00:08] <Serus> since they aren't showing up for me in MPC
[00:09] <c_14> Depends, what's your current commandline?
[00:10] <c_14> Also, if the subtitle file has the same subs (just in a different format) as what's in the mkv with git ffmpeg you can just use -ss (seek-time) -i input.mkv -t (duration) [codec options] out.webm
[00:10] <c_14> That's what I usually do.
[00:10] <Serus> I basically use the same command line as on the pastebin
[00:11] <Serus> I just use -c:s webvtt now
[00:11] <Serus> and not -sn
[00:12] <c_14> Did you get rid of the -vf subtitles filter?
[00:12] <Serus> yes
[00:12] <c_14> That should work, does mpc have a vtt demuxer?
[00:13] <Serus> honestly, I don't knwo
[00:13] <Serus> know*
[00:13] <Serus> but firefox claims the file is corrupt
[00:15] <c_14> Can I pm you a link of a file I have with working vtt subtitles so you can test using that? It's 2.4MiB
[00:15] <c_14> Firefox does claim that it's corrupt as well though.
[00:15] <c_14> That way you'll know if mpc supports it.
[00:15] <c_14> So I can eliminate that possibility.
[00:16] <Serus> sure
[00:18] <c_14> I can't seem to find any information anywhere on whether firefox is supposed to be able to support vtt subtitles.
[00:20] <Serus> ah, no subtitles either with this one
[00:20] <Serus> Can I burn them in via ffmpeg?
[00:21] <c_14> ye, just use the subtitles filter and pass it the mkv as an argument
[00:22] <Serus> and will it burn them in so my browser can work with it?
[00:22] <c_14> Yep, they'll become part of the video stream.
[00:22] <c_14> I can give you another link of when I did that.
[00:23] <c_14> That one should work in firefox.
[00:23] <c_14> Does in mine anyway.
[00:24] <Serus> [Parsed_subtitles_1 @ 0000000002b7fe40] No filename provided!
[00:24] <Serus> [AVFilterGraph @ 0000000002b79fc0] Error initializing filter 'subtitles' with args ''
[00:24] <Serus> Error opening filters!
[00:24] <c_14> That looks like you might have an escaping error somewhere.
[00:24] <Serus> ok that video works fine
[00:25] <Serus> I use "" to avoid escaping
[00:25] <Serus> -vf scale=640:-1,subtitles="[Vivid-Taku] Gochuumon wa Usagi Desu ka - 05 [2C623D33].mkv"
[00:25] <Serus> that should be correct right?
[00:26] <c_14> looks ok
[00:26] <c_14> try enclosing everything from scale to after the last " in single quotes.
[00:26] <c_14> ie: -vf 'scale=..."'
[00:26] <Serus> ah ok
[00:27] <c_14> I usually need 2 layers of escaping with filterchains
[00:27] <Serus> ok then I get a no such filter error
[00:28] <c_14> no such filter subtitles or no such filter scale?
[00:28] <Serus> No such filter: 'scale=640:-1'
[00:28] <Serus> or should it be 'scale'=640:-1?
[00:29] <c_14> it should be 'scale=640:-1,subtitles="file.mkv"'
[00:29] <c_14> If that fails, switch the double quotes with the single quotes.
[00:29] <c_14> ie: "scale=640:-1,subtitles='file.mkv'"
[00:29] <Serus> ok
[00:30] <Serus> Stream #0:2 -> #0:2 (ssa (native) -> webvtt (native))
[00:30] <Serus> That isn't correct right?
[00:31] <c_14> looks fine, why?
[00:31] <Serus> it's still transforming it into webvtt
[00:31] <c_14> oh,
[00:31] <c_14> add -sn
[00:31] <Serus> instead of burning the subs into the video
[00:31] <c_14> It's doing both
[00:31] <Serus> ah ok
[00:31] <Serus> looks to be working now
[00:32] <Serus> it works!
[00:32] <Serus> thanks bro
[00:32] <c_14> no problem
[00:42] <Serus> does the shared version include headers?
[00:42] <Serus> or do I need the dev version for that?
[00:43] <c_14> I'm guessing dev.
[00:43] <Serus> oh god, I'm looking on that website
[00:43] <Serus> and the amount of dependencies
[00:44] <Serus> I imagine this stuff is a hell to build
[00:44] <Serus> especially on windows!
[00:44] <c_14> It depends largely on how many external libraries you decide to activate.
[00:44] <Serus> ah true
[00:45] <Serus> well, then again
[00:45] <Serus> who uses libffmpeg in games? :P
[13:53] <galex-713> How to know the duration of an audio file, but just that (without having to extract it, I just want to test in a shellscript if its long enough)?
[20:37] <pixaal> greetings sirs! I'd like to know how to convert a video to an image sequence of uncompressed pngs or tgas
[20:38] <pixaal> 'ffmpeg -i vid.avi frame%04d.png' works fine, but the pngs are compressed
[20:42] <pixaal> suppose i could use imagemagick afterwards...
[21:14] <cuba> hi, anyone using zeronoe ffmpeg dev/shared?
[21:15] <cuba> i get an ordinal error when using the dll from the shared when compiling with the -dev zeronoe package
[21:15] <cuba> both are the same version
[23:41] <elec29a> hi hi could someone help me to compile ffmpeg on windows cygwin for android ?
[23:41] <elec29a> i get arm-linux-androideabi-gcc.exe: error: missing argument to '-mcpu='
[23:42] <sfan5> are you using --enable-crosscompile ?
[23:42] <elec29a> yes i am using script from http://roman10.net/src/build_android_r5b.txt
[23:47] <sfan5> elec29a: try replacing line 3638 with "cpuflags=" (without quotes)
[23:47] <sfan5> of configure
[23:49] <elec29a> 3638 is original ? disabled fast_unaligned || enable fast_unaligned
[23:51] <sfan5> hm..
[23:52] <sfan5> elec29a: the line before "elif enabled avr32; then"
[23:52] <elec29a> yes
[23:56] <sfan5> if that doesn't work ask other people, I'm off now~
[23:56] <elec29a> thx bb
[00:00] --- Sun Jun 22 2014
More information about the Ffmpeg-devel-irc
mailing list