[00:00] <qxt> ofc that makes sense [00:00] <kepstin-laptop> just too many variables for a single fps value to have any meaning whatsoever. [00:31] <qxt> this is the official site right? ffmpeg.mplayerhq.hu [00:32] <qxt> not www.ffmpeg.org ? [00:37] <c_14> afaik they're both official [00:38] <c_14> ffmpeg.org is hosted by mplayer [00:55] <ac_slater_> hey all. I'm generating some video from an external encoder. I need to suck up the video and mux it to mpegts. I'm struggling to understand generating PTS/DTS. Is there a solid guide for this? [01:18] <pmarques> Hi [01:19] <pmarques> I'm using ffprobe to parse metatags but it don't let me catch multiple genres [01:20] <pmarques> anyone know if there is some thoughts about support it? [01:27] <DayDreamer> gnight [03:00] <k_sze[work]> Is it normal that when decoding packets from a .nut file containing H.264 video, the frames can come out of sequence (and duplicate from time to time)? [07:38] <ac_slater> hey all. I'm trying to manually fill some AVFrame structures. What's the allocation scheme? The docs say av_frame_alloc() is just for the structure, but how do I allocate the actual buffers? [07:41] <ac_slater> ah nevermind, apparently `av_frame_get_buffer()` [07:41] <ac_slater> though, that's really confusing [08:31] <k_sze[work]> Has anybody run into a weird problem with encoding or decoding where frame times start getting out of sequence after about 2^20 frames (about 9:42:32.53333 in terms of length, at 30 fps)? (I'm getting this with only a YUV422 video stream encoded as H.264, no audio, no subtitle, in a .nut file) [10:46] <Lirk> hi all [10:46] <Lirk> how I can to capture file with timestamp and then reencode it? [10:48] <Lirk> in one step [11:28] <Ders> Anyone here that can help me with something? [11:30] <iive> Ders: nobody can help you, [11:30] <iive> until you ask your question. (don't ask to ask, just ask) [11:32] <iive> and be patient... people are not jumping to read the channel on every new message. [11:32] <Ders> Well, I wanted to know if people were online [11:33] <Ders> So, I have raw audio data in s16le format and I want to it to be written to a file that I can listen to [11:33] <Ders> http://pastebin.com/P4JdMKgj [11:33] <Ders> that is my command I'm using [11:33] <Ders> now, I'm using stdin to write the data to the input [11:34] <Ders> this is how I write the data: http://pastebin.com/XCbRXyZj [11:35] <Ders> But when it has created the file it's really small and I can't play it with VLC [11:35] <iive> pcm is not small, -ac 1 means mono, so 88kBytes/s [11:36] <iive> can ffplay play it back? [11:36] <Ders> I haven't tried that and I don't think I have ffplay at hand. I'm only given the ffmpeg.exe [11:37] <iive> oh, windows [11:37] <Ders> yeah [11:37] <iive> ok, first think I find troubling is that you have 2 acodec's [11:37] <iive> i'm not sure that's how you specify the input format. [11:37] <Ders> which one do I have to remove? I guess the Pcm_s16le one? [11:38] <Ders> the input format is -f s16le [11:38] <Ders> it's a list of samples as short ints [11:41] <iive> -f s16le is correct. [11:42] <Ders> Yeah that's what I'm most confident of as well [11:44] <iive> well, the double acodec doesn't seem to cause any problem. [11:44] <iive> you line seems to work fine with existing wav file [11:45] <Ders> yeah, I tried that as well. [11:45] <Ders> That's why it's so weird that it's not working with manually stdin data [11:49] <Ders> I don't know if it's of any help but I tried writing the values to a .s16le file [11:49] <Ders> this is the result: http://pastebin.com/ydCsGT3y [11:49] <Ders> Normally it should only be numbers [11:49] <Ders> Maybe that's the problem? [11:53] <iive> Ders: this looks like hexadecimal humbers [11:55] <Ders> Yeah, I noticed that too. Let me post the code I used to generate those numbers [11:56] <Ders> http://pastebin.com/35mBxD6j [11:57] <Ders> oh, and I'm using fstream to write it to a file atm [11:57] <iive> bbl [13:36] <synthecy1her> How do I stop ffmpeg creating 'ffmpeg2pass-0.log' and 'ffmpeg2pass-0.log.mbtree' while doing two pass encoding? [13:38] <Mavrik> By not doing twopass encoding. [13:39] <Mavrik> Those files are kinda the integral point of 2-pass. [13:49] <hta> TEPMPDIR=$(mktemp -d); pushd $TEMPDIR; <encode>; popd; rm -rf $TEMPDIR [13:50] <hta> I guess... [16:40] <Ders> Does anyone know that when I do the following command, my output file doesn't have audio? [16:40] <Ders> http://pastebin.com/89PraDtG [16:41] <c_14> try -map 0 -map 1 [16:41] <Ders> will do [16:42] <kepstin-laptop> and you shouldn't need to set the format, codec, channels, etc. on a wav; ffmpeg will read that from the header. [16:42] <kepstin-laptop> (in fact, with those settings you'll get a brief bit of noise at the start as the wave header is interpreted as audio) [16:43] <Ders> oh ok, Well, the -map doesn't change anything [16:43] <Ders> for some reason VLC can't even find an audio stream [16:43] <kepstin-laptop> Ders: pastebin the ffmpeg output? [16:44] <Ders> I'll try. Normally I can't select the data from the output I have [16:48] <Ders> I can't copy it but I get lots of "packet too large, ignoring buffer limits to mux it" and "buffer underflow st=1 bufi=3939 size=4096" [16:48] <Ders> that's all I get [16:54] <Ders> Is it possible that I have to reencode my audio? I tried with pcm_alaw and that didn't give any errors but I still don't have sound [16:55] <kepstin-laptop> Ders: I'm interested in what ffmpeg prints out about the stream mapping at the start of the encode. [16:56] <Ders> yeah, I can see that now it doesn't from thousands of errors. Five me a second [17:00] <Ders> It's an image: http://i.imgur.com/15emTe5.png [17:00] <Ders> I couldn't copy the output to Pastebin [17:03] <durandal_1707> Ders: have you chacked that maybe it is VLC fault [17:05] <Ders> How would I do that? By the way. I read that the encoding of my wav file (s16le) isn't available to encode to an mpeg file? Is that right? Maybe I should reencode my audio first [17:05] <kepstin-laptop> Ders: your audio file and video file have vastly different lengths, which is what's causing the buffer underflow errors, and could cause playback errors [17:06] <kepstin-laptop> says you have a minute of audio and only 14 seconds of video [17:06] <Ders> So do I have to add the -shortest command? [17:07] <