Hello,
I'm running a PPC and have installed ffmpegX 0.0.9y.
I'm trying to convert videos made on my treo to a format I can upload to Gallery for web viewing.
I'm getting the following errors.
Encoding started on Tue Apr 1 09:32:04 CDT 2008
FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
Mac OSX universal build for ffmpegX
configuration: --enable-mp3lame --enable-gpl --disable-vhook --disable-ffplay --disable-ffserver --enable-a52 --enable-xvid --enable-faac --enable-faad --enable-amr_nb --enable-pthreads --enable-x264
libavutil version: 49.0.0
libavcodec version: 51.9.0
libavformat version: 50.4.0
built on Apr 15 2006 08:41:02, gcc: 3.3 20030304 (Apple Computer, Inc. build 1666)
Seems that stream 1 comes from film source: 500.00 (1000/2) -> 14.17 (85/6)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/vworley/Desktop/2007Video/Video012307002.3gp':
Duration: 00:01:15.6, start: 0.000000, bitrate: 226 kb/s
Stream #0.0(und): Audio: amr_nb, 8000 Hz, mono
Stream #0.1(und), 14.17 fps(r): Video: h263, yuv420p, 352x288
Output #0, avi, to '/Users/vworley/Desktop/2007Video/Video012307002.3gp.ff.avi':
Stream #0.0, 14.17 fps(c): Video: mpeg4, yuv420p, 352x288, q=2-9, 268719 kb/s
Stream #0.1: Audio: amr_nb, 128 Hz, mono, 8000 kb/s
Stream mapping:
Stream #0.1 -> #0.0 [sync #0.0]
Stream #0.0 -> #0.1 [sync #0.1]
Error while opening codec for output stream #0.1 - maybe incorrect parameters such as bit_rate, rate, width or height
What am I doing wrong? The output file shows 0Kb as file size. The video will play in VLC.
Thanks,
Victor
Results 1 to 10 of 10
-
-
OK, I've fixed those items. Here is the output w/ the Invert mapping checked.
FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
Mac OSX universal build for ffmpegX
configuration: --enable-mp3lame --enable-gpl --disable-vhook --disable-ffplay --disable-ffserver --enable-a52 --enable-xvid --enable-faac --enable-faad --enable-amr_nb --enable-pthreads --enable-x264
libavutil version: 49.0.0
libavcodec version: 51.9.0
libavformat version: 50.4.0
built on Apr 15 2006 08:41:02, gcc: 3.3 20030304 (Apple Computer, Inc. build 1666)
Seems that stream 1 comes from film source: 500.00 (1000/2) -> 14.17 (85/6)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/vworley/Desktop/2007Video/Video012307002.3gp':
Duration: 00:01:15.6, start: 0.000000, bitrate: 226 kb/s
Stream #0.0(und): Audio: amr_nb, 8000 Hz, mono
Stream #0.1(und), 14.17 fps(r): Video: h263, yuv420p, 352x288
Output #0, avi, to '/Users/vworley/Desktop/2007Video/Video012307002.3gp.ff.avi':
Stream #0.0, 14.17 fps(c): Video: mpeg4, yuv420p, 352x288, q=2-9, 322 kb/s
Stream #0.1: Audio: amr_nb, 8000 Hz, mono, 128 kb/s
Stream mapping:
Stream #0.1 -> #0.0 [sync #0.0]
Stream #0.0 -> #0.1 [sync #0.1]
Could not write header for output file #0 (incorrect codec parameters ?)
bench: utime=0.004s
Encoding completed on Tue Apr 1 13:38:32 CDT 2008
And here is the output w/out the Invert Mapping checked
Last login: Tue Apr 1 13:38:31 on ttyp1
/Applications/ffmpegX.app//Contents/Resources/pbpaste | sh
Welcome to Darwin!
iSprocket:~ vworley$ /Applications/ffmpegX.app//Contents/Resources/pbpaste | sh
Encoding started on Tue Apr 1 13:39:30 CDT 2008
FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
Mac OSX universal build for ffmpegX
configuration: --enable-mp3lame --enable-gpl --disable-vhook --disable-ffplay --disable-ffserver --enable-a52 --enable-xvid --enable-faac --enable-faad --enable-amr_nb --enable-pthreads --enable-x264
libavutil version: 49.0.0
libavcodec version: 51.9.0
libavformat version: 50.4.0
built on Apr 15 2006 08:41:02, gcc: 3.3 20030304 (Apple Computer, Inc. build 1666)
Seems that stream 1 comes from film source: 500.00 (1000/2) -> 14.17 (85/6)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/vworley/Desktop/2007Video/Video012307002.3gp':
Duration: 00:01:15.6, start: 0.000000, bitrate: 226 kb/s
Stream #0.0(und): Audio: amr_nb, 8000 Hz, mono
Stream #0.1(und), 14.17 fps(r): Video: h263, yuv420p, 352x288
Codec type mismatch for mapping #0.0 -> #0.0
Am I correct in thinking that I do in fact need the Invert mapping turned on, as it looks like my Audio is natively on Stream #0.0?
Victor
-
OK, I tried QT w/ and w/out Letterbox checked. Won't even open the file
ERROR: Could not open movie: /Users/vworley/Desktop/2007Video/Video041207001.3gp
pipe:: Error while opening file
I tried another video and have the same deal. Video stops, goes to white screen half way thru.
Interesting...
-
From the website:
•Defines mp3 encoding profile for mencoder mpeg-4 and XviD encoding. Available modes are CBR (Constant Bitrate, default), ABR (Average Bitrate) and VBR (Variable Bitrate, uses the optimal q=2 quantization level). (Not available for mp2 encoding or ffmpeg engine.)
CBR is the safest with problematic files, as it is best supported by players and is least likely to be involved with sync issues. VBR or ABR should improve the perceived quality a bit, as it is a method to use more bytes to describe complex sections and use less bytes to describe simple (e.g. near-silent) sections.
-
OK, that makes sense. I've been researching, trying to figure out why I get the error "selected audio stream does not exist". Track 1. Only, I have Audio track set to 0. It always seems to be +1 from what I have set, in the error. See below
Encoding started on Wed Apr 2 07:51:16 CDT 2008
MEncoder dev-CVS-051126-18:35-3.3 (C) 2000-2005 MPlayer Team
Mac OSX static build for ffmpegX
AltiVec found
CPU: PowerPC
success: format: 0 data: 0x0 - 0xba85c
ISO: File Type Major Brand: 3GPP Profile 4
Quicktime/MOV file format detected.
--------------
MOV track #0: 666 chunks, 0 samples
Audio bits: 8 chans: 1 rate: 8000
MOV: Found AMR audio atom damr (17)!
MOV: Vendor: HNTR Version: 0
MOV: Modes set: 0080
MOV: Mode change period: 0 Frames per sample: 2
Fourcc: rmas
--------------
MOV track #1: 216 chunks, 216 samples
MOV: Found H.263 decoder atom d263 (15)!
MOV: Vendor: HNTR H.263 level: 0 H.263 profile: 10
Image size: 352 x 288 (24 bpp)
Display size: 352 x 288
Fourcc: 362s Codec: ''
--------------
MOV: longest streams: A: #0 (666 samples) V: #1 (216 samples)
MOV: selected audio stream (1) does not exists
VIDEO: [s263] 352x288 24bpp 2.732 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:7 fourcc:0x33363273 size:352x288 fps: 2.73 ftime:=0.3660
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [scale w=416 h=304]
================================================== ========================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh263] vfm: ffmpeg (FFmpeg H.263+ decoder)
================================================== ========================
Forcing output fourcc to 58564944 [XVID]
VDec: vo config request - 352 x 288 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
SwScaler: FAST_BILINEAR scaler, from Planar YV12 to Planar YV12 using AltiVec
videocodec: libavcodec (416x304 fourcc=58564944 [XVID])
Writing AVI header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
9 duplicate frame(s)!
Pos: 0.3s 1f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
2 duplicate frame(s)!
Pos: 0.4s 2f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
3 duplicate frame(s)!
Pos: 0.6s 3f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
2 duplicate frame(s)!
Pos: 0.7s 4f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
3 duplicate frame(s)!
Pos: 0.8s 5f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
1 duplicate frame(s)!
Pos: 0.9s 6f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
2 duplicate frame(s)!
Pos: 1.0s 7f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
2 duplicate frame(s)!
So, I have encoded video....like the old silent movies!
It also seems that I still get encoded video, regardless of Invert Mapping settings. Curios.
Similar Threads
-
Converting 3gp file to WMV or AVI without losing clarity
By brketch in forum Newbie / General discussionsReplies: 2Last Post: 18th May 2011, 07:01 -
help converting mpeg4 to avi
By gcross26 in forum Video ConversionReplies: 1Last Post: 10th Oct 2010, 14:07 -
Converting AVI (DivX/XviD) to MP4/MOV/3GP...
By JaleAlbatros in forum Video ConversionReplies: 5Last Post: 23rd Jul 2009, 17:51 -
FLV to 3GP or MPEG4
By NotHarry in forum Video ConversionReplies: 1Last Post: 27th Apr 2009, 11:23 -
Converting AVI to either MP4 ofr 3gp on Nokia 5300 phone - a/v sync problem
By johnbdrysdale in forum Video ConversionReplies: 17Last Post: 13th Jul 2007, 21:56