Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#1547 closed defect (invalid)

How to use FFMPEG to convert group of images to movie in android .

Reported by: Rajesh Owned by:
Priority: important Component: ffmpeg
Version: unspecified Keywords: android
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: yes

Description

Hi all ,

I am developing an android application which used to convert the images to video . I am not that much familiar with FFMPEG . So please advice me .

Attachments (2)

RecordImage-1.mp4 (310.5 KB ) - added by Rajesh 12 years ago.
This is the out put file .. i need this as a image .
RecordImage-1.2.mp4 (310.5 KB ) - added by Rajesh 12 years ago.
This is the out put file .. i need this as a good video

Download all attachments as: .zip

Change History (9)

comment:1 by Carl Eugen Hoyos, 12 years ago

Resolution: invalid
Status: newclosed

This does not look like a bug report.
If it is a bug report, please share your FFmpeg command line together with complete, uncut console output and explain what is wrong with the output file.

comment:2 by Rajesh, 12 years ago

Resolution: invalid
Status: closedreopened

Hi ,

While converting single image to movie i got the out put as a video in following format .
and its not a good one.

by Rajesh, 12 years ago

Attachment: RecordImage-1.mp4 added

This is the out put file .. i need this as a image .

by Rajesh, 12 years ago

Attachment: RecordImage-1.2.mp4 added

This is the out put file .. i need this as a good video

in reply to:  1 comment:3 by Rajesh, 12 years ago

Replying to cehoyos:

This does not look like a bug report.
If it is a bug report, please share your FFmpeg command line together with complete, uncut console output and explain what is wrong with the output file.

Hi i have added the sample video in the ticket. Please have a look on that. Its not at all providing the correct video with the image data. So please advice me

comment:4 by Carl Eugen Hoyos, 12 years ago

Please provide the command line that you used together with the complete uncut console output that the command produced.

comment:5 by Shankar Prasad S, 12 years ago

This is for converting video to images
ffmpeg -i RecordImage-1.2.mp4 Images/image%d.jpg

And if i convert the images back to video, it is distorted
ffmpeg -i Images/image%d.jpg RecordImage-1.2.mp4

comment:6 by Stefano Sabatini, 12 years ago

Resolution: invalid
Status: reopenedclosed

Both files you posted look corrupted, and the commands you posted worked just as expected here.

Also keep in mind that 1. this is not an help forum but a bug tracker, 2. if you want us to fix a bug you have to provide enough information so that we can reproduce the problem. If you can't figure out what this means, consider to post an help request on ffmpeg-user rather than reopening again this ticket. Thanks for your understanding.

comment:7 by Rajesh, 12 years ago

Hi ,

Those files are not corrupted. That's the out put which i am getting from the code. So please advice me .

i have tried with the following sample too . but not able to get the perfect video.
https://github.com/churnlabs/android-ffmpeg-sample

Note: See TracTickets for help on using tickets.