xosuitehearts
14th June 2012, 08:49
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?
~/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:
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:
ffmpeg -i 1920_12000-hd.wmv -acodec copy -vcodec copy -scodec copy 1920_12000-hd.mp4
and got:
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.
~/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:
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:
ffmpeg -i 1920_12000-hd.wmv -acodec copy -vcodec copy -scodec copy 1920_12000-hd.mp4
and got:
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.