No AC3 Audio Playback with HD MPEG2-PS Files

macOS specific usage questions
reggie14
New Cone
New Cone
Posts: 4
Joined: 13 Mar 2009 16:22

No AC3 Audio Playback with HD MPEG2-PS Files

Postby reggie14 » 13 Mar 2009 16:42

I can't seem to get audio playback working with some high-definition mpeg2 files. The video plays back fine, but there is no audio. The files are TV recordings from a QAM digital TV tuner card (HVR-1600) and from firewire capture from a cable box. The files are program stream mpeg2s of resolution either 720p or 1080i, and they all have AC3 audio tracks, which I think is causing this problem. I can play these files back in Plex Media Center without difficulties, and I can play them back on my Windows box.

I have a MacBook Pro (Intel Core2 Duo 2.5Ghz) running OS 10.5.6. I first tried running VLC 0.9.8a, but that can't even pull up media information for the files. I've been running the nightlies for a while, and right now I have the latest nightly (March 11th) installed. Except for the media information not working in VLC 0.9.8a but working in the nightly, everything else is the same as far as I can tell.

When I open the log (Window->Messages), I see lots and lots of "PTS is out of range" warnings. The log window quickly fills up with these messages, and I don't know how to let the window store more messages or dump things to a log file (the log-related things in the preferences menu don't seem to work, as far as I can tell). But, I started playback of a file, and stopped it after a couple seconds, and this was the contents of the log window:

Code: Select all

