Reproduce Video Parameters
Hello, I'm a newbie about ffmpeg and I would like someone could help me. This is my situation:
I have a Kodak camera and I want to convert home videos from the camera's format to the cell's format, this the output info for the cell's video parameter:
and this is the output for my camera's video parameter:
It is possible to encode from my camera to the cell's format so I can watch the videos recorded with the camera in the cellphone? If so, please someone could tell me which are the correct arguments to ffmpeg.
As you could see I have already compiled ffmpeg to support amr codecs.
Thanks in advance for listen and for this great tool.
[David Moises Paz] "It is possible to encode from my camera to the cell's format so I can watch the videos recorded with the camera in the cellphone? If so, please someone could tell me which are the correct arguments to ffmpeg."
What you need to replicate is:
Stream #0.0(eng): Video: mpeg4, yuv420p, 176x144 [PAR 1:1 DAR 11:9], 131 kb/s, 11.28 fps, 15 tbr, 15 tbn, 15 tbc
Stream #0.1(eng): Audio: amrnb, 8000 Hz, 1 channels, flt, 12 kb/s
For the video:
ffmpeg -i inputfile.mov -b 131k -r 15 -s 176x144 output.mp4
Not too sure about the audio as I haven't used "amrnb" before. From what I have read, you might need to install the amr libraries and reconfigure and make FFmpeg with this codec enabled.
Hello, thanks you very much, its really works!! only to put it clear for others that could read this post.
this is the final script used to achieve the result. Note that fmpeg was already compiled with amr support (allows me to put this: -acodec libopencore_amrnb), I needed to save it as .3gp file since ffmpeg give me some error about .mp4 files regards to container not supporting current library.