Hello, newbie here, help appreciated.
(BTW thanks for v useful posts which so far have solved a bunch of problems - esp Case - but I can't find an answer to this)
Going .mov (H264) to .flv
If I don't encode audio all fine.
Error message with audio:
FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
Mac OSX universal build for ffmpegX
libavutil version: 49.0.0
libavcodec version: 51.9.0
libavformat version: 50.4.0
Tue Sep 8 13:09:58 BST 2009
p4,m4a,3gp,3g2,mj2 @ 0x5597b8]negative ctts, ignoring
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/a/Desktop/short-H264faststart.mov':
Duration: 00:00:44.6, start: 0.000000, bitrate: 323 kb/s
Stream #0.0(eng), 25.00 fps(r): Video: h264, yuv420p, 400x225
Stream #0.1(eng): Audio: aac, 44100 Hz, stereo
Could not find input stream #0.2
I've tried invert mapping, no joy. Haven't tried doing it the 'manual way' with QT yet since I'm not sure this is the same error message that shows up regularly in this forum. My video stream is first so I don't see why it should be inverted.
I do note however that the Audio Track option only lets me choose a single track (from 0 to 15) and no option for stereo tracks - or I may not understand the interface right?
----------------------------
My audio parameters are:
Codec - AAC (MOV/MP4/3GP)
Encode Audio - yes
Audio bitrate - 448 kb/s
Sampling - 44.1KHz
Channels - Stereo
Mode: VBR
Audio track - 1
Invert mapping - no
Add audio - nil
I've tried changing to mono channels with the same effect:
FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
Mac OSX universal build for ffmpegX
Tue Sep 8 13:17:51 BST 2009
libavutil version: 49.0.0
libavcodec version: 51.9.0
libavformat version: 50.4.0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5597b8]negative ctts, ignoring
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/audrey/Desktop/cuts backup/spirit level/peres cuts/peres-short-H264faststart.mov':
Duration: 00:00:44.6, start: 0.000000, bitrate: 323 kb/s
Stream #0.0(eng), 25.00 fps(r): Video: h264, yuv420p, 400x225
Stream #0.1(eng): Audio: aac, 44100 Hz, stereo
Could not find input stream #0.2
----------------------------
My input movie settings are
MOV
h264, yuv420p, 400x225
aac, 44200, stereo
My output movie settings are
ffmpeg flash, 400x224, 500kbps, 25fps, no crop
aac, 44100Hz, 448kbps
Many thanks in advance
Results 1 to 8 of 8
-
-
Hi there, thanks for your reply.
I've tried Audio track 0 and 1, 2, 3 and several others. Same result - can't find the second audio track.
The original QT movie says AAC, Stereo LR@ 44.1KHz (though I don't know whether AAC places the left and right in a single stream or not?)
I do note that even if I change the box on the left to Stereo, Mono or 5.1 there is no change in the drop down channels available to me on the right in the FFMpegX interface - it's always the option to select one of 0 to 15. Is this correct?
I've also tried different codecs including MP3, same error message.
Now: also a new set of error messages (posted below)
-
Sorry to bump.
I've just restarted the programme from scratch and get a new error message (below), however, if I encode without audio the video works successfully. I don't get why the codec is incompatible?
I'm a bit out of my depth with the Ruby stuff but I've looked in my Library in the Finder and all the Ruby components referred to in the error seem to be in there successfully. Help appreciated.
FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
Mac OSX universal build for ffmpegX
libavutil version: 49.0.0
libavcodec version: 51.9.0
libavformat version: 50.4.0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5597b8]negative ctts, ignoring
Wed Sep 9 09:38:33 BST 2009
#0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/a/short-uncomp-H264400224.mov':
Duration: 00:00:44.6, start: 0.000000, bitrate: 299 kb/s
Stream #0.0(eng), 25.00 fps(r): Video: h264, yuv420p, 400x224
Stream #0.1(eng): Audio: aac, 44100 Hz, stereo
Output #0, flv, to '/Users/a/short-uncomp-H264400224.mov.ff.flv':
Stream #0.0, 25.00 fps(c): Video: flv, yuv420p, 400x224, q=2-15, 500 kb/s
Stream #0.1: Audio: aac, 44100 Hz, stereo, 128 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
bench: utime=0.014s
[aac @ 0x54340c]codec not compatible with flv
Could not write header for output file #0 (incorrect codec parameters ?)
ERROR: undefined method `timestamp' for nil:NilClass
ERROR: /Library/Ruby/Site/1.8/flv/stream.rb:285:in `lasttimestamp'
ERROR: /Library/Ruby/Site/1.8/flv/stream.rb:274:in `duration'
ERROR: /Library/Ruby/Site/1.8/flvtool2/base.rb:181:in `add_meta_data_tag'
ERROR: /Library/Ruby/Site/1.8/flvtool2/base.rb:137:in `update'
ERROR: /Library/Ruby/Site/1.8/flvtool2/base.rb:47:in `send'
ERROR: /Library/Ruby/Site/1.8/flvtool2/base.rb:47:in `execute!'
ERROR: /Library/Ruby/Site/1.8/flvtool2/base.rb:46:in `each'
ERROR: /Library/Ruby/Site/1.8/flvtool2/base.rb:46:in `execute!'
ERROR: /Library/Ruby/Site/1.8/flvtool2/base.rb:239:in `process_files'
ERROR: /Library/Ruby/Site/1.8/flvtool2/base.rb:225:in `each'
ERROR: /Library/Ruby/Site/1.8/flvtool2/base.rb:225:in `process_files'
ERROR: /Library/Ruby/Site/1.8/flvtool2/base.rb:44:in `execute!'
ERROR: /Library/Ruby/Site/1.8/flvtool2.rb:168:in `execute!'
ERROR: /Library/Ruby/Site/1.8/flvtool2.rb:228
ERROR: /Applications/Added applications/compression & streaming/ffmpegx/ffmpegX.app//Contents/Resources/flvtool2:2:in `require'
ERROR: /Applications/Added applications/compression & streaming/ffmpegx/ffmpegX.app//Contents/Resources/flvtool2:2
Encoding completed on Wed Sep 9 09:38:33 BST 2009
-
Originally Posted by aquilinefeatures
Originally Posted by aquilinefeatures
Left and Right in stereo are a single stream: they are commonly referred to as 'channels'. One channel is mono, two channels is stereo, '5.1' is 6 channel discreet surround (5 directions and 1 subwoofer channel). Each is one stream.
Originally Posted by aquilinefeatures
Originally Posted by aquilinefeatures
-
Originally Posted by Case
Originally Posted by Case
I'll try again from scratch using MP3 because I've forgotten what the error message was. Thanks for clearing up those points. I assume unless you mention otherwise, that there's nothing useful to be learned from those error messages about Ruby then while the codec is wrong (AAC).
-
Originally Posted by aquilinefeatures
Originally Posted by aquilinefeatures
Similar Threads
-
Unsupported codec (id=86021) for input stream #0.1
By noctrine in forum ffmpegX general discussionReplies: 3Last Post: 9th Feb 2012, 09:13 -
Accepting a Live Video Stream as input
By jay.kert in forum Video Streaming DownloadingReplies: 0Last Post: 22nd Oct 2011, 13:31 -
Copy two input videos into one output stream
By Nightness in forum Video Streaming DownloadingReplies: 2Last Post: 21st Mar 2010, 19:01 -
How to stream ? (TV card input)
By a.dehqan in forum Video Streaming DownloadingReplies: 0Last Post: 4th Jan 2009, 07:07 -
Trying to find Capture Card - w/ Component input
By tS_veXed in forum Capturing and VCRReplies: 63Last Post: 21st Nov 2008, 07:08