shon.miles@gmail.com
13th January 2008, 22:34
ffmpeg -r 25 -f h264 -i video.h264 -itsoffset 00:00:05.000 -f ac3 -i audio.ac3 -vcodec copy -acodec copy -f vob result.vob
I always get the same result, audio and no video, what am I doing wrong.
Here is the command I used to extract
mkvextract tracks video.mkv 3:video.h264 1:audio.ac3
Here is the mkvinfo for the video, what am I doing wrong, I have tried this with and without the itoffset for audio sync issue. I am trying manually because mkv2vob v1.4.1 is producing a vob that has audio about 5 seconds too early on some mkv files, and these files all play in sync on the PC in video player
------------------------------------------------------------
C:\Tools\mkv2vob v1.4\tools>mkvinfo video.mkv
+ EBML head
|+ Doc type: matroska
|+ Doc type version: 1
|+ Doc type read version: 1
+ Segment, size 8533376412
|+ Seek head (subentries will be skipped)
|+ EbmlVoid (size: 4025)
|+ Segment information
| + Timecode scale: 1000000
| + Muxing application: libebml v0.7.7 + libmatroska v0.8.1
| + Writing application: mkvmerge v2.0.2 ('You're My Flame') built on Feb 21 20
7 23:40:55
| + Duration: 7831.440s (02:10:31.440000000)
| + Date: Wed Aug 08 17:53:58 2007 UTC
| + Segment UID: 0x8d 0x35 0xdd 0x5d 0xd3 0x01 0x80 0x64 0xa2 0x59 0x68 0xa2 0x
f 0x98 0xc4 0xa2
|+ Segment tracks
| + A track
| + Track number: 1
| + Track UID: 2942820745
| + Track type: audio
| + Enabled: 1
| + Default flag: 1
| + Forced flag: 0
| + Lacing flag: 1
| + MinCache: 0
| + Timecode scale: 1.000000
| + Max BlockAddition ID: 0
| + Codec ID: A_AC3
| + Codec decode all: 1
| + Default duration: 32.000ms (31.250 fps for a video track)
| + Language: eng
| + Audio track
| + Sampling frequency: 48000.000000
| + Channels: 6
| + A track
| + Track number: 2
| + Track UID: 3639997069
| + Track type: subtitles
| + Enabled: 1
| + Default flag: 0
| + Forced flag: 0
| + Lacing flag: 0
| + MinCache: 0
| + Timecode scale: 1.000000
| + Max BlockAddition ID: 0
| + Codec ID: S_TEXT/UTF8
| + Codec decode all: 1
| + Language: eng
| + A track
| + Track number: 3
| + Track UID: 1
| + Track type: video
| + Enabled: 1
| + Default flag: 1
| + Forced flag: 0
| + Lacing flag: 0
| + MinCache: 1
| + Timecode scale: 1.000000
| + Max BlockAddition ID: 0
| + Codec ID: V_MPEG4/ISO/AVC
| + Codec decode all: 1
| + CodecPrivate, length 172
| + Default duration: 40.000ms (25.000 fps for a video track)
| + Language: eng
| + Video track
| + Pixel width: 1920
| + Pixel height: 816
| + Interlaced: 0
| + Display width: 40
| + Display height: 17
|+ EbmlVoid (size: 1024)
|+ Cluster
I always get the same result, audio and no video, what am I doing wrong.
Here is the command I used to extract
mkvextract tracks video.mkv 3:video.h264 1:audio.ac3
Here is the mkvinfo for the video, what am I doing wrong, I have tried this with and without the itoffset for audio sync issue. I am trying manually because mkv2vob v1.4.1 is producing a vob that has audio about 5 seconds too early on some mkv files, and these files all play in sync on the PC in video player
------------------------------------------------------------
C:\Tools\mkv2vob v1.4\tools>mkvinfo video.mkv
+ EBML head
|+ Doc type: matroska
|+ Doc type version: 1
|+ Doc type read version: 1
+ Segment, size 8533376412
|+ Seek head (subentries will be skipped)
|+ EbmlVoid (size: 4025)
|+ Segment information
| + Timecode scale: 1000000
| + Muxing application: libebml v0.7.7 + libmatroska v0.8.1
| + Writing application: mkvmerge v2.0.2 ('You're My Flame') built on Feb 21 20
7 23:40:55
| + Duration: 7831.440s (02:10:31.440000000)
| + Date: Wed Aug 08 17:53:58 2007 UTC
| + Segment UID: 0x8d 0x35 0xdd 0x5d 0xd3 0x01 0x80 0x64 0xa2 0x59 0x68 0xa2 0x
f 0x98 0xc4 0xa2
|+ Segment tracks
| + A track
| + Track number: 1
| + Track UID: 2942820745
| + Track type: audio
| + Enabled: 1
| + Default flag: 1
| + Forced flag: 0
| + Lacing flag: 1
| + MinCache: 0
| + Timecode scale: 1.000000
| + Max BlockAddition ID: 0
| + Codec ID: A_AC3
| + Codec decode all: 1
| + Default duration: 32.000ms (31.250 fps for a video track)
| + Language: eng
| + Audio track
| + Sampling frequency: 48000.000000
| + Channels: 6
| + A track
| + Track number: 2
| + Track UID: 3639997069
| + Track type: subtitles
| + Enabled: 1
| + Default flag: 0
| + Forced flag: 0
| + Lacing flag: 0
| + MinCache: 0
| + Timecode scale: 1.000000
| + Max BlockAddition ID: 0
| + Codec ID: S_TEXT/UTF8
| + Codec decode all: 1
| + Language: eng
| + A track
| + Track number: 3
| + Track UID: 1
| + Track type: video
| + Enabled: 1
| + Default flag: 1
| + Forced flag: 0
| + Lacing flag: 0
| + MinCache: 1
| + Timecode scale: 1.000000
| + Max BlockAddition ID: 0
| + Codec ID: V_MPEG4/ISO/AVC
| + Codec decode all: 1
| + CodecPrivate, length 172
| + Default duration: 40.000ms (25.000 fps for a video track)
| + Language: eng
| + Video track
| + Pixel width: 1920
| + Pixel height: 816
| + Interlaced: 0
| + Display width: 40
| + Display height: 17
|+ EbmlVoid (size: 1024)
|+ Cluster