-
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:
[shak@olimpus ~]$ ffmpeg -i Desktop/MVI_0093.MP4
FFmpeg version 0.6.1, Copyright (c) 2000-2010 the FFmpeg developers
built on Jan 13 2011 08:27:51 with gcc 4.4.3
configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-x11grab
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0.11. 0 / 0.11. 0
libpostproc 51. 2. 0 / 51. 2. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Desktop/MVI_0093.MP4':
Metadata:
major_brand : isom
minor_version : 0
compatible_brands: mp41isom
Duration: 00:00:07.60, start: 0.000000, bitrate: 145 kb/s
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
At least one output file must be specified
and this is the output for my camera’s video parameter:
[shak@olimpus ~]$ ffmpeg -i Desktop/000.MOV
FFmpeg version 0.6.1, Copyright (c) 2000-2010 the FFmpeg developers
built on Jan 13 2011 08:27:51 with gcc 4.4.3
configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-x11grab
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0.11. 0 / 0.11. 0
libpostproc 51. 2. 0 / 51. 2. 0Seems stream 0 codec frame rate differs from container frame rate: 296899.00 (296899/1) -> 29.69 (296899/10000)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Desktop/000.MOV':
Metadata:
comment : EASTMAN KODAK COMPANY KODAK C122 DIGITAL CAMERA
comment-eng : EASTMAN KODAK COMPANY KODAK C122 DIGITAL CAMERA
Duration: 00:00:03.80, start: 0.000000, bitrate: 10665 kb/s
Stream #0.0(eng): Video: mjpeg, yuvj420p, 640x480 [PAR 1:1 DAR 4:3], 10592 kb/s, 29.69 fps, 29.69 tbr, 296899 tbn, 296899 tbc
Stream #0.1(eng): Audio: pcm_mulaw, 8000 Hz, 1 channels, s16, 64 kb/s
At least one output file must be specified
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