hi all,
i want to convert a .mov file (h264) to .avi (divx ffmpeg encoder) using ffmpegX. However, there is no audio for the output file. The input .mov file has two streams: stream#0.0 = audio, stream#0.1 = video. I tried another .mov file where the streams are swapped, i.e., stream#0.0 = video, stream#0.1 = audio. For the latter input file everything works perfectly.
I also tried the ffmpegX audio option "invert map" - without any effect. this is my output log:
FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
Mac OSX universal build for ffmpegX
Sat Oct 11 11:38:49 CEST 2008
libavutil version: 49.0.0
libavcodec version: 51.9.0
libavformat version: 50.4.0
movtoy4m
Copyright 2002-2006 Johan Lindström
All rights reserved..
Input #0, yuv4mpegpipe, from 'pipe:':
Duration: N/A, bitrate: N/A
Stream #0.0, 25.00 fps(r): Video: rawvideo, yuv420p, 640x352
Output #0, avi, to '/Volumes/Filme/Sequenz 1.mov.ff.avi.e.avi':
Stream #0.0, 25.00 fps(c): Video: mpeg4, yuv420p, 640x352, q=2-15, 940 kb/s
Stream mapping:
Stream #0.0 -> #0.0
bench: utime=0.661s
video:899kB audio:0kB global headers:0kB muxing overhead 0.939302%
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
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Volumes/Filme/Sequenz 1.mov':
Duration: 00:00:06.5, start: 0.000000, bitrate: 14838 kb/s
Stream #0.0(eng): Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
Stream #0.1(eng), 25.00 fps(r): Video: h264, yuv420p, 720x576
Codec type mismatch for mapping #0.1 -> #0.0
So here is my questions:
* Obviously, ffmpegX wants the video stream to be at #0.0 and audio at #0.1?! I also tried with divx mencoder - the same problem: no audio. My .mov file is written using final cut express. I cannot find an option to tell fce to swap the streams. can ffmpegX swap the streams (again, "invert map" is not working)? Is there a tool available to do so?
kind regards,
claus
Results 1 to 3 of 3
-
-
If you have QuickTime Pro, then you can reverse the stream ordering in the source file by extracting the audio (from the 'first' position) and inserting it back again (at the 'last' position). I have detailed the procedure in a previous post.
Similar Threads
-
Mov audio/video sync problem
By adabo in forum EditingReplies: 7Last Post: 28th Jun 2018, 12:09 -
Problem with audio when converting AVI to MOV
By emmajane in forum Video ConversionReplies: 5Last Post: 6th May 2011, 10:23 -
Problem Converting AVI (DV) to MOV (DV)
By Casho in forum Video ConversionReplies: 3Last Post: 15th Feb 2011, 05:27 -
rewrap mov to avi with ffmpeg but audio not seekable
By yannanlu in forum Video ConversionReplies: 0Last Post: 8th May 2009, 16:17 -
ffmpegx problem: no audio from QT mov to avi
By mekon in forum ffmpegX general discussionReplies: 5Last Post: 1st Feb 2008, 16:14