Opened 5 years ago

Closed 5 years ago

Last modified 5 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 5 years ago.
This is the out put file .. i need this as a image .
RecordImage-1.2.mp4 (310.5 KB) - added by Rajesh 5 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 follow-up: Changed 5 years ago by cehoyos

  • Resolution set to invalid
  • Status changed from new to closed

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 Changed 5 years ago by Rajesh

  • Resolution invalid deleted
  • Status changed from closed to reopened

Hi ,

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

Changed 5 years ago by Rajesh

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

Changed 5 years ago by Rajesh

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

comment:3 in reply to: ↑ 1 Changed 5 years ago by Rajesh

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 Changed 5 years ago by cehoyos

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

comment:5 Changed 5 years ago by shprasad

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 Changed 5 years ago by saste

  • Resolution set to invalid
  • Status changed from reopened to closed

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 Changed 5 years ago by Rajesh

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.