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

burek burek021 at gmail.com
Tue Mar 10 02:05:01 CET 2015


[00:25:19 CET] <spectromas> what would be the quickest way to convert a dvd to mkv or whatever format?
[00:47:51 CET] <debianuser> spectromas: If you don't familiar with video encoding at all - check "ogmrip" tool, it has a rather simple GUI.
[00:48:50 CET] <BtbN> makemkv does quite exactly that
[00:49:39 CET] <spectromas> is one better than the other?
[01:02:00 CET] <debianuser> spectromas: They're different. :) makemkv is a (closed-source?) program for windows and osx, ogmrip is a gui to mplayer/mencoder/ffmpeg for linux.
[01:02:28 CET] <spectromas> oh ok. I'll have a look in to them then, thanks debianuser
[01:08:10 CET] <jfmcarreira> heyyy guys
[01:08:44 CET] <jfmcarreira> is there interest in giving support to H.264/MVC in ffmpeg? i saw it as a topic for GSoC
[01:45:39 CET] <debianuser> jfmcarreira: if noone answers here - try asking in #ffmpeg-devel (devs may be asleep right now so don't hesitate to ask again later if noone would still answer)
[05:41:11 CET] <snake___> hi
[05:41:22 CET] <snake___> i have some doubts
[05:41:29 CET] <snake___> can anyone help me??
[05:42:40 CET] <snake___> :(
[05:55:42 CET] <snake___> hello¡???
[05:58:29 CET] <randomCouch> Hey guys I have a question about rtmp connections with ffmpeg
[05:58:32 CET] <snake___> ????
[05:58:39 CET] <randomCouch> Where do I set the streamID parameter?
[05:58:43 CET] <snake___> i have problems wiith
[05:58:50 CET] <snake___> ffmpeg php
[05:58:51 CET] <snake___> :(
[05:59:21 CET] <snake___> i think ffmpeg is correctly installed
[05:59:22 CET] <snake___> root at www [~]# ffmpeg FFmpeg version 0.6.5, Copyright (c) 2000-2010 the FFmpeg developers   built on Jan 29 2012 23:55:02 with gcc 4.1.2 20080704 (Red Hat 4.1.2-51)   configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandvisynth --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptionsmtune=generic -fPIC' --enable-avfilter --enable-avfilter-lavf --enable-libdiracbin --enable-libgsm --enable-libm
[05:59:46 CET] <snake___> but ffmpeg php give me errors
[05:59:47 CET] <snake___> :(
[06:16:44 CET] <randomCouch> So uhm, anyone with experience connecting to RTMP servers?
[10:20:20 CET] <ergZay> I got this error: [webm @ 0x7fe332042600] Only VP8 or VP9 video and Vorbis or Opus audio and WebVTT subtitles are supported for WebM.
[10:20:30 CET] <ergZay> trying to mux a webm video and aac audio
[10:20:45 CET] <ergZay> so the error is self-explanatory, the question is "why"?
[10:21:20 CET] <ergZay> no reason in this day and age that container formats restrict codecs
[10:24:02 CET] <ILEoo> ergZay: why not use mkv?
[10:24:39 CET] <ergZay> dunno i just copied and pasted the command that youtube-dl was running
[10:25:28 CET] <ergZay> ffmpeg -y -i 'input.f313.webm' -i 'input.f141.m4a' -c copy -map 0:v:0 -map 1:a:0 'output.webm'
[10:25:35 CET] <ergZay> apparently hardcoded
[10:25:54 CET] <ergZay> other than the mapping
[10:26:20 CET] <ergZay> er maybe that is
[11:42:30 CET] <TBJoe> hey, I'm trying to cut a video but get several seconds of audio-only at the beginning. I'm aware that this can be solved by re-encoding the video. But I want the option to cut at the keyframe before or after the starting point (-ss) that I define. Better have some more or less of the video than black frames :) How can I do this?
[11:56:53 CET] <TBJoe> if I use -ss before -i it seems to do what I want, however I would like to decide if it takes the keyframe before or the keyframe after the specified time. Also it should alter the -to time, as it seems it also searches for a key frame for that. But that does not really matter that much, because I don't need a key frame at the end of the cut
[12:03:40 CET] <TSM> 720x480 SAR 40:33 DAR 20:11, does this look valid or weird for a format
[14:04:52 CET] <RobotsOnDrugs> TSM: looks normal for a widescreen dvd iirc
[15:42:53 CET] <c_14> ergZay: webm is a purposefully limited subset of matroska
[16:44:31 CET] <Jonas__> when I encode x11grab video + webcam video + pulse microphone + pulse loopback audio, I get a lot of video lag
[16:44:45 CET] <Jonas__> when I do the same with just the video, there's no lag
[16:47:02 CET] <Jonas__> when I remove just the pulse microphone, there's no lag
[16:47:18 CET] <Jonas__> when I remove just the pulse loopback audio, the lag remains
[16:47:40 CET] <Jonas__> any idea why this is and what I can do?
[16:49:32 CET] <blazzer> If build FFMPEG from git sources do I need to install "codecs" seperately? Aren't ffmpeg supposed to include the codecs?
[16:50:22 CET] <Jonas__> yes, the codecs need to be installed separately
[16:51:01 CET] <blazzer> where I can install codec for h265 ?
[16:51:14 CET] <iive> blazzer: what codecs do you mean?
[16:51:49 CET] <iive> ffmpeg comes with built-in decoder for h265 and h264 and many others.
[16:52:06 CET] <iive> for encoding you need libx264 / libx265
[16:52:12 CET] <hans_s> blazzer: a lot of codecs are included, but ffmpeg also uses some external codecs, h265 decoding for example is included, but for h265 encoding, you need x265
[16:52:33 CET] <blazzer> Thank you all for the info, it really helped me.
[17:00:32 CET] <blazzer> is there is PPA with latest ffmpeg builds with shared libraries? I am even making sense?
[17:11:21 CET] <Caterpillar> Hi,  what do you think about the following command to stream on youtube? I am asking because  youtube says that there is not data coming from my computer
[17:11:22 CET] <Caterpillar> ffmpeg -f v4l2 -i /dev/video0 -flags +global_header -ac 1 -ar 44100 -ab 16k -s 640x360 -vcodec h264 -pix_fmt yuv420p -g 25 -vb 32k -profile:v baseline -r 30 -f flv "rtmp://a.rtmp.youtube.com/live2/NAME_OF_STREAM_REMOVED"
[17:12:15 CET] <Caterpillar> ffmpeg-2.1.7-1.fc20.x86_64
[17:17:53 CET] <Jonas__> Caterpillar, if you add -t 30 and specify a local file instead of the rtmp, does that video work as you expect?
[17:19:55 CET] <Caterpillar> Jonas__: yes
[17:21:37 CET] <Jonas__> let me test a similar yt stream
[17:22:26 CET] <c_14> Caterpillar: you set options for an audio stream, but don't actually have one anywhere
[17:22:38 CET] <TSM> I am trying to convert 720x480, i have read that this is 4:3 NTSC so the PAR should be 0.911584, the DAR is 4:3, I am trying to work out correct conversion for this, any help
[17:23:08 CET] <Caterpillar> c_14: what do you mean with " but don't actually have one anywhere"?
[17:24:09 CET] <c_14> you don't have an audio input source
[17:24:49 CET] <Caterpillar> c_14: how can I add the webcam as audio source?
[17:24:57 CET] <c_14> alsa or pulse?
[17:25:54 CET] <Caterpillar> c_14: I don't know, I am on Fedora 20, I could both use alsa either pulse
[17:26:52 CET] <c_14> https://trac.ffmpeg.org/wiki/Capture/ALSA https://ffmpeg.org/ffmpeg-devices.html#pulse https://ffmpeg.org/ffmpeg-devices.html#alsa
[17:27:11 CET] <Caterpillar> c_14: what do you suggest, pulse or alsa
[17:27:57 CET] Action: c_14 personally uses alsa so I know more about that, but some people find pulse easier.
[17:33:03 CET] <Caterpillar> ffmpeg -f v4l2 -i /dev/video0 -f alsa -i hw:1 -flags +global_header -ac 1 -ar 44100 -ab 16k -s 640x360 -vcodec h264 -pix_fmt yuv420p -g 25 -vb 32k -profile:v baseline -t 30 -r 30 -f flv canc/prova.flv
[17:33:12 CET] <Caterpillar> returns: [alsa @ 0xdafd20] cannot set channel count to 2 (Invalid argument)    hw:1: Input/output error
[17:33:45 CET] <c_14> add -ac 1 before -i hw:1
[17:43:09 CET] <Jonas__> I personally had a lot of trouble using my microphone with pulse
[17:43:20 CET] <Jonas__> alsa seems to reduce the lag it caused me
[17:44:32 CET] <Jonas__> I got an rtmp streaming working with youtube live at least, let me see if your settings work for me
[17:45:58 CET] <Caterpillar> c_14: now Youtube "feels" the stream. Now I am tweaking it to get the maximum resolution available for a 3 Mbit/s upload speed internet line
[17:49:18 CET] <Caterpillar> what are the best flags to do a 720P streaming?
[17:49:34 CET] <Caterpillar> (cosindering to modify the command I entered before)
[17:55:02 CET] <c_14> You might want to increase -vb, you can probably get rid of -profile:v baseline
[17:56:50 CET] <Caterpillar> c_14: what about " -s 640x360" ?
[17:57:01 CET] <c_14> At 640x360, youtube requires a minumum of 400 Kbps video
[17:57:12 CET] <c_14> Caterpillar: depends on what resolution your camera outputs
[17:57:43 CET] <c_14> Caterpillar: https://support.google.com/youtube/answer/2853702?hl=en&ref_topic=2853712 might interest you
[17:58:50 CET] <Caterpillar> c_14: the webcam can record till 1080P resolution
[18:00:25 CET] <c_14> For 3Mbit/s upload, 720p and a bitrate around 2500kbps should work
[18:00:51 CET] <c_14> Make sure to also set -maxrate and -bufsize
[18:01:27 CET] <c_14> https://trac.ffmpeg.org/wiki/EncodingForStreamingSites
[18:08:21 CET] <Caterpillar> ffmpeg -f v4l2 -list_formats all -i /dev/video0        returns
[18:08:26 CET] <Caterpillar> Raw       :   yuyv422 :     YUV 4:2:2 (YUYV) : 640x480 160x120 176x144 320x240 352x288 640x360 640x400 768x480 800x456 800x504 800x600 864x480 960x720 1280x720 1280x800 1600x904 1600x1000 1600x1200
[18:09:14 CET] <TSM> if i am scaling the video output and want it to be displayed exactly should i set DAR to 1:1?
[18:24:00 CET] <Caterpillar> I think that yuv420P does not make my stream going HD
[18:37:37 CET] <Caterpillar> I sent an e-mail in mailing list
[18:53:35 CET] <vifino> How can I compile ffmpeg with jack2 support?
[18:57:37 CET] <nickdd> Hiya. Can I ask someone for a bit of help here? I am trying to cross-compile for windows so I can access ffmpeg as a library in C/C++ and am wondering if I'm on the right path
[19:09:47 CET] <ramiro> nickdd, ask away
[19:13:54 CET] <nickdd> ramiro So are there any publicly available DLLs I can use to access ffmpeg's decoding functions (/avutils)?
[19:14:00 CET] <nickdd> If so, I might save some time
[19:14:05 CET] <nickdd> If not, can I build them using this?
[19:17:09 CET] <ramiro> nickdd, look for zeranoe builds
[19:18:55 CET] <nickdd> Oh wow, thank you so much :)
[19:31:51 CET] <Mista_D> How come "-qscale:v 2" and "-qscale:v 31" produce the same results for x264 output?
[19:39:55 CET] <Mista_D> http://pastebin.com/g4WbrkzG
[21:04:00 CET] <debianuser> Can anyone get 50-60 fps fullscreen with ffmpeg+x11grab+x264? Command `time ./ffmpeg -y -f x11grab -r 60 -s 1280x1024 -i :0 -vcodec libx264 -preset ultrafast -pix_fmt yuv420p -t 30 out.flv` does <40fps for me and uses just one core. Looks like a bug in ffmpeg...
[21:18:33 CET] <Fyr> could you recommend me a screen recorder?
[21:19:09 CET] <c_14> ffmpeg can record the screen (on linux anyway)
[21:23:23 CET] <debianuser> Fyr: recordmydesktop (or qt-recordmydesktop or gtk-recordmydesktop) or https://trac.ffmpeg.org/wiki/Capture/Desktop :)
[21:24:11 CET] <Fyr> what if I need only one monitor?
[21:24:15 CET] <debianuser> Right, that's on linux. On windows check bandicam or https://trac.ffmpeg.org/wiki/Capture/Desktop :)
[21:25:07 CET] <c_14> x11grab can be told to only grab a certain region
[21:25:42 CET] <Fyr> cool, but I'm on Win7 x64. =(
[21:32:31 CET] <debianuser> Fyr: For ffmpeg you can configure what part of desktop you can record. For linux: `ffmpeg -f x11grab -s 1920x1080 -r 25 -i :0.0+1920,0 ...` would record the right monitors out of two. Not sure if you can do the same for "dshow" device on windows. But even if you can't - you can use "crop" filter to get the part you need. :)
[21:32:50 CET] <Fyr> ((=
[21:41:59 CET] <BtbN> OBS
[21:43:25 CET] <Fyr> already dealing with their bugs on the other channel. =))
[21:45:26 CET] <BtbN> It's propably the most efficient screen capture you'll find.
[00:00:00 CET] --- Tue Mar 10 2015


More information about the Ffmpeg-devel-irc mailing list