Re: [FFmpeg-user] What is wrong with this .mov to mp4 conevrsion?

2015-07-14 Thread Moritz Barsnick
On Tue, Jul 14, 2015 at 05:42:59 +, Dani A wrote: if I add -pix_fmt yuv420p to my long ffmpeg command , will it work on all mov formats conversion to mp4s, or only on 4:2:2 pixel formats? ffmpeg will only insert the conversion if required, it the original source has the correct pixel

[FFmpeg-user] Encoding a stream of base64 image strings into video

2015-07-14 Thread Yotam Laufer
Hello All, I’ve been searching for an answer for quite some time and hopefully you will have the answer for me. Consider that I have used ffmpeg in the past, but I am certainly still a newbie. I have a routine that captures a stream of images, pipes them to ffmpeg and outputs a video file.

Re: [FFmpeg-user] Encoding a stream of base64 image strings into video

2015-07-14 Thread Yotam Laufer
Hi Carl, The host I’m using is called nw.js (node-webkit). I use it to render a video from a browser based renderer. I didn’t write the host, but from reading the source code it’s a node js wrapper that communicates with a C++ executable. From what I can see the interprocess messaging system

Re: [FFmpeg-user] Encoding a stream of base64 image strings into video

2015-07-14 Thread Carl Eugen Hoyos
Yotam Laufer y at utab.com writes: The example I included for rasterizing a base64 datauri is taken from the documentation and uses GIF, running it on the command line will generate an image, so I’m guessing some support is there. I use PNGs if it matters. I am not sure I understand

Re: [FFmpeg-user] Encoding a stream of base64 image strings into video

2015-07-14 Thread Carl Eugen Hoyos
Yotam Laufer y at utab.com writes: You could implement an option to the pipe protocol to accept (and decode) base64. Note that a base64 decoder exists in libavutil. If you have an example on how to approach this it will be most helpful. I suspect the data protocol that you showed

Re: [FFmpeg-user] Encoding a stream of base64 image strings into video

2015-07-14 Thread Carl Eugen Hoyos
Yotam Laufer y at utab.com writes: The host that captures the images returns them as a base64 string, Why? I mean: I suspect this is not the internal representation of the image inside the host and it is likely that FFmpeg can read the internal representation. There is no gif parser

Re: [FFmpeg-user] Encoding a stream of base64 image strings into video

2015-07-14 Thread Yotam Laufer
The example I included for rasterizing a base64 datauri is taken from the documentation and uses GIF, running it on the command line will generate an image, so I’m guessing some support is there. I use PNGs if it matters. I am not sure I understand this sentence, but in any case:

Re: [FFmpeg-user] Apply format with overlay and -ss in front of inputfile is strange?

2015-07-14 Thread nicolab
Nicolas George george at nsup.org writes: Le quintidi 25 messidor, an CCXXIII, Carl Eugen Hoyos a écrit : I can confirm that there may be an issue but it is not overlay-related: $ ffmpeg -i input -vf split[x][z];[x]format=gray[x1];[x1]nullsink -strict -2 -vcodec jpeg2000 -ss 1 out1.avi

[FFmpeg-user] H.264 headers generation

2015-07-14 Thread Andrey Utkin
Asking for help with h264 headers generation. Both copying headers from similar videos and porting headers generation code from reference driver don't work for me (ref driver is weird and very complicated, so porting involved importing of lots of code, but still in my case the generated header

Re: [FFmpeg-user] Actual bitrate is lower than target

2015-07-14 Thread James Darnley
On 2015-07-14 23:00, Wesley Wen wrote: -g 29.9002997 This is an integer parameter. [libx264 @ 0x7ff1e8816e00] frame I:71Avg QP: 2.19 size: 46261 [libx264 @ 0x7ff1e8816e00] frame P:2040 Avg QP: 2.51 size: 11560 [libx264 @ 0x7f948a822800] frame I:71Avg QP: 1.80 size: 48058

[FFmpeg-user] Actual bitrate is lower than target

2015-07-14 Thread Wesley Wen
Hi, We transcoded source file to multiple resolution/bitrate in order to create adaptive stream. One of the profile is 7M bps and we tried to encode it as near CBR. We prepared one FFmpeg command and it worked quite well for most content. However, for some content, the actual bitrate of encoded

Re: [FFmpeg-user] Actual bitrate is lower than target

2015-07-14 Thread Wesley Wen
On Wed, Jul 15, 2015 at 6:49 AM, James Darnley james.darn...@gmail.com wrote: On 2015-07-14 23:00, Wesley Wen wrote: -g 29.9002997 This is an integer parameter. [libx264 @ 0x7ff1e8816e00] frame I:71Avg QP: 2.19 size: 46261 [libx264 @ 0x7ff1e8816e00] frame P:2040 Avg QP: 2.51