Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Linux, Mac OS X, & Co

Reply
 
Thread Tools Search this Thread Display Modes
Old 14th June 2012, 08:49   #1  |  Link
xosuitehearts
Registered User
 
Join Date: Jul 2010
Posts: 16
Trying to convert video .wmv to .mp4 issues using ffmpeg cli

Im trying to convert a .wmv file in hd to a .mp4 file while reducing the filesize as well - here's what's occurring, can anyone tell me what's going wrong?

Code:
~/Videos/Heaven or Hell Pack$ ffmpeg -i 1920_12000-hd.wmv -vcodec libx264 -preset ultrafast -acodec aac -fs limit_size=2355200000 output.mp4
Then got this:

Quote:
ffmpeg version 0.10.2.git Copyright (c) 2000-2012 the FFmpeg developers
built on Jun 4 2012 20:04:51 with gcc 4.6.3
configuration: --enable-gpl --enable-libx264
libavutil 51. 54.100 / 51. 54.100
libavcodec 54. 23.100 / 54. 23.100
libavformat 54. 6.100 / 54. 6.100
libavdevice 54. 0.100 / 54. 0.100
libavfilter 2. 77.100 / 2. 77.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, asf, from '1920_12000-hd.wmv':
Duration: 00:59:28.76, start: 0.000000, bitrate: 12156 kb/s
Stream #0:0: Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, stereo, s16, 128 kb/s
Stream #0:1: Video: vc1 (Advanced) (WVC1 / 0x31435657), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 0 kb/s, 30.30 fps, 29.97 tbr, 1k tbn, 29.97 tbc
Expected number for fs but found: limit_size=2355200000

I also tried to convert it over to another container but had issues as well displayed here:

Code:
ffmpeg -i 1920_12000-hd.wmv -acodec copy -vcodec copy -scodec copy 1920_12000-hd.mp4
and got:
Quote:
ffmpeg version 0.10.2.git Copyright (c) 2000-2012 the FFmpeg developers
built on Jun 4 2012 20:04:51 with gcc 4.6.3
configuration: --enable-gpl --enable-libx264
libavutil 51. 54.100 / 51. 54.100
libavcodec 54. 23.100 / 54. 23.100
libavformat 54. 6.100 / 54. 6.100
libavdevice 54. 0.100 / 54. 0.100
libavfilter 2. 77.100 / 2. 77.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, asf, from '1920_12000-hd.wmv':
Duration: 00:59:28.76, start: 0.000000, bitrate: 12156 kb/s
Stream #0:0: Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, stereo, s16, 128 kb/s
Stream #0:1: Video: vc1 (Advanced) (WVC1 / 0x31435657), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 0 kb/s, 30.30 fps, 29.97 tbr, 1k tbn, 29.97 tbc
File '1920_12000-hd.mp4' already exists. Overwrite ? [y/N] y
track 1: could not find tag, codec not currently supported in container
Output #0, mp4, to '1920_12000-hd.mp4':
Metadata:
encoder : Lavf54.6.100
Stream #0:0: Video: vc1 ([163][0][0][0] / 0x00A3), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 0 kb/s, 30.30 fps, 1k tbn, 1k tbc
Stream #0:1: Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, stereo, 128 kb/s
Stream mapping:
Stream #0:1 -> #0:0 (copy)
Stream #0:0 -> #0:1 (copy)
Could not write header for output file #0 (incorrect codec parameters ?)
Could someone please help explain to me exactly what I'm doing wrong? Im trying to reconvert and lower the file size as well.
xosuitehearts is offline   Reply With Quote
Old 14th June 2012, 12:15   #2  |  Link
the_weirdo
Yes, I'm weird.
 
the_weirdo's Avatar
 
Join Date: May 2010
Location: Southeast Asia
Posts: 271
@xosuitehearts:
Your first command line should be:
Code:
~/Videos/Heaven or Hell Pack$ ffmpeg -i 1920_12000-hd.wmv -vcodec libx264 -preset ultrafast -acodec aac -fs 2355200000 output.mp4
the_weirdo is offline   Reply With Quote
Old 22nd June 2012, 10:11   #3  |  Link
xosuitehearts
Registered User
 
Join Date: Jul 2010
Posts: 16
Quote:
Originally Posted by the_weirdo View Post
@xosuitehearts:
Your first command line should be:
Code:
~/Videos/Heaven or Hell Pack$ ffmpeg -i 1920_12000-hd.wmv -vcodec libx264 -preset ultrafast -acodec aac -fs 2355200000 output.mp4
You think that may work?
xosuitehearts is offline   Reply With Quote
Old 22nd June 2012, 10:54   #4  |  Link
the_weirdo
Yes, I'm weird.
 
the_weirdo's Avatar
 
Join Date: May 2010
Location: Southeast Asia
Posts: 271
I'm not sure if it works with your video, but at least ffmpeg will not complain about "Expected number for fs but found: limit_size=2355200000".
(Value for -fs is a number, not limit_size=number like your original command line).
the_weirdo is offline   Reply With Quote
Reply

Tags
cli, ffmpeg, mp4, wmv

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:10.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.