[Ffmpeg-devel-irc] ffmpeg.log.20140907
burek
burek021 at gmail.com
Mon Sep 8 02:05:01 CEST 2014
[00:25] <ZiNC> Hey.
[00:29] <dirkson> Hey all. I've specified "test.swf" in ffserver's conf file... But where does it put that file? Doesn't seem to output it to the directory it's running in, nor the temp directory I give it
[00:30] <onyx> hey guys Im getting Unknown encoder 'libx264'
[00:31] <c_14> Recompile FFmpeg with libx264 support or download a static build.
[00:32] <onyx> which one is easier?
[00:32] <c_14> The static build.
[00:33] <c_14> http://johnvansickle.com/ffmpeg
[00:33] <c_14> assuming linux
[00:33] <onyx> yes ubuntu
[00:33] <onyx> should I remove ffmpeg first?
[00:33] <c_14> You don't have to.
[00:34] <c_14> You just have to either place the downloaded ffmpeg binary somewhere in you PATH in front of the system one, or always call it with an absolute path
[00:34] <onyx> oh i see
[00:36] <c_14> *your
[00:43] <onyx> it worked!
[00:53] <dirkson> I'm very confused with how ffserver is working. Is the client ffmpeg doing the processing, or is ffserver?
[00:53] <c_14> The client ffmpeg.
[00:56] <dirkson> Ok. So the massively slow performance I'm getting is probably because... Hell, I have no idea. Drat.
[01:03] <dirkson> Ahah! Because ffserver had another video stream enabled
[01:43] <dirkson> Ok! Got it functioning with ffplay ( http://orangehattech.com:8090/test1.webm ) which results in this on the server ( Sat Sep 6 16:38:17 2014 71.59.172.169 - - [GET] "/test1.webm HTTP/1.1" 200 6736748 ) But when I try to go directly to the url in a webbrowser, this happens ( Sat Sep 6 16:38:32 2014 71.59.172.169 - - [] " " 200 0 ) and the browser is unable to display anything. Any ideas?
[01:43] <dirkson> Hah. Must be come kind of bot on this channel
[01:44] <c_14> What browser?
[01:44] <dirkson> c_14: Good call. Firefox. Trying in chrome now
[01:45] <dirkson> Chrome seems to send the correct "get" stuff, but doesn't display anything.
[01:46] <dirkson> Same thing with chromium, to no big surprise : )
[01:46] <c_14> How about you try my little friend curl?
[01:47] <c_14> If curl likes it, then the browsers are doing something incorrectly.
[01:47] <dirkson> c_14: wget grabs a section of video AOK. curl by default just tries to vomit it to stdout... I'm less familiar with it.
[01:48] <dirkson> But forcing it to write to disk with > results in a playable video
[01:48] <c_14> curl url | ffplay - , or curl -o file url
[01:49] <dirkson> c_14: Yup, those work
[01:49] <c_14> You using the newest versions of chromium/firefox ?
[01:50] <dirkson> Both just updated.... yesterday? Day before?
[01:50] <dirkson> But only to whatever's available for debian testing
[01:50] <c_14> firefox --version ?
[01:51] <dirkson> 31.0 for firefox, 35.0.1916.153 for chromium
[01:51] <c_14> Hmm, 31 should be new enough.
[01:51] <dirkson> c_14: Does that url work for you in firefox/chromium/whatever?
[01:52] <c_14> Well, I get the webm element, but when I press play I just get a buffering circle.
[01:52] <dirkson> Yup, me too.
[01:52] <dirkson> At least we can reproduce the problem! ^.^
[01:57] <dirkson> c_14: ... How old is ffmpeg 2.1.1 ?
[01:57] <c_14> Cut from master on 2013-10-28
[01:58] <dirkson> Nearly a year. Definitely an update couldn't hurt
[01:59] <c_14> What's confusing me is that ffplay will play it easily, but my video player will only show the first frame and then not update.
[01:59] <c_14> Even if I throw curl in front...
[01:59] <dirkson> c_14: Fascinating. You want a pastebin of the ffserver file?
[01:59] <c_14> sure
[02:01] <c_14> Saving it to a file and then playing that works though...
[02:03] <c_14> Can you try creating an html page linking to the video with the video tag?
[02:03] <dirkson> c_14: https://www.scrumbleship.com/livestream - Already done :D
[02:04] <dirkson> c_14: THAT doesn't even show up in the ffserver logs....
[02:04] <dirkson> Oh.... It does, but not from the IP I'd expect, and only when you stop the page from loading.
[02:05] <dirkson> c_14: http://pastebin.com/B06yyAuN
[02:06] <c_14> Ok, so I can now do a frame by frame using that /livestream page...
[02:06] <dirkson> Interesting
[02:07] <c_14> The get request for test1.webm took 61189ms
[02:07] <dirkson> Oh, well, shucks, that's nearly instant, isn't it? Is that..... 60 seconds or 600?
[02:07] <c_14> 60
[02:07] <sacarasc> 61.2!
[02:07] <dirkson> Thanks Mr. Pedantic ^.^
[02:08] <c_14> 61.189
[02:08] <c_14> If you're going to be pedantic, you could at least go all the way. :)
[02:09] Action: dirkson laughs, "Well, be careful. Any more pedantry and the channel might spontenously switch to ##C..."
[02:09] <sacarasc> I was rounding to 3SF.
[02:18] <c_14> What I don't get is why the get sent by curl gets a response within seconds and the get sent by firefox just sits there...
[02:19] <dirkson> c_14: I don't get that either.
[02:19] <dirkson> c_14: Those last two requests you did are the blank kind, though: Sat Sep 6 17:18:54 2014 109.Rec.act.ed - - [] " " 200 0
[02:20] <c_14> The last couple were probably firefox.
[02:20] Action: c_14 is trying with netcat now...
[02:20] <dirkson> c_14: That does have the whole line
[02:20] <c_14> yeeep, that works
[02:20] <c_14> and there went my terminal
[02:20] <dirkson> Hahaha
[02:20] <dirkson> I've never understood why terminals do that
[02:24] Action: c_14 is now testing different http headers.
[02:24] <dirkson> c_14: Let me know if I can do anything but be a beautiful model for the webcam ;) I'll watch the server output for anything weird, of course.
[02:29] <c_14> Nope, not the headers.
[02:29] <c_14> Works with ncat, anyway.
[02:30] <dirkson> c_14: Most of those produced the "/test1.webm" variant
[02:54] <c_14> dirkson: To be completely honest, I have no clue. You could try throwing things out of the ffserver.conf and simplifying it to the bare minimum of what it needs (ie throw out the gop size) and see what happens
[02:54] <c_14> But, since ffplay can play it and files created from it using curl/whatever are playable I have no idea.
[02:55] <LIERO> I used some bullshit recorder application to capture a video, apparently it uses ffmpeg
[02:56] <LIERO> except, converting it in avi, the resulting video is upside down, black and white and tilted
[02:56] <Hello71> "converting it in avi"
[02:56] <c_14> lel?
[02:56] <LIERO> it's 2.2gb for a little over 1 minute as well xD
[02:57] <c_14> What are you trying to capture?
[02:58] <LIERO> it was capturing my desktop
[02:58] <c_14> https://trac.ffmpeg.org/wiki/Capture/Desktop
[02:58] <c_14> If you don't have FFmpeg yet: https://ffmpeg.org/download.html
[02:59] <LIERO> unfortunately, I cannot repeat what I captured
[02:59] <LIERO> so I was wondering if anyone has had any similar issues with encoding
[02:59] <LIERO> >.>
[02:59] <LIERO> nothing turned out in google
[03:00] <c_14> Well, you can flip the video with ffmpeg, and maybe deal with the tilt, but coloring it is going to be ehhh, difficult.
[03:00] <Hello71> what does "converting it in avi" mean
[03:00] <Dark-knight> Have you contacted the internet: .avi division?
[03:01] <LIERO> o_O
[03:02] <LIERO> Hello71 it was the format I chose for the capture in question
[03:02] <LIERO> apparently mp4 turn out normal, avi turn out upside down, black and white and tilted
[03:03] <Hello71> is there any real reason to use xvid instead of h264/vp8 at this point?
[03:04] <c_14> The name has an x in it.
[03:04] <c_14> 'x's are at least 35% cooler than other characters.
[03:04] <Hello71> x264 has an x too
[03:04] <Dark-knight> lol
[03:04] <Hello71> and webm is "web" so it's good
[03:05] <sacarasc> I think this is relevant http://www.gotfuturama.com/Multimedia/EpisodeSounds/2ACV16/12.mp3
[03:06] <LIERO> xD
[03:06] <LIERO> http://i.imgur.com/RTa0i9d.png
[03:06] Action: LIERO outta here
[03:08] <Dark-knight> So LIERO, Do you actualy have a problem?
[06:15] <ghospich> Is it necessary to specify bitrate in first pass when using two pass encoding?
[06:17] <Nanashi> curious...
[08:08] <relaxed_> ghospich: yes
[08:18] <ghospich> okay
[11:18] <ghospich> "ffmpeg commandline is more for demonstration of its features (though it doesn't matter that you use if it helps). If you want to use only as a command, there are many applications that use ffmpeg to do what you want to do" - that guy
[11:19] <JEEB> dunno, for encoding with libx264 some use cases have gotten relatively painless, although some things still require lulzy video filter or audio filter lines :P
[11:26] <ghospich> yeah, for some reason he thinks that doing-things-in-console=used-solely-as-library
[11:27] <ghospich> though ffmpeg has great CLI, which pretty okay to use.
[12:14] <avantus> hey, saste
[12:15] <saste> avantus, o/
[12:17] <avantus> that thing i told u about few days ago about drawtext mapping error, when txt is being written and accessed at the same time...
[12:18] <avantus> is actually my txt generator, which truncates it first to zero before data is written
[12:19] <avantus> is it possible to disable this feature in vf_drawtext.c, so ffmpeg will ignore empty txt?
[12:19] <avantus> http://pastebin.com/uABrmfDG
[12:23] <saste> avantus, i don't think so
[12:23] <saste> empty text is valid
[12:24] <saste> at some point you may want not to visualize anything
[12:24] <saste> what's your scenario?
[12:25] <saste> if you want to update the text from time to time you may use a command for changing only the text
[12:25] <saste> the thing is that it was broken, at least the last time i checked it
[12:25] <saste> see zmq and reinit command in drawtext
[12:28] <avantus> wait, so empty .txt file is valid?
[12:31] <avantus> [Parsed_drawtext_1 @ 0xa772900] [FILE @ 0xbfbaca40] Error occurred in mmap(): Invalid argument
[12:31] <avantus> [Parsed_drawtext_1 @ 0xa772900] The text file '/home/ncoder/Desktop/news.txt' could not be read or is empty
[12:38] <saste> avantus: The text file '%s' could not be read or is empty\n"
[12:38] <saste> so an empty fail will generate an error
[12:38] <saste> what's the behavior of drawtext in that case?
[12:39] <saste> s/fail/file/
[12:39] <avantus> iam reloading it with reload=1 flag, the txt is being written at certain interval
[12:39] <saste> in case the file is empty, av_file_map() will fail and what is the behavior of drawtext in that case?
[12:41] <avantus> [AVFilterGraph @ 0xa609720] Error initializing filter 'drawtext' with args 'fontfile=/usr/share/fonts/tr
[12:42] <saste> avantus, that doesn't make sense
[12:42] <saste> ah wait
[12:44] <saste> no the reload feature should only reload the text read from the file
[12:44] <saste> also, in case of an empty file the map function should not fail (I checked again the code)
[12:44] <saste> anyway i don't have time anymore now to debug this issue
[12:58] <avantus> ok saste, thanks. Just for when u have time, create an empty txt and drawtext it, it gives me error on both windows and linux builds
[14:14] <waressearcher2> is there a difference between using "-vcodec libx264" and "-vcodec h264" ?
[14:19] <JEEB> waressearcher2, if h264 now works for encoding that is just by chance (as in, libx264 got put under the h264 "group"). Because h264 is the name of the libavcodec decoder
[14:19] <JEEB> so basically the difference is that you are either setting a "group" compared to a specific encoder
[14:19] <JEEB> in theory if there was another H.264 encoder you might get that instead of libx264 :P
[14:19] <JEEB> or decoder, I guess. if those groups work for decoders, too
[14:20] <waressearcher2> so they are not aliases ?
[14:21] <JEEB> not strict aliases, no. it's a "group" for a format of sorts, and it picks the "best" of things available for that group ("best" being defined very vaguely, it could just be a list and the first thing it finds of it picks)
[14:22] <JEEB> I actually kind of dislike the groupings for aac, for example. because the goddamn name of the aac encoder is "aac", while IIRC nowadays the groups could just select another AAC encoder instead
[14:22] <JEEB> that said, I don't use that feature and most of my builds that I do for development miss any other AAC encoders so I've never really checked how much that stuff fails or doesn't fail
[14:22] <JEEB> as in, if I want libx264 specifically I will set that instead of something that _might_ lead to libx264 getting selected
[14:26] <waressearcher2> so for specific codec I should use "h264" ?
[14:27] <JEEB> uhh
[14:29] <waressearcher2> JEEB: you are saying it quite vaguely
[14:29] <waressearcher2> "libx264 got put under the h264 "group"", so I assume libx264 is a codec and h264 is a group and I need to always use libx264
[14:30] <JEEB> h264 is a format that is also a group, and whether or not you get libx264 with "h264" is currently dependant on the fact that no-one generally links any other H.264 encoder to ffmpeg
[14:31] <JEEB> I'm saying that "h264" just happens to work now because they made the groups for the a/v/s formats, which are newfangled things that I'm not really fond for
[14:31] <JEEB> if you need libx264 specifically, you set it
[14:31] <JEEB> that's my opinion on the matter :P
[14:40] <waressearcher2> I have a problem to cutting out little piece of video with audio, for example I use that command ffmpeg -ss 1117 -t 43 -i video.mp4 -vcodec mpeg4 -vb 3000k -vf "scale=650:-1" -ab 320k -ar 44100 -ac 2 -acodec libmp3lame -y -f avi out.avi to cut out few seconds of video, but when I open that output video the sound is normal but first second of so of
[14:40] <waressearcher2> video is just same frame and then video plays normaly, no desynchronization, so why the first second of output video it shows the same frame ?
[14:43] <klaxa> use -ss 1117 after -i video.mp4
[14:43] <klaxa> it will take longer to seek though
[14:43] <klaxa> also see: http://ffmpeg.org/trac/ffmpeg/wiki/Seeking%20with%20FFmpeg
[15:51] <sky1> hello
[15:52] <sky1> i need some help with video conversions using ffmpeg
[15:52] <sky1> i need to convert a file which is a .mov to a 3gp format
[15:53] <sky1> May I be suggested with the CLI
[15:57] <sky1> i need some help with video conversions using ffmpeg
[15:57] <sky1> i need to convert a file which is a .mov to a 3gp format
[15:57] <sky1> May I be suggested with the CLI
[15:57] <c_14> ffmpeg -i name.mov name.3gp
[15:57] <c_14> maybe with -c copy
[15:58] <waressearcher2> I used to use that command "ffmpeg -i video.mov -vcodec mpeg4 -vb 1500k -vf scale=320:180,pad=320:240:0:30 -r 25 -acodec libfaac -ar 44100 -ac 2 -ab 128k -y -f 3gp video.3gp" to make video for smartphone
[15:58] <sky1> ok
[15:59] <sky1> the file is like ' 142306432_I.mov
[16:00] <waressearcher2> also I use these options "-vf scale=320:180,pad=320:240:0:30" if I had original video of 1280x720, for another sized video those number can differ
[16:03] <sky1> so it should go like " ffmpeg -i 142306432_I.mov -vcodec mpeg4 -vb 1500k -vf scale=320:180,pad=320:240:0:30 -r 25 -acodec libfaac -ar 44100 -ac 2 -ab 128k-y -f 3gp 142306432 I.3gp"
[16:03] <sky1> is that ok?
[16:03] <waressearcher2> without "-vf scale=320:180,pad=320:240:0:30"
[16:03] <waressearcher2> sky1: why do you need 3gp ? for phone ?
[16:04] <sky1> yes
[16:04] <waressearcher2> sky1: what is the resolution of 142306432_I.mov video ? and what the screen size of the phone ?
[16:06] <sky1> lower resolution would be good waressearcher2
[16:06] <sky1> its a Samsung wave G525
[16:07] <waressearcher2> use that command "ffmpeg -i 142306432_I.mov -vcodec mpeg4 -vb 1500k -vf "scale=320:-1" -r 25 -acodec libfaac -ar 44100 -ac 2 -ab 128k -y -f 3gp 142306432_I.3gp"
[16:08] <sky1> in fact I would like to convert some videos like .flv to 3gp /.avi/ mp4 etc using ffmpeg
[16:08] <sky1> i dont like using any GUI
[16:08] <sky1> ok waressearcher2
[16:08] <sky1> trying that out on terminal
[16:09] <sky1> its in my Music folder
[16:09] <sky1> so do i need to get that on Desktop waressearcher2 ?
[16:11] <waressea1cher2> "ffmpeg -i 142306432_I.mov -vcodec mpeg4 -vb 1500k -vf "scale=320:-1" -r 25 -acodec libfaac -ar 44100 -ac 2 -ab 128k -y -f 3gp 142306432_I.3gp"
[16:12] <sky1> it says ffmpeg command not found
[16:12] <sky1> :(
[16:12] <waressea1cher2> install ffmpeg
[16:13] <sky1> sudo apt-get install ffmpeg?
[16:14] <sky1> says 'Package ffmpeg is not available, but is referred to by another package.
[16:14] <sky1> This may mean that the package is missing, has been obsoleted, or
[16:14] <sky1> is only available from another source
[16:15] <sky1> E: "ffmpeg has no installation candidate"
[16:15] <sky1> im on Mint 17 Mate
[16:16] <JEEB> ubuntu has Libav instead of FFmpeg, and the binary there is called avconv
[16:16] <JEEB> also since faac is not GPL compatible I believe you will not find it in any newer distributions
[16:17] <sky1> ok JEEB
[16:18] <sky1> so no work around !!
[16:19] <c_14> You can download the static ffmpeg build and just use the internal aac encoder.
[16:20] <theholyduck> JEEB, i wonder if the ubuntu packagers will ever reconsider.
[16:24] <vedos> why won't they fix ppa repository for ffmpeg for ubuntu/linuxmint users?
[16:24] <vedos> it'd be a good solution
[16:25] <sky1> vedos: wish they would listen ya
[16:29] <sky1> rso no ffmpeg on mint mate
[16:29] <sky1> so*
[16:38] <sky1> so instead of ffmpeg which is not available for mint how can I convert a video like .mov to 3gp ..pls help
[16:39] <c_14> Just download it?
[16:49] <aphid> having a rough time with this realmedia file (I know, I know). http://pastebin.com/i06p797k - Ive tried other output formats and even some -map stuff (there appear to be multiple video and audio layers). The raw .rm file is public domain and available at http://www.senate.gov/legacymedia/www/intel092308.rm
[16:55] <sky1> can any body pls help me as how to convert .mov file to a 3gp?
[17:05] <vedos> la
[17:12] <c_14> aphid: Either there's something broken with the file or FFmpeg doesn't support part of it.
[17:12] <c_14> Try opening a ticket on trac and see what happens.
[17:13] <aphid> c_14: will do, thanks. mencoder seems to get something out of it, sync isnt great but gotta start somewhere.
[17:16] <aphid> there are probably 70-80 of these, hopefully something will work without any manual input.
[18:14] <Suchiman> good morning / day / evening, depending on your location. I have some problems with audio and video synchronisation. I have a video (compressed as lagarith) and audio (pcm) stream captured through directShow from a video grabber and then muxed into a mkv. sync is fine. if i demux the mkv, the audio stream gets ~1 second larger than the video and remuxing
[18:14] <Suchiman> will cause out of sync. if i transcode the file to mp4 (h264 / aac), the file gets about 10 seconds longer but sync is still fine. if i demux that mp4, audio gets 5 seconds larger and remuxing will again cause out of sync. any ideas what is going on and how i can fix this?
[18:18] <Mavrik> Suchiman, what do you mean by "demux"?
[18:19] <Suchiman> Mavrik: mapping only the Audio stream with copy into a new file
[18:19] <Mavrik> hmmm
[18:19] <Suchiman> for example: map -0:1 -c copy audio.wav
[18:19] <lacx> hey all X)
[18:20] <lacx> anyone here used crtmpserever?
[18:20] <lacx> *crtmpserver
[18:30] <Suchiman> another question would be: is there any chance to get ffmpeg working with crossbar?
[18:30] <Suchiman> (directShow)
[18:58] <Suchiman> *sigh* i will never solve this puzzle
[19:08] <khali> hi all
[19:08] <lacx> im using ffmpeg to stream an mp4 to RTSP, and then view the rtsp stream with VLC. however the stream seems to be over way to quick - the source file is ~2mins long and ffmpeg finished in less than 30 secs.
[19:08] <khali> doing a two-pass encoding with ffmpeg, first pass ends with dup=5 drop=5, second pass ends with dup=0 drop=7
[19:08] <khali> how is that possible?
[19:11] <mistawright> i have been searching for weeks and need to know if there is a way I can create a transition between the images I am using ffmpeg to create a slideshow/video from.
[19:11] <mistawright> I need a ken burns type of transition between each image
[20:02] <sky1> can someone pls help me to convert .mov file to 3gp ?
[20:02] <sky1> im on Mint Mate 17
[20:03] <sky1> i tried installing ffmpeg via terminal & says its not available
[20:36] <sky1> so no help!!!
[20:36] <sky1> i wanted to convert .mov file to a 3gp
[20:36] <sky1> using ffmpeg
[20:37] <sky1> im on mint 17 mate
[20:37] <sky1> cant install ffmpeg as TERM says "ffmpeg not available"
[20:37] <sky1> pls help...
[20:38] <sky1> cant Mint users use the ffmpeg?
[20:38] <cbsrobot> sky1: see https://trac.ffmpeg.org/wiki/CompilationGuide/Centos
[20:38] <sky1> ok cbsrobot
[20:39] <cbsrobot> or use the one provided on https://www.ffmpeg.org/download.html#build-linux
[20:39] <cbsrobot> should be even simpler
[20:42] <sky1> cbsrobot: thanks ..but im very new to all these stuffs..
[20:42] <sky1> so need some real help to guide me with the commands to use ffmpeg to convert videos
[20:42] <cbsrobot> sky1: well, that's the best opportunity to learn all this stuff !
[20:43] <sky1> thnx
[20:43] <sky1> im on LM 17 Mate
[20:43] <sky1> i was trying to install ffmpeg via CMD
[20:43] <sky1> but term says its not available
[20:43] <sky1> cant figure out
[20:44] <sky1> i really like to use ffmpeg via CLI
[20:48] <sky1> i wanted to convert .mov file to a 3gp
[20:49] <sky1> im on mint 17 mate
[20:49] <sky1> cant install ffmpeg as TERM says "ffmpeg not available"
[20:49] <sky1> pls help...
[21:00] <sky1> this is what im getting while trying to isntall ffmpeg " http://askubuntu.com/questions/432542/is-ffmpeg-missing-from-the-official-repositories-in-14-04
[21:00] <sky1> install*
[21:02] <cbsrobot> sky1: use rpmfusion as descibed in http://rpmfusion.org/Configuration
[21:10] <sky1> cbsrobot: im not on Fedora..im on Mint 17 Mate
[21:10] <cbsrobot> ah damit
[21:11] <cbsrobot> sorry - I thought it was fedora based
[21:11] <sky1> np
[21:11] <cbsrobot> so just use https://launchpad.net/~jon-severinsson/+archive/ubuntu/ffmpeg
[21:14] <sky1> i see
[21:41] <jelle_> I have an 1fps 25 minute mkv file, that I want to change in a 25x fastforward movie. So I think I need to change the frame timing. How do I do this, turning it into a 25fps movie of one minute?
[21:42] <jelle_> ( right now I just dump all frames into jpgs, and combine them back into a movie, which feels soooo silly)
[21:44] <khali> jelle_: I think you want -vf setpts=N/(25*TB)
[21:45] <jelle_> @khali wow, I will try that, wouldnt have crossed my mind.
[21:47] <khali> jelle_: you may have to additionally set -r 25 so that the headers look right, I'm not sure
[21:48] <jelle_> I will play with that, see where it takes me
[21:52] <jelle_> @khali without the -r 25 it seems to create a new movie of one minute, but still 1 fps, so not so smooth
[21:55] <cbsrobot> jelle_: use: -vsync drop -r 25
[22:00] <jelle_> @cbsrobot that one gives me a conversion failure& av_interleaved_write_frame(): Invalid argument=00:00:00.00 bitrate=N/A
[22:00] <jelle_> I called it like this: ffmpeg -i merged_6-9.mkv -vsync drop -r 25 faster-2.mp4
[22:01] <jelle_> this one seems to work, but is quite slow: ffmpeg -i merged_6-9.mkv -r 25 -vf setpts=N/\(25*TB\) faster-1.mp4
[22:03] <sky1> if someone could help me with coverting a .mov file to a 3gp
[22:03] <sky1> or .avi to a 3gp
[22:04] <sky1> im on Mint 17 Mate
[22:04] <sky1> need the actual command
[22:04] <sky1> ffmpeg cant be installed on mint
[22:10] <jelle_> Ill convert it for you
[22:10] <sky1> jelle thnx
[22:10] <sky1> should i give u the file name
[22:13] <jelle_> I cant really give you the command if you cant install ffmpeg, but I can probably convert it for you if you give me access to the source .mov
[22:23] <sky1> i could convert the file using VLC
[22:24] <sky1> jelle_:
[22:24] <sky1> thats not the issue
[22:24] <sky1> thnx
[22:24] <sky1> but all i wanted to get back the power of ffmpeg or libav whatever to convert videos
[22:24] <sky1> via CLI
[22:27] <jelle_> we all do :-)
[22:34] <rcombs> <sky1> ffmpeg cant be installed on mint <-- I'm pretty sure that's not true
[22:35] <sky1> rcombs: ic
[23:03] <Lac3rat3d> anyone have experience using ffmpeg to convert mkv with dts to aac/ac3?
[23:06] <Mavrik> well
[23:06] <Mavrik> what's your actual issue?
[23:17] <Lac3rat3d> can't directplay dts, trying to avoid transcoding
[23:17] <Lac3rat3d> so i convert my files to things that can by directplayed
[23:18] <Lac3rat3d> so i need to i need to copy the video stream (i know how to do this), and convert the audio stream from dts to ac3/aac
[23:19] <Mavrik> ah
[23:19] <Mavrik> so yes, you'll have to transcode the audio and copy the video
[23:19] <Mavrik> I suggest using AAC since AC3 encoder in ffmpeg is rather crap
[23:20] <Lac3rat3d> okay great
[23:20] <Mavrik> do something like ffmpeg -i <video> -codec:v copy -codec:a aac -strict 2 -b:a 128k output.mkv
[23:20] <Lac3rat3d> awesome
[23:20] <Mavrik> adjust audio bitrate according to number of channels and requested quality
[23:20] <Lac3rat3d> its either 5.1 or 6.1 source
[23:20] <Lac3rat3d> dts or dts-hd/es
[23:23] <Mavrik> ah, use something like 384k then
[23:23] <Lac3rat3d> ok cool ill try it out
[23:23] <Lac3rat3d> thanks
[23:23] <Mavrik> since 128k is usually used for stereo tracks
[23:29] <Lac3rat3d> sorry
[23:29] <Lac3rat3d> i got disconnected and dont have logs
[23:29] <Lac3rat3d> can you paste that command again
[23:30] <TimWork> has anyone seen Luca lately?
[23:34] <wodim> Lac3rat3d: 23:20:03 < Mavrik> do something like ffmpeg -i <video> -codec:v copy -codec:a aac -strict 2 -b:a 128k output.mkv
[23:34] <Lac3rat3d> thanks wodim
[23:36] <Lac3rat3d> sorry, what was the 2nd bitrate he suggested?
[23:37] <wodim> 384k
[23:39] <Lac3rat3d> thanks
[23:40] <Lac3rat3d> does anyone know what the '2' represents in that command? '.... -strict 2 ...'
[23:57] <Lac3rat3d> hmm no one?
[00:00] --- Mon Sep 8 2014
More information about the Ffmpeg-devel-irc
mailing list