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

burek burek021 at gmail.com
Sun Jun 16 02:05:01 CEST 2013


[04:40] <SirCmpwn> what's the most verbose output I could get when asking for information on a video file
[04:40] <SirCmpwn> ffmpeg -i?
[04:41] <sacarasc> mediainfo gives quite a lot.
[04:42] <SirCmpwn> indeed it does
[04:42] <SirCmpwn> thanks
[05:49] <vulture> is there a way to specify a maximum amount of data to scan through on avformat_open_input() ? I'm streaming data in and it seems to want many megabytes, which I dont have yet, then it subsequently fails and I guess maybe my formatcontext infinite fails after that?
[05:50] <skifreak> is there a nice way for me to pick up my encode where ffmpeg left off? I seemed to have ran out of space on hdd 30s ago and it would be really nice not to lose the past 6 days of encoding on 7 concurrent processes
[15:03] <natrixnatrix89> Hi guys.. I followed this guide: http://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide
[15:03] <natrixnatrix89> But when I run ffmpeg, I get a message that it isn't installed.. and that I can install it from apt-get.. Is it because "make install" was without "sudo"
[15:03] <natrixnatrix89> basically I don't want the version in the repository, but my own compiled version..
[15:32] <Macey> Hi All, i'm having some issues with filters
[15:32] <Macey> Impossible to convert between the formats supported by the filter 'Parsed_movie_0' and the filter 'auto-inserted scale 0'
[15:33] <Macey> -vf "movie=ccglogo.png [watermark]; [in][watermark] overlay=10:10 [out]"
[15:34] <Macey> full cl is "-acodec mp2 -b:a 128k -vcodec mpeg4 -b:v 3500k -r 25 -s 1024x768 -aspect 16:9 -flags +aic+mv4 -vf "drawtext=fontfile='C\:\\Windows\\Fonts\\arial.ttf': timecode='10\:00\:00\:00': r=25: x=(w-tw)/2: y=h-(2*lh): fontcolor=white: fontsize=72 : box=1: boxcolor=0x00000000 at 1" -vf "movie=ccglogo.png [watermark]; [in][watermark] overlay=10:10 [out]"
[15:34] <Macey> burning the timecode in works
[15:34] <Macey> as does the transcode
[15:34] <contrapunctus> Hey folks. ffmpeg newb here, need to resize a video on an external read-only hard drive. It refuses to see it, although VLC can play it - could this be because it has a = sign in the file name? Please help asap.
[15:37] <elkng> how do "-vo null" and "-vc null" differ ? they both disable video
[15:37] <elkng> which one is prefferable ?
[15:39] <ubitux> natrixnatrix89: make sure $HOME/bin is in your $PATH
[15:39] <ubitux> Macey: then what doesn't?
[15:40] <natrixnatrix89> ubitux, what do you mean?
[15:40] <ubitux> elkng: sounds like a mplayer question
[15:40] <Macey> ubitux, the watermark never happens and errors without doing the transcode
[15:40] <Macey> full cl is "-acodec mp2 -b:a 128k -vcodec mpeg4 -b:v 3500k -r 25 -s 1024x768 -aspect 16:9 -flags +aic+mv4 -vf "drawtext=fontfile='C\:\\Windows\\Fonts\\arial.ttf': timecode='10\:00\:00\:00': r=25: x=(w-tw)/2: y=h-(2*lh): fontcolor=white: fontsize=72 : box=1: boxcolor=0x00000000 at 1" -vf "movie=ccglogo.png [watermark]; [in][watermark] overlay=10:10 [out]"
[15:40] <natrixnatrix89> Is there a way I can set this $PATH?
[15:41] <ubitux> Macey: that's normal, filtering requires a transcode
[15:41] <Macey> Impossible to convert between the formats supported by the filter 'Parsed_movie_0' and the filter 'auto-inserted scale 0'
[15:41] <Macey> yeah sorry, error out with ^
[15:41] <natrixnatrix89> or is it just simpler to stick to ~/bin/ffmpeg -I 'input' stuff.mkv
[15:41] <ubitux> natrixnatrix89: configure your shell; depends on your environment
[15:42] <Macey> sorry
[15:48] <Macey> ubitux, i'm unsure by what Parsed_movie_0 is and 'auto-inserted scale 0', I've tried to take the drawtext out and i still get the same thing
[15:48] <natrixnatrix89> Is it possible to have a different input source than ffmpeg for ffserver?
[15:48] <natrixnatrix89> for example some device that would stream in a different format than ffm to my server..  So that my server could transcode it to appropriate format?
[15:48] <natrixnatrix89> for example raspberry pi streaming h264 to my server.. and server broadcasting it to viewers?
[15:49] <natrixnatrix89> or some way for ffmpeg to read inputs that are streamed to this server.. and pass it to ffserver?
[16:02] <natrixnatrix89> can ffmpeg somehow listen to a port? I see an example like this: -i 'udp://localhost:5000?fifo_size=1000000&overrun_nonfatal=1' But I'm not sure if it could work..
[16:02] <natrixnatrix89> At least when scanning with nmap I don't see port 5000 open..
[16:09] <elkng> ubitux: you right
[16:10] <elkng> ubitux: sometimes I treat "ffmpeg" and "mplayers" as tools from one package
[16:10] <elkng> convert with "ffmpeg", watch with "mplayer"
[16:10] <elkng> s/mplayers/mplayer
[18:30] <natrixnatrix89> can anyone tell how to view/edit ffmpeg preset files? There's a github repo: https://github.com/joeyblake/FFmpeg-Presets
[18:30] <natrixnatrix89> But I'm wondering why can't I find anything related to libx264 presets (ultrafast, medium, slow, etc) in my ffmpeg installation..
[18:32] <natrixnatrix89> I guess now they are inside libx264?
[18:32] <natrixnatrix89> not ffmpeg..
[18:33] <JEEB> yes, the -preset setting is currently libx264-specific and sets the presets available from the libx264 library
[18:33] <JEEB> it sets the defaults, basically
[18:34] <natrixnatrix89> but where are the files located?
[18:34] <JEEB> what files?
[18:35] <JEEB> you can still use a ffpreset file with -pre (or was it -fpre?) btw, if you want to make a custom preset-kind-of-thing on the ffmpeg side
[18:35] <JEEB> the stuff you set with -preset is now what is defined in x264's source code
[18:35] <natrixnatrix89> I'm just really confused because I can't find out how to get ffserver working with libx264
[18:35] <natrixnatrix89> because all the time it tells me that preset files are missing..
[18:36] <natrixnatrix89> and basically non of the example ffserver.conf files I've seen online work with the current version..
[18:37] <natrixnatrix89> How can I tell ffserver to use some tune/preset/profile of x264?
[18:38] <JEEB> ahaha
[18:38] <JEEB> ffserver
[18:38] <JEEB> sorry dude
[18:39] <JEEB> welcome to the hell that is ffserver, and how it doesn't match ffmpeg :P
[18:39] <natrixnatrix89> Is it lame using ffserver? Wowza seems quite expensive..
[18:39] <natrixnatrix89> also not sure if I want to use red5
[18:41] <JEEB> no, it's not "lame" -- it's just a voodoo piece of software that is barely maintained if at all
[18:41] <JEEB> if you can do what you want to do with just ffmpeg, that's great
[18:42] <JEEB> if you start adding ffserver into the mix, that is where you start getting problems :)
[18:42] <natrixnatrix89> meh.. So there's no good solution for media streaming? (excluding wowza)
[18:42] <JEEB> depends on what exactly you want to do
[18:42] <natrixnatrix89> I simply want to restream ip cameras
[18:43] <natrixnatrix89> in h264
[18:43] <JEEB> for example ffmpeg can do some formats by itself, and for some it just needs the streaming server (that doesn't do any transcoding by itself)
[18:43] <natrixnatrix89> from mjpeg
[18:43] <JEEB> then you have VLC that has a surprisingly sane streaming server
[18:43] <JEEB> so yeah, if you need exactly ffserver and can't do it with just ffmpeg, I recommend you take a look at VLC
[18:44] <natrixnatrix89> how do I take ffmpeg as an input for vlc?
[18:44] <JEEB> no, you can just use VLC for the transcoding as well
[19:00] <natrixnatrix89> I think the main problem is that it has no documentation..
[19:00] <natrixnatrix89> only bunch of examples that don't work..
[19:09] <natrixnatrix89> what does this one do: flags +global_header?
[19:11] <JEEB> <natrixnatrix89> I think the main problem is that it has no documentation.. <- VLC?
[19:11] <JEEB> as far as I've seen, VLC has had much more documentation than ffserver
[19:11] <JEEB> :V
[19:11] <natrixnatrix89> that was still about ffserver
[19:11] <JEEB> k
[19:12] <JEEB> yes, ffserver is a voodoo hackjob
[19:12] <natrixnatrix89> so if I'd have it on a server.. then using cvlc would be fine, right?
[19:12] <JEEB> yeah
[19:12] <JEEB> if you mean the command line interface of vlc's
[19:16] <natrixnatrix89> but still what does global header flag do?
[20:02] <SirCmpwn> ffmpeg -ss 00:09:18 -i horrible.mkv -t 1 -vframes 1 -vf subtitles=horrible.ass horrible-1.png
[20:02] <SirCmpwn> I'm trying to extract a frame with subtitles
[20:02] <SirCmpwn> but I don't have subtitles on the resulting frame
[20:19] <SirCmpwn> https://gist.github.com/SirCmpwn/7b8bdca1fa7af9dc3b8e
[20:19] <SirCmpwn> resulting image: https://i.minus.com/iI18unhQFHi0B.png
[21:53] <zhurai> so question, is vapoursynth good enough to be used to completely replace avi2yuv/avisynth/etc now for linux? oO (like is it stable enough to do that now)?
[22:18] <JEEB> zhurai, it is pretty stable all-in-all, the only thing it lacks is the audio side of things (because, you know, someone had to make the video side of things first -- as that is what people mostly used avs for)
[22:18] <JEEB> the only problem there could possibly be is the fact that some plugin wouldn't be available to you
[22:18] <zhurai> Ah
[22:20] <zhurai> ok. thanks
[22:21] <JEEB> there's already ffms2, d2vsource and L-SMASH Source's input thingies for it, though. And there's VIVTC (a rewrite of TIVTC) for IVTC.
[22:22] <ubitux> why do you ask on #ffmpeg?
[22:22] <ubitux> zhurai: fieldmatch/decimate are the same as vivtc
[22:23] <zhurai> v.v because I don't know another channel I could/I don't know many video encoding channels ... or I guess I could've asked on #darkhold on rizon but... not sure @_@    ... sorry for being offtopic then.
[23:03] <SirCmpwn> dropped my question into superuser: http://superuser.com/questions/608118/extracting-frames-with-ffmpeg-and-including-subtitles
[23:40] <klaxa> SirCmpwn: why are you watching horrible subs :V
[23:41] <SirCmpwn> I'm not, I'm doing a comparison
[23:41] <SirCmpwn> klaxa: ^
[23:42] <klaxa> ah makes sense
[23:42] <klaxa> what episode was that?
[23:42] <SirCmpwn> henneko ep 7
[23:43] <klaxa> kk thx i'll see if i can fix you up :P
[23:43] <SirCmpwn> appreciated
[23:43] <SirCmpwn> I have a copy from every group worth watching
[23:44] <klaxa> horriblesubs, gg and rori i guess?
[23:44] <SirCmpwn> *every* group worth watching
[23:44] <SirCmpwn> for the comparison
[23:44] <SirCmpwn> I watch rori, though, when not comparing anything
[23:44] <klaxa> there are more groups worth watching?
[23:45] <SirCmpwn> to be specific, I'm doing Commie, Hatsuyuki, Horrible, Chihiro, rori, Eveyuu, and gg
[23:45] <klaxa> i mean for hentai ouji
[23:46] <SirCmpwn> and I'll be writing a script to pull out a half-dozen frames from each for comparison
[23:46] <SirCmpwn> ...as soon as this problem of mine is solved
[23:47] <klaxa> you also don't need to extract the subtitle file
[23:47] <klaxa> you can just pass the video file as subtitle file for -vf ass=
[23:47] <SirCmpwn> I extracted the subtitle file anyway
[23:48] <SirCmpwn> running them through diffs to get differences in the translation between groups
[23:49] <ubitux> it doesn't work because of the seek
[23:49] <SirCmpwn> ubitux: solution?
[23:49] <ubitux> also -t 1 is useless
[23:50] <SirCmpwn> I figured it was, but added it anyway
[23:50] <ubitux> SirCmpwn: dunno, maybe use a setpts filter before ass
[23:51] <ubitux> SirCmpwn: try to move -ss as output option btw
[23:52] <SirCmpwn> output option?
[23:52] <SirCmpwn> move it after the output file?
[23:52] <klaxa> no move it after the input file
[23:53] <klaxa> right now it is before the input file, thus making it an input option
[23:53] <SirCmpwn> ah
[23:53] <SirCmpwn> seems to be hanging?
[23:53] <klaxa> no it's decoding
[23:53] <SirCmpwn> not sure, every few seconds another bit of output is spit out
[23:54] <SirCmpwn> hey, it worked
[23:54] <klaxa> http://ffmpeg.org/trac/ffmpeg/wiki/Seeking%20with%20FFmpeg
[23:54] <SirCmpwn> however, >fontconfig: Selected font is not the requested one: 'DejaVu Sans Bold' != 'Open Sans Semibold'
[23:54] <SirCmpwn> and the font is indeed wrong when it finishes
[23:54] <klaxa> that explains how seeking with ffmpeg works
[23:54] <SirCmpwn> ah, I see
[23:54] <SirCmpwn> thanks
[23:55] <klaxa> i should stop trying to use ctrl+w to remove words...
[23:55] <klaxa> anyways, you will need the files to be available for ffmpeg afaik it can't use the fonts attached to a matroska file
[23:55] <klaxa> https://gist.github.com/klaxa/5651164
[23:56] <SirCmpwn> that's annoying
[23:56] <SirCmpwn> just put them in the working directory?
[23:56] <klaxa> this script is shit and requires mkvtoolnix (mkvinfo and mkvextract to be specific) but it does the job and extracts the fonts from the files listed in mkvlist.lst to ~/.fonts/
[23:56] <SirCmpwn> ah, thanks
[23:57] <klaxa> if you just want to extract all fonts from all matroska files you have, do: ls *.mkv > mkvlist.lst
[23:57] <klaxa> then run the script
[00:00] --- Sun Jun 16 2013


More information about the Ffmpeg-devel-irc mailing list