Re: [Libav-user] movflags/faststart flag for avcodec_open2

2018-05-03 Thread Jodon Karlik
> Hello, I am trying to ensure that I have the moov metadata for H.264 encoded video at the beginning of the file. I have seen examples online that indicate I need to give ffmpeg the "-movflags +faststart" option, but I am coding against libav*. How do these options

Re: [Libav-user] movflags/faststart flag for avcodec_open2

2018-05-03 Thread Michael Armes
My apologizes. Here is the full list of options from the serialize. I do appreciate any help. Heads up that I will be away starting tomorrow until Monday. If I don't respond timely, it doesn't mean I don't care. :-)

Re: [Libav-user] movflags/faststart flag for avcodec_open2

2018-05-03 Thread Michael Armes
Jordan, Thanks for the reply. It's great to know that I'm on track with the option name/value and my use of av_dict_set. Also good to know that the -/+ logic applies here. Can you confirm that: AVDictionary* myOptions; av_dict_set( , "movflags", "+faststart", 0 ); avcodec_open2(context, codec,

Re: [Libav-user] FFMPEG H264 Encoder speed

2018-05-03 Thread Carl Eugen Hoyos
2018-05-03 13:56 GMT+02:00, Vittalprasad : > I am comparing encoding speed of FFMPEG H264 > and OPENH264. FFmpeg does not contain an internal H.264 encoder. libx264 has several different speed levels, did you try all of them? Carl Eugen

[Libav-user] send usb control transfer by ffmpeg api

2018-05-03 Thread N-Star
Hi, Is there any api in ffmpeg which can send an usb control request? I can use the libusb's interface ( libusb_control_transfer() ) to accomplish this requirement, but this interface will cause the ffmpeg usb video streaming corrupt when i called it. So, it is perfect if ffmpeg has such

[Libav-user] FFMPEG H264 Encoder speed

2018-05-03 Thread Vittalprasad
Hi Team, I am comparing encoding speed of FFMPEG H264 and OPENH264. I have found that with single thread, *OPENH264 is 4 times faster than the FFMPEG H264*. Below i attached a table for reference. *please let me know how to increase the encoding speed of FFMPEGH264.* File name No of frames