I upgraded to version y today, upgraded the codecs, and upgraded my version of divx for mac. No matter what I do, I get no audio when converting an mp4 to avi. I'm able to extract the audio from the mp4 to mp3.
This worked fine with version v. Can someone help me troubleshoot, or just help me switch back to the older build?
Thanks.
Results 1 to 7 of 7
-
-
More information. The problem is that FFmpegX thinks I'm selecting Audio track 1, when I'm not. The error is "MOV: selected audio stream (1) does not exists". It's set to Audio track 0. If I set the audio track to 1, the error changes to "MOV: selected audio stream (2) does not exists".
WTF?
Process information below:
Encoding started on Sat Jun 7 12:11:37 EDT 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 - 0x6e08f8
MOV: selected audio stream (1) does not exists
ISO: File Type Major Brand: ISO/IEC 14496-1 (MPEG-4 system) v2
Quicktime/MOV file format detected.
--------------
MOV track #0: 359 chunks, 2821 samples
Audio bits: 16 chans: 2 rate: 48000
MOV: Found MPEG4 audio Elementary Stream Descriptor atom (51)!
Fourcc: a4pm
--------------
MOV track #1: 243 chunks, 1810 samples
MOV: Found MPEG4 movie Elementary Stream Descriptor atom (69)!
Image size: 640 x 480 (24 bpp)
Display size: 640 x 480
Fourcc: v4pm Codec: ''
--------------
MOV track #2: 8 chunks, 0 samples
Generic track - not completely understood! (id: 2)
--------------
MOV track #3: 8 chunks, 0 samples
Generic track - not completely understood! (id: 3)
--------------
MOV: longest streams: A: #0 (2821 samples) V: #1 (1810 samples)
VIDEO: [mp4v] 640x480 24bpp 29.970 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:7 fourcc:0x7634706D size:640x480 fps:29.97 ftime:=0.0334
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [scale w=640 h=480]
================================================== ========================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
================================================== ========================
Forcing output fourcc to 58564944 [XVID]
VDec: vo config request - 640 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
1 duplicate frame(s)!
using unscaled Planar YV12 -> Planar YV12 special converter
videocodec: libavcodec (640x480 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.
Flushing video frames
Writing AVI index...
Fixing AVI header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
Video stream: 880.157 kbit/s (110019 B/s) size: 6644497 bytes 60.394 secs 1810 frames
Encoding completed on Sat Jun 7 12:11:47 EDT 2008
-
Originally Posted by rmerkley
What may be tripping you up is that there are additional steams that ffmpegx is puzzled about. If you have QT Pro, I recommend deleting all but tracks 1 and 2 (0 and 1 to ffmpegx), and then converting the result. It may be that the presence of those additional spurious streams is preventing ffmpegx from correctly wrapping the result in an avi container.
-
Hmm. I'm not sure if I was clear in my description of the problem.
With version v, I could drag/drop the file, select DivX output, and it worked brilliantly. Now, with version y, when the same file is encoded using the same method, the final file has no audio. I'm not manually setting the audio track -- I'm using the default settings.
I found an old copy of version v, and switched back for now, but I'm annoyed I can't upgrade to version y for the new features like FLV encoding until I figure this out.
By way of comparison, here's the process information when I encoded the same file successfully with verision v:
Encoding started on Sun Jun 8 01:10:58 EDT 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 - 0x6e08f8
ISO: File Type Major Brand: ISO/IEC 14496-1 (MPEG-4 system) v2
Quicktime/MOV file format detected.
--------------
MOV track #0: 359 chunks, 2821 samples
Audio bits: 16 chans: 2 rate: 48000
MOV: Found MPEG4 audio Elementary Stream Descriptor atom (51)!
Fourcc: a4pm
--------------
MOV track #1: 243 chunks, 1810 samples
MOV: Found MPEG4 movie Elementary Stream Descriptor atom (69)!
Image size: 640 x 480 (24 bpp)
Display size: 640 x 480
Fourcc: v4pm Codec: ''
--------------
MOV track #2: 8 chunks, 0 samples
Generic track - not completely understood! (id: 2)
--------------
MOV track #3: 8 chunks, 0 samples
Generic track - not completely understood! (id: 3)
--------------
MOV: longest streams: A: #0 (2821 samples) V: #1 (1810 samples)
VIDEO: [mp4v] 640x480 24bpp 29.970 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:7 fourcc:0x7634706D size:640x480 fps:29.97 ftime:=0.0334
================================================== ========================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 48000 Hz, 2 ch, s16be, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder)
================================================== ========================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [scale w=640 h=480]
================================================== ========================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
================================================== ========================
Forcing output fourcc to 58564944 [XVID]
Building audio filter chain for 48000Hz/2ch/s16be -> 48000Hz/0ch/s8...
Building audio filter chain for 48000Hz/2ch/s16be -> 48000Hz/2ch/s16be...
VDec: vo config request - 640 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
1 duplicate frame(s)!
using unscaled Planar YV12 -> Planar YV12 special converter
videocodec: libavcodec (640x480 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.
Skipping frame!
Skipping frame!
Skipping frame!
Flushing video frames
Writing AVI index...
Fixing AVI header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
Video stream: 879.689 kbit/s (109961 B/s) size: 6629958 bytes 60.294 secs 1810 frames
Audio stream: 128.000 kbit/s (16000 B/s) size: 973056 bytes 60.816 secs
Encoding completed on Sun Jun 8 01:11:15 EDT 2008
-
You explained yourself well. Sorry if my response wasn't more complete. There is self-evidently a difference between the two versions of ffmpegx. I was implicitly assuming that you aren't going to be able to fix whatever changed in ffmpegx, so I was suggesting a possible workaround. It could be that your sourcefile has a flaw in it that the older version of ffmpegx tolerated well, but that the new version no longer does. The two extra streams could be the problem (but I do not know that for a fact, hence the experiment). So, the experiment is to eliminate the two possibly spurious streams and try again. Don't know if that's the problem, but it's so easy to try (assuming you have QT Pro) that it won't waste much of your time, regardless of the outcome.
-
I don't have QT pro, but I'll try it out and see if your solution fixes it. The vid source was created in iMovieHD, and exported to MP4. Thanks for the tips.
Similar Threads
-
VOB2MPG PRO V3.0 on XP, worked fine at first, now can't start extraction
By VideoThug in forum SVCD2DVD & VOB2MPGReplies: 4Last Post: 12th Jun 2010, 13:21 -
MP4 to avi without conversion?
By forcedv in forum Video ConversionReplies: 1Last Post: 14th May 2010, 19:02 -
Conversion avi - MP4
By condorsoaring in forum Video ConversionReplies: 5Last Post: 7th Oct 2009, 04:14 -
VHS Tranfer Problem - Worked fine in the Past
By jrs994 in forum Newbie / General discussionsReplies: 1Last Post: 24th Dec 2008, 10:07 -
renamed .mp4 to .avi and worked
By eeyaphew in forum MacReplies: 0Last Post: 8th Apr 2008, 19:09