i'm attempting to boil down some HD caputres i have made with my new capture card that outputs either transport streams or mpeg files. the issue i'm having is that ffmpegx correctly identifies the audio but then menencoder barfs and creates a file with no audio, and ffmpeg creates a file with audio that i can only hear in VLC, even though QT sees the audio track. i have uploaded the sample clip i'm working on to yousendit, but cannot post the link publicly becuase it is a clip of Scrubs, if anyone can help i'll gladly send the link in a PM.
the source codecs are mpgv/a52 and my desired output is either mpeg4 or xvid in an avi wrapper with mp3 audio
Results 1 to 7 of 7
-
-
i should also note that when i use autoGK on my old windows box (that does the captures currently while i wait for mac drivers) it sees two audio streams (PID 0034 and PID 0054 "Private AC3 Audio Stream)
-
Your file seems to encode fine on my system to XviD ffmpeg. And QuickTime Player lets me hear the audio as well (with the DivX decoder installed).
I cropped [2,2,244,240], as the .tp file seemed to be a 4:3 picture in a 16:9 frame. And I scaled down to 592x448.
-
hmm, no dice, the audio shows up in the movie properties in QT when i use ffmpeg but is in excess of 2hrs long; mencoder doesnt attach any audio.... this is the ffmpeg output:
Mac OSX universal build for ffmpegX
libavutil version: 49.0.0
libavcodec version: 51.9.0
libavformat version: 50.4.0
Input #0, mpegts, from '/Users/meatwad/Desktop/2006-12-28(Thu)PM0912-CHD29.tp':
Duration: 00:01:00.3, start: 44436.804656, bitrate: 10590 kb/s
Stream #0.0[0x31], 29.97 fps(r): Video: mpeg2video, yuv420p, 1920x1080, 65000 kb/s
Stream #0.1[0x34](eng): Audio: ac3, 48000 Hz, stereo, 192 kb/s
Output #0, avi, to '/Users/meatwad/Desktop/2006-12-28(Thu)PM0912-CHD29.tp.ff.avi':
Stream #0.0, 29.97 fps(c): Video: xvid, yuv420p, 720x544, q=2-15, pass 2, 2117 kb/s
Stream #0.1: Audio: mp3, 48000 Hz, stereo, 128 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
[mpeg2video @ 0x54340c]ac-tex damaged at 55 11
[mpeg2video @ 0x54340c]Warning MVs not available
[mpeg2video @ 0x54340c]concealing 6834 DC, 6834 AC, 6834 MV errors
bench: utime=87.224s
video:15442kB audio:938kB global headers:0kB muxing overhead 0.905587%
Encoding completed on Fri Dec 29 16:10:03 EST 2006
and with mencoder:
Encoding started on Fri Dec 29 16:52:53 EST 2006
FIXME:Hardenabling SSE and SSE2 without detection
MEncoder dev-CVS-060307-04:23-4.0.1 (C) 2000-2006 MPlayer Team
Mac OSX static build for ffmpegX
CPU: Intel (Family: 6, Stepping: 8)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
success: format: 0 data: 0x0 - 0x4c389e8
TS file format detected.
DEMUX OPEN, AUDIO_ID: 0, VIDEO_ID: -1, SUBTITLE_ID: -2,
PROBING UP TO 2000000, PROG: 0
The selected video_out device is incompatible with this codec.
Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
VIDEO MPEG2(pid=49)NO AUDIO! NO SUBS (yet)! PROGRAM N. 0
Opened TS demuxer, audio: ffffffff(pid 0), video: 10000002(pid 49)...POS=0, PROBE=2000000
VIDEO: MPEG2 1920x1080 (aspect 3) 29.970 fps 65000.0 kbps (8125.0 kbyte/s)
[V] filefmt:29 fourcc:0x10000002 size:1920x1080 fps:29.97 ftime:=0.0334
xvid: using library version 1.2.-127 (build xvid-1.2.0-dev)
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [scale w=704 h=528]
Crop: 1432 x 1076, 244 ; 2
================================================== ========================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 1920 x 1080 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDecoder init failed
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
================================================== ========================
VDec: vo config request - 1920 x 1080 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
SwScaler: FAST_BILINEAR scaler, from Planar YV12 to Planar YV12 using MMX2
videocodec: XviD (704x528 fourcc=44495658 [XVID])
xvid: par=0/0 (vga11), displayed=704x528, sampled=704x528
xvid: CBR Rate Control -- bitrate=2117kbit/s
Writing header...
1 duplicate frame(s)!
ODML: vprp aspect is 4:3.
Writing header...
ODML: vprp aspect is 4:3.
TS_PARSE: COULDN'T SYNC
Flushing video frames
Writing index...
Writing header...
ODML: vprp aspect is 4:3.
Video stream: 2113.603 kbit/s (264200 B/s) size: 15797368 bytes 59.793 secs 1793 frames
Encoding completed on Fri Dec 29 16:54:21 EST 2006
-
I tried mencoder with the same result as you.
I tried ffmpeg with success. See if you can play (with audio!) my converted file in QuickTime. If not, it may be due to your QuickTime setup, not ffmpegX.
Audio duration appears here as 1 minute.
-
hmmm, same issue with your file; i see the audio track, but it appears as 2hrs 8minutes long.
i'm glad its not ffmpegx, but it also concerns me that quicktime or something else is cuasing issues. now its time to find out what codecs i'm fighting with.
Similar Threads
-
no audio from transport/program stream file when i try to encode
By uptonm in forum Capturing and VCRReplies: 0Last Post: 20th Mar 2010, 10:41 -
MPEG-2 transport stream... how to mux audio/video?
By Navstar in forum ffmpegX general discussionReplies: 1Last Post: 19th Feb 2010, 17:22 -
Re-encoding MPEG2 Transport Stream (.ts) file
By kary.sharma in forum Video ConversionReplies: 2Last Post: 12th Dec 2008, 04:01 -
multiple audio tracks in transport stream
By levide in forum Video ConversionReplies: 2Last Post: 17th Jul 2008, 12:58 -
Extract problem dolby audio from transport stream
By DVWannaB in forum Video ConversionReplies: 7Last Post: 17th Aug 2007, 22:35