skaface
16th April 2009, 13:33
Hi,
i have a nearly 7 GB large mkv-file, which i want to convert to a ~1.4 GB large xvid-avi, so that i can play it on my mediacenter (ShowCenter 200).
I'm running Ubuntu 8.10 and want to use ffmpeg for the conversion.
The video has 2 audio streams (ger & eng), which i want to keep. The conversion itself works just fine with ffmpeg, unfortunately i can't here any sound when i play the output-file with vlc.
I use the following ffmpeg command-line:
ffmpeg -i test.mkv -vcodec libxvid -b 1300kb -t 00:10:00 -acodec ac3 -ab 192kb test.avi -acodec ac3 -ab 192kb -newaudio
ffmpegs output looks like this:
FFmpeg version r11872+debian_3:0.svn20080206-12ubuntu3.1, Copyright (c) 2000-2008 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-pp --enable-swscaler --enable-x11grab --prefix=/usr --enable-libgsm --enable-libtheora --enable-libvorbis --enable-pthreads --disable-strip --enable-libfaad --enable-libfaadbin --enable-liba52 --enable-liba52bin --enable-libdc1394 --enable-shared --disable-static
libavutil version: 49.6.0
libavcodec version: 51.50.0
libavformat version: 52.7.0
libavdevice version: 52.0.0
built on Mar 13 2009 17:52:45, gcc: 4.3.2
[matroska @ 0x7f7b1b39c040]Ignoring seekhead entry for ID=0x1549a966
[matroska @ 0x7f7b1b39c040]Ignoring seekhead entry for ID=0x1654ae6b
[matroska @ 0x7f7b1b39c040]Ignoring seekhead entry for ID=0x114d9b74
[matroska @ 0x7f7b1b39c040]Unknown entry 0x73a4 in info header
[matroska @ 0x7f7b1b39c040]Unknown track header entry 0x55aa - ignoring
[matroska @ 0x7f7b1b39c040]Unknown track header entry 0x23314f - ignoring
[matroska @ 0x7f7b1b39c040]Unknown track header entry 0x55ee - ignoring
[matroska @ 0x7f7b1b39c040]Unknown track header entry 0xaa - ignoring
[matroska @ 0x7f7b1b39c040]Unknown track header entry 0x55aa - ignoring
[matroska @ 0x7f7b1b39c040]Unknown track header entry 0x23314f - ignoring
[matroska @ 0x7f7b1b39c040]Unknown track header entry 0x55ee - ignoring
[matroska @ 0x7f7b1b39c040]Unknown track header entry 0xaa - ignoring
[matroska @ 0x7f7b1b39c040]Unknown track header entry 0x55aa - ignoring
[matroska @ 0x7f7b1b39c040]Unknown track header entry 0x23314f - ignoring
[matroska @ 0x7f7b1b39c040]Unknown track header entry 0x55ee - ignoring
[matroska @ 0x7f7b1b39c040]Unknown track header entry 0xaa - ignoring
Input #0, matroska, from 'test.mkv':
Duration: 02:00:12.1, start: 0.000000, bitrate: N/A
Stream #0.0(eng): Video: h264, yuv420p, 1280x544 [PAR 1:1 DAR 40:17], 23.98 tb(r)
Stream #0.1(ger): Audio: liba52, 48000 Hz, 5:1
Stream #0.2(eng): Audio: dca, 48000 Hz, 5:1
Output #0, avi, to 'test.avi':
Stream #0.0(eng): Video: libxvid, yuv420p, 1280x544 [PAR 1:1 DAR 40:17], q=2-31, 1300 kb/s, 23.98 tb(c)
Stream #0.1(ger): Audio: ac3, 48000 Hz, 5:1, 192 kb/s
Stream #0.2(eng): Audio: ac3, 48000 Hz, 5:1, 192 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Stream #0.2 -> #0.2
Press [q] to stop encoding
frame=14680 fps= 27 q=11.0 Lsize= 126900kB time=600.0 bitrate=1732.6kbits/s
video:95659kB audio:28126kB global headers:0kB muxing overhead 2.516324%
And the tool MediaInfo tells me the following about the output-file (test.avi):
General #0
Complete name : /media/Data/_data/test/test.avi
Format : AVI
Format/Info : Audio Video Interleave
Format/Family : RIFF
File size : 124 MiB
PlayTime : 10mn 12s
Bit rate : 1687 Kbps
Writing application : Lavf52.7.0
Video #0
Codec : xvid
PlayTime : 10mn 12s
Bit rate : 1282 Kbps
Width : 1280 pixels
Height : 544 pixels
Aspect ratio : 2.35
Frame rate : 23.976 fps
Resolution : 24 bits
Bits/(Pixel*Frame) : 0.077
Audio #0
Codec : AC3
PlayTime : 10mn
Bit rate : 190 Kbps
Bit rate mode : CBR
Channel(s) : 6 channels
Sampling rate : 48 KHz
Resolution : 16 bits
StreamSize : 13.6 MiB
ChannelPositions : Front: L C R, Rear: L R, Subwoofer
Audio #1
Codec : AC3
PlayTime : 10mn 32ms
Bit rate : 190 Kbps
Bit rate mode : CBR
Channel(s) : 6 channels
Sampling rate : 48 KHz
Resolution : 16 bits
StreamSize : 13.6 MiB
ChannelPositions : Front: L C R, Rear: L R, Subwoofer
I have also tried several different audio-codecs (libfaac, libmp3lame, copy). None of them gave me any sound-output in vlc.
I would really appreciate, if anyone could give me a hint on what i'm doing wrong...
ps.: The "-t 00:10:00"-Option for ffmpeg is only for testing-reasons, so that i don't have to encode the whole video everytime, till i've found some settings, that work for me...
pps.: I hope, that this is the correct forum, to post this question. I wasn't really sure, if i should put it to the "Linux, Mac OS X, & Co"-Forum, because the description there says, that it's only for DVD-backups. If i'm really in the wrong forum, some mod should feel free, to move the thread to the correct forum!
i have a nearly 7 GB large mkv-file, which i want to convert to a ~1.4 GB large xvid-avi, so that i can play it on my mediacenter (ShowCenter 200).
I'm running Ubuntu 8.10 and want to use ffmpeg for the conversion.
The video has 2 audio streams (ger & eng), which i want to keep. The conversion itself works just fine with ffmpeg, unfortunately i can't here any sound when i play the output-file with vlc.
I use the following ffmpeg command-line:
ffmpeg -i test.mkv -vcodec libxvid -b 1300kb -t 00:10:00 -acodec ac3 -ab 192kb test.avi -acodec ac3 -ab 192kb -newaudio
ffmpegs output looks like this:
FFmpeg version r11872+debian_3:0.svn20080206-12ubuntu3.1, Copyright (c) 2000-2008 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-pp --enable-swscaler --enable-x11grab --prefix=/usr --enable-libgsm --enable-libtheora --enable-libvorbis --enable-pthreads --disable-strip --enable-libfaad --enable-libfaadbin --enable-liba52 --enable-liba52bin --enable-libdc1394 --enable-shared --disable-static
libavutil version: 49.6.0
libavcodec version: 51.50.0
libavformat version: 52.7.0
libavdevice version: 52.0.0
built on Mar 13 2009 17:52:45, gcc: 4.3.2
[matroska @ 0x7f7b1b39c040]Ignoring seekhead entry for ID=0x1549a966
[matroska @ 0x7f7b1b39c040]Ignoring seekhead entry for ID=0x1654ae6b
[matroska @ 0x7f7b1b39c040]Ignoring seekhead entry for ID=0x114d9b74
[matroska @ 0x7f7b1b39c040]Unknown entry 0x73a4 in info header
[matroska @ 0x7f7b1b39c040]Unknown track header entry 0x55aa - ignoring
[matroska @ 0x7f7b1b39c040]Unknown track header entry 0x23314f - ignoring
[matroska @ 0x7f7b1b39c040]Unknown track header entry 0x55ee - ignoring
[matroska @ 0x7f7b1b39c040]Unknown track header entry 0xaa - ignoring
[matroska @ 0x7f7b1b39c040]Unknown track header entry 0x55aa - ignoring
[matroska @ 0x7f7b1b39c040]Unknown track header entry 0x23314f - ignoring
[matroska @ 0x7f7b1b39c040]Unknown track header entry 0x55ee - ignoring
[matroska @ 0x7f7b1b39c040]Unknown track header entry 0xaa - ignoring
[matroska @ 0x7f7b1b39c040]Unknown track header entry 0x55aa - ignoring
[matroska @ 0x7f7b1b39c040]Unknown track header entry 0x23314f - ignoring
[matroska @ 0x7f7b1b39c040]Unknown track header entry 0x55ee - ignoring
[matroska @ 0x7f7b1b39c040]Unknown track header entry 0xaa - ignoring
Input #0, matroska, from 'test.mkv':
Duration: 02:00:12.1, start: 0.000000, bitrate: N/A
Stream #0.0(eng): Video: h264, yuv420p, 1280x544 [PAR 1:1 DAR 40:17], 23.98 tb(r)
Stream #0.1(ger): Audio: liba52, 48000 Hz, 5:1
Stream #0.2(eng): Audio: dca, 48000 Hz, 5:1
Output #0, avi, to 'test.avi':
Stream #0.0(eng): Video: libxvid, yuv420p, 1280x544 [PAR 1:1 DAR 40:17], q=2-31, 1300 kb/s, 23.98 tb(c)
Stream #0.1(ger): Audio: ac3, 48000 Hz, 5:1, 192 kb/s
Stream #0.2(eng): Audio: ac3, 48000 Hz, 5:1, 192 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Stream #0.2 -> #0.2
Press [q] to stop encoding
frame=14680 fps= 27 q=11.0 Lsize= 126900kB time=600.0 bitrate=1732.6kbits/s
video:95659kB audio:28126kB global headers:0kB muxing overhead 2.516324%
And the tool MediaInfo tells me the following about the output-file (test.avi):
General #0
Complete name : /media/Data/_data/test/test.avi
Format : AVI
Format/Info : Audio Video Interleave
Format/Family : RIFF
File size : 124 MiB
PlayTime : 10mn 12s
Bit rate : 1687 Kbps
Writing application : Lavf52.7.0
Video #0
Codec : xvid
PlayTime : 10mn 12s
Bit rate : 1282 Kbps
Width : 1280 pixels
Height : 544 pixels
Aspect ratio : 2.35
Frame rate : 23.976 fps
Resolution : 24 bits
Bits/(Pixel*Frame) : 0.077
Audio #0
Codec : AC3
PlayTime : 10mn
Bit rate : 190 Kbps
Bit rate mode : CBR
Channel(s) : 6 channels
Sampling rate : 48 KHz
Resolution : 16 bits
StreamSize : 13.6 MiB
ChannelPositions : Front: L C R, Rear: L R, Subwoofer
Audio #1
Codec : AC3
PlayTime : 10mn 32ms
Bit rate : 190 Kbps
Bit rate mode : CBR
Channel(s) : 6 channels
Sampling rate : 48 KHz
Resolution : 16 bits
StreamSize : 13.6 MiB
ChannelPositions : Front: L C R, Rear: L R, Subwoofer
I have also tried several different audio-codecs (libfaac, libmp3lame, copy). None of them gave me any sound-output in vlc.
I would really appreciate, if anyone could give me a hint on what i'm doing wrong...
ps.: The "-t 00:10:00"-Option for ffmpeg is only for testing-reasons, so that i don't have to encode the whole video everytime, till i've found some settings, that work for me...
pps.: I hope, that this is the correct forum, to post this question. I wasn't really sure, if i should put it to the "Linux, Mac OS X, & Co"-Forum, because the description there says, that it's only for DVD-backups. If i'm really in the wrong forum, some mod should feel free, to move the thread to the correct forum!