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

burek burek021 at gmail.com
Tue Oct 9 02:05:01 CEST 2012


[03:54] <praveenkumar_> hi everyone, I am trying to compile ffmpeg on arm arch and getting error http://fpaste.org/ROCy/ , any idea?
[04:56] <buu> Hey, how do I drop a stream during transcoding?
[05:05] <buu> I've figured out it needs to be -map
[05:05] <buu> But what option do yous pecify to go 'delete this'
[05:06] <buu> Oh, -vn
[05:06] <buu> That appears workable.
[06:30] <kn1000> If I want my resultant file to be x264 encasulated with mkv, and I've got a video file and an audio file that aren't neccessarily the same length, is ffmpeg capable of taking the video and the audio and truncating the longer (audio or video) as soon as the other part has finished
[06:30] <kn1000> basically audio = 30 seconds, video = 29 seconds, ffmpeg would encode audio and video together for 29 seconds but last second of audio would be lost
[12:09] <relaxed> knoch: -shortest
[12:56] <knoch> relaxed: -i_dont_understand
[13:01] <burek> buu or -map -0.1
[13:01] <burek> minus in front of a stream index makes what you want
[15:01] <relaxed> knoch: sorry, that was intended for kn1000
[15:01] <relaxed> but he parted
[15:17] <EricAhn> what is the meaning of MPEG-TS interleaved streams?
[15:17] <EricAhn> and differen between interleaved stream and non-interleaved stream.
[15:17] <EricAhn> and difference between interleaved stream and non-interleaved stream.
[15:18] <KING_LEE> hey  guys
[15:18] <KING_LEE> i get this error from a script when i try to make a .mov out of a .MTS
[15:18] <KING_LEE> [mov @ 0x94e1ae0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 1 >= 1
[15:18] <KING_LEE> av_interleaved_write_frame(): Invalid argument
[15:19] <KING_LEE> what does that mean and how can i fix it?
[15:19] <KING_LEE> it worked on my old system  :/
[15:30] <iive> EricAhn: actually it is quite hard to create mpeg-ts that doesn't have interleaved steams.
[15:31] <EricAhn> iive : hm I understood
[15:32] <iive> non-interleaved stream is when you have audio as one big chunk and video as another big chunk
[16:12] <KING_LEE> like this? http://pastie.org/5014898 ,... sorry
[16:20] <pzich> KING_LEE: well, they're probably going to want to see the actual args you're passing FFMPEG inside your script
[16:26] <KING_LEE> thats the script
[16:26] <KING_LEE> http://pastie.org/5018997
[16:27] <KING_LEE> i try to make my MTS files from a canon xa10 work in cinelerra
[16:28] <KING_LEE> i had this other script but the files came out huge (176mb .mov  from a 11mb MTS) and i still cant work with it in cinelerra prperly
[16:44] <relaxed> KING_LEE: That script is awful.
[16:47] <ibsk8in31> I'm using FFmpeg for windows and once and a while it freezes.  This time, I try to run again and it claims ffmpeg is not a valid win32 application.  Has anyone else experienced this?  Is it reboot time?
[16:48] <KING_LEE> relaxed: i have no clue about scripts and ffmpeg, i only want to get these videos to work in cinelerra. this other script a have from http://www.g-raffa.eu/Cinelerra/HOWTO/get_media_ready.html#_how_to_convert_your_hd_original_files_to_dnxhd produces these huge files and i want to have something lighter
[16:48] <relaxed> KING_LEE: for a in *.MTS; do ffmpeg -i "$a" -vcodec copy "${a%.*}".mov; done
[16:49] <relaxed> KING_LEE: The problem in this case is not the script but you should change it.
[16:51] <relaxed> KING_LEE: cinelerra can't take mpegts as input?
[16:53] <KING_LEE> it does not take the MTS. i have worked with other files about a year ago on my old system, then i had these MTS files and i got stuck with it and left it alone. now on this machine i want to get it going again
[16:54] <relaxed> hmm, rename one of the files to filename.ts and see if it will import it.
[16:56] <KING_LEE> no, that makes cinelerra think its a raw PCM
[16:58] <KING_LEE> the MTS will import but there is no video and the audio is just loud noise
[17:03] <relaxed> rename it to filename.m2t
[17:07] <burek> KING_LEE and plus, you are not using ffmpeg
[17:07] <burek> you are using a fork of ffmpeg
[17:08] <KING_LEE> burek: what do you mean?
[17:08] <burek> avconv is not the same thing as ffmpeg
[17:09] <burek> take a look at your output: "Copyright (c) 2000-2012 the Libav developers"
[17:09] <burek> libav is a fork of ffmpeg
[17:09] <relaxed> He is using ffmpeg but it's from libav. All you're doing is confusing him further.
[17:09] <burek> they just kept the ffmpeg tool, falsely added a message that ffmpeg is deprecated and let you believe you are still using the ffmpeg
[17:09] <burek> which you are not
[17:10] <burek> ffmpeg is ffmpeg, no need to confuse people with "ffmpeg from libav"
[17:10] <burek> such thing shouldn't even exist
[17:10] <KING_LEE> relaxed: assumes raw PCM if i rename it to .m2t
[17:10] <burek> and if it was the same thing, they wouldn't create avconv (as a synonim for ffmpeg tool)
[17:12] <relaxed> KING_LEE: ok run the followin the dir container the mts files ->  for a in *.MTS; do ffmpeg -i "$a" -vcodec copy -acodec pcm_s16le "${a%.*}".mov; done
[17:14] <relaxed> burek: Users could care less about ffmpeg/libav politics.
[17:15] <zap0> couldn't
[17:15] <relaxed> oh, right :)
[17:16] <relaxed> also, containing*
[17:17] <burek> never mind, I'll just stop wasting time helping people using something else but ffmpeg
[17:19] <KING_LEE> relaxed: it produces the same error as my first script
[17:25] <relaxed> KING_LEE: ugh, you can try rawvideo if you have the space. ffmpeg -i input.mts -vcodec rawvideo -acodec -acodec pcm_s16le output.mov
[17:32] <KING_LEE> relaxed:  that gives me another error message i cannot make sense of  :/
[17:32] <KING_LEE> http://pastie.org/5019297
[17:36] <KING_LEE> maybe its my ffmpeg?
[17:36] <relaxed> hold on
[17:36] <KING_LEE> or avconv or whatever i am using ^^
[17:38] <ubitux> KING_LEE: try this
[17:38] <ubitux> and check if it works better
[17:43] <relaxed> KING_LEE: yes, a newer version my help and you can also try ffmpeg -i input.mts -vcodec ffvhuff -acodec pcm_s16le output.avi
[17:44] <ziggyzero> Can somebody help me to convert MPEG Layer I files to MPEG Layer III?
[17:57] <KING_LEE> relaxed: that is still quite large and has no video
[18:03] <duvnell2> this is a room I can ask questions about the API of libavformat?  or is there another room for that?
[18:04] <saste> duvnell2, yes you can ask here
[18:04] <saste> or in the libav-user mailing list
[18:06] <duvnell2> thx.. does libavformat (or other parts of the library suite) support getting 'cue' or 'labl' tags from .wav files and the equivalent from other formats.. basically meta data within the files that goes with the audio tracks?
[18:06] <duvnell2> e.g. 'labl' chunks in .wav are points within the audio with an attached label text..
[18:09] <duvnell2> I'm guessing those types of things would be just additional streams in the file of some type other than audio or video
[18:11] <ziggyzero> Running files through mp3gain. Some complain saying that they are Layer I and not Layer III. Can somebody advise me how I convert the mp3's to layer III?
[18:13] <saste> ziggyzero, re-encode with -acodec libmp3lame
[18:14] <saste> if you don't have libmp3lame enabled, ffmpeg will create MPEG Layer II files (IIRC)
[18:18] <relaxed> KING_LEE: maybe someone in #cinelerra can guide you in the right direction.
[18:21] <KING_LEE> relaxed: thanks for your  help, i will try my luck there again. i think i had this script from #cinelerra and they forwarded me to #ffmepeg for further details
[18:22] <relaxed> ask them which lossless formats it supports
[18:24] <KING_LEE> ok, but i need some food first
[18:24] <KING_LEE> laters
[20:13] <duvnell2> google shows some unpromising result.. is there a good C++ library that wraps encoding/decoding of files?
[20:13] <duvnell2> (using ffmpeg)
[20:23] <saste> duvnell2, why do you want a wrapper?
[20:24] <duvnell2> presumably to make things easier
[20:24] <saste> wrapper => more complicated
[20:50] <goudkov> hi guys. i would like to have ffmpeg decode a stream and store it as a series of jpg images. i'm using format image2 with codec mjpeg and output  file pattern like out%03d.jpg. would it be possible to set up ffmpeg to loop over that specified range instead of continuously increasing the file "number"?
[20:51] <goudkov> i need to keep the  latest x images at any given time
[20:51] <tonsofpcs> anyone know what the AC3 (A/52) fourcc is?
[20:57] <iive> ac-3 would do the trick. avi uses twocc for audio and 0x2000 may be the one.
[21:00] <tonsofpcs> well, I have an aiff that is referenced by an mov that is flagged as PCM (twos) when it's really AC3
[21:02] <tonsofpcs> just seeing if I can fix it in file space without forcing a command-line option
[21:03] <tonsofpcs> hmm. It appears VLC will open the adjusted .mov but won't actually decode the audio...  I wonder how AIFF stores such information (it's in an SSND chunk)
[21:04] <tonsofpcs> I've forced ffmpeg to decode it before, but I'd rather just make it usable as-is
[21:07] <Sashmo> can anyone tell me which guide is best to follow for installing ffmpeg on mac 10.7.5 ?
[21:08] <ziggyzero> **FIXED** All thanks for the suggestions with my MP3 issue. It was that the MP3 headers were corrupt. Running them through mp3val restored :-) I think was able to analyse them with mp3gain and apply the gain adjustments. Thanks.
[21:08] <Sashmo> I see a few links out there, but all seem varied in what they do..
[21:23] <tonsofpcs> @^(*@*^@( chunked filetypes
[21:32] <buu> burek: oh cool.
[21:37] <saste> Sashmo, !wiki
[21:37] <saste> => compilation guide
[21:38] <llogan> i now have access to a OSX machine, so I'll eventually re-write the OSX guide
[21:38] <llogan> or at least i tell myself i will
[21:39] <Sashmo> thanks everyone
[21:51] <saste> llogan, there are a few ancient tickets related to osx
[21:51] <saste> could you check that they still stand?
[21:57] <llogan> saste: ill take a look once i learn how to use it. (also it's the girlfriend's so i won't get to hog it).
[21:58] <saste> llogan, they're mostly building bugs, i suppose they are already fixed but we need someone to check
[21:58] <saste> ah and there is the openal thing
[21:59] <saste> if someone has an old cheap mac to spare, let me know :)
[21:59] <llogan> powerpc?
[21:59] <saste> yeah that would be interesting
[21:59] <llogan> i might be able to acquire some really old stuff. any model in particular?
[21:59] <saste> one of the few bigendian CPUs
[22:00] <llogan> i know a guy who has a personal Apple "museum"
[22:00] <llogan> i'll see waht he may have and i'll get back to you
[22:00] <saste> no no model in particular, that would be for testing purposes only
[22:14] <llogan> saste: would shell access suffice?
[22:15] <saste> llogan, that's better than nothing, but only useful for building problem
[23:11] <lake> All, I have film videos @ 640x480. Should I try to scale them up to 720x480 for widescreen? Would that affect the quality?
[23:11] <lake> also, I have this script i use. Does anyone notice anything glaringly wrong about this?
[23:11] <lake> http://pastie.org/5020914
[23:11] <lake> i feel like the vbitrate may be a little to high
[23:11] <lake> but i am a real noob and i don't even know how i got this far. :
[23:11] <lake> :p*
[23:27] <llogan> lake: you're using mencoder. this is ffmpeg.
[23:33] <lake> llogan: llogan but mencoder is an interface to ffmpeg, right?
[23:36] <llogan> i don't know much about it actually. i only use ffmpeg.
[00:00] --- Tue Oct  9 2012


More information about the Ffmpeg-devel-irc mailing list