[MPlayer-users] MPlayer can't detect PCM stream in ts file...

Scott Burgess ScottBurgess at diamondkey.com
Thu Jan 28 05:01:59 CET 2010


Solved this all on my own... :) 
Added -demuxer lavf (referenced in a similar problem,
http://lists.mplayerhq.hu/pipermail/mplayer-users/2009-July/077284.html)

And:

========================================================================
==
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 6 ch, s32le, 6912.0 kbit/75.00% (ratio:
864000->1152000)
ID_AUDIO_BITRATE=6912000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=6
Selected audio codec: [lpcm] afm: ffmpeg (Bluray LPCM)
========================================================================
==
AO: [null] 48000Hz 6ch s32le (4 bytes per sample)
ID_AUDIO_CODEC=lpcm



-----Original Message-----
From: mplayer-users-bounces at mplayerhq.hu
[mailto:mplayer-users-bounces at mplayerhq.hu] On Behalf Of Scott Burgess
Sent: Thursday, 28 January 2010 2:29 PM
To: mplayer-users at mplayerhq.hu
Subject: [MPlayer-users] MPlayer can't detect PCM stream in ts file...

I'm looking to convert a BR to a 720 mkv, while keeping the audio
lossless. 

I've extracted the video and PCM audio streams into a single .ts file
for experimenting with, as I couldn't get mplayer to detect the PCM
stream from the m2ts.

So, I have a file: track_4113.264.ts

ffmpeg reports both streams:

Code:

$ ffmpeg -i track_4113.264.ts
FFmpeg version SVN-r21494, Copyright (c) 2000-2010 Fabrice Bellard, et
al.
  built on Jan 28 2010 13:03:01 with gcc 4.3.4
  configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib
--mandir=/usr/share/man --enable-static --enable-shared
--cc=i686-pc-linux-gnu-gcc --disable-network --enable-libmp3lame
--enable-libvorbis --enable-libtheora --enable-libx264 --enable-libxvid
--disable-indev=v4l --disable-indev=v4l2 --disable-indev=oss
--disable-indev=jack --disable-outdev=oss --enable-x11grab
--enable-pthreads --disable-vdpau --disable-vdpau --disable-altivec
--cpu=host --enable-gpl --enable-version3 --enable-postproc
--enable-avfilter --enable-avfilter-lavf --disable-stripping
--enable-hardcoded-tables
  libavutil     50. 7. 0 / 50. 7. 0
  libavcodec    52.48. 0 / 52.48. 0
  libavformat   52.47. 0 / 52.47. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter    1.17. 0 /  1.17. 0
  libswscale     0. 9. 0 /  0. 9. 0
  libpostproc   51. 2. 0 / 51. 2. 0
[mpegts @ 0x87fe3a0]MAX_READ_SIZE:5000000 reached
 
Seems stream 0 codec frame rate differs from container frame rate: 47.95
(48000/1001) -> 23.98 (24000/1001)
Input #0, mpegts, from 'track_4113.264.ts':
  Duration: 00:00:11.61, start: 599.958311, bitrate: 10758 kb/s
  Program 1
    Stream #0.0[0x1011]: Video: h264, yuv420p, 1920x1080 [PAR 1:1 DAR
16:9], 23.97 fps, 23.98 tbr, 90k tbn, 47.95 tbc
    Stream #0.1[0x1100](eng): Audio: pcm_bluray, 48000 Hz, 5.1, s32,
6912 kb/s
At least one output file must be specified
 

However, mplayer reports:

Code:

$ mplayer -msglevel identify=6 -frames 0 -identify -vc null -vo null -ao
null track_4113.264.ts
MPlayer 30448-4.3.4 (C) 2000-2010 MPlayer Team
142 audio & 332 video codecs
 