main debug: TIMER module_need() : 448.261 ms - Total 448.261 ms / 1 intvls (Avg 448.261 ms) main debug: output 'fl32' 48000 Hz Stereo frame=1 samples/8 bytes main debug: mixer 'fl32' 48000 Hz Stereo frame=1 samples/8 bytes main debug: no need for any filter main debug: looking for audio mixer module: 3 candidates main debug: using audio mixer module "float32_mixer" main debug: TIMER module_need() : 0.676 ms - Total 0.676 ms / 1 intvls (Avg 0.676 ms) main debug: input 'a52 ' 48000 Hz 3F2R/LFE frame=1536 samples/1536 bytes main debug: looking for audio filter module: 1 candidate scaletempo warning: bad input or output format scaletempo warning: input and output formats are not similar main warning: no audio filter module matching "scaletempo" could be loaded main debug: TIMER module_need() : 0.496 ms - Total 0.496 ms / 1 intvls (Avg 0.496 ms) main debug: looking for audio filter module: 1 candidate scaletempo debug: format: 48000 rate, 6 nch, 4 bps, fl32 scaletempo debug: params: 30 stride, 0.200 overlap, 14 search scaletempo debug: 1.000 scale, 1440.000 stride_in, 1440 stride_out, 1152 standing, 288 overlap, 672 search, 2400 queue, fl32 mode main debug: using audio filter module "scaletempo" main debug: TIMER module_need() : 0.712 ms - Total 0.712 ms / 1 intvls (Avg 0.712 ms) main debug: filter(s) 'a52 '->'fl32' 48000 Hz->48000 Hz 3F2R/LFE->3F2R/LFE main debug: looking for audio filter module: 24 candidates main debug: using audio filter module "a52tofloat32" main debug: TIMER module_need() : 3.103 ms - Total 3.103 ms / 1 intvls (Avg 3.103 ms) main debug: found a filter for the whole conversion main debug: filter(s) 'fl32'->'fl32' 48000 Hz->48000 Hz 3F2R/LFE->Stereo main debug: looking for audio filter module: 24 candidates main debug: using audio filter module "simple_channel_mixer" main debug: TIMER module_need() : 5.512 ms - Total 5.512 ms / 1 intvls (Avg 5.512 ms) main debug: found a filter for the whole conversion main debug: filter(s) 'fl32'->'fl32' 52800 Hz->48000 Hz Stereo->Stereo main debug: looking for audio filter module: 24 candidates main debug: using audio filter module "bandlimited_resampler" main debug: TIMER module_need() : 0.159 ms - Total 0.159 ms / 1 intvls (Avg 0.159 ms) main debug: found a filter for the whole conversion main debug: End of audio preroll main debug: Decoder buffering done in 460 ms main warning: PTS is out of range (454014), dropping buffer main warning: PTS is out of range (422420), dropping buffer main warning: PTS is out of range (390430), dropping buffer main warning: PTS is out of range (358435), dropping buffer main warning: PTS is out of range (326440), dropping buffer main warning: PTS is out of range (294455), dropping buffer main warning: PTS is out of range (262469), dropping buffer main warning: PTS is out of range (230481), dropping buffer main warning: PTS is out of range (198493), dropping buffer main warning: PTS is out of range (166505), dropping buffer main warning: PTS is out of range (134511), dropping buffer main warning: PTS is out of range (141964), dropping buffer main warning: PTS is out of range (148521), dropping buffer main debug: looking for decoder module: 33 candidates main debug: using decoder module "libmpeg2" main debug: TIMER module_need() : 1.311 ms - Total 1.311 ms / 1 intvls (Avg 1.311 ms) main debug: thread (decoder) created at priority 0 (../../src/input/decoder.c:314) main debug: thread started main warning: PTS is out of range (196726), dropping buffer main warning: PTS is out of range (223833), dropping buffer main warning: PTS is out of range (191988), dropping buffer main warning: PTS is out of range (177669), dropping buffer main warning: PTS is out of range (189786), dropping buffer main warning: PTS is out of range (185265), dropping buffer main warning: PTS is out of range (153273), dropping buffer main warning: PTS is out of range (172807), dropping buffer main warning: PTS is out of range (185974), dropping buffer main warning: PTS is out of range (191376), dropping buffer main warning: PTS is out of range (201794), dropping buffer main warning: PTS is out of range (169835), dropping buffer main warning: PTS is out of range (179510), dropping buffer main warning: PTS is out of range (187453), dropping buffer main warning: PTS is out of range (198042), dropping buffer main warning: PTS is out of range (202409), dropping buffer main warning: PTS is out of range (170531), dropping buffer libmpeg2 debug: 1920x1080 (display 1920,1080), aspect 768000, sar 1:1, 29.971 fps main debug: no usable vout present, spawning one main debug: looking for text renderer module: 3 candidates main debug: using text renderer module "quartztext" main debug: TIMER module_need() : 0.891 ms - Total 0.891 ms / 1 intvls (Avg 0.891 ms) main debug: looking for video filter2 module: 17 candidates swscale debug: 32x32 chroma: YUVA -> 16x16 chroma: YUVA with scaling using Bicubic (good quality) main debug: using video filter2 module "swscale" main debug: TIMER module_need() : 2.279 ms - Total 2.279 ms / 1 intvls (Avg 2.279 ms) main debug: looking for video filter2 module: 17 candidates yuvp debug: YUVP to YUVA converter main debug: using video filter2 module "yuvp" main debug: TIMER module_need() : 5.100 ms - Total 5.100 ms / 1 intvls (Avg 5.100 ms) main debug: window size: 1920x1080 main debug: looking for video output module: 4 candidates opengl debug: Texture size: 1920x1088 opengl debug: requesting "default" opengl provider main debug: looking for opengl provider module: 2 candidates macosx debug: display is Quartz Extreme accelerated main warning: PTS is out of range (179398), dropping buffer main warning: PTS is out of range (192649), dropping buffer main warning: PTS is out of range (207138), dropping buffer main warning: PTS is out of range (175176), dropping buffer main warning: PTS is out of range (177052), dropping buffer main debug: using opengl provider module "macosx" main debug: TIMER module_need() : 168.343 ms - Total 168.343 ms / 1 intvls (Avg 168.343 ms) main debug: using video output module "opengl" main debug: TIMER module_need() : 169.139 ms - Total 169.139 ms / 1 intvls (Avg 169.139 ms) main debug: got 1 direct buffer(s) main debug: pic render sz 1920x1088, of (0,0), vsz 1920x1080, 4cc I420, ar 16:9, sar 1:1, msk r0x0 g0x0 b0x0 main debug: pic in sz 1920x1088, of (0,0), vsz 1920x1080, 4cc I420, ar 16:9, sar 1:1, msk r0x0 g0x0 b0x0 main debug: pic out sz 1920x1088, of (0,0), vsz 1920x1080, 4cc UYVY, ar 16:9, sar 1:1, msk r0x0 g0x0 b0x0 main debug: looking for video filter2 module: 17 candidates main debug: using video filter2 module "i420_yuy2_mmx" main debug: TIMER module_need() : 0.146 ms - Total 0.146 ms / 1 intvls (Avg 0.146 ms) main debug: indirect render, mapping render pictures 0-15 to system pictures 1-16 main warning: dts != current_pts (-1496643) main warning: PTS is out of range (185653), dropping buffer main warning: decoder synchro warning: pts != current_date (-33367) main warning: PTS is out of range (193620), dropping buffer main warning: PTS is out of range (199045), dropping buffer main warning: PTS is out of range (167194), dropping buffer main warning: PTS is out of range (176445), dropping buffer main debug: looking for video blending module: 1 candidate blend debug: chroma: YUVA -> UYVY main debug: using video blending module "blend" main debug: TIMER module_need() : 0.698 ms - Total 0.698 ms / 1 intvls (Avg 0.698 ms) main warning: PTS is out of range (186133), dropping buffer main warning: PTS is out of range (193546), dropping buffer main warning: PTS is out of range (205446), dropping buffer main warning: PTS is out of range (173476), dropping buffer main warning: PTS is out of range (185725), dropping buffer main warning: PTS is out of range (190755), dropping buffer main warning: PTS is out of range (199248), dropping buffer main warning: PTS is out of range (167262), dropping buffer main warning: PTS is out of range (177781), dropping buffer main warning: PTS is out of range (184913), dropping buffer main warning: PTS is out of range (191410), dropping buffer main warning: PTS is out of range (201255), dropping buffer main warning: PTS is out of range (169280), dropping buffer main warning: PTS is out of range (174436), dropping buffer main warning: PTS is out of range (185431), dropping buffer main warning: PTS is out of range (191047), dropping buffer main warning: PTS is out of range (194211), dropping buffer main warning: PTS is out of range (162527), dropping buffer main warning: PTS is out of range (180043), dropping buffer main warning: PTS is out of range (183448), dropping buffer main warning: PTS is out of range (195347), dropping buffer main warning: PTS is out of range (163361), dropping buffer main warning: PTS is out of range (175891), dropping buffer main warning: PTS is out of range (179792), dropping buffer main warning: PTS is out of range (193140), dropping buffer main warning: PTS is out of range (202824), dropping buffer main warning: PTS is out of range (170892), dropping buffer main warning: PTS is out of range (181394), dropping buffer main warning: PTS is out of range (188109), dropping buffer main warning: PTS is out of range (197948), dropping buffer main warning: PTS is out of range (166144), dropping buffer main warning: PTS is out of range (175142), dropping buffer main warning: PTS is out of range (183111), dropping buffer main warning: PTS is out of range (192399), dropping buffer main warning: PTS is out of range (203116), dropping buffer main warning: PTS is out of range (171135), dropping buffer main warning: PTS is out of range (176795), dropping buffer main warning: PTS is out of range (187170), dropping buffer main warning: PTS is out of range (196903), dropping buffer main warning: PTS is out of range (211269), dropping buffer main warning: PTS is out of range (179425), dropping buffer main warning: PTS is out of range (182448), dropping buffer main warning: PTS is out of range (190548), dropping buffer main warning: PTS is out of range (198643), dropping buffer main warning: PTS is out of range (166686), dropping buffer main warning: PTS is out of range (176261), dropping buffer main warning: PTS is out of range (184360), dropping buffer main warning: PTS is out of range (193028), dropping buffer main warning: PTS is out of range (199547), dropping buffer main warning: PTS is out of range (167594), dropping buffer main warning: PTS is out of range (182604), dropping buffer main warning: PTS is out of range (191677), dropping buffer main warning: PTS is out of range (198582), dropping buffer main warning: PTS is out of range (207412), dropping buffer main warning: PTS is out of range (175426), dropping buffer main warning: PTS is out of range (180622), dropping buffer main warning: PTS is out of range (190440), dropping buffer main warning: PTS is out of range (198605), dropping buffer main warning: PTS is out of range (202410), dropping buffer main warning: PTS is out of range (170436), dropping buffer main warning: PTS is out of range (182035), dropping buffer main debug: Adding CC track 1 for es[1] main warning: PTS is out of range (190779), dropping buffer main warning: PTS is out of range (194713), dropping buffer main warning: PTS is out of range (162741), dropping buffer main warning: PTS is out of range (173877), dropping buffer main warning: PTS is out of range (318101), dropping buffer main warning: PTS is out of range (304642), dropping buffer main warning: PTS is out of range (273117), dropping buffer main warning: PTS is out of range (241123), dropping buffer main warning: PTS is out of range (217360), dropping buffer main warning: PTS is out of range (185385), dropping buffer main debug: Adding CC track 2 for es[1] main warning: PTS is out of range (195486), dropping buffer main warning: PTS is out of range (163543), dropping buffer main warning: PTS is out of range (164432), dropping buffer main warning: PTS is out of range (290765), dropping buffer
If someone can help with the logging issue I can post a more complete version. I don't think this one quite starts from the beginning. I know usually you're not suppose to use the nightlies when looking for technical support, but since things seem to work a little better in the nightly that seems like a better place to start. I can drop back to 0.9.8a if that would be better.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: No AC3 Audio Playback with HD MPEG2-PS Files

Postby Jean-Baptiste Kempf » 13 Mar 2009 16:48

Can you share the files?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

reggie14
New Cone
New Cone
Posts: 4
Joined: 13 Mar 2009 16:22

Re: No AC3 Audio Playback with HD MPEG2-PS Files

Postby reggie14 » 14 Mar 2009 01:05

I uploaded a relatively short clip (~10 seconds) to the VLC FTP samples server. The file is named TheMummyac3clip.mpg. I can provide additional, longer samples if needed.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: No AC3 Audio Playback with HD MPEG2-PS Files

Postby Jean-Baptiste Kempf » 14 Mar 2009 11:59

Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

reggie14
New Cone
New Cone
Posts: 4
Joined: 13 Mar 2009 16:22

Re: No AC3 Audio Playback with HD MPEG2-PS Files

Postby reggie14 » 16 Mar 2009 21:42

Do you know what the "PTS error is out of range" error means? I sort of blindly messed around with settings for a while trying to find some sort of work-around. I didn't have any luck.


Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 26 guests