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

burek burek021 at gmail.com
Sun Oct 7 02:05:01 CEST 2012


[00:09] <burek> rainmaker1 can you please use a pastebin site (like www.pastebin.com) to show your ffmpeg command and the complete console output?
[00:25] <rainmaker1> burek: sure if you are still awake :)
[00:25] <burek> :)
[00:25] <rainmaker1> cool :)
[00:29] <rainmaker1> Here it is http://pastebin.com/UB3PzGpC
[00:38] <rainmaker1> burek: ant idea how to discard some streams? ie subtitles
[00:41] <burek> im here
[00:41] <burek> just a sec
[00:43] <rainmaker1> ok ok
[00:45] <burek> rainmaker1, you did select correct program id
[00:45] <burek> so, now, you want what?
[00:45] <burek> discard everything except audio/video?
[00:47] <rainmaker1> hmmmm
[00:47] <rainmaker1> if you look at pastebin
[00:47] <rainmaker1> I have a mux of multiple live channels
[00:47] <rainmaker1> every channel I want to transcode
[00:48] <rainmaker1> audio/video
[00:48] <rainmaker1> and nothing else
[00:48] <rainmaker1> is this possible?
[00:48] <burek> well, you selected only one program (channel) 7002
[00:49] <burek> meaning, you selected all of its streams
[00:49] <rainmaker1> yes and I want to use audio/video only and I don;t want subtitles as I receive above error
[00:49] <burek> and there are 4 of them, exactly how ffmpeg selected them
[00:49] <rainmaker1> ok
[00:49] <burek> ok, so you want to specify only audio/video from program 7002 ?
[00:49] <rainmaker1> bingo :D
[00:50] <burek> take a look at the format of the -map option: http://ffmpeg.org/ffmpeg.html#Advanced-options
[00:50] <burek> -map [-]input_file_id[:stream_specifier]
[00:50] <burek> now, what is <stream_specifier> ? take a look here: http://ffmpeg.org/ffmpeg.html#Stream-specifiers-1
[00:50] <burek> p:program_id[:stream_index]
[00:50] <burek> now, you might try: -map 0:p:7002:a -map 0:p:7002:v
[00:50] <burek> instead of: -map 0:p:7002
[00:51] <rainmaker1> Aha!
[00:51] <rainmaker1> Now tha main error
[00:52] <rainmaker1> Failed to compensate for timestamp delta of -21867.146792
[00:52] <rainmaker1> I always get this error
[00:53] <rainmaker1> Now I have read something like I can specify a synchronization stream or something like that but it is not clear to me
[00:53] <rainmaker1> how I know what is synchronization stream?
[00:53] <burek> pastebin?
[00:54] <rainmaker1> sure
[00:56] <rainmaker1> http://pastebin.com/amaZH6Ly
[00:59] <burek> rainmaker1, for some reason that didn't work
[00:59] <burek> try this
[00:59] <burek> -map 0:p:7002:0 -map 0:p:7002:1
[01:00] <rainmaker1> same error :*
[01:00] <rainmaker1> :(
[01:00] <rainmaker1> not * but (
[01:00] <burek> :D
[01:00] <burek> pastebin? :)
[01:01] <rainmaker1> sec
[01:03] <rainmaker1> here it is
[01:03] <rainmaker1> http://pastebin.com/HEJymGdt
[01:05] <burek> pastebin sure got slow in last couple of days
[01:06] <burek> became*
[01:06] <rainmaker1> I dont use it on a daily basis
[01:06] <rainmaker1> :)
[01:06] <burek> that's good so far (your pastebin)
[01:07] <burek> now
[01:07] <burek> can you start with something like this
[01:07] <burek> ffmpeg -f mpegts -y -i udp://237.0.0.230:5000?overrun_nonfatal -map 0:p:7002:0 -map 0:p:7002:1 output.ts
[01:07] <burek> and slowly add more and more options
[01:08] <burek> until you get your current command line
[01:08] <burek> just to be able to see where does the error occur
[01:08] <rainmaker1> well I am not sure
[01:08] <rainmaker1> frame=    0 fps=0.0 q=0.0 Lsize=     246kB time=00:00:00.00 bitrate=   0.0kbits/s dup=0 drop=344
[01:09] <rainmaker1> is this ok to have a huge number of drops?
[01:09] <burek> well, if fps stays at 0 thats not good
[01:09] <rainmaker1> well yes
[01:10] <rainmaker1> it's a strange
[01:10] <burek> either your input is invalid, or the ffmpeg's decoders are buggy
[01:10] <rainmaker1> I belive in second :(
[01:10] <burek> it would also be good to capture a raw input and save it as a dump file
[01:10] <rainmaker1> because input is used on some pro equipment
[01:10] <burek> like 10-20 mb
[01:11] <burek> in case you need to provide a sample, so that developers can see what is wrong
[01:11] <burek> and fix the bug (if any)
[01:11] <rainmaker1> I will try to open a bug report just need to read a rules how to post a bug report
[01:12] <rainmaker1> Thank you for your time burek, and have a good night :)
[01:12] <burek> you might try also: ffmpeg -y -f mpegts -i udp://237.0.0.230:5000?overrun_nonfatal=1 -map 0 -c copy -t 120 output.ts
[01:13] <burek> np :)
[01:13] <rainmaker1> nope
[01:13] <rainmaker1> [mpegts @ 0x2eeb200] sample rate not set
[01:14] <rainmaker1> Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
[01:14] <burek> it would help to capture that udp input to some raw file..
[01:14] <burek> I'm just not sure how
[01:14] <rainmaker1> yes, via tcpdump or tshark
[01:15] <burek> I guess
[01:15] <rainmaker1> will try
[01:15] <rainmaker1> thanks again :)
[01:15] <burek> :beer: :)
[01:15] <rainmaker1> and good night, take a look at a clock :P
[01:15] <burek> :)
[01:16] <burek> the night is young :)
[01:16] <burek> gn :)
[01:16] <rainmaker1> :D
[06:07] <DGMurdockIII> hey have you guys heard of http://www.theaudiodb.com?
[10:54] <newenc> how do you do I-frame only mpeg2?
[12:35] <King_Rat> can someone explain how I can map two different audio streams to the same output file?
[12:36] <King_Rat> im currently using "ffmpeg -y -f x11grab -s "1366x768" -r 10 -i :0.0 -f alsa -i pulse -f pulse -i default -vcodec libx264 -s "640x360" -acodec libmp3lame -ab 128k -map 0:0 -map 1:0 -map 2:0 asdasd.mp4"
[12:36] <saste> King_Rat, -map, check examples in the doc
[12:36] <King_Rat> i did, and got confused
[12:38] <King_Rat> i'd have thought it would work but it only seems to take a first audio stream
[12:38] <saste> pb King_Rat
[12:39] <King_Rat> http://pastie.org/pastes/4921439/text
[12:40] <saste> King_Rat, looks correct
[12:40] <saste> what's wrong with it
[12:41] <saste> (FUCK I need to scroll xchat to see the posted messages)
[12:41] <saste> King_Rat, if you want to *merge* the audio streams you need amerge/amix
[12:41] <King_Rat> oh right
[12:45] <King_Rat> so I don't need to use maps at all?
[12:46] <saste> King_Rat, I don't think so, you should find some examples in the docs (amerge/amix, with somewhat different features)
[12:46] <King_Rat> oh cool, i got it working
[12:46] <King_Rat> sorry, i naively thought ffmpeg would merge the streams by default
[12:48] <saste> no, fortunately ffmpeg doesn't try to be "clever" and preserve the input structure
[12:48] <King_Rat> yeah, i suppose that's much more sensible
[12:49] <King_Rat> thanks for the help, and sorry about my incompetence
[12:49] <saste> you're welcome
[12:49] <saste> ::donate button:: :)
[12:52] <King_Rat> im afraid i dont have much money to spare
[12:52] <King_Rat> i can draw you a picture of you like though
[12:54] <saste> King_Rat, if you're an artist you may consider to send us a logo
[12:54] <saste> we have a sort of contest for a new winter logo
[12:55] <saste> http://ffmpeg.org/trac/ffmpeg/wiki/SubmitALogo
[13:01] <King_Rat> i'm a terrible artist
[13:02] <King_Rat> and im generally against software having logos
[17:10] <cheeseduck> I recently read news that ffmpeg 1.0 was out.
[17:10] <cheeseduck> So why does mine say "ffmpeg version N-45080-gd9dfe9a"?
[17:10] <cheeseduck> (Just downloaded it.)
[17:11] <cheeseduck> What absurd version number is that?
[17:12] <bigmeow> hi all
[17:12] <creep> cheeseduck<< its the trend, you don't like that cool name ?
[17:13] <dzan> hi, i'm using Serviio which uses ffmpeg to transcode video and serve it over dlna/upnp or flash ( http ), I used this guide to build it myself: http://wiki.serviio.org/doku.php?id=build_ffmpeg_linux and my version info looks like this: http://pastebin.com/BDbQKYZa I'm on a ubuntu server 11.04 with a amd 760g chipset and the kind of output I always get is this: http://www.zimagez.com/zimage/schermafdruk-05-10-12-142254.php , and the sound is ver
[17:13] <dzan> y screechy and unuseable. does anyone have any idea what could go wrong? I searched for a solution since a week without result.
[17:13] <cheeseduck> No.
[17:13] <cheeseduck> Can you explain what the hell is going on?
[17:13] <creep> i don't even read those numbers
[17:14] <creep> doesn't really matter
[17:14] <creep> i have one problem with ffmpeg currently, it fails to handle the datastream of my cheap webcam
[17:29] <bigmeow> how to compile ffmpeg using vs on windows?
[17:49] <creep> bigmeow<< no idea
[17:50] <mooglenorph> Hi, I'm on debian screeze and I'm trying to record a screencast for youtube. I'm trying to capture lossless video first, using this command: ffmpeg -f x11grab -r 30 -s 1280x800 -sameq -i :0.0 -f alsa -i pulse meow.avi
[17:51] <creep> and it doesn't work?
[17:51] <mooglenorph> But it seems kind of laggy when I play back the video.
[17:51] <creep> the sound?
[17:51] <mooglenorph> No, the video, the sound is fine.
[17:51] <creep> try mjpg
[17:51] <mooglenorph> Also, I have no idea what I should transcode it to, if anything, for upload to youtube.
[17:51] <creep> or something faster
[17:52] <creep> h264 mkv is the smallest
[17:52] <mooglenorph> Okay, thanks, I'll try that...
[17:53] <creep> you might want to try out h264 fastest setting, if your computer can handle that
[17:53] <creep> as a compromise
[17:55] <mooglenorph> Is there a way to list available codecs?
[17:56] <mooglenorph> I tried -vcodec libx264 and it says it cannot find that codec.
[17:56] <mooglenorph> But I've installed all the x264 packages in squeeze
[17:58] <mooglenorph> Specifically, Unknown encoder 'libx264'
[18:22] <luft> hi, I need some help with encoding
[18:23] <luft> I'm using the comman ffmpeg -i \[Coalgirls\]_Mobile_Suit_Gundam_Unicorn_01_\(1920x1080_Blu-ray_FLAC\)_\[CF793FEE\].mkv -c:v copy -aq 200 Gundam_Unicorn_01.mp4
[18:23] <luft> command*
[18:23] <luft> and I'm getting the error: Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height
[18:26] <JEEB> paste the terminal output onto a pastebin and link there
[18:26] <JEEB> *here
[18:26] <JEEB> I'm pretty sure the actual error is higher up :P
[18:29] <luft> it was
[18:30] <luft> hold on
[18:31] <luft> http://pastie.org/4922687
[18:31] <ubitux> "Codec is experimental but experimental codecs are not enabled, see -strict -2"
[18:32] <JEEB> yup
[18:32] <JEEB> -strict experimental or -strict -2
[18:32] <JEEB> is needed
[18:32] <JEEB> to enable the internal aac encoder
[18:32] <JEEB> also I'm pretty sure aq 200 doesn't do what you think it does
[18:33] <luft> variable rate encoding?
[18:33] <luft> I thought that was supposed to be variable rate encoding for aac with 255 the highest quality, and 0 the lowest
[18:34] <JEEB> I think it's the other way around, and I'm not sure if it even goes 0-255
[18:35] <luft> oh ok
[18:35] <JEEB> at least looking from the side of H.264 where QPs go from 0-51, but not like I know how to the -aq setting works
[18:38] <luft> any idea how to extract the subtitles from an mkv?
[18:39] <JEEB> -c:s copy
[18:40] <luft> ok
[18:41] <creep> mooglenorph<< try ldconfig
[18:47] <luft> -c:s copy isn't working
[18:48] <luft> -scodec copy does try to copy the english subs, but it errors out
[18:48] <luft> mainly because the codec is not supported in mp4
[18:50] <ubitux> try -c:s mov_text
[18:51] <ubitux> you won't retain the advanced ass markup though
[18:51] <luft> ubitux: ok
[18:51] <ubitux> your version might be too old btw.
[18:52] <ubitux> you are two major versions behind
[18:52] <ubitux> at least upgrade to 1.0
[18:53] <luft> ok
[18:57] <luft> I downloaded a static build and I'm getting this now: [libvo_aacenc @ 0x2d62b60] Unable to set encoding parameters
[19:02] <luft> ok, maybe I now have it working, switched to mp3 for audio codec
[19:38] <mickkie> Hi All, trying to extract subtitles with: ffmpeg -i /data/Masters\ of\ Money_121001.rec -an -vn -sbsf mov2textsub -c:s copy -f rawvideo sub.txt and I'm getting this error: "Unrecognized option 'sbsf'  Failed to set value 'mov2textsub' for option 'sbsf'" Am I doing something wrong?
[19:38] <mickkie> The video is from a Topfield PVR
[19:59] <cheeseduck> I recently read news that ffmpeg 1.0 was out. So why does mine say "ffmpeg version N-45080-gd9dfe9a"?
[19:59] <cheeseduck> What absurd version number is that?
[20:17] <ubitux> a git identifier
[20:18] <ubitux> [/tmp/ffmpeg-1.0]- ./version.sh
[20:18] <ubitux> 1.0
[20:18] <ubitux> it's likely your 1.0 is build from a different version
[20:19] <ubitux> likely a more recent one
[20:21] <ubitux> with git/master you would have: N-45112-g51211d3
[20:21] <ubitux> N-45080-gd9dfe9a is 32 commits before the latest bleeding edge "version"
[20:22] <cheeseduck> Hrm...
[20:22] <cheeseduck> ubitux: I got mine from here: http://ffmpeg.zeranoe.com/builds/
[20:22] <cheeseduck> "FFmpeg git-d9dfe9a 64-bit Static (Latest)"
[20:22] <cheeseduck> Which looks like the last stable?
[20:23] <ubitux> a bit more recent
[20:23] <cheeseduck> Then I have no idea what the actual latest stable is on that page.
[20:23] <cheeseduck> Why a billion download links?
[20:23] <ubitux> why do you care about the "stable" one?
[20:23] <ubitux> unless you are a distributor, the latest git version is recommended
[20:23] <cheeseduck> Because I don't like running unstable stuff?
[20:24] <ubitux> git head isn't less stable
[20:24] <cheeseduck> Let's say I *am* a distributor. Where is that?
[20:24] <ubitux> you have to build it yourself
[20:24] <cheeseduck> I don't understand this weird ambiguity.
[20:24] <cheeseduck> And why they don't use proper version numbers.
[20:24] <ubitux> do you understand what git is?
[20:25] <cheeseduck> Yes.
[20:25] <ubitux> zeranoe is just distributed (automated?) build based on the latest version
[20:25] <ubitux> you have multiple build for multiple configuration preset
[20:25] <ubitux> we recommend our users to use the latest git because we don't release "stable" version often
[20:26] <ubitux> maybe you could ask in the zeranoe forum for 1.0 releases
[20:27] <ubitux> so well, the version you see is just a commit identifier
[20:28] <ubitux> if you want to do yourself some "stable" ffmpeg windows builds, you can go grab the 1.0 sources on http://ffmpeg.org/download.html#releases
[20:28] <ubitux> and make it yourself
[20:28] <cheeseduck> Well...
[20:29] <ubitux> most (all?) the developers are *nix only people, so we don't have windows-manpower to do that ourselves
[20:29] <cheeseduck> I don't see why I'd want to build it locally.
[20:29] <ubitux> i don't know your needs
[20:30] <cheeseduck> The latest is probably gonna cut it for me, but I still find it odd.
[20:30] <ubitux> you can discuss this with this particular distributor
[20:30] <ubitux> as ffmpeg developers, we don't really control that
[20:53] <shevy> guys, question - there is a video stream, made available to us as .mpg file. the file is huge though 400 mb
[20:54] <shevy> can ffmpeg convert this to an acceptable quality, to .mp4 or some other smaller, more efficient container / format?
[20:54] <shevy> I dont wanna backup 10 x 400 mb :(
[20:54] <shevy> 5-30% quality loss is absolutely fine
[21:11] <KING_LEE> hello, i have some problems with an MTS file. i want to turn into a .mov but i get this error
[21:12] <KING_LEE> [mov @ 0x8312ae0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 1 >= 1
[21:12] <KING_LEE> av_interleaved_write_frame(): Invalid argument
[21:12] <KING_LEE> what does that mean?
[22:49] <Marlinc> Hellooo
[22:50] <Marlinc> Is it possible to get
[22:50] <Marlinc> frame=   23 fps=  5 q=23.9 Lsize=     813kB time=6.60 bitrate=1008.9kbits/s
[22:50] <Marlinc> More frequent?
[23:58] <Marlinc> Hello?
[00:00] --- Sun Oct  7 2012


More information about the Ffmpeg-devel-irc mailing list