Search found 4 matches

by sgan
Sun Mar 29, 2015 11:11 pm
Forum: Usage
Topic: Image conversion with libavcodec...
Replies: 3
Views: 3376

Re: Image conversion with libavcodec not working with PNG and TIF files

So I am still working on it and I think I finally found the solution. As I am not an libavcodec expert, please fill free to comment. According to avcodec_open2 documentation, http://ffmpeg.org/doxygen/trunk/group__lavc__core.html#ga11f785a188d7d9df71621001465b0f1d , Prior to using this function the ...
by sgan
Sun Mar 29, 2015 7:14 am
Forum: Usage
Topic: Image conversion with libavcodec...
Replies: 3
Views: 3376

Re: Image conversion with libavcodec...

After more investigation I have found following example http://ffmpeg.org/doxygen/trunk/lavfutils_8c_source.html#l00024 It works fine for jpeg, bmp gif formats. But it does not work for PNG or TIF formats!!! For PNG or TIF formats, there are no error, but on the line #77: ret = avcodec_decode_video2...
by sgan
Sat Mar 28, 2015 8:05 pm
Forum: Usage
Topic: Image conversion with libavcodec...
Replies: 3
Views: 3376

Image conversion with libavcodec...

Hello, I am new with libavcodec but I have already succeeded in decoding and saving video frames to disk as images. (I have found some tuto for that). But now, I just need to encode image in another format. Ex: JPEG file to BMP. With ffmpeg, it can be done easily with such command: -i input.jpg -pix...
by sgan
Sun Dec 07, 2014 6:20 pm
Forum: Suggestions
Topic: ffmpeg -version
Replies: 1
Views: 1614

ffmpeg -version

How can I get directly the ffmpeg version? Today (12/07/2014) the current ffmpeg release is 2.5 (https://www.ffmpeg.org) On http://ffmpeg.zeranoe.com site, it is another way to release builts : git-eb74839. It is confusing!!! With ffmpeg -version, in addition to libraries versions, it would be great...
'