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

burek burek021 at gmail.com
Sat Jul 9 02:05:01 CEST 2016


[00:02:06 CEST] <tuxlovesyou> what happened to the qp option?
[00:02:21 CEST] <tuxlovesyou> I am trying to do a lossless x264 screen cap
[00:02:24 CEST] <c_14> nothing?
[00:02:43 CEST] <tuxlovesyou> Unrecognized option 'qp'.
[00:02:43 CEST] <tuxlovesyou> Error splitting the argument list: Option not found
[00:02:53 CEST] <c_14> works fine here
[00:03:11 CEST] <tuxlovesyou> okay
[00:04:24 CEST] <tuxlovesyou> http://pastie.org/10901498
[00:05:07 CEST] <tuxlovesyou> I have libx264-10bit installed
[00:05:30 CEST] <tuxlovesyou> I followed https://trac.ffmpeg.org/wiki/Capture/Desktop to the tee
[00:05:52 CEST] <c_14> your ffmpeg isn't built with libx264 support
[00:06:15 CEST] <c_14> you have to specify --enable-libx264 during configure
[00:06:36 CEST] <tuxlovesyou> Oh, I think I was trying to mess with libdrc for the wii U
[00:06:43 CEST] <tuxlovesyou> let me try and reinstall
[00:06:44 CEST] <tuxlovesyou> thanks
[00:08:20 CEST] <tuxlovesyou> weird, this is the stock ffmpeg from Arch.  It worked last time
[00:08:26 CEST] <tuxlovesyou> I guess I have to do a pkgbuild
[00:09:28 CEST] <tuxlovesyou> they have a version in the user repos called ffmpeg-full
[00:09:35 CEST] <tuxlovesyou> I'm giving that a try first
[00:10:34 CEST] <tuxlovesyou> still have to compile it...
[00:11:41 CEST] <tuxlovesyou> I wanted to record the historic moment of my first time installing OS X El Capitan on KVM.  :/
[00:11:59 CEST] <tuxlovesyou> waiting on the internet more than the computer lol
[00:12:59 CEST] <tuxlovesyou> I am going to set the mtune to native :)
[00:15:49 CEST] <c_14> run `which ffmpeg'
[00:16:05 CEST] <c_14> You might have another ffmpeg binary somewhere in your path hiding the other one
[00:22:53 CEST] <tuxlovesyou> Maybe, but I already removed the default one and am compiling
[00:23:10 CEST] <tuxlovesyou> I'd hate to waste all of that magic smoke :P
[00:26:10 CEST] <tuxlovesyou> lol that's exactly what it was lol
[00:26:21 CEST] <tuxlovesyou> I put one in /usr/local/bin
[00:26:23 CEST] <llogan> there is no package named ffmpeg-full in the Arch repos. you must be referring to AUR.
[00:27:20 CEST] <llogan> although I see no reason to ever use any of the myriad ffmpeg-full* packages in AUR. ENAABLE EVEYRTHGNI!
[00:28:03 CEST] <tuxlovesyou> thank you!
[00:32:18 CEST] <Protected> Noob question, ffmpeg 3.1.1: I'm trying to convert an mkv with subtitles and chapters to an mp4 with subtitles, but no matter what file I try what seems to end up in the mp4 are the chapters (though ffprobe says it's a "subtitles" stream). Would anyone be willing to help me try to understand what I'm doing wrong?
[00:38:58 CEST] <Protected> llogan, correction: Careful examination of the output of the initial conversion to mp4 shows the subtitles are never included in it at all
[00:39:20 CEST] <obelisk29> Has anyone encountered any issues with libx264 encoded videos have stuttering issues when playing back in premeire pro? Regular h264 captures work just fine.
[00:39:51 CEST] <Protected> I'll stop collecting data at this point, make the paste and hope someone can tell me how to tell ffmpeg to included the subtitles
[00:40:13 CEST] <Protected> http://pastie.org/private/srnplakrngapsxhcrrba
[00:40:45 CEST] <furq> Protected: you probably need -c:s mov_text
[00:40:58 CEST] <furq> oh wait, ass
[00:41:04 CEST] <furq> i don't think ass is supported in mp4, you'd need to burn them in
[00:41:26 CEST] <furq> maybe ffmpeg can convert from ass to mov_text but you'd lose all formatting
[00:41:28 CEST] <Protected> If I'm willing to lose any
[00:41:30 CEST] <Protected> It's fine
[00:41:46 CEST] <furq> try -c:s mov_text then
[00:41:47 CEST] <Protected> I only need to create a test mp4 with subtitles, no matter how simple they are
[00:41:50 CEST] <Protected> Alright, 1s
[00:43:09 CEST] <Protected> Ok, I have two "subtitle" streams now, that's promising
[00:44:02 CEST] <Protected> ffmpeg -i test.mp4 -c srt -map 0:2 test.srt returns the actual subtitles now! I'm going to assume that did the trick, thanks
[00:44:13 CEST] <Protected> I had no idea you could specify a codec for the subtitles in just one command
[00:44:39 CEST] <furq> it should pick the right format if you use -c:v copy -c:a copy
[00:44:46 CEST] <furq> -c copy applies to subtitles as well
[00:44:56 CEST] <Protected> It was ignoring them
[00:51:05 CEST] <Protected> Would there be a way to get it NOT to include the chapters as a subtitle track in the mp4?
[00:51:36 CEST] <obelisk29> I am trying to convert a prores capture file into h264. Our editors usually can edit h264 just fine but the h264 mov that ffmpeg and libx264 produces stutters badly when playing back within adobe premiere. I have tried to copy exactly every setting that the working h264 captures use. The only difference I can see now is that the working h264 captures have is a  Reframes of 2 whereas ffmpeg outputs 4. It still stutters and is driving
[00:52:55 CEST] <c_14> Protected: -map_chapters -1 ?
[00:53:03 CEST] <obelisk29> You'll notice i'm also delaying the audio and mapping the 16 audio channels into stereo, but that shouldn't effect anything and that part is working fine.
[00:54:29 CEST] <c_14> obelisk29: upload the output of ffprobe on a working and non-working sample to a pastebin service
[00:54:36 CEST] <obelisk29> http://pastebin.com/S5PDj7Ct
[00:54:42 CEST] <obelisk29> sorry it chopped my link
[00:57:00 CEST] <Protected> Awesome, c_14, thanks
[00:58:16 CEST] <obelisk29> Ok here is the ffprobe comparison http://pastebin.com/2Gwfmhgh
[00:59:22 CEST] <FishPencil> Trying to extract a f4v stream (from RTMP) from a pcap capture and process it with FFmpeg. Anyone familiar with this?
[01:02:59 CEST] <c_14> obelisk29: can you try running the working capture through `ffmpeg -i video.mov -c copy -map 0 -map_metadata -1 out.mov' and seeing if it still works with that
[01:05:12 CEST] <obelisk29> you think its a metadata missing issue? I'll do that.
[01:05:33 CEST] <c_14> either that, or a slightly different container version/muxing
[01:06:51 CEST] <obelisk29> If it doesn't work then that would prove it's a missing metadata issue, I did try copying every metadata tag I could into the output file but it wouldn't copy no matter what I did.
[01:08:40 CEST] <obelisk29> What would be my options for version/muxing issue?
[01:10:26 CEST] <c_14> Running the files that don't work through something like l-smash/gpac or opening a bug report on trac
[01:15:50 CEST] <obelisk29> I'm actually at home and can't get them to test the file until morning are you going to be on chat tomorrow or should I just come back tomorrow and continue with someone else =)
[01:16:32 CEST] <obelisk29> If it is a metadata issue how do I copy all the tags to the output file without ffmpeg dropping them?
[01:16:32 CEST] <c_14> depends on the timing
[01:16:35 CEST] <c_14> I should be here though
[01:17:42 CEST] <obelisk29> or at the very least if ffmpeg cant output them is there something I can do in a linux environment to add them back in?
[01:17:56 CEST] <obelisk29> all hypothetical of course ;)
[01:18:41 CEST] <c_14> If -map_metadata doesn't work, look into using l-smash/gpac. Those should be able to do it
[01:19:39 CEST] <obelisk29> Thanks for your help!
[03:05:21 CEST] <InsaneCrazyMad> If I want to convert a 3D movie so that I can view it using Google Cardboard, what would be the details of the format I'd be wanting to export to ?
[03:07:50 CEST] <InsaneCrazyMad> I am thinking of pairing up the 2013 Wizard of Oz 3D remaster with the 2011 Dark Side of the Moon remaster for Google Cardboard.
[04:45:39 CEST] <ornj> How can I change the speed and rotate in the same command?
[04:46:04 CEST] <ornj> It seems like -vf "transpose=1 setpts=0.5*PTS" worked but -vf "transpose=1 setpts=0.25*PTS" does not.
[04:49:17 CEST] <pzich> so you were able to change the speed, but only to a certain point?
[04:50:17 CEST] <ornj> I guess - I mean, I can change the speed as a separate command
[04:50:20 CEST] <ornj> and I can rotate
[04:50:46 CEST] <ornj> but the two commands together, only 0.5*PTS worked.
[04:51:36 CEST] <ornj> Oh, oops
[04:51:43 CEST] <ornj> Update, maybe it didn't.
[04:51:55 CEST] <ornj> But it didn't choke on my syntax so I guess I assumed it did.
[04:51:57 CEST] <ornj> (Whoops.)
[04:52:26 CEST] <ornj> So let me modify my original question slightly: Can one change the speed and rotate in the same command?
[04:54:32 CEST] <ornj> What is the correct syntax to invoke both: -vf "transpose=PTS" and: -vf "setpts=0.5*PTS" ?
[04:54:49 CEST] <ornj> I'm not certain where I'm s'posed to put the quotation mark  :-/
[04:58:51 CEST] <ornj> Sorry, figured it out
[04:59:04 CEST] <ornj> I think
[04:59:06 CEST] <ornj> We'll see
[04:59:20 CEST] <ornj> I still don't know what a "chain" is
[05:00:33 CEST] <ornj> but commas worked, semicolons didn't  :P
[08:15:51 CEST] <Vineet> hi! has anyone tried hardcoding hindi subtitles using ffmpeg?
[08:16:20 CEST] <Vineet> I'm facing issues with compound letters, they are not getting rendered properly
[08:20:08 CEST] <furq> Vineet: ffmpeg uses libass to burn in subs, so if there's a rendering bug it's probably in libass
[08:22:42 CEST] <Vineet> furq: will it help if I post the rendered glyph here?
[08:23:35 CEST] <Vineet> or asking for it here will be useless, and I should bother libass people? :)
[08:24:24 CEST] <furq> there's no harm in asking
[08:27:39 CEST] <Vineet> https://www.anony.ws/image/N5aa is the rendered glyph
[08:28:04 CEST] <Vineet> ".AG 2$> ? /K *B0G 5?6M5" is how it should have rendered
[12:55:42 CEST] <flying_toaster> Hi there
[12:56:26 CEST] <flying_toaster> I'm using ffprobe to analyze a h264  + aac HEv2 stream (mov container) and I'm having trouble retrieving the right number of audio channels
[12:56:57 CEST] <flying_toaster> using ffprobe -print_format json -show_streams, it outputs :
[12:56:59 CEST] <flying_toaster> -   Stream #0:0(und): Audio: aac (HE-AACv2) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 46 kb/s (default)
[12:57:03 CEST] <flying_toaster> on stderr
[12:57:11 CEST] <flying_toaster> and             "channels": 1,
[12:57:11 CEST] <flying_toaster>             "channel_layout": "mono",
[12:57:24 CEST] <flying_toaster> in the audio stream object in the json output, on stdout
[12:58:08 CEST] <flying_toaster> Is this normal ?
[13:02:23 CEST] <c_14> It shouldn't be
[13:02:29 CEST] <c_14> Does the file maybe have 2 audio streams?
[13:14:43 CEST] <JEEB> HE-AAC is such that if you don't decode enough of the audio you will not get the correct amount of channels
[13:31:11 CEST] <flying_toaster> c_14 : no, this is the only audio stream
[13:31:53 CEST] <flying_toaster> JEEB : Ok, but in that case, ffprobe is decoding audio enough since it reports correctly on stderr
[13:53:58 CEST] <cowai> Hi all, is there a db meter for ffplay/ffmpeg?
[13:54:18 CEST] <cowai> All I can find is ebur128 which does not give me db afaik
[14:12:29 CEST] <johnnny22> When using "https://devimages.apple.com.edgekey.net/streaming/examples/bipbop_4x3/bipbop_4x3_variant.m3u8" as an input to ffmpeg, I'm having difficulty having the output start at timecode 0:00 (displayed on the video). Also, if I want it to start at a specific time, it seems to have difficulty finding the right position. Anyone have a trick to help the HLS demuxer seek properly ?
[15:01:39 CEST] <johnnny22> I always seem to be offsetted by a couple of seconds :(
[15:25:11 CEST] <steward> I can set alpha for RGB color with complex expressions using fontcolor_expr=@0x%{eif... But bordercolor accepts no such? Yet COLORS section of doc seems to say they are all handled the same way. Does bordercolor accept an expression for the alpha? Am I fighting syntax or a lost cause? Many thanks.
[15:55:53 CEST] <Kadigan_KSB> Hi. I wanted to ask what the "Past duration X.XXXXXX too large" message is all about, and what can I do to help ffmpeg deal with it? I'm decoding nonstandard(?) video that is 1504x1504px (data from a 360 camera).
[15:56:35 CEST] <Kadigan_KSB> I know it's 30000/1001 fps (ie. 29.97) but I can't ensure that that's accurate (it's what I specify as input rate), or that it doesn't fluctuate (as in vfr)
[16:57:44 CEST] <Danimal> what causes the image to go blocky briefly, then fix after a second or so?
[17:00:33 CEST] <DHE> corruption, until the next I-frame fixes it
[17:03:38 CEST] <sybariten> hello!
[17:05:08 CEST] <sybariten> trying to do the ol' still-image-to-video-thing .... i've done this a jhundred times i think but now i dont succeed. Heres the first file: bode_1951.png  up until bode_2100.png ...  i used this:   ffmpeg -i %04d.png -start_number 1951 -c:v mjpeg -qscale:v 0 $jacob/bode.avi
[17:05:21 CEST] <sybariten> " Could find no file with path '%04d.png' and index in the range 0-4 "
[17:06:51 CEST] <furq> -i bode_%04d.png
[17:06:57 CEST] <enche> i was curious when looking through the FFMPEG API examples, what are "delayed frames"?
[17:07:19 CEST] <enche> and why do they only seem to occur when encoding?
[17:07:24 CEST] <enche> are there delayed packets as well?
[17:10:37 CEST] <sybariten> furq: that was stupid of me, but still:   Could find no file with path 'bode_%04d.png' and index in the range 0-4        ( from  ffmpeg -i bode_%04d.png -start_number 1951  )
[17:51:26 CEST] <thadude> Hey all i have question, is there a way to make a subtitle track not forced?
[19:50:38 CEST] <obelisk29> Hey c_14 the file stripped of metadata worked just fine.
[19:51:38 CEST] <obelisk29> So I guess that means it's a container issue the premiere doesn't like right?
[19:57:52 CEST] <CFS-MP3b> I have a stream that ffmpeg is reencoding live (sending it to a wowza instance). I have separate subtitles in a text stream that is also being generated live. Is there a way to have ffmpeg insert those subtitles into the stream that is sent to wowza?
[19:58:36 CEST] <latk> I'm trying to match a load of png's of format 0.png 1.png etc, and turn them into a video. Using %d fails, saying it can't find a file path with %d and index 0-4. Why ?
[20:01:30 CEST] <obelisk29_> I have an issue regarding prores to h264 videos. Our editors can edit just fine with premiere pro on our h264 live captures, but when they go to edit the prores to h264 video I encoded via ffmpeg they have very choppy playback.
[20:01:47 CEST] <latk> http://pastebin.com/dTzVe9h4
[20:02:23 CEST] <obelisk29_> I went on last night and another user suggested I take a working capture and fun it through ffmpeg while stripping it of all metadata. That file worked just fine so it's not a metadata issue.
[20:02:54 CEST] <obelisk29_> Here is my encoded file and commands http://pastebin.com/S5PDj7Ct
[20:03:38 CEST] <kepstin> latk: that seems fine... are you sure you're running it in the directory which contains the png files?
[20:03:47 CEST] <obelisk29_> And here is an ffprobe comparison of the working capture and the stuttering h264 encoded file http://pastebin.com/2Gwfmhgh
[20:04:06 CEST] <latk> kepstin: Yep. A different directory with 4 signifiicant figures using %04d works.
[20:05:12 CEST] <kepstin> and you don't have any case issues where your files are all named '.PNG' rather than '.png' or anything like that?
[20:05:45 CEST] <latk> nope, they are all generated by the same script
[20:06:19 CEST] <latk> I guess I will just rerun this script with padding on the file name
[20:06:21 CEST] <latk> just it will take 30 mins
[20:06:40 CEST] <kepstin> because that error is basically just saying "I tried to open the files 0.png, 1.png, 2.png, 3.png, 4.png and couldn't find any of them."
[20:08:03 CEST] <drv> you could run ffmpeg under strace and see what is being passed to open() and/or what error it returns
[20:09:10 CEST] <drv> (actually it looks like it's using access() but same idea)
[20:12:35 CEST] <obelisk29_> How often is the respectable limit to repeat my question before I post to the user mailing list?
[20:16:26 CEST] <c_14> obelisk29_: you can ask on the user ml whenever you want, just don't post here more than every few hours
[20:16:40 CEST] <c_14> But I can't think of what else it could be, so it might be a good idea to ask on the ml
[20:17:21 CEST] <obelisk29_> Ok thx!
[20:56:41 CEST] <jkqxz> obelisk29_:  You talk about reference frames in the H.264 stream as being a difference, but you don't say what happens if you reduce the number libx264 is using it to match the other stream?
[20:58:45 CEST] <jkqxz> (It certainly sounds like something which could be relevant if the other decoder does not fully support H.264.)
[21:01:49 CEST] <obelisk29_> I added the -refs flag and it didnt show any difference when using k-lite mediainfo to display info
[21:02:32 CEST] <obelisk29_> especially when the default refs is 3 but in mediainfo is showing as 4
[21:02:43 CEST] <obelisk29_> ReFrames to be exact
[21:03:51 CEST] <obelisk29_> So I would love to be able to match it exactly but I wasn't sure how. And everything I found and tried didn't show a difference.
[21:04:13 CEST] <lesderid> how do I extract the n-th frame of a video stream with the libav* libraries (in the original pixel format)? I couldn't find any working examples online. it has to be the exact frame, it can't be a frame off
[21:07:51 CEST] <jkqxz> Does it work if you use a faster preset (ultrafast or veryfast)?  (They disable some features to make it faster, and are therefore a convenient way to get a simpler encode.)
[21:09:39 CEST] <obelisk29_> I haven't attempted that I will do that right now.
[21:14:35 CEST] <obelisk29_> Format profile              : Main at L4
[21:14:35 CEST] <obelisk29_> Format settings, CABAC      : Yes
[21:14:35 CEST] <obelisk29_> Format settings, ReFrames   : 4 frames  Still showing 4 ReFrames but I will get our editors to test it now.
[21:15:23 CEST] <jkqxz> That's veryfast?
[21:15:46 CEST] <obelisk29_> yes veryfast
[21:17:55 CEST] <jkqxz> If the test is onerous, ultrafast is probably a better thing to try first (if that works, it's a binary search exercise to find the option which kills it).
[21:23:34 CEST] <obelisk29_> the bitrate is hilarious on ultrafast. veryfast still stuttered. trying ultrafast now
[21:25:51 CEST] <obelisk29_> Format settings, CABAC      : No
[21:25:51 CEST] <obelisk29_> Format settings, ReFrames   : 1 frame
[21:26:38 CEST] <obelisk29_> ultrafast still stuttering. I'm going to try removing all my special filters
[21:26:55 CEST] <obelisk29_> apparently the ultrafast is better though...
[21:27:07 CEST] <obelisk29_> still not close to working though
[21:30:05 CEST] <jkqxz> I think there must be something else to blame, then.  Is it expecting an intra-only stream?
[21:32:02 CEST] <obelisk29_> I can't find any info on what premiere pro is expecting to find in a h264 encoded file.
[21:33:40 CEST] <Mavrik> Do you have a VFR file by any chance?
[21:37:08 CEST] <obelisk29_> VFR file?
[21:40:04 CEST] <jkqxz> Oh, that's a good idea.  Variable FrameRate, i.e. the time between frames is not uniform.  Try adding "-r <number>" ("-r 30", maybe?) before the "-i" to rewrite the timestamps to be uniform.
[21:41:39 CEST] <Mavrik> obelisk29_, variable framerate, not constant framerate like 30fps/24fps etc.
[21:41:45 CEST] <Mavrik> Most phone videos are VFR
[21:41:51 CEST] <Mavrik> And a lot of software hates that
[21:43:23 CEST] <obelisk29_> Ok I'm testing those options now. I'm just copying the audio stream ruling out audio codec messing it up, then I'll test the vfr setting
[21:44:45 CEST] <yahsharahla> can ffmpeg be used for screen recording with webcam veiwer?
[21:45:19 CEST] <obelisk29_> It's a production capture file I'd be very surprised if the source was vfr, but who knows =)
[21:47:41 CEST] <Kadigan> So I was in here earlier asking about messages of "Past duration 0.XXXXXX too large" and whether there was something I could do to fix that -- I am assuming ffmpeg doesn't understand something about the video, and maybe I could inform it better?
[21:47:58 CEST] <yahsharahla> I guess no one understands my question
[21:48:20 CEST] <Kadigan> yahsharahla: what was Your question?
[21:48:38 CEST] <lesderid> yahsharahla: you asked it three minutes ago. be patient
[21:49:03 CEST] <yahsharahla> ok @lesderid so you can answer
[21:49:44 CEST] <lesderid> what's 'webcam viewer'?
[21:49:47 CEST] <jkqxz> ffmpeg can be used for screen recording, yes.  I don't know what you mean by a "webcam viewer" though.
[21:50:46 CEST] <yahsharahla> meaning the front camera is also recording while screen recording is taking place
[21:52:28 CEST] <Kadigan> Does (s)he want to record the screen w/ a camera window up, and it's not working?
[21:52:47 CEST] <Kadigan> (like, black instead of video there?)
[21:56:09 CEST] <obelisk29_> Ok adding -r 30 didn't help but removing all the extraneous processing did deliver some interesting results.
[21:56:26 CEST] <obelisk29_> ffmpeg -r 30 -i test/20160522_sunam_mlc_rhb.mov -pix_fmt yuv420p -vcodec libx264 -crf 18 -acodec copy -preset medium -t 00:04:00 encoded/testme4.mov
[21:56:51 CEST] <obelisk29_> that produced a file that almost fast forwarded by itself
[21:57:08 CEST] <obelisk29_> I think the audio has something to do with it but im not sure what
[21:58:46 CEST] <obelisk29_> I'm really stuck now because doing it two ways produces two buggy outcomes.
[21:59:51 CEST] <Kadigan> obelisk29_: what's the issue? (I just came in)
[21:59:59 CEST] <Kadigan> Audio/video desync?
[22:00:22 CEST] <obelisk29_> I have working h264 live capture that our editors can edit just fine in premiere pro
[22:00:59 CEST] <obelisk29_> But when I try convert the old prores captures into h264 via ffmpeg they stutter really badly in within premiere
[22:01:08 CEST] <wiak> any idea why i keep getting av_interleaved_write_frame(): Broken pipe when i use https://awesome.nwgat.ninja/misc/ffmpeg.paste it streams pretty nicely in opera, firefox and chrome yet randomly crashes ;/
[22:01:34 CEST] <wiak> ffmpeg crashes not browsers*
[22:01:46 CEST] <wawrek> Can we apt-get install FFmpeg with built in support fot libvorbis and libtheora without having to compile?
[22:01:54 CEST] <obelisk29_> http://ffmpeg.org/pipermail/ffmpeg-user/2016-July/032712.html
[22:01:56 CEST] <Kadigan> obelisk29_: that's actually weird. ProRes is designed to be a constant framerate, constant bitrate codec. Things like that shouldn't happen... in theory.
[22:02:24 CEST] <obelisk29_> Yes the playback stutters and sometimes audio drops out completely
[22:02:46 CEST] <Kadigan> obelisk29_: have You tried splitting it into audio and video tracks, and then inserting them separately?
[22:02:51 CEST] <Kadigan> Since it's going into an NLE anyway...
[22:03:09 CEST] <obelisk29_> Premiere reacts differently to it as well, instead of generating peak files like it does with the other captures it conforms it.
[22:03:25 CEST] <obelisk29_> I haven't done that
[22:03:27 CEST] <wiak> remuxing might also help, but dunno i dont use prores sorry
[22:03:53 CEST] <obelisk29_> That would rule out which codec premiere can't handle
[22:04:31 CEST] <wiak> is it only premiere?
[22:04:37 CEST] <Kadigan> It may also be that PP doesn't quite like .mov files in general. Tried .mp4?
[22:04:51 CEST] <obelisk29_> Yes it plays fine in quicktime and vlc
[22:05:06 CEST] <obelisk29_> After effects doesn't like it either
[22:05:15 CEST] <wiak> okey that rules out the file, the it might adobe issue
[22:05:16 CEST] <Kadigan> I've had some issues with porting Mac-made ProRes files to Premiere Pro on Windows.
[22:06:28 CEST] <obelisk29_> We have working h264 captures that premiere likes just fine.
[22:06:39 CEST] <Kadigan> obelisk29_: are they in .mov containers?
[22:06:51 CEST] <obelisk29_> If I could only get it into the exact thing that premiere likes
[22:06:54 CEST] <obelisk29_> yes
[22:07:23 CEST] <obelisk29_> ffprobe comparison http://pastebin.com/2Gwfmhgh
[22:09:38 CEST] <obelisk29_> Ok I'm out for a bit, gonna try the splitting of the audio and video and see what happens thx
[22:10:05 CEST] <obelisk29_> my questions is here http://ffmpeg.org/pipermail/ffmpeg-user/2016-July/032712.html if you have any other suggestions thx!
[22:10:12 CEST] <Kadigan> I'm curious as to the TBN/TBC differences, but I probably don't know enough to explain it.
[22:10:54 CEST] <Kadigan> (working has 29.97 tbr, 30000 tbn, 50 tbc; broken has 29.97 tbr, 11988 tbn, 59.94 tbc)
[22:10:56 CEST] <obelisk29_> I wondered that as well
[22:11:47 CEST] <Kadigan> tbn is timebase from the container, tbr is the assumed fps, and tbc is the timebase used in the context of the codec used
[22:12:21 CEST] <Kadigan> (at least from SO)
[22:13:08 CEST] <Kadigan> In general I can safely say I dislike working with /1001 video. It doesn't lend itself well to converting, IMO.
[22:13:43 CEST] <obelisk29_> prores (apcs / 0x73637061), yuv422p10le(bt709), 1920x1080, 114900 kb/s, SAR 1:1 DAR 16:9, 29.97 f                                 ps, 29.97 tbr, 2997 tbn, 2997 tbc (default)
[22:13:56 CEST] <obelisk29_> thats the ffprobe of the source material
[22:14:30 CEST] <obelisk29_> so compare that with broken
[22:14:37 CEST] <obelisk29_> it doesn't match at all
[22:16:03 CEST] <Kadigan> One thing. Using -r before -i only apparently works for raw formats.
[22:16:41 CEST] <Kadigan> Also, the file is 29.97 so -r 30 would result in some fail in the output (would need to use either -r 29.97 or -r 30000/1001 if that were the case)
[22:17:25 CEST] <obelisk29_> full ffprobe of source http://pastebin.com/vfZWpyME
[22:17:34 CEST] <Kadigan> If You want to reencode the file to use a specific rate, You either need to deal with the timestamps, duplicate frames or export to raw and re-encode.
[22:17:51 CEST] <Kadigan> That's my understanding, anyway.
[22:18:09 CEST] <wiak> any idea why i keep getting av_interleaved_write_frame(): Broken pipe randomly on my ffmpeg/icecast hybrid? http://nwgat.ninja:8001/live.webm
[22:18:30 CEST] <wiak> it is alot more stable i have no clue what i did
[22:18:31 CEST] <wiak> lol
[22:20:32 CEST] <Kadigan> wiak: if it's suffering from intermittent/random failures, I would assume that it's probably an issue with Your decoder not understanding the stream, or the stream being broken
[22:23:58 CEST] <Kadigan> (or, encoder, same difference I would assume)
[22:26:56 CEST] <obelisk29_> i'd rather just have it copy the source framerate they suggested I add it to see if the source being vfr was the issue
[22:40:24 CEST] <spirou> would it be possible for ffmpeg to convert the strange .ts files that the TV saved (when recording tv-programs with it to usb)?
[22:41:19 CEST] <spirou> or ffprobe to find out what format it is
[22:41:24 CEST] <spirou> in this case the TV is one made by Vestel
[22:58:19 CEST] <durandal_1707> spirou: try it, it's probably protected
[23:16:42 CEST] <obelisk29_> IT WORKS
[23:17:35 CEST] <obelisk29_> I split out the video and audio into seperate files then encoded them seperately then remuxed them together and it works perfect!
[23:18:15 CEST] <obelisk29_> Thanks Kadigan and wiak!
[23:18:57 CEST] <wiak> oh snap remux worked hehe
[23:19:01 CEST] <Kadigan> obelisk29_: it's a roundabout way as You essentially rebuilt the streams and resynced them. I hope it keeps sync.
[23:19:27 CEST] <Kadigan> wiak: it's probably both that worked - converting it to something that had separate timestamps each, and then remuxing based on those...
[23:19:38 CEST] <obelisk29_> How I remove my user mail question?
[23:19:48 CEST] <obelisk29_> Or reply to it saying how I solved it?
[23:19:59 CEST] <c_14> Just reply saying how you solved it.
[23:20:23 CEST] <wiak> yeah, i like those people that reply to them self with the solution
[23:20:51 CEST] <obelisk29_> I think it was the audio codec getting confused by the video timecode, atleast that what im going to tell myself
[23:21:53 CEST] <obelisk29_> Im a noob when it comes to these mailing list questions, how do I reply to myself lol
[23:22:14 CEST] <Kadigan> I think it's time I repeat my question: on certain video files (produced by a 360fly camera), mp4 files at rate 30000/1001, resolution 1504x1054 - I receive bucketloads of messages saying "Past duration 0.XXXXXX too large". I don't think it's affecting the produced files much, but I am wondering if it's something I could assist ffmpeg with figuring out (a switch I could use, some forwards detection I could auto-determine this with etc.)?
[23:22:35 CEST] <Kadigan> Correction: resolution 1504x1504* (square video)
[23:23:24 CEST] <Kadigan> For the record, I'm attempting to convert these MP4 files into ProRes so that I can work on them easily in an NLE in an Apple environment.
[23:24:36 CEST] <wiak> obelisk29_ simply reply to the return mail or something you got from mailinglist
[23:25:20 CEST] <wiak> did you try -r 30?
[23:25:24 CEST] <wiak> to force it to 30fps
[23:25:47 CEST] <Kadigan> On an entirely unrelated topic: is there some easy way (and by "easy" I mean one-step or two-step command) I could convert VFR video into CFR video? I don't mind frame doubling, I do mind frame skipping. I've heard that the only reliable way of doing this is to extract the video into a raw format and then re-encode.
[23:26:07 CEST] <wiak> no clue
[23:26:17 CEST] <PhoenixBR> Hi guys!
[23:26:32 CEST] <Kadigan> Hey PhoenixBR. 'sup?
[23:26:47 CEST] <PhoenixBR> Kadigan: nice, thx
[23:27:42 CEST] <Kadigan> (just for clarification: VFR is Variable Frame rate Video, where CFR is Constant (FR); VFR happens a lot in anime where action sequences get a higher frame rate resolution than the rest, and the rate can jump dozens of times during one video clip)
[23:28:07 CEST] <PhoenixBR> Well, I have a very simple issue: Need to put 3 green screen frames in the beggining and in the end of a video. Can anybody help with this?
[23:29:16 CEST] <Kadigan> PhoenixBR: You can create a 3-frame video stream and then concatenate that to the beginning and end.
[23:30:02 CEST] <kepstin> Kadigan: what exactly is the desired result that you want? constant framerate with "realtime", dropping/adding frames, or constant framerate where parts with higher framerate are turned into slow motion, and parts with lower framerate into fast motion?
[23:30:47 CEST] <PhoenixBR> Kadigan: how can I do that?
[23:30:59 CEST] <Kadigan> kepstin: the intended use is for playback in a system that does some magic on look-ahead and intra-frame blending, smooth video (SVP). As such, I would like to end up with a constant frame rate video - I don't mind it being the highest frame rate it has.
[23:31:31 CEST] <Kadigan> Otherwise, the entire forward buffer is dropped when this change happens, which results in a very, very noticeable jerk (up to about 1.5s of playback) as it re-buffers and recalculates.
[23:32:07 CEST] <kepstin> Kadigan: ah, ffmpeg doesn't have anything to interpolate frame or whatnot; the only thing it can do to raise framerate is simply duplicate/repeat a frame to fill time
[23:32:16 CEST] <Kadigan> So basically, if a video file is generally 25fps, but then jumps to 48fps, then down to 12fps (for cartoonish effect) and then back to 25, I don't mind it being CFR 48fps.
[23:32:26 CEST] <kepstin> Kadigan: which you can do by using the -r output option (or equivalently -vf fps)
[23:32:56 CEST] <Kadigan> Ah, and that would produce duplicate frames wherever they're needed to 'pad out' the rate.
[23:33:01 CEST] <kepstin> yeah
[23:33:53 CEST] <Kadigan> This would have the advantage of not losing the buffer, but the disadvantage of allowing for less interpolation where it would be required (by intentionally "falsifying" temporal information). I can see how I would be going against my original purpose that way...
[23:34:06 CEST] <kepstin> ideally, your "smooth video" system really needs to just handle vfr input correctly
[23:34:13 CEST] <kepstin> there's no other way to do what you want, really.
[23:34:37 CEST] <Kadigan> Yeah, that would be the ideal situation. I'm puzzled as to why SVP doesn't actually...
[23:35:03 CEST] <kepstin> since it's already doing inter-frame blending, etc, it would be a great place to interpolate extra frames to fill in the lower framerate sections
[23:35:06 CEST] <Kadigan> (I am ignorant to the complexity of these calculations, and I expect the "border" calculations to be somewhat more complicated)
[23:35:31 CEST] <PhoenixBR> Kadigan: I've created the Green.avi video: ffmpeg -f lavfi -i color=green:s=704x576:r=24000/1001 -f lavfi -i anullsrc -ac 2 -t 1 green.avi
[23:35:42 CEST] <PhoenixBR> Kadigan: what else?
[23:36:00 CEST] <Kadigan> PAL video? Nice.
[23:38:41 CEST] <Kadigan> PhoenixBR: https://trac.ffmpeg.org/wiki/Concatenate please read up here, and https://ffmpeg.org/ffmpeg-filters.html#concat for usage and documentation on using the CONCAT filter.
[23:39:13 CEST] <Kadigan> It allows to join multiple streams together, whether same-codec or different codec.
[23:40:10 CEST] <PhoenixBR> Kadigan: but it has to be the same codec =\
[23:41:00 CEST] <Kadigan> PhoenixBR: I do not understand You. It needs not be the same codec. What matters is that you produce the desired codec at output.
[23:41:59 CEST] <Kadigan> As a side-note, I never fully grasped using ffmpeg to output production-quality mpeg-2 streams usable for DVD mastering... Never could get the options right for mastering software to accept the damn thing...
[23:42:29 CEST] <PhoenixBR> Kadigan: the first link says both video need to have the same codec
[23:42:59 CEST] <Kadigan> No, it doesn't. Please read further down.
[23:43:30 CEST] <Kadigan> Actually, please read the first two introductory sentences to their end.
[00:00:00 CEST] --- Sat Jul  9 2016


More information about the Ffmpeg-devel-irc mailing list