Playing track_4113.264.ts.
TS file format detected.
PROGRAM_ID=0 (0x00), PMT_PID: 31(0x1F)
PROGRAM_ID=1 (0x01), PMT_PID: 256(0x100)
PROGRAM_ID=0 (0x00), PMT_PID: 31(0x1F)
PROGRAM_ID=1 (0x01), PMT_PID: 256(0x100)
PROGRAM_ID=0 (0x00), PMT_PID: 31(0x1F)
PROGRAM_ID=1 (0x01), PMT_PID: 256(0x100)
PROGRAM_ID=0 (0x00), PMT_PID: 31(0x1F)
PROGRAM_ID=1 (0x01), PMT_PID: 256(0x100)
PROGRAM_ID=0 (0x00), PMT_PID: 31(0x1F)
PROGRAM_ID=1 (0x01), PMT_PID: 256(0x100)
PROGRAM_ID=0 (0x00), PMT_PID: 31(0x1F)
PROGRAM_ID=1 (0x01), PMT_PID: 256(0x100)
PROGRAM_ID=0 (0x00), PMT_PID: 31(0x1F)
PROGRAM_ID=1 (0x01), PMT_PID: 256(0x100)
PROGRAM_ID=0 (0x00), PMT_PID: 31(0x1F)
PROGRAM_ID=1 (0x01), PMT_PID: 256(0x100)
PROGRAM_ID=0 (0x00), PMT_PID: 31(0x1F)
PROGRAM_ID=1 (0x01), PMT_PID: 256(0x100)
PROGRAM_ID=0 (0x00), PMT_PID: 31(0x1F)
PROGRAM_ID=1 (0x01), PMT_PID: 256(0x100)
PROGRAM_ID=0 (0x00), PMT_PID: 31(0x1F)
PROGRAM_ID=1 (0x01), PMT_PID: 256(0x100)
PROGRAM_ID=0 (0x00), PMT_PID: 31(0x1F)
PROGRAM_ID=1 (0x01), PMT_PID: 256(0x100)
PROGRAM_ID=0 (0x00), PMT_PID: 31(0x1F)
PROGRAM_ID=1 (0x01), PMT_PID: 256(0x100)
PROGRAM_ID=0 (0x00), PMT_PID: 31(0x1F)
PROGRAM_ID=1 (0x01), PMT_PID: 256(0x100)
PROGRAM_ID=0 (0x00), PMT_PID: 31(0x1F)
PROGRAM_ID=1 (0x01), PMT_PID: 256(0x100)
PROGRAM_ID=0 (0x00), PMT_PID: 31(0x1F)
PROGRAM_ID=1 (0x01), PMT_PID: 256(0x100)
PROGRAM_ID=0 (0x00), PMT_PID: 31(0x1F)
PROGRAM_ID=1 (0x01), PMT_PID: 256(0x100)
PROGRAM_ID=0 (0x00), PMT_PID: 31(0x1F)
PROGRAM_ID=1 (0x01), PMT_PID: 256(0x100)
VIDEO H264(pid=4113) NO AUDIO!  NO SUBS (yet)!  PROGRAM N. 1
ID_VIDEO_ID=4113
FPS seems to be: 23.976025
ID_FILENAME=track_4113.264.ts
ID_DEMUXER=mpegts
ID_VIDEO_FORMAT=0x10000005
ID_VIDEO_BITRATE=0
ID_VIDEO_WIDTH=1920
ID_VIDEO_HEIGHT=1088
ID_VIDEO_FPS=23.976
ID_VIDEO_ASPECT=0.0000
ID_LENGTH=0.00
ID_SEEKABLE=1
ID_CHAPTERS=0
========================================================================
==
Forced video codec: null
Opening video decoder: [null] Null video decoder
Movie-Aspect is undefined - no prescaling applied.
VO: [null] 1920x1088 => 1920x1088 Planar YV12
Selected video codec: [null] vfm: null (NULL codec (no decoding!))
========================================================================
==
ID_VIDEO_CODEC=null
Audio: no sound
Starting playback...
 
 
Exiting... (End of file)
ID_EXIT=EOF
 

Why can't mplayer see Stream #0.1[0x1100](eng): Audio: pcm_bluray, 48000
Hz, 5.1, s32, 6912 kb/s that ffmpeg sees?

mplayer detects this exact audio stream fine if it's just inside a wav:

Code:

$ mplayer -msglevel identify=6 -frames 0 -identify -vc null -vo null -ao
null track_4352.1.wav.5MB
MPlayer 30448-4.3.4 (C) 2000-2010 MPlayer Team
142 audio & 332 video codecs
 
Playing track_4352.1.wav.5MB.
ID_AUDIO_ID=0
Audio only file format detected.
ID_FILENAME=track_4352.1.wav.5MB
ID_DEMUXER=audio
ID_AUDIO_FORMAT=65534
ID_AUDIO_BITRATE=6912000
ID_AUDIO_RATE=0
ID_AUDIO_NCH=6
ID_LENGTH=4971.00
ID_SEEKABLE=1
ID_CHAPTERS=0
========================================================================
==
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 48000 Hz, 6 ch, s24le, 6912.0 kbit/100.00% (ratio:
864000->864000)
ID_AUDIO_BITRATE=6912000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=6
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
========================================================================
==
AO: [null] 48000Hz 6ch s24le (3 bytes per sample)
ID_AUDIO_CODEC=pcm
Video: no video
Starting playback...
 
 
Exiting... (End of file)
ID_EXIT=EOF
 

I'm sure there's something simple here that I'm not doing..... any
ideas? 

Cheers!

 

Scott.

_______________________________________________
MPlayer-users mailing list
MPlayer-users at mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users


More information about the MPlayer-users mailing list