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

burek burek021 at gmail.com
Tue Sep 16 02:05:01 CEST 2014


[00:30] <TheFakeazneD525> hi, I want to batch convert some .webms I have to mp4 files, with the same video bitrate and audio bitrate
[00:30] <TheFakeazneD525> how do I go about doing this
[00:39] <c_14> for i in *.webm; do ffmpeg -i "$i" [options] "${i%webm}mp4}"; done
[00:39] <c_14> It might be '#' instead of '%', I'm not sure.
[00:44] <hachi> hello folks, I'm getting Non-monotonous DTS in output stream with -vsync cfr... and without as well. Does anyone know why -vsync cfr doesn't seem to help that situation?
[00:46] <TheFakeazneD525> c_14: [NULL @ 0x2381e60] Unable to find a suitable output format for 'video.mp4}'
[00:47] <TheFakeazneD525> wait
[00:47] <c_14> ehhhh
[00:47] <c_14> that second } shouldn't be there
[00:48] <TheFakeazneD525> ah, now it's doing a thing
[05:06] <molikto> hi, i know this is offtopic... but can anyone help me configure a minimal build for some specific input/output/command???
[05:08] <molikto> anyone here?
[05:13] <LanDi> how to convert an .m4a format to .mp3 ?
[05:16] <LanDi> ok, got it
[05:16] <LanDi> :P
[05:26] <molikto> anyone here?
[05:28] <LanDi> nope
[05:29] <Nosomy> lol
[05:30] <Nosomy> molikto, going to dev's channel.
[15:56] <anshul_mahe> ffprobe -show_entries frames=media_type input_file is not working
[16:03] <anshul_mahe> ohh, I got it correct command would be frame=media_type not frames=mediatype
[17:23] <tb3> I need help converting the audio track of an mp4 file from ac3 to mp4a. I'm very new to ffmpeg and tried reading the man page but not understanding it.
[17:25] <sacarasc> If you mean AAC... https://trac.ffmpeg.org/wiki/Encode/AAC
[17:25] <kaotiko> hi
[17:28] <tb3> I think that's exactly what I need. Thanks.
[17:29] <t4nk435> hi
[17:30] <t4nk435> anyone here?
[17:31] <__jack__> yup
[17:32] <t4nk435> i need help about avi to mp4 video lag
[17:33] <t4nk435> when i encode avi to mp4 seems like frames are dropped
[17:34] <t4nk435> here is the command: ffmpeg -i input.avi -c:v libx264 -profile:v high -preset slow -crf 24 -an  -movflags faststart -vf scale=640:480 -r 24 out.mp4
[17:35] <t4nk435> any suggestions?
[17:36] <__jack__> t4nk435: don't use -r 24, you're forcing framerate, this might damage the output
[17:36] <__jack__> (aka "lag")
[17:40] <t4nk435> here is it: http://pastebin.com/3PFhbwm7
[17:41] <t4nk435> k jack, trying without -r 24
[17:42] <t4nk435> same without -r 24 ..
[17:43] <t4nk435> i noticed the lag by the mouse cursor, its not sliding as in the avi file
[17:46] <t4nk435> tried everything i found on net...
[17:46] <EvolE> t4nk435: maybe you are using some smoothing function with that avi which is not working with converted file?
[17:48] <t4nk435> the avi is recorded with Milliris Action! software
[17:49] <t4nk435> in most of the encoded mp4 videos there isnt a lag
[17:49] <EvolE> so maybe decoder automatically smooth the video when you play it?
[17:50] <EvolE> is this happens with all videos you have recorded with Action! ?
[17:51] <t4nk435> hmm i play the mp4 thru browser... chrome/mozilla etc..
[17:52] <t4nk435> no no
[17:52] <t4nk435> for example 10 out of 100 videos are with lag
[17:54] <EvolE> but the video which lags is always the same?
[17:55] <t4nk435> what do you mean by same?
[17:57] <EvolE> i mean it's always the same video which lags after converting, rihgt? can you upload the video?
[17:58] <t4nk435> yeah just a sec
[17:58] <EvolE> the source video, so I can try to convert it too
[17:59] <t4nk435> https://www.dropbox.com/sh/68tn5a1jud98jmw/AADj8Ek8lcSPOrh28SsN54jPa?dl=0
[17:59] <t4nk435> the 3rd video is avi the 4th is mp4 with lag
[18:00] <ChocolateArmpits> Can anyone help? Remuxing a TS file (h264 video + aac audio) into MP4 produces a file with "r_frame_rate" of 50, while the original has it at 25. Both files have "codec_time_base" at 1/50. This leads to playback problems
[18:06] <EvolE> t4nk435: video which you see in browser has 25 fps
[18:06] <EvolE> the avi one..
[18:06] <EvolE> let me check mp4
[18:06] <t4nk435> and?
[18:07] <t4nk435> did you noticed the lag in the mp4?
[18:14] <t4nk435> 25 fps for the avi?
[18:15] <ac_slater_> sigh. I've added `rawvideo` to all of the appropriate build options (mux, demux, encoder, decoder, protocol) and yet I cant use `av_find_input_format("rawvideo");` .. ie - I can use it, but it never finds rawvideo.
[18:15] <ac_slater_> I can use it as an output however
[18:16] <ac_slater_> ie - `ffmpeg -i input -c:v rawvideo ... etc`
[18:16] <t4nk435> ffprobe reports 24 for the avi
[18:19] <haspor> hi, anyone around who could help with adpcm_swf decoding to pcm ?
[18:20] <EvolE> t4nk435: yeah, and when i download the avi video you see in broswer with ffmpeg, it becomes with 50 fps... very strange xD
[18:20] <EvolE> but while downloading ffmpeg says it's 25 fps xD
[18:21] <t4nk435> hmm
[18:21] <t4nk435> so any suggestions?
[18:21] <EvolE> need the codec for that Action! program... will try to download it now
[18:23] <t4nk435> k i need to go now. you gonna be here later?
[18:24] <EvolE> sure
[18:24] <t4nk435> great, thanks for the help
[18:34] <valder> anybody here have suggestions on how I can fix an audio sync problem I am having using ffmpeg to build a video?  It seems my video is correctly rendered however there is too much audio.  It seems to prepend the first x seconds( x is some number depending on the video size) to the video causing the total video length to be increased by x seconds.  Howver, the video stops at the correct spot.  Does this have to do
[18:34] <valder> with the DTS, PTS relationship?  The source video is a single source.  Here's my code: http://pastebin.com/ViaACkJX  Thanks for your help
[19:52] <rickbol> is there a way I can determine the required versions for ffmpeg dependencies? I run an "squeeze" vintage of linux (AVLinux), but want to determine if I can compile ffmpeg.
[21:19] <valder> anybody work with ffmpeg before?  I'm having an audio sync issue I don't understand how to fix.  Would appreciate any help you can provide.  My audio is longer than my video so the output has the last four seconds stuck on the last video frame while the audio continues.  What is supposed to happen is the audio has to stop at the end of the video. Here's the code I have so far:http://pastebin.com/ViaACkJX
[21:24] <brontosaurusrex> how can i control cli update speed?
[21:26] <c_14> valder: use -shortest
[21:32] <valder> c_14: -shortest?  where? how?  during avcodec_open?
[21:47] <t4nk335> EvolE here?
[21:47] <EvolE> yes)
[21:48] <EvolE> t4nk335:
[21:48] <t4nk335> any luck?
[21:48] <EvolE> t4nk335: well, i noticed that there is no lag in video except mouse cursor))
[21:49] <EvolE> t4nk335: but you see there is no cursor in dropbox for video spidermanlovefixmytiles.avi
[21:50] <EvolE> t4nk335: cursor is visible when you play file in mirillis player (or for me it's PotPlayes which display cursor like mirillis player)
[21:50] <EvolE> t4nk335: after ffmpeg cursor is lagging indeed, but no the video itself
[21:51] <EvolE> t4nk335: that's what i found xD
[21:52] <t4nk335> hmm i can see a cursor in spidermanlovefixmytiles.avi
[21:52] <EvolE> t4nk335: when you play the file locally?
[21:52] <t4nk335> localy and online
[21:53] <t4nk335> ah wait wait
[21:53] <valder> c_14: passing in "shortest", "1" to avcodec_open2 as key/value for the dictionary didn't seem to do anything different.  Am I passing it in wrong?
[21:53] <t4nk335> if i play it with windows media player there is a cursor
[21:54] <t4nk335> but now i saw it that if i play it thru dropbox there isnt...
[21:54] <EvolE> t4nk335: but there is no cursor if you play it from https://www.dropbox.com/sh/68tn5a1jud98jmw/AADj8Ek8lcSPOrh28SsN54jPa?dl=0#lh:null-spidermanlovefixmytiles.avi
[21:54] <c_14> valder: hmm, it's an output option in ffmpeg. Not sure what it would be in the api
[21:54] <t4nk335> yeah yeah you are correct, but thats its because i guess dropbox encodes the file somehow so you can view it thru browser
[21:55] <EvolE> t4nk335: yes you are right, dropbox just reencodes the video and seems like disabling the curson showing during that process
[21:55] <valder> c_14: thanks
[21:55] <valder> c_14: what is supposed to do?  Can't find docs on it
[21:56] <EvolE> t4nk335: and when you plays it locally mirillis decoder shows cursor for you, and in this case cursor is moving more shooth than after ffmpeg
[21:56] <t4nk985> didnt try to play it thru milliris player..
[21:57] <t4nk985> probably its same like WMP
[21:58] <t4nk985> but yes, the cursors moves more smooth than after ffmpeg encoding
[22:03] <EvolE> t4nk985: but the content inself is not lagging in converted video
[22:04] <t4nk201> you think only the mouse lags?
[22:04] <t4nk201> how is that possible?
[22:06] <EvolE> t4nk201: probably ffmpeg can't (or don't want to) display cursor correctly, maybe it's reading cursor position more rarely than it should
[22:07] <EvolE> t4nk201: you know that mirillis format keeps cursor data separately from the video data (because in other case dropbox couldn't display video without cursor)
[22:08] <t4nk201> seems logical
[22:08] <t4nk201> the point is that i have tried to record 2-3 videos and the mouse keeps laging..
[22:08] <t4nk201> after recording
[22:09] <t4nk201> i thought that the other parts are laging also
[22:09] <t4nk201> but its hard to tell
[22:13] <t4nk201> k man, thanks for the help
[22:18] <EvolE> np
[22:19] <EvolE> sad that i didn't find how to render cursor correctly, will look for it now, but not sure if there is an option for this in ffmpeg
[22:23] <t4nk201> k, i'll be here
[22:23] <t4nk201> i was looking also but no info on google about that
[22:24] <Suchiman> can i add chapters to a mkv file using ffmpeg if i have the timestamps?
[22:36] <edoceo> I've got these two TS files, I made one by generate a blank, the other was sliced out of an FLV
[22:37] <rickbol> I'm transcoding a dv clip to h264 mp4.  The black and white video segments (start and end segments) look fine, but color segments (in the middle) get all scrambled and are useless.
[22:37] <edoceo> individutally they look fine, but when I use 'concat:' it comes out super grainy
[22:37] <edoceo> ffmpeg -i 'concat:pad0.ts|vid0.ts' -y 'work.ts'
[22:38] <Suchiman> edoceo: maybe you want -c copy to prevent re-encoding?
[22:38] <edoceo> I'll try it
[22:41] <edoceo> Suchiman: #money - thx!
[22:43] <rickbol> http://pastie.org/9556755
[22:43] <EvolE> t4nk201: found something
[22:47] <t4nk201> yeah?
[22:47] <t4nk201> whats that?
[22:47] <rickbol> llogan: just tried "-pix_fmt yuv420p" ad this seems to fix it.
[22:49] <rickbol> just compiled following the guide:  https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
[22:49] <rickbol> I think there are some typos in the instructions
[22:49] <llogan> where at?
[22:49] <llogan> also, if you want to deinterlace try the yadif filter
[22:50] <llogan> i haven't proofed/tested the compile guide in a while.
[22:50] <rickbol> throughtout there's the statement   PATH="$PATH:$HOME/bin"     I had to change it to   PATH="$HOME/bin:$PATH"
[22:51] <llogan> shouldn't either work?
[22:51] <rickbol> otherwise I pick up binaries in /usr/bin, et al  before my local binaries
[22:51] <llogan> ah.
[22:51] <llogan> like what binaries?
[22:53] <t4nk201> EvolE: is it working?
[22:53] <EvolE> t4nk201: mplayer can load mirillis decoder and show correct cursor
[22:53] <rickbol> also, libvpx compile failed - http://pastie.org/9556792
[22:53] <llogan> nobody uses that anyway
[22:54] <llogan> but thanks for the info. i'll try to take a look at it sometime this week, but since it is a wiki you can change stuff if you think it's wrong
[22:54] <rickbol> finally, ffmpeg compile couldn't find  opus  even though libopus compiled ok
[22:57] <rickbol> llogan:  I bombed on the first binary, yasm, and I made the change, so I don't know what else might be a problem.
[22:59] <llogan> that was the binary in mind, but i guess an existing system yasm wouldn't be a problem unless it was too old (1.2.0 or newer for x264, 0.8 for ffmpeg IIRC)
[23:01] <llogan> the "package e 1.3.0" is a typo in the guide. should be 1.2.0
[23:01] <t4nk201> EvolE: i dont see how can i "connect" the decoder with ffmpeg..
[23:03] <rickbol> llogan: I did have an old version of yasm
[23:05] <EvolE> t4nk201: yeah, im looking onto in now.. player can write a file and then ffmpeg can read it, but i want to find a way to directly write to ffmpeg.. are you on windows?
[23:05] <t4nk201> currently on linux, but i can switch on Windows now
[23:05] <t4nk201> i mean the videos are recorded on Windows
[23:06] <t4nk201> and encoded on windows
[23:07] <Nosomy> ffmpeg on windows is with the Zeranoe builds
[23:07] <Nosomy> the cmdlines are almost the sames
[23:24] <rickbol> edoceo: Wondered if you could share your concat command.  I'm trying to combine a leader and content, and the concat command is new to me. I definitely won't need any re-encoding.
[23:24] <edoceo> rickbol: yes, need a few minutes
[23:24] <rickbol> edoceo: thx
[23:25] <valder> Hi all.  I'm having an audio sync issue I don't understand how to fix.  Would appreciate any help you can provide.  My audio is longer than my video so the output has the last four seconds stuck on the last video frame while the audio continues.  What is supposed to happen is the audio has to stop at the end of the video. Here's the code I have so far:http://pastebin.com/ViaACkJX
[23:30] <EvolE> t4nk201: seems like this is working: mencoder.exe input.avi -of rawvideo -ovc lavc -o -|ffmpeg ...
[23:31] <Suchiman> rickbol: https://trac.ffmpeg.org/wiki/How%20to%20concatenate%20(join,%20merge)%20media%20files#demuxer
[23:31] <t4nk201> trying it now
[23:31] <EvolE> t4nk201: if it can't access ficvdec_x86.dll then copy in to the mencoder's folder. you can find it in mirillis action folder
[23:32] <t4nk201> let me try first on linux
[23:34] <t4nk201> so with mencoder you are encoding to raw video?
[23:34] <t4nk201> and them ffmpeg encodes that to mp4..
[23:38] <EvolE> t4nk201: not sure if mencoder doessn't preencode it to something... let me look into it
[23:39] <EvolE> t4nk201: but yeah, the idea is like you described
[23:39] <t4nk201> throwing some errors on linux, switching to windows. brb
[23:51] <t4nk221> EvolE: what was the dll file?
[23:51] <t4nk221> Assertion v>0 && v<=(1 ? 32 : 16) failed at libavutil/mem.c:226
[23:52] <EvolE> t4nk221: ficvdec_x86.dll
[23:52] <Mikflut> Hello!  I'm looking for the best place to get help with CLI FFMPEG.  If this is not the best place, please let me know.  I am having a problem with audio and RTMP.  When I use a UDP Multicast output, everything works fine but when I use RTMP output, there is no audio output.
[23:52] <llogan> rickbol: https://trac.ffmpeg.org/wiki/How%20to%20concatenate%20%28join,%20merge%29%20media%20files
[23:53] <t4nk221> i have only ficvdec_x64.dll but i m on 32bit system
[23:53] <EvolE> t4nk221: seems like mencoder produces mpeg4 already(
[23:53] <llogan> Mikflut: official help channels for users include this channel and the ffmpeg-user mailing list (and libav-user ML if using API/libraries)
[23:54] <EvolE> t4nk221: you can get it downloading installer from their site and opening it like archive
[23:54] <EvolE> t4nk221: but it's strange you don't have it on 32bit system..
[23:55] <EvolE> t4nk221: would be understandable if you wouldn't have ficvdec_x64.dll
[23:55] <t4nk221> yep
[23:56] <t4nk221> also there isnt a 64bit version of mirillis..
[23:56] <Mikflut> Thanks llogan.  I'm using 64bit ffmpeg-20140910.  ffmpeg -f dshow -video_size 720x486 -framerate 29.97 -i video="Decklink Video Capture":audio="Decklink Audio Capture" -vf scale=640x480 -r 29.97 -vcodec libx264 -tune zerolatency -acodec libvo_aacenc -ar 44100 -af volume=128.0 -f flv rtmp://localhost/myapp/mystream
[23:58] <t4nk221> i have something like: ficvdec_x86.reg
[23:58] <t4nk221> but thats a registry file
[00:00] --- Tue Sep 16 2014


More information about the Ffmpeg-devel-irc mailing list