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

burek burek021 at gmail.com
Thu Jan 10 02:05:01 CET 2013


[00:00] <ElMarikon> are u talking about specifying the -bufsize ?
[00:01] <luc4> ElMarikon: your memory should be allocated in a position whose byte is multiple of something. It depends on what you are requested, if it is 32 bits then you must allocate in a position that is multple of 4 bytes.
[00:03] <luc4> ElMarikon: what platform are you working on?
[00:03] <ElMarikon> well... i do not know, if this really is my issue... i defined a bufsize of 14920000
[00:03] <ElMarikon> sorry... wildows (7)
[00:04] <luc4> I repeat that I'm not an ffmpeg expert, but if alignment is your problem, try _aligned_malloc.
[00:05] <hundfred> just read you article (ffmpeg/livav situation): thank you :)
[00:05] <hundfred> ubitux: ^#
[00:07] <ubitux> :)
[00:09] <hundfred> ubitux: i was a victim of the debian package lie
[00:10] <ElMarikon> okay... i willl have a look into it... thanx do far!
[00:11] <ubitux> hundfred: unless users like you complain to debian, there is not much we can do about it
[00:48] <cbsrobot> tclavier: http://ffmpeg.org/trac/ffmpeg/ticket/2125
[00:54] <aaas> im trying to knit together a video and audio file.  if I run avconv and ffmpeg (both from git) with the same parameters ffmpeg gives me great output but avconv has a/v sync issues.. i notice the output for video stream is different between the two.... are there ./configure flags that cause this difference or can someone explain why this may happen.. trying to keep avconv since ffmpeg is on it's way out (right?)
[00:55] <saste> ffmpeg is not "deprecated", and avconv is not supported here
[00:59] <aaas> ok thanks
[01:07] <ubitux> hundfred: see, another one ;)
[01:07] <ubitux> we got something like one per day
[01:14] <llogan> cbsrobot: FWIW, ffmbc gives the same cid message. not that i know what the hell it means in the first place.
[01:17] <cbsrobot> llogan: I think it's a reference to which quantisation table it should use
[01:18] <cbsrobot> see: http://ffmpeg.org/doxygen/trunk/dnxhddata_8h.html#a2c875edd30045f559388413af8a6b755
[02:34] <skifreak> hey all, having some trouble with a bluray file, specifically decoding with ffmpeg while playing. When I ripped the file via passthrough I didn't receive any errors. I think my problem due to the block code look-up failure, just trying to figure out where to start http://dpaste.com/868741/   current ffmpeg version 1.0.1
[03:20] <Preflex> Hi,  I'm trying to convert a series of .png images to a video file.
[03:21] <Preflex> when I run  ffmpeg -i *.jpg.roto.png -sameq test.avi, I get "Could not find codec parameters (Video: png, 1440x1080"
[03:21] <Preflex> using ubuntu.
[03:22] <Preflex> http://pastebin.com/R50pyALw
[03:22] <Preflex> thanks.
[03:22] <llogan> also don't use sameq. it does not mean same quality, and also no longer exists in current ffmpeg.
[03:23] <llogan> you're not using ffmpeg from FFmpeg, but a fake version from a fork that is not supported here
[03:23] <llogan> ubitux: we're up to 3
[03:25] <Preflex> Thanks.
[03:26] <llogan> Preflex: also, I doubt that your version supports glob patterns (the *)
[05:26] <brad_c6> hi, I am currently encoding audio have turned the encode tone to instead a s16 sample. But I am not sure what a good condition would be to terminate the loop. Code:http://pastebin.com/Ymjz5q0C Thank You
[05:37] <SubJunk> Is it possible to copy video with FFmpeg with no conversion? For example in MEncoder it is -ovc copy
[05:39] <llogan> SubJunk: yes. "-c:v copy"
[05:41] <SubJunk> Ah, I should've guessed :p Thanks!
[05:45] <llogan> http://ffmpeg.org/ffmpeg.html#Stream-copy
[06:04] <SubJunk> I see a rawvideo format, is there a rawaudio (or equivalent) format?
[06:10] <llogan> SubJunk: i guess the various pcm_* stuff might be considered "raw".
[06:10] <llogan> -c:a pcm_s16le for example
[07:25] <Faeleaf> I've set up a security camera that is saving to FTP, and it's saving two files a .dat file which is h264 encoded video, and a .idx file which looks to hold the frame meta data. I've put the first ~10 lines of the file on http://pastebin.com/XWxbM0Nh
[07:25] <Faeleaf> has anyone come across this before, and is there a simple way to join the two files into a single output file?
[07:34] <relaxed> Faeleaf: try mkvmerge
[07:48] <Faeleaf> relaxed: the .idx file isn't a subtitle file, it stores the pts values (I think)
[07:48] <Faeleaf> I can transcode the .dat file with ffmpeg but it takes ~6 times real-time
[07:49] <Faeleaf> and it gives a lot of errors
[08:20] <luc4> Hi! Anyone who knows what is the meaning of the side_data structure in AVPacket?
[08:54] <perise_> bye
[08:54] <perise_> exit
[14:21] <phihag_> How do I separate options and arguments in ffmpeg-1.1? In ffmpeg < 1.1, the double dash worked like in any other program, as in   ffmpeg -i output.mp4 -- -input.mp4
[14:21] <nerdinand> ohai phihag_ seems like we had the same idea ;)
[14:22] <phihag_> nerdinand: You asked already? Got an answer already?
[14:22] <phihag_> maybe the mailing list is better suited
[14:22] <nerdinand> no, i just joined and you asked first
[14:23] <nerdinand> whois phihag_
[14:23] <JEEB> o__O
[14:23] <JEEB> what's the double dash supposed to do?
[14:24] <phihag_> JEEB: Ensure that file names can begin with any character, including a dash
[14:24] <JEEB> huuh
[14:25] <phihag_> JEEB: http://unix.stackexchange.com/questions/11376/what-does-double-dash-mean
[14:25] <JEEB> wouldn't that be -i --test or something?
[14:25] <JEEB> although yes
[14:25] <JEEB> output file name
[14:25] <phihag_> That's if the input file starts with a dash
[14:25] <JEEB> yeah
[14:25] <JEEB> what was the last version you tested?
[14:25] <sacarasc> ./-output.mkv
[14:26] <phihag_> sacarasc: Yes, that works (although it's nontrivial to get right in a script)
[14:26] <phihag_> sacarasc: But -- is widely supported, and was supported before
[14:26] <nerdinand> JEEB: we tested with 1.1
[14:27] <JEEB> and where did it work?
[14:27] <nerdinand> 0.11.1 works
[14:27] <JEEB> ok
[14:28] <nerdinand> i'm sure there are more recent versions that work too
[14:28] <JEEB> just wanted to make sure that you actually had tested something relatively recent
[14:31] <phihag_> JEEB: Where should we report something like this? On the bugtracker or mailing list?
[14:32] <JEEB> bug tracker would be perfect I guess
[14:38] <phihag_> JEEB: Thanks
[14:38] <phihag_> reported at https://ffmpeg.org/trac/ffmpeg/ticket/2127
[14:39] <JEEB> try to find out exactly around where it got broken if it is at all possible
[14:53] <nerdinand> JEEB: i'll give it a shot
[14:55] <luc4> Hi! If I wanted to get a specific stream, is it sufficient to dump what is in the data field in AVPacket?
[15:43] <plavcik> I upgraded to ffmpeg 1.0.1 and I can't find, how to use czech audio and czech subtitles from VOB file (-slang -alang) how I can do that, please?
[16:28] <nerdinand> JEEB: apparently af4b1c02acf6923489d30349c4813a0d73b2f114 broke the option parsing
[16:35] <nerdinand> JEEB: i updated the issue too
[16:35] <JEEB> nerdinand, thanks
[16:35] <nerdinand> no problem
[16:36] <JEEB> developers do go through tickets rather often so you should get some kind of response in some time
[16:36] <nerdinand> ok
[17:05] <alexavenger> hello! Does anybody knows how to accelerate a film with ffmpeg to make framerate to 25. I'm trying to process a film that has 23.9 fps to 25fps. I don't want to force it because then the TV is having Judder.
[17:06] <juanmabc> you better pad it
[17:06] <juanmabc> than accelerate
[17:07] <alexavenger> Yeah, thank you :) but it's possible to accelerate?
[17:08] <klaxa> should be, just use -r 25 i guess?
[17:10] <ubitux> setpts filter
[17:10] <alexavenger> yes Klaxa we've try it (-r 25) and the video had problems playing in tv's. It has judder.
[17:10] <ubitux> but i'm not sure you'll get a smooth output
[17:10] <alexavenger> :(
[17:13] <alexavenger> <juanmabc> I'm not sure of the result of padding a movie to accelerate the framerate.
[17:21] <luc4> Hi! If I wanted to get a specific stream, is it sufficient to dump what is in the data field in AVPacket?
[17:22] <Mavrik> luc4, yeah
[17:23] <Mavrik> just remember that's demuxed
[17:23] <Mavrik> and you might wanna remux it when writing to some file
[17:23] <Mavrik> or you may lose data
[17:23] <Mavrik> er, I mean lose some information :)
[17:24] <luc4> Mavrik: I tried to do this on a mov file, and I got a 16MB aac stream that could not be played by ffplay. If I did this using ffmpeg binary, I got a 32MB file. Is this correct?
[17:25] <Mavrik> luc4, as I said.
[17:26] <Mavrik> luc4, playing unmuxed streams often isn't possible because you lose metadata
[17:26] <Mavrik> (timing information, channel, samplerate information, etc)
[17:26] <luc4> Mavrik: but 16MB of metadata?
[17:26] <Mavrik> *shrug* depends on the format
[17:27] <luc4> Mavrik: I extracted the stream using the copy function of ffmpeg. Does that create metadata?
[17:27] <Mavrik> ok. let's start again.
[17:32] <luc4> Mavrik: arg, I lost it... I left it on my other computer, sorry. I'll ask again when I find it.
[17:33] <Mavrik> k :)
[17:33] <Mavrik> hard to know what's the problem without it
[17:33] <luc4> Mavrik: sure, my fault, sorry :-)
[17:35] <alexavenger> It's possible to accelerate framerate?
[17:40] <Yulth> Hi everyone! How I can code to OPUS format? Is there any option needed to this? I'm using ffmpeg version 1.0.1 on FreeBSD 9.0
[18:25] <Marcin_PL> Hello. How can I simply specify start time and end time to cut out stom source to target? I'm trying to find that in ffmpeg's man, but I can't :/
[18:26] <Marcin_PL> ^stom=from :) typo
[18:28] <retard> you can't
[18:29] <retard> you have to specify start time and how many seconds you want
[18:30] <Marcin_PL> Yes, that's what I want I think
[18:30] <retard> do you want to cut without transcoding?
[18:31] <Marcin_PL> ffmpeg -i infile.aac -acodec copy output.aac
[18:31] <Marcin_PL> Yes
[18:31] <retard> oh, no video?
[18:31] <Marcin_PL> And I want e.g. from 0:10:00 to 1:50:00
[18:31] <Marcin_PL> Here, no video
[18:32] <retard> ffmpeg -i infile.aac -ss 10 -t 100 -acodec copy output.aac
[18:32] <retard> i think
[18:32] Action: Marcin_PL loox at man4-ss&-t
[18:33] <Marcin_PL> Well, I think it's that
[18:33] <Marcin_PL> keywords: duration, position
[18:33] <emerica_> http://ffmpeg.org/trac/ffmpeg/wiki/Seeking%20with%20FFmpeg
[18:34] <Marcin_PL> I just looked for start frame, start, time, cut, trim&
[18:34] <retard> if you want to extract video without transcoding it can get a little trickier
[18:34] <Marcin_PL> Thanks a lot again :)
[18:35] <Marcin_PL> I know - keyframes etc
[18:35] <retard> i've been using http://pastebin.com/1u96HKuz to create files without desynching video/audio
[18:35] <retard> with x264 and aac it's supposed to pick the nearest keyframe, but it only does that for the video
[18:35] <retard> while taking the audio from your specified point of time
[18:36] <retard> leaving you with a file that desynchs in certain players
[18:39] <Marcin_PL> Thanks a lot again, you helped me much
[18:39] <Marcin_PL> I gotta go.
[18:54] <luc4> Mavrik: this is the command line I used to extract the aac stream: http://pastebin.com/3rUhUn66.
[19:04] <DelphiWorld> hi everyone
[19:04] <DelphiWorld> guys if i build my own librtmp
[19:04] <DelphiWorld> do i need any special to make it available for ffmpeg?
[19:04] <DelphiWorld> my configure didnt found it
[19:05] <saste> DelphiWorld, make sure you install lib/headers where the build system can find them
[19:05] <DelphiWorld> saste: i belieuv they are, /usr/lib,/usr/include right ?
[19:06] <saste> yes, and check --extra-cflags and --extra-ldflags
[19:07] <DelphiWorld> saste, would building without librtmp give me rtmp support ?
[19:07] <JEEB> yes
[19:07] <JEEB> the internal rtmp support
[19:07] <JEEB> which was added last august/september
[19:08] <DelphiWorld> better thant nothing, untill i get a rpm. end!
[19:13] <DelphiWorld> Ouch!
[19:13] <DelphiWorld> saste: done, got a rpm
[19:14] <saste> DelphiWorld, or read on the wiki how to compile from source
[19:15] <DelphiWorld> saste: anyway it's done:-P
[19:15] <DelphiWorld> saste: the ffmpeg is git, not rpm but librtmp is the rpm
[19:15] <saste> DelphiWorld, did you try to install librtmp-devel or equivalent?
[19:16] <saste> anyway the internal RTMP could be better than librtmp implementation
[19:16] <DelphiWorld> saste: yeah, librtmp and librtmp-devel, but download ceparately and manualy handled all dep's
[19:16] <DelphiWorld> saste: why you didnt tel me :(
[19:19] <DelphiWorld> saste: my radio source is ffmpeg :-) :-) :-)
[19:45] <DelphiWorld> saste: why sometime codec MP3 is called libmp3lame ?
[19:45] <klaxa> libmp3lame is the encoder library
[19:48] <Slydder> hey all. I am having a problem with an "MPEG sequence, v2, program multiplex" mpg file. everytime I try and view it it hacks like crazy. I am on a Mint system and was wondering if one of you on ubu or mint could take a look and let me know what you think. I know this video works fine in windows/mac but on my mint box it just jumps. on the plus side the audio stream seems to be just perfect. http://stream.itadmins.net:8000/20120731184
[19:58] <retard> hacks? :D
[20:01] <Slydder> http://stream.itadmins.net:8000/20120731184203.mpg
[20:02] <Slydder> think the link got chopped.
[20:05] <sheldor> is it possible to create an mp4 file with x264 video encoding and several audio streams for different languages and subtitles too, all in one file?
[20:06] <sheldor> from a dvd
[20:06] <retard> this is some severe frame ordering problem
[20:06] <Slydder> mp4 I don't think so. with multiple audio tracks you would have to go with a dvd I think
[20:06] <sheldor> no you retard
[20:07] <Slydder> retard: you talking about my video?
[20:07] <retard> yeah
[20:07] <sheldor> isnt mp4 a versatile container format?
[20:08] <luc4> Mavrik: this is the command line I used to extract the aac stream: http://pastebin.com/3rUhUn66.
[20:09] <Slydder> retard: stutters by you too?
[20:10] <sheldor> what is the recommended way to rip a dvd to hdd with all the audio tracks, subtitles, menu, everything?
[20:10] <retard> not so much stutters as plays the frames in incorrect order
[20:10] <Slydder> kk. then not just me and not a decoder problem. must be the encoder that sony uses.
[20:11] <retard> vdpau doesn't know how to handle it either
[20:21] <klaxa> sheldor: have a look at matroska
[20:21] <klaxa> wait
[20:21] <klaxa> with menu?
[20:22] <klaxa> mmh... no idea how to do that
[20:32] <Mista_D> Anyway to timestamp each line of vstat report?
[20:57] <luc4>  Mavrik: you there?
[22:30] <SubJunk> I'm trying to translate a command from MEncoder to FFmpeg, in MEncoder I use -oac pcm. In FFmpeg I see 20 or so pcm options, does anyone know which one is the one MEncoder is using?
[22:32] <beastd> SubJunk: maybe just ffprobe a file you generated with mplayer.
[22:36] <SubJunk> I'll try, thanks
[23:00] <beastd> SubJunk: I suspect it is pcm_s16le
[23:01] <jadams> how do I do the equivalent of x11grab on a mac?
[23:07] <SubJunk> beastd: Yeah it is, thanks for your help :)
[23:09] <beastd> SubJunk: your welcome
[23:21] <brx_> how can i check if my ffmpeg supports amrnb ?
[23:22] <sacarasc> Run `ffmpeg` and look at the --enable stuff for it.
[23:23] <blizzow1> I have a directory full of jpg files that I want to put smash together into a movie.  only after I see the raw video do I want to run ffmpeg to do any processing.  Do I just cat /path/to/jpegfiles*.jpg>movie.mpg?
[23:30] <sacarasc> No.
[23:37] <blizzow1> sacarasc: I guess the followup is, how do I string them together with minimal processing/no data loss?
[23:39] <sacarasc> cat *.jpg | ffmpeg -f img2pipe -i - -c:v copy output.avi
[23:41] <beastd> using -i '/path/to/jpegfiles*.jpg' should also work i AFAIK
[23:44] <sacarasc> Did ffmpeg change to allow globbing, then?
[23:51] <beastd> sacarasc: ffmpeg allows globbing patterns for image2 input
[23:51] <beastd> but it could be unavailable, depending on the build
[23:54] <beastd> uses POSIX glob, globfree
[23:55] <sacarasc> When did that come in?
[23:56] <beastd> it had bad start and something similar was proposed years ago. but i think it is in for at least half a year now.
[00:00] --- Thu Jan 10 2013


More information about the Ffmpeg-devel-irc mailing list