[Ffmpeg-devel-irc] ffmpeg.log.20150310
burek
burek021 at gmail.com
Wed Mar 11 02:05:01 CET 2015
[01:09:40 CET] <user083> How can i add a timestamp to a video? i get this error "Stray % near 'T'"
[01:12:30 CET] <pzich> are you escaping the %? I see text='\%T' in this example: http://stackoverflow.com/a/12297131
[01:13:24 CET] <user083> pzich: yes i am and it is in quotes
[01:14:06 CET] <user083> pzich: yes i am and it is in single quotes text='\%T'
[01:15:26 CET] <user083> i am using android, could that be the problem?
[01:16:13 CET] <pzich> No idea, maybe it's a version that doesn't support it, or the syntax has changed? I've never used it before.
[01:17:45 CET] <user083> what does the 'timecode' format do?
[01:20:02 CET] <user083> I solved it, the 'timecode' argument is what i needed.
[04:31:52 CET] <copypaste> Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used) <-- why does this exit with code 0? it clearly failed
[04:32:22 CET] <copypaste> this happens if frames are not looped to conserve filesize like in this video: https://media.8ch.net/test/src/1425957831333.webm
[04:32:53 CET] <copypaste> that was generated with `ffmpeg -i shot0002.jpg -i happening.aac happening.webm`. There is really no reason to loop the image if the browser understands it, just a waste of filesize
[04:33:17 CET] <copypaste> so I want to catch the output and do -ss 0 to fix the bug, but ffmpeg doesn't even exit correctly with an error ;_;
[05:19:39 CET] <copypaste> i opened a bug https://trac.ffmpeg.org/ticket/4362
[07:50:10 CET] CTCP P: from freshbird (freshbird!~freshbird at 118.122.91.183) to #ffmpeg
[07:50:10 CET] <freshbird> i want to get the number of IB frames sratrately. which ffmepg api should i use
[08:10:16 CET] <DrSlony> Hi, there is no mention of 2.6 here http://ffmpeg.org/index.html#news
[08:52:41 CET] <phantome> yo!
[09:03:06 CET] <phantome> Guys I have 3d movie that I want to recode to save some space. It's currently some 15gig (i have changed intentionally the size in the paste below). The problem is that it is 3D as in 3d mkv not a mkv that has a single frame that is splitted in left and right parts. It has actually two separate frames. I tried to just ignore this fact and encode as usual BUT the result was weird. I got (if I recall correctly) a resized (streched) single fra
[09:03:06 CET] <phantome> me. So, the question is, how do you do that? Do I have to encode each view separately? Is that possible? Below I paste the "mediainfo" output of the movie.
[09:03:29 CET] <phantome> http://pastebin.com/SqgiqS18
[10:25:19 CET] <baran> hello
[10:27:58 CET] <baran> does anybody know why i get monochroatic images from a h264 (YUV4:2:0) video, using cmd command "ffmpeg.exe -i <<<videoDataFile>>> -ss <<<timestamp>>> -vframes 1 image-%4d.j2k"
[10:28:09 CET] <baran> *monochromatic
[10:28:15 CET] <baran> as in black and white :)
[10:34:58 CET] <relaxed> baran: look at "ffmpeg -h encoder=jpeg2000" for its supported color spaces. It's probably defaulting to gray.
[10:35:05 CET] <DrSlony> Hi, there is no mention of 2.6 here http://ffmpeg.org/index.html#news
[10:35:21 CET] <relaxed> DrSlony: I'm sure they will add it.
[10:44:14 CET] <DrSlony> thats why im mentioning it :]
[10:53:05 CET] <freshbird> hi guys,how to get the number of "p" frame from video file?
[10:56:36 CET] <baran> ok, so it supports yuv444, rgb24 and grey
[10:57:12 CET] <baran> is it possible to specify color space in previously mentioned command line?
[10:58:39 CET] <Mavrik> baran, it's called "pixel format" by ffmpeg and yes it's possible to specify it :)
[11:00:33 CET] <baran> well i tried
[11:01:00 CET] <baran> "ffmpeg.exe -i <<<videoDataFile>>> -pixel_format yuv444 -ss <<<timestamp>>> -vframes 1 image-%4d.j2k"
[11:01:04 CET] <baran> but to no avail
[11:01:13 CET] <relaxed> baran: -pix_fmt yuv444
[11:01:30 CET] <Mavrik> Mygod man, you could have just checked ffmpeg -help for parameter name -_-
[11:01:48 CET] <baran> prolly
[11:02:31 CET] <relaxed> -pixel_format would make sense too
[11:06:11 CET] <baran> still. it's mostly grey with some blue/green/red dots, but nowhere near original :/
[11:57:29 CET] <baran> http://pastebin.com/7mkpqjUV
[11:57:44 CET] <baran> ok, this is exact command and the output
[13:11:00 CET] <JamJams> Hi! Is it possible to pipe video from x264.exe into ffmpeg and mux it as it encodes?
[13:11:43 CET] <BtbN> in theory, yes. But why would you do it that way? Just use the libx264 encoder?
[13:12:30 CET] <JamJams> I'm using a modified x264.exe
[13:12:45 CET] <BtbN> Then modify the libx264 instead
[13:13:04 CET] <JamJams> I'd perfer this method but I can't seem to get it to work
[13:20:30 CET] <JamJams> nm I got it
[13:20:42 CET] <JamJams> --muxer mkv on x264.exe was required for ffmpeg to take the input
[13:24:22 CET] <BtbN> And what exactly do you need ffmpeg for then? oO
[13:24:26 CET] <BtbN> When not for muxing?
[13:24:45 CET] <BtbN> Doesn't the x264 binary even use libavformat for its muxing?
[13:27:33 CET] <JamJams> I wanted to use ffmpeg to mux while it was encoding
[13:27:52 CET] <JamJams> So mux an audio track in with a currently encoding video for streaming
[13:28:48 CET] <BtbN> What did you even modify at x264?
[13:29:56 CET] <JamJams> Patches I submitted that haven't been accepted into the main branch yet
[13:30:27 CET] <BtbN> Then just build a patched libx264, and link ffmpeg against it? Way easier
[13:30:44 CET] <BtbN> Specialy if you are already patching and building yourself
[13:31:29 CET] <JamJams> Building ffmpeg for windows always seemed to be a huge pain in the ass
[13:31:40 CET] <JamJams> Linux is easy
[13:31:58 CET] <BtbN> If you already built x264, you propably have all you need
[13:33:01 CET] <JamJams> I'll consider it but this works very well so I'm happy enough using a pipe :)
[13:39:42 CET] <JamJams> Is it possible to have ffmpeg not write the Writing application and Writing library metadata to the header?
[14:18:24 CET] <c_14> >being able to identify the used encoder/muxer can be imporatnt to work around bugs in such encoder/muxer. You should be able to avoid the insertion of that data with -fflags +bitexact -flags +bitexact
[15:06:34 CET] <Jonas__> isn't -filter_complex '[0:a][1:a]amix[aout]' supposed to be the way to specify audio streams in filters?
[15:07:01 CET] <Jonas__> it tells me that "Stream specifier ':a' in filtergraph description [0:a][1:a]amix[aout] matches no streams.", yet the examples in the documentation use a syntax like that
[15:15:37 CET] <Jonas__> figured it out, [0:] is a pure video stream, no audio
[15:15:52 CET] <Jonas__> didn't realize 0:a mapped to the first stream, assumed it was the first actual audio stream
[15:15:58 CET] <Jonas__> it makes sense I suppose
[15:20:36 CET] <c_14> [0:a] maps all audio streams of the first input file
[15:21:52 CET] <Jonas__> yeah, that finally clicked
[15:23:03 CET] <Jonas__> I'm trying to filter some audio streams like so: -filter_complex '[2:a][3:a]amix[aout]' and then mapping them to the output with -map aout, but it doesn't understand what I mean
[15:23:17 CET] <Jonas__> it tells me "Stream map 'aout' matches no streams.", any ideas?
[15:52:10 CET] <c_14> -map '[aout']
[15:52:12 CET] <c_14> eh
[15:52:14 CET] <c_14> -map '[aout]'
[16:04:00 CET] <jp11> I'm trying to push an mp3 live stream to ffserver but even with -c:a copy option ffmpeg (v2.5.4) reencode the stream '(mp3 (native) -> mp3 (libmp3lame))'
[16:04:03 CET] <jp11> any tips ?
[16:06:19 CET] <azk> your ffserver.conf would help as well.
[16:07:13 CET] <c_14> jp11: you either need to tell ffmpeg to override ffserver's configuration, or ffserver not to reencode the audio stream
[16:11:17 CET] <jp11> here my ffmpeg command and my ffserver.conf file http://pastebin.com/JRZZxLP7 http://pastebin.com/qUY5YSLV
[16:13:54 CET] <jp11> ah ok with -override_ffserver, it works as expected
[16:23:22 CET] <azk> Nice.
[16:25:19 CET] <jp11> and just for my curiosity, how can I tell to ffserver to not reencode my audio stream ?
[17:17:37 CET] <Jonas__> thanks c_14, re [aout]
[17:23:03 CET] <sagax_> jp11, you don't nedd reencode stream with ffserver
[17:23:11 CET] <sagax_> it make with ffmpeg
[17:23:35 CET] <sagax_> ffmpeg get input and push to ffm stream from ffserver
[17:24:22 CET] <sagax_> with ffserver.conf you need description ffm stream
[17:40:31 CET] <jp11> sagax_: ok but if I want my ffmpeg to copy the stream, how can I do that in my ffserver.conf ?
[17:57:46 CET] <sagax_> to copy one of streams?
[17:58:00 CET] <sagax_> in ffserver.conf?
[17:58:40 CET] <jp11> yes
[17:59:15 CET] <jp11> as with -c:a copy -override_ffserver
[17:59:54 CET] <sagax_> then you can describe two identical streams but with different names
[18:00:04 CET] <sagax_> to start two ffmpeg
[18:00:35 CET] <sagax_> but there can be a problem with input in ffmpeg
[18:01:59 CET] <sagax_> my such opinion
[18:03:31 CET] <ThinThread> hm this code is p good https://github.com/jp9000/OBS/
[18:03:45 CET] <sagax_> maybe you wanted to tell not copying and a retranslirovaniye?
[18:03:49 CET] <ThinThread> open broadcaster software
[18:03:59 CET] <sagax_> relay*
[18:06:36 CET] <ThinThread> its obv not as general purpose as ffmpeg
[18:07:13 CET] <ThinThread> but i think ffmpeg is losing share to basket of replacements of which OBS is one
[18:08:49 CET] <sagax_> OBS doesn't work with ffmpeg?
[18:10:46 CET] <ThinThread> actually maybe it does. i dont see it in the code. guess i should check it out and grep
[18:11:06 CET] <sassisaf> Hello, can somebody help me? I'm trying to convert a video to a MJPG encoded avi, but I can't get the audio to work. http://pastebin.com/WunZz766
[18:13:06 CET] <sagax_> show you "ffmpeg -codecs"
[18:15:31 CET] <sassisaf> http://pastebin.com/8fFKBTVQ
[18:18:04 CET] <jp11> I'll do furthers tests, thanks for your help
[18:19:04 CET] <sagax_> may be you command need options "-ab" and "-ar" after "-acodec"
[18:21:05 CET] <ThinThread> yeah i can confirm obs does NOT use ffmpeg. but calls lame, x264, lib faac, libfmx, librtmp, libsamplerate, etc itself
[18:21:26 CET] <ThinThread> some linux OBS rpms depend on ffmpeg rpm
[18:21:40 CET] <sagax_> strange )
[18:21:48 CET] <ThinThread> but this bust be solely for purpose of using dependent codec libs
[18:21:50 CET] <ThinThread> not ffmpeg itself
[18:22:03 CET] <sagax_> yea
[18:27:51 CET] <sagax_> sassisaf, and "-ac"
[18:28:40 CET] <ThinThread> oh well. if i have to replace all my ffmpeg code it will only be because of improved alternative becoming most popular choice. thanks.
[18:30:17 CET] <sassisaf> hmm thanks, I'm trying some things now
[19:09:23 CET] <big_angel> Hi to everybody, I am trying to capture a video from a point grey bumblebee BB2 firewire camera which is a IIDC 1394 v1.31 camera, when I try to save the video on a file, ffmpeg freezes when trying to open the input file
[19:11:37 CET] <big_angel> ffmpeg -t 2 -loglevel debug -r 15 -f libdc1394 -i /dev/fw1 -y webcam.mpg ffmpeg version 2.6 Copyright (c) 2000-2015 the FFmpeg developers built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-11) configuration: --prefix=/root/ffmpeg_build --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --enable-libvorbis --enable-libvpx --enable-libdc1394 libavutil 54. 20.100 / 54. 20.10
[19:13:07 CET] <big_angel> sorry for the wrong paste
[19:13:39 CET] <big_angel> I pasted the output of my ffmpeg trial to the pastebin
[19:50:28 CET] <sassisaf> I took some time and tried several things but nothing worked, still having trouble getting audio to work. Updated info: http://pastebin.com/Vs2NmcxK
[19:51:34 CET] <c_14> sassisaf: well, duh. you have -an
[19:51:38 CET] <c_14> That removes all audio
[19:52:30 CET] <c_14> Also, setting a bitrate on pcm audio doesn't make sense.
[19:52:51 CET] <sassisaf> ohh
[19:53:02 CET] <sassisaf> omg
[19:53:32 CET] <sassisaf> tyvm, being the first time using ffmpeg i was assuming -an was for providing the output file :'D
[19:53:49 CET] <sassisaf> i feel like an idiot right now
[19:53:54 CET] <c_14> -an is short for 'audio no'
[20:11:15 CET] <sassisaf> hmm the video plays on my pc but not on the media player I want it to play on.
[20:12:32 CET] <sassisaf> In short, I got a promotional video player which has room for a 100mb video file. I tried to encode another video file to the same encoding the original file used and replaced it. However it won't play, displaying "Format error!"
[20:12:58 CET] <sassisaf> So I tried to re-encode the original file to the same encoding, same bitrates and everything, it still won't work.
[20:13:19 CET] <klaxa> i read about that before...
[20:13:26 CET] <klaxa> was it in like a magazine or something?
[20:13:31 CET] <sassisaf> The only difference is the property yuvj420p(pc, bt470bg/unknown/unknown) from the original video, which turns into yuvj420p(pc) in the re-encoded video.
[20:13:33 CET] <Mavrik> you have a video player whose optimal format is MJPEG? O.o
[20:14:24 CET] <sassisaf> Nope, I got it send to me by mail on my job. It's a small cardboard box containing a simple media player which has a usb socket and FAT32 filesystem. It plays the first file in the root folder.
[20:14:47 CET] <klaxa> does it have a name or something? i read a blog entry about it i think
[20:15:01 CET] <sassisaf> It's probably made very minimalistic and can only play one single format i guess...
[20:15:10 CET] <Mavrik> I very much doubt that single format is MJPEG
[20:15:20 CET] <Mavrik> Don't you have any basic info or at least model number?
[20:15:48 CET] <sassisaf> I only know that the firm who sent it to me is called "Netherlocks", however I think they bought this model from another firm.
[20:16:14 CET] <sassisaf> Hmm i'mma try to break open this cardboard box carefully
[20:24:59 CET] <sassisaf> Hmm, whoever made this made no markings on it.
[20:25:23 CET] <sassisaf> I could identify a the flash chip, so i assume the other chip is used for video decoding
[20:25:56 CET] <sassisaf> It says AK2117, found a datasheet online, got some reading work to do.
[20:26:06 CET] <klaxa> like i said, i read something about that, i'm trying to find it right now
[20:26:33 CET] <Mavrik> sassisaf, look, just try throwing a baseline H.264 with AAC audio at it
[20:26:42 CET] <Mavrik> in mp4 container
[20:26:55 CET] <Mavrik> that's the safest bet :)
[20:28:10 CET] <sassisaf> seems it won't accept that though
[20:28:12 CET] <sassisaf> found the website: http://www.himfr.com/d-pz19418f6-multi_media_product_line_ak2117
[20:28:24 CET] <sassisaf> Multi-Media Product Line >> AK2117 MP3, WMA, FM Radio, Voice Recording, SRS, Picture browseAMV, AVI(MJPEG), LQFP64(7*7mm), 4wire-card, 24bit ECC flash
[20:29:06 CET] <sassisaf> i guess imma try amv
[20:32:24 CET] <Makulik> Hi there, I'm completely new to the ffmpeg universe, and have a very particular edge case concern.
[20:35:29 CET] <Makulik> I want to use ffmpeg API's capabilities to handle the SAP/SDP service announcements as a client on an embedded device. Is it possible to narrow the lib down (by configuration) just to use the features for listening to SAP frames, and decode the SDP announcements?
[20:38:50 CET] <klaxa> sassisaf: http://www.alternatasha.com/2012/07/hacking-a-video-greeting-card/
[20:38:59 CET] <klaxa> is it that thing?
[20:39:17 CET] <Makulik> The actual AV stream receive and processing will happen on the hardware of this device (FPGA implementation). I just need that SDP information to be published from the device, to help with configuration for available sources from the current TCP/IP network environment.
[20:41:53 CET] <Makulik> My device is running a ARM based linux currently.
[20:42:53 CET] <sassisaf> Yup that's the thing
[20:43:13 CET] <sassisaf> ohwait no something like that
[20:43:36 CET] <sassisaf> but i have a feeling this will work
[20:43:37 CET] <sassisaf> tyvm!
[20:50:25 CET] <klaxa> sassisaf, please tell me if it worked or not, i'm kinda curious :)
[20:51:16 CET] <sassisaf> Hmm, I read the blog and that person wasn't able to encode amv using ffmpeg, even using newer builds building from the source
[20:51:31 CET] <sassisaf> I see he used a proprietary program called Tanbee I'm trying tha tnow
[20:52:34 CET] <sassisaf> The problem is, Tanbee can generate many formats, except the one he used with tanbee :'D
[20:55:47 CET] <sassisaf> Ah, I just downloaded the wrong tool, anyways downloaded the right tool and fixed an xml entry in the program now testing it
[21:00:41 CET] <sassisaf> Nope it doesn't work.
[21:03:02 CET] <Makulik> Well, this seems to be better asked at the mailing list I guess :-( ....
[21:06:19 CET] <sassisaf> Seems the AK2117 chip that guy had is slightly different from my AK2117C chip
[21:12:13 CET] <echo123> Hello.
[21:12:44 CET] <echo123> http://a.pomf.se/oylhkg.png
[21:12:57 CET] <echo123> Why does that happen why I am trying to -vf boxblur?
[21:13:43 CET] <Jonas__> I have noticed something weird, when I use ffmpeg to encode for streaming, it gets really laggy whenever I stream to the twitch rtmp url
[21:14:08 CET] <Jonas__> drops from the set 30 fps to around 22
[21:14:24 CET] <echo123> Jonas__: because of streaming? Are you sure?
[21:14:26 CET] <Jonas__> if I use exactly the same settings to instead encode to a local file, then stream directly from that file to the same rtmp url, it works perfectly at 30 fps
[21:14:42 CET] <Jonas__> both during the encoding to file, and the separate streaming from that file later
[21:15:00 CET] <Jonas__> exactly why it
[21:15:15 CET] <Jonas__> exactly why it's happening I'm not sure, but adding/removing the rtmp url adds/removes the lag like clockwork
[21:16:01 CET] <Jonas__> ideas about debugging it welcome, since it's really killing stream quality :)
[21:16:55 CET] <sassisaf> klaxa, I wasn't able to make it work, however when I deep-scanned the fat drive using Recuva I found 10 .jpg files which contained images from within the video I uploaded to the device. It seems like it was at least able to partially decode that file. Ohwell I have to go to work now I'll be trying some more things tomorrow.
[21:17:55 CET] <klaxa> okay, too bad it didn't work out so easily
[21:24:06 CET] <echo123> Somebody?
[21:26:44 CET] <sassisaf> klaxa, okay so was too curious and had a few spare mins left anyways, I tried using ffmpeg to split the first 10 seconds from the original file using the same codecs, even this file gives an output error... Ok really going to work now lol.
[21:28:45 CET] <seb_> hi !
[21:29:46 CET] <seb_> I'm an editor, and I'm actually testing Lightworks
[21:30:26 CET] <seb_> but I have a few problems encoding prores with ffmpeg
[21:32:08 CET] <echo123> https://bpaste.net/show/15b6c5965e9d
[21:32:43 CET] <klaxa> maybe try not overwriting the file you are reading?
[21:33:45 CET] <c_14> ^usually a good start
[21:35:03 CET] <echo123> I used that command in the past.
[21:35:06 CET] <echo123> And all worked good.
[21:35:23 CET] <echo123> If you say so, I will try.
[21:35:29 CET] <seb_> the length of the source file is not the same than the encoded prores file
[21:36:58 CET] <seb_> oh ok sorry !
[21:38:07 CET] <echo123> https://bpaste.net/show/6d3b76f42a31 http://a.pomf.se/plvtnc.png
[21:38:39 CET] <seb_> here it is : http://pastebin.com/00wRVzRG
[21:39:50 CET] <echo123> May that be because of cpu flags that were included to gentoo some time ago?
[21:40:03 CET] <echo123> I generated them using utility.
[21:40:51 CET] <haider_> Good evening
[21:41:07 CET] <echo123> Utility from app-portage/cpuinfo2cpuflags.
[21:41:19 CET] <haider_> Has anyone managed to get x11grab working with Rasperry Pi 2 (Raspbian)
[21:41:49 CET] <seb_> and the mediainfo duration infos : http://pastebin.com/bmHAyFAC
[21:42:43 CET] <echo123> It generated me CPU_FLAGS_X86, but with mmxext.
[21:43:03 CET] <echo123> I made cat /proc/cpuinfo | awk '/mmxext/' and got nothing.
[21:43:25 CET] <echo123> But ffmpeg does not build without it.
[21:43:51 CET] <c_14> echo123: looks like a bug with ffmpeg, the boxblur filter and the png demuxer
[21:44:32 CET] <echo123> c_14: will try with jpg.
[21:46:09 CET] <c_14> seb_: looks reasonable enough for me, not that I can reasonably tell which streams are supposed to be different with that output
[21:46:50 CET] <echo123> c_14: with both of them.
[21:47:01 CET] <echo123> ffmpeg -i screenshot.png foo.jpg
[21:47:10 CET] <c_14> echo123: only happens to me if I use png as input, works fine on video and jpg
[21:47:11 CET] <echo123> ffmpeg -i foo.jpg -vf boxblur bar.jpg
[21:47:16 CET] <echo123> Yes.
[21:47:23 CET] <echo123> So it is a bug?
[21:47:27 CET] <haider_> Has anyone managed to get x11grab working with Rasperry Pi 2 (Raspbian)?
[21:47:27 CET] <c_14> most probably
[21:47:32 CET] <echo123> How to report?
[21:47:57 CET] <c_14> https://ffmpeg.org/bugreports.html
[21:48:32 CET] <c_14> haider_: you might just want to wait around until someone who has done so comes by, explain your specific problem, or ask on the user ml
[21:49:10 CET] <haider_> Sorry what is the user ml?
[21:53:17 CET] <seb_> here is the full mediainfo source file http://pastebin.com/7KRnHweu (Video duration : 6325951) and the mediainfo of the encoded file : http://pastebin.com/kWkirVgH ( Duration = 6324986 )
[21:53:40 CET] <echo123> How to check when did I built it?
[21:54:27 CET] <c_14> echo123: the build date is no longer part of the version string as the only interesting part is the actual version number
[21:57:32 CET] <echo123> c_14: you are not a developer?
[21:57:45 CET] <c_14> Not really.
[21:59:48 CET] <c_14> seb_: no clue, can you do an `ffprobe sourcevideo -count_frames -show_entries stream=nb_read_frames' on the source?
[22:03:19 CET] <echo123> Waiting for ebuilds.
[22:03:24 CET] <echo123> Good luck everyone.
[22:05:41 CET] <seb_> here your are : http://pastebin.com/YXbQyzsw
[22:07:42 CET] <c_14> seb_: that should output something looking like: http://sprunge.us/QKiR
[22:09:44 CET] <seb_> Is that supposed to be long ?
[22:09:55 CET] <c_14> hmm?
[22:10:25 CET] <seb_> because the command takes 300% of my CPU Oo
[22:10:42 CET] <c_14> Depends, but not too abnormal.
[22:10:51 CET] <c_14> It needs to decode all the video as fast as possible to count each and every frame.
[22:11:05 CET] <seb_> ok
[22:11:19 CET] <seb_> I let it count
[22:18:57 CET] <seb_> http://pastebin.com/rsUdkMMb
[22:19:51 CET] <c_14> Hmm, mediainfo is detecting more frames in the input than ffmpeg. Assuming mediainfo is correct, there's a bug in ffmpeg. Big assumption though.
[22:21:32 CET] <seb_> ahah .. I try on the encoded file, just to see
[22:26:48 CET] <seb_> http://pastebin.com/kgatCkaV
[22:35:37 CET] <c_14> Ye, so either ffmpeg or mediainfo is miscounting the number of frames in the input file.
[22:38:03 CET] <seb_> okey thank you
[22:38:58 CET] <seb_> I guess professionnal video editing on Linux is not for today
[22:39:14 CET] <seb_> but I'll try with another codec
[22:43:26 CET] <Genscher> I am trying to create thumbnails with ffmpeg. My problem is, that my jpeg thumbnails are not scaled according to the aspect ratio. What I mean is, that I would like to have the scaling "applied". Let me explain
[22:45:08 CET] <Genscher> output image size is => 512x409 (option "scale=512:-3"); But ffmpeg tells me, that the "real" image size with aspect ratio applied would be "727x409"
[22:45:18 CET] <Genscher> VO: [jpeg] 512x409 => 727x409 RGB 24-bit
[22:47:04 CET] <Genscher> http://www.pasteall.org/57164
[22:47:18 CET] <seb_> bye people !
[22:48:24 CET] <Genscher> basicly, ffmpeg igves me jpg images with a horizontal dpi of 50 and a vertical dpi of 72...
[22:48:31 CET] <Genscher> *gives
[22:50:04 CET] <Genscher> when i open the image in photoshop it tells me "please be aware that aspect ratio correction is enabled for this image"
[22:55:12 CET] <Genscher> ok, update: if i know the aspect ratio in beforehand, i can get correct images using the "-aspect 16:9" and "scale=512:-2" options
[22:55:32 CET] <Genscher> but all goes south if i skip the "aspect-ratio" option
[23:00:18 CET] <Genscher> i'll just use ffprobe and then use the aspect rati oinfo to apply that to ffmpeg, meh ;)
[00:00:00 CET] --- Wed Mar 11 2015
More information about the Ffmpeg-devel-irc
mailing list