I am trying to convert a wmv file to mp4.
I open ffmpegx, and I match up the resolutions and audio settings. Once I hit encode, it finished immediately and the result is a file of zero length with the mp4 extension.
I swear I got this working once a few weeks ago, but apparently I am suffering from memory loss because I just can't figure out how I did it!
Here are the specs on the wmv file thanks to the exiftool utility.
Here is what I set up in ffmpegx:Code:ExifTool Version Number : 8.16 File Name : Test File.wmv Directory : . File Modification Date/Time : 2009:06:01 23:14:50-04:00 File Permissions : rw-r--r-- File Type : WMV MIME Type : video/x-ms-wmv File ID : 2F5E53E1-21E3-416A-8B4A-C7965E0CE2C0 File Size : 199602056 Creation Date : 2009:05:29 05:19:12Z Data Packets : 12472 Play Duration : 53:05 Send Duration : 52:50 Preroll : 15000 Flags : 2 Min Packet Size : 16000 Max Packet Size : 16000 Max Bitrate : 1687464 Is VBR : True ASF Leaky Bucket Pairs : (Binary data 114 bytes, use -b option to extract) Audio Codec Name : Windows Media Audio 9.1 Audio Codec Description : 48 kbps, 44 kHz, stereo 2-pass VBR Video Codec Name : Windows Media Video 9 Video Codec Description : Audio Codec ID : Windows Media Audio V2 V7 V8 V9 / DivX audio (WMA) / Alex AC3 Audio Audio Channels : 2 Audio Sample Rate : 44100 Stream Type : Video Error Correction Type : No Error Correction Time Offset : 0 s Stream Number : 2 Image Width : 480 Image Height : 360 Image Size : 480x360
This time I got the failed message, but usually when I try the other mp4 codecs it appears to succeed but I get that dreaded file of zero size.
What am I doing wrong? I realize converting from Microsoft proprietary formats is probably the hardest thing for any piece of software to do, but I don't have a choice in this matter. My client insists on sending me these types of files and no matter what I do I can't stop her.
Here are one of the logs - it says the codec isn't supported which is strange since it was working before.
Ugh... Microsoft... why must you torture me so?
Code:x264 [warning]: width or height not divisible by 16 (480x360), compression will suffer. Sun Apr 25 21:31:15 EDT 2010 x264 [info]: using cpu capabilities MMX MMXEXT SSE SSE2 FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard Mac OSX universal build for ffmpegX configuration: --enable-memalign-hack --enable-mp3lame --enable-gpl --disable-vhook --disable-ffplay --disable-ffserver --enable-a52 --enable-xvid --enable-faac --enable-faad --enable-amr_nb --enable-amr_wb --enable-pthreads --enable-x264 libavutil version: 49.0.0 libavcodec version: 51.9.0 libavformat version: 50.4.0 built on Apr 15 2006 04:58:19, gcc: 4.0.1 (Apple Computer, Inc. build 5250) mp4 [info]: initial delay 0 (scale 30000) Seems that stream 1 comes from film source: 1000.00 (1000/1) -> 29.97 (30000/1001) Input #0, asf, from '/Users/justin/Desktop/Test File.wmv': Duration: 00:52:50.3, start: 15.000000, bitrate: 503 kb/s Stream #0.0: Audio: wmav2, 44100 Hz, stereo, 48 kb/s Stream #0.1, 29.97 fps(r): Video: WMV3 / 0x33564D57, 480x360 Output #0, yuv4mpegpipe, to 'pipe:': Stream #0.0, 29.97 fps(c): Video: rawvideo, 480x360, q=2-31, 200 kb/s Stream mapping: Stream #0.1 -> #0.0 Unsupported codec (id=74) for input stream #0.1 x264 [info]: final ratefactor: 51.21 FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard Mac OSX universal build for ffmpegX configuration: --enable-memalign-hack --enable-mp3lame --enable-gpl --disable-vhook --disable-ffplay --disable-ffserver --enable-a52 --enable-xvid --enable-faac --enable-faad --enable-amr_nb --enable-amr_wb --enable-pthreads --enable-x264 libavutil version: 49.0.0 libavcodec version: 51.9.0 libavformat version: 50.4.0 built on Apr 15 2006 04:58:19, gcc: 4.0.1 (Apple Computer, Inc. build 5250) [mov,mp4,m4a,3gp,3g2,mj2 @ 0x5597b8]Could not find codec parameters (Video: h264, 480x360) /Users/justin/Desktop/Test File.wmv.ff.video.mp4: could not find codec parameters
Results 1 to 2 of 2
-
Last edited by techiejustin; 25th Apr 2010 at 20:32.
-
Actually folks, I figured it out.
I decided to use another utility MPEG StreamClip.
Similar Threads
-
Avidemux - WMV file convert to MP4 - Audio stream garbled
By belltown in forum Newbie / General discussionsReplies: 3Last Post: 25th Sep 2011, 14:52 -
Converting .mov file to .wmv results in poor quality?
By zenfor in forum Video ConversionReplies: 2Last Post: 6th Feb 2009, 19:00 -
Anyone knows how to convert ASF / WMV to Mpeg2
By macuser1960 in forum ffmpegX general discussionReplies: 3Last Post: 9th Feb 2008, 16:38 -
Converting an ASF (WMV) file
By yadda in forum Newbie / General discussionsReplies: 1Last Post: 7th Nov 2007, 06:16 -
May I know which software can convert a wmv or asf file to better viewable
By sniper in forum Newbie / General discussionsReplies: 4Last Post: 6th Aug 2007, 12:22