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

burek burek021 at gmail.com
Mon Jun 19 03:05:01 EEST 2017


[00:00:11 CEST] <FRS> ...Right. Any way ffmpeg would allow me to set the format to 4bit raw PCM? I've had a look at the formats supposed, but it doesn't go lower than 8bit sadly, and a few google searches/manpage skims came up uneventful.
[00:01:56 CEST] <ChocolateArmpits> FRS, use sox
[00:02:20 CEST] <FRS> Right. So I'm going to assume there's no way to do this using FFMPEG?
[00:02:39 CEST] <furq> adpcm_ms is 4-bit adpcm iirc
[00:02:42 CEST] <furq> if that's any use to you
[00:04:19 CEST] <FRS> Hmm... though that seems to be a codec- specifying it causes ffmpeg to throw "invalid data whilst processing input"
[00:05:22 CEST] <furq> works for me
[00:07:40 CEST] <FRS> Hmm... not working on my end- still getting "invalid data found while processing input" (specifying the `-acodec adpcm_ms` flag for the first and only input file).
[00:08:05 CEST] <furq> oh do you have a 4-bit input
[00:08:17 CEST] <furq> you'll probably need sox then
[00:08:43 CEST] <FRS> Alright. I'm going to assume that's a "no" for ffmpeg- thank you for assisting me :D I appreciate it.
[03:23:56 CEST] <marcurling>  folks, please remind me the precise term command to know precise mint version (not uname -a)
[03:24:32 CEST] <DHE> wrong channel
[03:24:46 CEST] <marcurling> oh, sorry, thanks
[06:14:26 CEST] <johnjay> hey furq. how's it going
[09:45:43 CEST] <durandal_1707> furq: i will ban anyone mentioning sox next time
[09:54:35 CEST] <furq> so how do you do it with ffmpeg then
[11:12:13 CEST] <durandal_1707> furq: what? to any question you do not know the answer you respond with use sox
[11:13:05 CEST] <durandal_1707> the original poster of issue havent desribed problem at all
[11:13:48 CEST] <durandal_1707> sox doesnt have 4bit pcm fornat either
[13:50:39 CEST] <mgit> Hi, I'm trying to speed up a gameplay recording from DeSmuME played at 1/8th speed which was recorded with fraps at 7.5fps with no frames dropped.
[13:50:39 CEST] <mgit> I want to speed it up to 100% speed, iow 60fps, but the result is less than satisfactory.
[13:50:39 CEST] <mgit> I've been trying
[13:50:39 CEST] <mgit> ffmpeg -i "input.avi" -r 60 -vf "setpts=.125*PTS" -c:v libx264 -crf 13 -qmax 25 -an "pt-1.mp4"
[13:50:39 CEST] <mgit>   
[13:50:41 CEST] <mgit> It does work in that it outputs a 60fps video but the video is less smooth than what I expect.
[13:50:43 CEST] <mgit> I tried the :rate=8 option in VLC's transcoder and I get the exact output I expected.
[13:50:45 CEST] <mgit>   
[13:50:47 CEST] <mgit> Am I doing something wrong, is there a better way to speed it up?  Appreciate any ideas on what I could try.
[17:23:25 CEST] <furq> oh wow
[17:23:43 CEST] <furq> l-smash does not like working with this 10GB mp4 on a box with 256MB of ram
[17:27:35 CEST] <JEEB> furq: yea there are some parser issues with a lot of boxes in a file because it does a linked list or so
[17:27:47 CEST] <JEEB> which means that the more boxes you have in a file the more RAM it'll take
[17:27:50 CEST] <furq> boxdumper was crashing until i killed some stuff
[17:27:54 CEST] <furq> and remuxer just doesn't want to know
[17:27:58 CEST] <furq> i shouldn't be that surprised really
[17:28:10 CEST] <furq> it's just annoying because this file is about 20MB above the size limit i need
[17:28:16 CEST] <furq> i figured i'd see if --compact-size-table would help
[17:28:39 CEST] <JEEB> in theory at least it shouldn't be doing the linked list stuff, but nobody has been able to have the time and effort to poke that
[17:29:03 CEST] <furq> i don't suppose ffmpeg has any options for slightly reducing the size of a massive mp4 without touching the streams
[17:29:23 CEST] <furq> maybe chunk_duration
[17:30:19 CEST] <JEEB> ffmpeg is really a thing that demuxes everything and then remuxes
[17:30:24 CEST] <JEEB> it isn't really meant for "subtle" changes
[17:33:58 CEST] <furq> oh hey what's this -moov_size option in the mp4 muxer
[17:34:12 CEST] <furq> is that for avoiding doing a full second pass for faststart
[17:34:28 CEST] <bencoh> it is
[17:34:34 CEST] <furq> neat
[17:34:35 CEST] <furq> is that new
[17:34:47 CEST] <bencoh> well, afaict. and not really new, no
[17:35:11 CEST] <bencoh> (I've seen it years ago, so ...)
[17:37:29 CEST] <mgit> could someone help me get setpts working without dropping/duplicating frames?
[17:37:54 CEST] <mgit> I posted earlier but seems the room was dead
[17:38:21 CEST] <furq> so chunk_duration did nothing
[17:38:30 CEST] <furq> i'm not really that surprised
[18:14:37 CEST] <marcurling> Yo, what is the correct -acodec value for HE_aac, please?
[18:19:18 CEST] <DHE> aac with a -profile:a parameter to go with it
[18:21:29 CEST] <marcurling> ty DHE
[18:29:15 CEST] <mgit> am I muted or something?
[18:29:43 CEST] <DHE> mgit: no, we see you. you did not describe your problem
[18:30:00 CEST] <mgit> Hi, I'm trying to speed up a gameplay recording from DeSmuME played at 1/8th speed which was recorded with fraps at 7.5fps with no frames dropped.
[18:30:00 CEST] <mgit> I want to speed it up to 100% speed, iow 60fps, but the result is less than satisfactory.
[18:30:00 CEST] <mgit> I've been trying:
[18:30:00 CEST] <mgit>   
[18:30:00 CEST] <mgit>     ffmpeg -i "input.avi" -r 60 -vf "setpts=.125*PTS" -c:v libx264 -crf 13 -qmax 25 -an "pt-1.mp4"
[18:30:01 CEST] <mgit>     
[18:30:03 CEST] <mgit> It does work in that it outputs a 60fps video but the video is less smooth than what I expect.
[18:30:05 CEST] <mgit> I tried the :rate=8 option in VLC's transcoder and the output is exactly as smooth as what I expected.
[18:30:07 CEST] <mgit>   
[18:30:09 CEST] <mgit> Am I doing something wrong, is there a better way to speed it up?
[18:30:11 CEST] <mgit>   
[18:30:13 CEST] <mgit> Appreciate any ideas on what I could be doing wrong.
[18:30:15 CEST] <mgit>   
[18:30:19 CEST] <DHE> and pasting text into IRC like that is a punishable offense
[18:30:26 CEST] <furq> that's duplicating frames
[18:30:38 CEST] <mgit> i know it is, I just don't know what to do about it
[18:31:15 CEST] <furq> http://vpaste.net/k55YR
[18:31:17 CEST] <furq> something like that
[18:31:20 CEST] <mgit> my bad about the pasting all at once, didn't know it wasn't allowed btw
[18:33:47 CEST] <furq> http://vpaste.net/N6mwW
[18:33:49 CEST] <furq> or that, even
[18:33:53 CEST] <furq> no need for a temp file
[18:34:40 CEST] <furq> that'll only speed up the video, you probably want to use -af atempo in the second ffmpeg command
[18:34:46 CEST] <furq> !filter atempo
[18:34:46 CEST] <nfobot> furq: http://ffmpeg.org/ffmpeg-filters.html#atempo
[18:35:02 CEST] <furq> assuming you have audio, ofc
[18:40:57 CEST] <marcurling> How could I optimize aac coding for Dual Mono input?
[18:45:07 CEST] <marcurling> ^gtg : Will ask tonight...
[19:01:50 CEST] <mgit> thanks furq, appreciate the help.
[21:22:46 CEST] <Filystyn> guys
[21:22:52 CEST] <Filystyn> manual does not cover the avcodec_parameters_to_context
[21:23:05 CEST] <Filystyn> + the AVstream doe snot contain codecpar
[21:23:12 CEST] <Filystyn> instead it has codec what the hell
[21:24:30 CEST] <Filystyn> ok i found it..
[21:24:44 CEST] <Filystyn> the function cant get the codecpar
[21:25:03 CEST] <DHE> was gonna say, yes it does have a codecpar field
[21:25:33 CEST] <Filystyn> can't see it oh ah
[21:25:58 CEST] <Filystyn> I found the function but cant find the codecpar in AVSTream
[21:26:17 CEST] <Filystyn> stop
[21:26:19 CEST] <Filystyn> got it
[21:26:20 CEST] <Filystyn> LOL
[21:29:11 CEST] <Filystyn> thx DHE
[21:29:15 CEST] <Filystyn> still you wanted to help
[21:32:33 CEST] <TikityTik> Does ffmpeg webm vp8 not support -frame-parallel?
[21:35:42 CEST] <furq> libvpx vp8 doesn't support frame-parallel
[21:35:52 CEST] <furq> i don't think it does any multithreading
[21:36:22 CEST] <verb5> Hello everyone i am trying to stream live dvbt stream from rpi to another pc where i have ffserver . if i record the live stream on the rpi with ffmpeg -i http://192.168.3.99:4242/bysid/186 -acodec libfdk_aac -b:a 96k -ac 2 -ar 44100 -c:v h264_omx -r 25 -b:v 900  test.mp4 the cpu goes on 30%
[21:36:45 CEST] <verb5> if instead of recording to file i choose to send it to ffserver
[21:36:50 CEST] <verb5> the cpu goes on 300%
[21:37:18 CEST] <verb5> what could be wrong ?
[21:38:04 CEST] <furq> probably that ffserver sucks
[21:38:39 CEST] <verb5> do i need --enable-omx --enable-omx-rpi  for my ffserver ?
[21:38:52 CEST] <furq> i have no idea
[21:38:57 CEST] <furq> you're unlikely to get any ffserver support in here
[21:39:15 CEST] <furq> nobody uses it and it was supposed to have been removed entirely by now
[21:39:31 CEST] <furq> if you're using h264 and aac then consider using something like nginx-rtmp instead
[21:41:19 CEST] <verb5> i am not familiar with nginx-rtmp but can you tell if i can implement the same like in ffserver (  combine different streams )
[21:41:32 CEST] <furq> combine how
[21:41:48 CEST] <verb5> from different sources
[21:41:56 CEST] <verb5> remote sources
[21:42:49 CEST] <furq> sure
[21:43:02 CEST] <furq> https://github.com/arut/nginx-rtmp-module/wiki/Directives
[21:44:35 CEST] <verb5> ok thanks
[21:49:45 CEST] <fiem> Hi. Tell me, plesae,  how to build ffplay for windows. The documentation says how to compile an ffmpeg, but there is no info about the ffplay
[21:50:02 CEST] <JEEB> I think the biggest requirement is just to have SDL2 there
[21:50:10 CEST] <JEEB> to link against
[21:50:25 CEST] <JEEB> but I'm not sure what you'd want from ffplay
[21:53:21 CEST] <fiem> ok. i have donwloaded folders .\sdl2\include and .\sdl2\lib.  But how to specify the path to these folders?
[22:26:39 CEST] <fiem> I'm using the VC 2015. Created an empty console project, added the ffplay.c, configured the include and lib folders. But when assembling I get more than 100 errors. What you need to do. For example: "the identifier SHOW_MODE_NONE is not found". Tell me, please.
[23:09:42 CEST] <dystopia_> im getting "Unknown error occurred" when loading an .avs in ffmpeg
[23:09:46 CEST] <dystopia_> anyone got any ideas
[23:11:33 CEST] <dystopia_> https://pastebin.com/cWWBnDzX
[23:16:08 CEST] <dystopia_> nvm
[23:16:31 CEST] <dystopia_> i had 32bit avisynth with 64bit ffmpeg
[23:34:14 CEST] <fiem> dystopia_, can tell me, how build ffplay?
[23:59:24 CEST] <dystopia_> sorry fiem im on windows, and don't compile anything :(
[23:59:34 CEST] <dystopia_> if you hang around though others should be able to help
[00:00:00 CEST] --- Mon Jun 19 2017


More information about the Ffmpeg-devel-irc mailing list