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

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


[00:04] <cbsrobot> sirEgghead: read line 4 of http://pastebin.com/wRTEfXU3
[00:06] <sirEgghead> cbsrobot, lol that works.  I actually found my old notes for compiling it as well.  :)
[00:07] <cbsrobot> sirEgghead: I think you can drop --enable-avfilter
[00:08] <cbsrobot> and ofc you can also follow: http://ffmpeg.org/trac/ffmpeg/wiki/CentosCompilationGuide
[00:20] <Eduard_Munteanu> Is there a way to concat arbitrarily different files?
[00:21] <Eduard_Munteanu> I want to build a larger video from smaller parts, possibly using different formats, codecs etc
[00:26] <llogan> Eduard_Munteanu: you can try the concat filter. you will have to make them have a uniform screen size, frame rate, etc which can be done in the filterchain with scale and fps filters
[00:26] <llogan> http://ffmpeg.org/ffmpeg-filters.html#concat
[00:27] <Eduard_Munteanu> llogan: yeah, I can do that, but IIRC it doesn't support different video lengths nicely
[00:28] <Eduard_Munteanu> Unless I'm misinterpreting this: "The concat filter will use the duration of the longest stream in each segment (except the last one), and if necessary pad shorter audio streams with silence."
[00:28] <Eduard_Munteanu> llogan: I haven't tried it yet, seeing that warning
[00:42] <Nothing4You> hey there, can someone explain to me the difference of using e.g. --enable-libxvid vs using the native encoder?
[00:44] <JEEB> the native one can possibly be better
[00:45] <JEEB> but the documentation on it is scarce
[00:45] <JEEB> and the defaults are pre-2012 ffmpeg
[00:45] <JEEB> aka crappy
[00:45] <JEEB> libxvid is simpler to use
[00:45] <JEEB> but possibly cannot get to as good results even after tweaking things up to eleven
[00:45] <JEEB> people usually use libxvid because of the simplicity
[00:46] <Nothing4You> ok, thanks for the info
[01:18] <cadabra> I'm trying to run `ffmpeg -i foo.mp4 -vf scale=... out.xxx` and failing because it can't determine the format for xxx. Can I tell ffmpeg to use the input format for output without changing the extension?
[01:20] <relaxed> cadabra: -f $format_name
[01:20] <relaxed> what format do you want?
[01:20] <cadabra> The same as the input, whatever it is.
[01:21] <cadabra> Currently trying to find a way to print just the input format in a way in which -c:v will accept.
[01:21] <cadabra> I'm a little confused about the streams though. My file has video and audio. Cool. Are there files with more streams than these two? Do I have to specify formats per stream?
[01:24] <cadabra> I guess I can grep and sed through `ffmpeg -i foo.mp4` to get the input format. Just wondering if there's a straight-forward way to say "use the input format for all streams" without having to cobble something like this together...
[04:17] <Fusl> hey guys... is there someone who can explain me how to tell ffmpeg to write audio headers once per output-flush to stdout for a stream? for example: i use the following command to convert a mp3 file to codec vorbis and format ogg: /usr/bin/ffmpeg -loglevel quiet -re -i pipe:0 -ab 175k -ac 2 -acodec vorbis -ar 44100 -flags2 local_header -preset ultrafast -strict -2 -f ogg pipe:1 ... but when i skip the header or seek to x bytes in the file
[07:20] <Sweetie43> hi
[07:21] <Sweetie43> i am using ffmpeg to transcode an udp stream but when the stream is not ready ffmpeg doesn't display any error, ffmpeg seems to never end, and i can't even even end it with the q like i usually do
[07:22] <Sweetie43> and when the stream is available again ffmpeg is still working
[07:23] <Sweetie43> is it possible to make ffmpeg ends when it can't get the connection ? and why when it's waiting for it i can't stop it with q
[07:23] <Sweetie43> any idea ?
[10:50] <SirCmpwn> is it possible to set a target bitrate for specific parts of a file?
[10:51] <SirCmpwn> so I could, say, have minutes 1 to 3 by one bitrate, and 3 to 5 be another
[10:51] <SirCmpwn> AVC/AAC
[11:01] <Mavrik> nope
[11:02] <Mavrik> depending on what your goal is, CRF mode for x264 can be an approximation of it
[11:03] <SirCmpwn> the goal is to get better results by manually tailoring the bitrate to achieve a good quality at the lowest possible bitrate in different parts of a video
[11:04] <Mavrik> I very much doubt you can do that on a whim
[11:04] <Mavrik> without rewriting encoders themselves
[11:05] <SirCmpwn> I wonder if I could work with raw streams (outside of a container)
[11:05] <SirCmpwn> make seperate ones for each segment of video that should have a different bitrate
[11:05] <SirCmpwn> and concatenate them with some more magic
[11:06] <relaxed> probably could, but would the trouble be worth the gain?
[11:06] <SirCmpwn> dunno
[11:06] <SirCmpwn> I'm curious to see how effective it'd be
[11:06] <Mavrik> SirCmpwn, well stream quality segmenters for streaming servers do that already
[11:06] <Mavrik> but... honestly... it's pointless
[11:07] <Mavrik> the gains aren't really worth the trouble
[11:07] <SirCmpwn> not much to be gained?
[11:07] <SirCmpwn> alright, I'll take your word for it
[11:07] <Mavrik> if you don't have "hard" bitrate target use CRF mode in x264
[11:07] <Mavrik> which will vary bitrate according to complexity of the stream and desired quality
[11:07] <SirCmpwn> will do
[11:07] <Mavrik> SirCmpwn, otherwise, check how streaming servers do bitrate switching
[11:12] <JEEB> SirCmpwn, you can use zones with x264opts I think? But yes, I recommend using CRF in that case (you can set a CRF value per zone)
[11:12] <SirCmpwn> thanks, JEEB
[11:29] <MrPingouin> hello, does anyone know how to display only integer values when using "expr" ?
[11:49] <SirCmpwn> is there any way to simplify what ffmpeg outputs to stdout to make it a little more machine readable?
[11:52] <MrPingouin> you want to parse the output ?
[11:53] <SirCmpwn> yes
[11:54] <MrPingouin> that's a good question, what kind of tokens do you want to retrieve ?
[11:56] <SirCmpwn> stream info
[11:56] <SirCmpwn> I'll be running videos through ffmpeg anyway
[11:56] <SirCmpwn> and I want to parse the output to learn what streams are there
[12:18] <Skannan> Hi, I'm receiving the below error during the script installation
[12:18] <Skannan> Installation of mplayer.tar.gz ....... Completed
[12:18] <Skannan> Installation of FFMPEG ....... started
[12:18] <Skannan> Removing old source
[12:18] <Skannan> Cloning into ffmpeg...
[12:18] <Skannan> remote: Counting objects: 336283, done.
[12:18] <Skannan> remote: Compressing objects: 100% (76395/76395), done.
[12:18] <Skannan> remote: Total 336283 (delta 267069), reused 327256 (delta 259365)
[12:18] <Skannan> Receiving objects: 100% (336283/336283), 81.47 MiB | 3.86 MiB/s, done.
[12:18] <Skannan> Resolving deltas: 100% (267069/267069), done.
[12:18] <Skannan> ERROR: libx264 not found
[12:18] <Skannan> If you think configure made a mistake, make sure you are using the latest
[12:18] <Skannan> version from Git.  If the latest version fails, report the problem to the
[12:18] <Skannan> ffmpeg-user at ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
[12:18] <Skannan> Include the log file "config.log" produced by configure as this will help
[12:18] <Skannan> solving the problem.
[12:18] <Skannan> plz help
[12:18] <moodytabooty> Hello
[12:18] <Skannan> Hi
[12:19] <SirCmpwn> Skannan: did you, umm, install libx264
[12:19] <moodytabooty> All I want to do is change my 720p animu to 480p
[12:19] <moodytabooty> I want to be able to run a command like: # ffmpeg -i input.mkv -s 848x480 output.mkv
[12:19] <SirCmpwn> moodytabooty: you want -vf "scale=w:h"
[12:19] <moodytabooty> This used to work, but I accidentally uninstalled ffmpeg last week and had to reinstall it from source
[12:20] <moodytabooty> Okay, I'll try that
[12:20] <Skannan> SirCmpwn: libx264 was ont installed. Do i need to install libx264?
[12:20] <moodytabooty> When I run it with no other flags, the output is all pixely and stuff, and when I do something like -codec copy the filsize is INSANELY huge like bigger than the input file
[12:20] <SirCmpwn> Skannan: you do indeed need to install libx264, or remove it from your ./configure invocation
[12:21] <SirCmpwn> Skannan: it's an important codec, though, you probably want it
[12:21] <SirCmpwn> moodytabooty: you want to research bitrates
[12:21] <SirCmpwn> moodytabooty: google "ffmpeg bitrate" and look around
[12:22] <moodytabooty> yeah i noticed the bitrates were really small
[12:22] <SirCmpwn> lower bitrate -> smaller file
[12:22] <moodytabooty> on my old transcodes the bitrate seemed to just carry over from the input file
[12:22] <moodytabooty> now its not doing that
[12:22] <moodytabooty> or maybe it didnt carry over but it was at least "smart" and kept it as something that looks good
[12:23] <SirCmpwn> well, -codec copy is probably a bad idea
[12:23] <moodytabooty> why's that?
[12:23] <SirCmpwn> I'd probably go as far as to call it a bad idea all the time unless you know for sure why you need it
[12:24] <SirCmpwn> it's not doing what you think it's doing
[12:24] <Skannan>  SirCmpwn: Ok I will install  libx264 and then retry by installing the ffmpeg script again
[12:24] <SirCmpwn> Skannan: which flavor of linux are you using?
[12:24] <moodytabooty> well, basically i dont want to touch anything but the resolution
[12:24] <SirCmpwn> moodytabooty: you still have to re-encode it when you change the res
[12:24] <Skannan>  SirCmpwn: Red Hat Enterprise Linux Server release 5.9 (Tikanga)
[12:25] <SirCmpwn> Skannan: alright
[12:25] <SirCmpwn> why did I start answering questions
[12:25] <moodytabooty> but i noticed even when i ran # ffmpeg -i input.mkv anything.mkv it looked like crap
[12:25] <SirCmpwn> I need to sleep
[12:25] <SirCmpwn> moodytabooty: research bitrates
[12:25] <SirCmpwn> good luck both of you, and good night
[12:26] <moodytabooty> goodnight
[12:26] <Skannan> SirCmpwn:  I've installed libx264 so I will start installing the ffmpeg installation  script again
[12:36] <moodytabooty> ugh
[12:36] <moodytabooty> i dont get why something that used to work would stop working or suddenly need a million commands just because i reinstalled it
[13:09] <jita> I want to pipe the output of ffmpeg to some application. But the issue i am having that the encoding is not being accepted. I am using vcodec as libx264 and -f (format) as MP4. The produced output does not play.
[13:09] <jita> Any ideas ?
[13:12] <jita> Currently using this command "ffmpeg -i - -acodec aac -strict -2 -ab 128k -vcodec libx264 -f mp4 -profile:v baseline -
[13:13] <ubitux> mp4 in a pipe is a very bad idea
[13:14] <ubitux> because it will compute the header at the end
[13:14] <ubitux> and a seekable output is recommended
[13:16] <jita> ubitux: what could i possibly use? I want to make the output video compatible with html5 video players which support x264 with mpeg4 container
[13:17] <ubitux> what's the point of sending it to another app if you use ffmpeg for the whole encoding/muxing chain?
[13:18] <jita> ubitux: I am using it from python api, I want to convert the video file and store it on amazon S3 server as django filefield
[13:18] <moodytabooty> ubitux: how do i change the resolution of a video file?
[13:18] <sacarasc> moodytabooty: -vf scale=w:h
[13:19] <ubitux> jita: dunno, you could mux to a segmented format such as hls and upload per chunk
[13:19] <ubitux> or push raw data and mux it on amazon server
[13:25] <moodytabooty> doesnt work
[13:25] <moodytabooty> it changes the resolution but it makes the video all pixelated and low quality
[13:25] <jita> ubitux: is there anything wrong in this log?
[13:26] <jita> https://dpaste.de/aBbD
[13:26] <moodytabooty> it used to work though which is what confuses me
[13:26] <moodytabooty> then i reinstalled ffmpeg and everythings troublesome
[13:26] <moodytabooty> before the command: ffmpeg -i example.mkv -s wxh output.mkv was all i needed
[13:26] <ubitux> jita: yes, it's old, and missing the cmd line used
[13:27] <jita> ubitux: I used the same command ffmpeg -i - -acodec aac -strict -2 -ab 128k -vcodec libx264 -f mp4 -profile:v baseline - from python api
[13:28] <ubitux> and so what's the problem with it?
[13:29] <jita> $ file VID_20131121_225533_3.mp4
[13:29] <jita> VID_20131121_225533_3.mp4: data
[13:29] <moodytabooty> ugh
[13:29] <moodytabooty> so frustrated
[13:29] <jita> it does not recognise the file and cannot play it
[13:29] <jita> although the file is not empty
[13:31] <jita> ubitux: I am sorry that output was with -f matroska with -f mp4 I get this https://dpaste.de/tgJ7
[13:33] <sacarasc> moodytabooty: What you probably want is: ffmpeg -i input.mkv -c:a copy -c:s copy -c:v libx264 -preset:v veryslow -crf 20 output.mkv
[13:34] <sacarasc> moodytabooty: Sorry... ffmpeg -i input.mkv -c:a copy -c:s copy -vf scale=-1:480 -c:v libx264 -preset:v veryslow -crf 20 output.mkv
[13:35] <ubitux> sacarasc: -map 0 -c copy -c:v libx264 probably
[13:35] <ubitux> jita: can it be played with ffplay?
[13:35] <ubitux> jita: also, "[mp4 @ 0x7fb9bc005400] muxer does not support non seekable output"
[13:36] <ubitux> you can't use the mp4 muxer in a pipe
[13:36] <jita> ubitux: which one should i use then ?
[13:36] <ubitux> i told you
[13:40] <jita> ubitux: should I change vcodec too ?
[13:41] <ubitux> i don't know what you solution you choosed
[14:17] <tiksa> hi guys, I'd like to use concat filter to concat a video and an image. In video + video case, the way to do is like: [v1][a1][v2][a2]concat=n=2:v=1:a=1[out1][out2]. but I put video+audio like this: [v1][a1][i1]concat=n=2:v=1:a=1[out1][out2], doesn't work :(
[14:18] <tiksa> is there a way, for example, to add a "null" audio stream for image?
[15:51] <NewFfmpegUser> Hi. Frames of a video file can be indexed. Can I extract a frame from a video file by giving a frame index to ffmpeg?
[15:51] <NewFfmpegUser> A quick Google search produced examples in which extracting is done by giving a time offset as input. However, I would like to give a frame index
[15:57] <saste> NewFfmpegUser, no way, but you can preprocess the file and get the key-frames -> time map
[16:02] <NewFfmpegUser> saste: True. Somehow I just hoped that ffmpeg would be more convenient in terms of accepting input parameters
[16:05] <NewFfmpegUser> saste: Have you any tips how to read the framerate from a video file with ffmpeg? I can read the frame count with the help of this (http://stackoverflow.com/questions/2017843/fetch-frame-count-with-ffmpeg)
[16:21] <chakie_laptop> hi, i'm trying to get ffmpeg to do some rtp-streaming between two systems on a LAN. Nothing seems to get streamed to the network.
[16:22] <chakie_laptop> this is a complete run: http://pastebin.com/nE1BxRFy
[16:22] <chakie_laptop> the commandline is: ./ffmpeg -rtbufsize 100M  -f dshow  -an -i video="VF0520 Live! Cam Sync"  -vcodec libx264 -preset fast -tune zerolatency -f rtp rtp://192.168.1.12:2000
[16:23] <chakie_laptop> i'd tried a lot of options and most of those have been added one at at time to see if there was any difference
[16:23] <chakie_laptop> a similar command line can stream perfectly from another system A (windows 7 too) and is received fine on B, but B can not stream to A
[16:24] <chakie_laptop> the CPU is more or less idle when ffmpeg runs (1-2% load it seems), all firewalls are closed, the hosts see each other etc
[16:25] <chakie_laptop> when starting the stream i see the normal "statistics" tick for a second or two, up to perhaps 40-50 frames, then it all freezes and the "frame dropped!" messages start. after they start, nothing more happens
[16:27] <chakie_laptop> i have a hard time seeing how 40-50 vga sized images can overflow anything (the -s 640x480) parameter seems to be missing from that particular commandline
[16:52] <chakie_laptop> hm, ok, there is probably a better forum somewhere
[17:49] <chakie_laptop> tachyean: not really
[17:52] <jita> Is there a way to use output pipe format which is comatabile with HTML5 player? mp4 does not work for output pipe as it errors out
[17:52] <jita> cant use mpeg-ts it is not detected in html5 player
[17:52] <jita> neither flash player
[20:02] <lroe> can someone help me figure out why this isn't working: http://paste.debian.net/hidden/7710f2f6/
[20:03] <klaxa> use -f image2 before -i core.png.*
[20:03] <klaxa> also avconv support is in #libav
[20:03] <lroe> ah, sorry, when I run ffmpeg on the cli it says that it is deprecated for avconv so I assumed...
[20:04] <klaxa> bad wording by some package maintainers apparently
[20:23] <fonso> Hey, I've been there yesterday, asking for a Amazon AWS tutorial and I followed the tutorial and it is Ok, but now if I run the command "ffmpeg -version" it only run as root, did it isn't necessary to run as other users? If I use me own user it don't recognize the command, only root. Also, where is ffmpeg localizated? Sorry for the poor english :-) Have a nice weekend!
[20:27] <llogan> fonso_: where is the ffmpeg binary?
[20:28] <fonso_> llogan: In Ubuntu is /usr/local/bin/ffmpeg , But CentOS (Amazon AWS) the /usr/local/bin is empty
[20:28] <llogan> did you follow a guide to compile and install it?
[20:29] <fonso_> yeap, as they suggested me, and it is OK
[20:29] <llogan> which guide?
[20:29] <fonso_> Here : http://ffmpeg.org/trac/ffmpeg/wiki/CentosCompilationGuide
[20:29] <llogan> that will "install" ffmpeg in the home directory of the user (specifically ~/bin).
[20:30] <fonso_> yes it is there
[20:30] <llogan> the advantage is that it does not interfere with the package management system or any programs that depend on a "ffmpeg" from the repositories (more of an issue for ubuntu)
[20:31] <fonso_> but how another user will see it ?
[20:31] <llogan> and you do not need super user or root to compile (only to get some dependencies)
[20:31] <llogan> but other users can't use it unless you move or install binary or update the $PATH
[20:32] <fonso_> so I must update the $PATH ?
[20:32] <llogan> that's one method
[20:32] <fonso_> I can even remember how to do this
[20:32] <fonso_> by the way, the $PATH of the current user so must be modified?
[20:33] <fonso_> cause if I go to /root/bin it shows me permission denied
[20:33] <llogan> you could do that. probably easiest is to copy the binary to somewhere in the $PATH of all users and see what happens
[20:34] <fonso_> just copy from /root/bin/* to an $PATH dir maybe solves my problem??
[20:34] <llogan> i guess so
[20:34] <fonso_> thanks, I will try it
[20:34] <fonso_> =0)
[20:34] <tachyean> helo
[20:35] <fonso_> hello
[20:35] <tachyean> i'm trying to pipe a rtmp live stream comming from a AMS server trough rtmpdump to ffmpeg, if the stream starts broadcasting after the rtmpdum starts listenning ffmpeg is working as it should ... but if the stream is already started when i'm running the pipe it's like ffmpeg doesn't recognize the header of the video
[20:35] <tachyean> hello*
[20:35] <tachyean> :)
[20:35] <tachyean> any ideea on why that happends?
[20:35] <llogan> why not use ffmpeg? it supports rtmp input protocol
[20:36] <tachyean> i tryed at first, doesn't work on AMS
[20:36] <tachyean> this is the only way i got it working
[20:37] <tachyean> rtmpdump -> pipe -> ffmpeg
[20:37] <llogan> the actual ffmpeg command and complete console output is always more useful that "doesn't work".
[20:38] <llogan> which is the most common "error" in human history
[20:38] <tachyean> is there a way to force the header information into the input file?
[20:38] <tachyean> i see
[20:38] <tachyean> 1 min
[20:42] <tachyean> http://pastebin.com/dHADZ8jz
[20:43] <tachyean> i`ve used pastebin
[20:43] <tachyean> oO
[20:43] <tachyean> there is no code pasted in channel
[20:45] <tachyean> ffmpeg rtmp rip is working if i try to stream it from nginx but not from AMS
[20:45] <tachyean> i'm prety sure it has something to do with the header of the video file
[20:46] <llogan> you used pastebin, you included a partial command, and you did not include any of the console output.
[20:47] <llogan> ah, mayne that was your complete command? looks weird with the odd option placement
[20:47] <tachyean> that was the complete command
[20:48] <tachyean> i cannot paste the console output now, i'm not at work anymore :/ and have no access to that stream ...
[20:50] <tachyean> i'll try again some other day maybee
[20:51] <tachyean> with the console paste ...
[20:52] <tachyean> there is no way tho to overwrite the header of a input file on the fly?
[21:04] <cadabra> I'm trying to create a really low quality version of a file, for proxy editing purposes. I'm passing "-vf scale=iw/4:-1 -q:v 31 -q:a 31". I'd like to also halve the framerate without changing the timing, but -r won't accept "ir/2". Any suggestions? Any other simple options I could be passing to further minimize the output file?
[21:13] <sirEgghead> I have some mkv files that contain subtitle tracks.  I'm trying to get them overlayed onto the main video track when I transcode the video, but it is not working.  I followed the directions at https://trac.ffmpeg.org/wiki/How%20to%20burn%20subtitles%20into%20the%20video to no avail.  Here is an example of my command and output. http://pastebin.com/7XQL5VCk The video converts just fine, but there are no subtitles displayed.  Obviously the subtitle tr
[21:13] <sirEgghead> ack is no longer in the container as well.
[21:15] <sirEgghead> llogan, I did.  The link is in my message.
[21:15] <llogan> and the COMPLETE console output
[21:15] <cadabra> llogan: http://pastebin.com/QTr0de75
[21:15] <sirEgghead> The COMPLETE output is about 500 lines that say "sub2video: non-bitmap subtitlee=  226842kB time=00:24:39.05 bitrate=1256.4kbits/s dup=0 drop=247" over and over again.  That is the only thing missing from my output that I pasted.
[21:17] <sirEgghead> llogan, my terminal buffer doesn't go back far enough to show all of them anyway.  But there are 3 lines shown on the output anyway.
[21:18] <llogan> sirEgghead: where is the version and configure info? where is the info on the input streams? you can, of course, omit the repeating lines.
[21:18] <sirEgghead> llogan, one sec and I will get you the configure info.
[21:19] <sirEgghead> llogan, I reran the command and cancelled it as it began so that you may see the initial information.  http://pastebin.com/cfkkZpVb
[21:20] <llogan> cadabra: libvo_aacenc is worse than the native encoder (and libvo_aacenc ignores -q:a anyway). -f mp4 is superfluous.
[21:21] <cadabra> llogan: if I leave out -f mp4, I get "Unable to find a suitable output format for 'GOPR0164.LRV'". It doesn't like the LRV extension. What I really want is "use same encoding as input file"
[21:21] <llogan> ah, i didn't see "lrv".
[21:22] <vlt> Hello. How do I take the video of one file and the audio of another (video) file (both .mp4 container) and mux them together in copy-only mode?
[21:23] <llogan> vlt: ffmpeg -i video.mp4 -i audio.mp4 -map 0:v:0 -map 1:a:0 -codec copy out.mp4
[21:23] <cadabra> Should I pass something other than -f mp4 to switch away from libvo_aacenc?
[21:24] <llogan> vlt: also see http://ffmpeg.org/ffmpeg.html#Stream-specifiers-1 http://ffmpeg.org/ffmpeg.html#Stream-copy http://ffmpeg.org/ffmpeg.html#Advanced-options
[21:24] <cadabra> I don't think I need -pix_fmt yuv420p, because looking at the camera's original lrv files, they're all yuvj420p anyway
[21:24] <llogan> cadabra: you can leave -f mp4. you can try -codec:a aac -strict experimental, but i'm unsure of the -q:a ranges and i doubt it will help that much
[21:25] <cadabra> Alright
[21:26] <llogan> there is also the fps filter but it does not have "ir" type options: http://ffmpeg.org/ffmpeg-filters.html#fps-1
[21:26] <sirEgghead> llogan, here is a paste that is a little bit better.  I hit q once the process started and let it cancel.  I hope this has all of the information that you need. http://pastebin.com/ne58Bb3U
[21:27] <cadabra> llogan: should I grep and sed the input frame rate out of "ffmpeg -i" to divide it and pass it to -r? Or is that going to get me into some other kind of trouble?
[21:28] <cadabra> And what's the difference between -r and the fps filter?
[21:28] <cadabra> Other than the additional options
[21:28] <llogan> i'm not sure...for any of those questions
[21:41] <sirEgghead> I have some mkv files that contain subtitle tracks.  I'm trying to get them overlayed onto the main video track when I transcode the video, but it is not working.  I followed the directions at https://trac.ffmpeg.org/wiki/How%20to%20burn%20subtitles%20into%20the%20video to no avail.  Here is an example of my command and output. http://pastebin.com/ne58Bb3U The video converts just fine, but there are no subtitles displayed.  Obviously the subtitle tr
[21:41] <sirEgghead> ack is no longer in the container as well.  Please note that my paste contains output from a command that was started and cancelled so that I could gather the information of my ffmpeg compilation and the media in question and eliminate the unecessary repeating lines.  :)
[21:56] <cbsrobot> sirEgghead: I guess you need to compile with libfreetype
[21:56] <sirEgghead> cbsrobot, ah.  Thank you very much.  Let me recompile and I will get back to you with the results.
[21:57] <cbsrobot> sirEgghead: see http://ffmpeg.org/trac/ffmpeg/wiki/CentosCompilationGuide
[21:57] <sirEgghead> cbsrobot, Thanks.  :)
[21:58] <cbsrobot> and while you're at it add libfdk_aac
[21:58] <sirEgghead> cbsrobot, alrighty.
[21:58] <beastd> I guess there is more to it. The subtitles are not picture subtitles. That means you should compile with libass
[22:00] <sirEgghead> beastd, will do.
[22:03] <beastd> sirEgghead: when you have build with those deps. you need to do it this I think: first extract the subtitles with sth like "ffmpeg -i IN.mkv SUBS.srt" then in a second step like described first in the wiki "ffmpeg -i IN.mkg  -vf subtitles=SUBS.srt OUT.avi"
[22:05] <sirEgghead> beastd, I will try it all out and let everyone know of my results once I am finished.  I am installing prereqs at the moment and will recompiled and run another test transcode.  I appreciate everyone's input thus far :)
[22:26] <vlt> llogan: Thank you.
[22:26] <vlt> llogan: Problem: I get an audio only result.
[22:27] <vlt> My input #0 has an h264 stream "#0.0", input #1 "#1.0" and "#1.1".
[22:29] <vlt> The command you gave says it maps #0:0 -> #0:0 (copy)  and  #1:1 -> #0:1 (copy)
[22:30] <vlt> But tells me "video:0kB audio:2423kB global headers:0kB muxing overhead 1.465455%" in the stats while the result has only a #0.0 audio stream.
[22:30] <vlt> Any idea?
[00:00] --- Sat Nov 23 2013


More information about the Ffmpeg-devel-irc mailing list