Re: [FFmpeg-user] unable to convert png to movie, error: Invalid PNG signature ,

2016-12-06 Thread Carl Eugen Hoyos
2016-12-06 11:07 GMT+01:00 Puneet Singh :

> While compiling from sources on linux platform ,i set CFLAG/CXXFLAG to
> -fPIC.

> For ffmpeg -fPIC is not necessary (as libraries are static).

If it is not necessary, don't use it.
(If it would not have negative effects, it would likely be the default.)

> How you were able to detect the image compression format information (jpeg)
> from the attached image files?

I used "ffmpeg -i input", but I assume "file input" would also have helped.

> Also , i tried
> ffmpeg  -r 1 -vcodec mjpeg -i image%2d.png -vcodec libx264 -pix_fmt yuv420p
> video.mp4
> and i am stuck at:
>
> ffmpeg version 3.2.1 Copyright (c) 2000-2016 the FFmpeg developers

Again: Only current FFmpeg git head is supported here.

>   built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-11)
>   configuration: --prefix=/home/apps/FFMPEG/3.2.1/gnu --extra-cflags=-fPIC
> --extra-cxxflags=-fPIC --enable-libx264 --enable-gpl

See above.

> [libx264 @ 0x2248380] *width not divisible by 2* (481x480)

What is unclear about this message?
(Except for the asterisks.)

Please remember not to top-post here, Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] unable to convert png to movie, error: Invalid PNG signature ,

2016-12-02 Thread Carl Eugen Hoyos
2016-12-02 11:22 GMT+01:00 Puneet Singh :

> I am trying to convert a set of images to a video file. I have tried
> various ffmpeg command options but they all have failed.

> ffmpeg -r 1 -i image%02d.png

Since your files are actually jpeg, not png, you have to force the
right decoder:
$ ffmpeg -r 1 -vcodec mjpeg -i image%2d.png

> --extra-cflags=-fPIC

Why do you think that this makes sense?

Please remember that on this mailing list, only current
FFmpeg git head is supported.

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] unable to convert png to movie, error: Invalid PNG signature ,

2016-12-02 Thread Puneet Singh
Hi all,
I am trying to convert a set of images to a video file. I have tried
various ffmpeg command options but they all have failed. (command & error
logs attached: ffmpeg_errors.txt)


The following seems to work for me:
ffmpeg -f concat -safe 0 -i <(cat