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:
However, mplayer reports: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
Why can't mplayer see Stream #0.1[0x1100](eng): Audio: pcm_bluray, 48000 Hz, 5.1, s32, 6912 kb/s that ffmpeg sees?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
mplayer detects this exact audio stream fine if it's just inside a wav:
I'm sure there's something simple here that I'm not doing..... any ideas?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
Cheers!!
+ Reply to Thread
Results 1 to 3 of 3
-
-
Got it sorted
I just needed to pass in - -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
Similar Threads
-
m2ts-file doesn't show video
By chrit in forum Blu-ray RippingReplies: 5Last Post: 19th Apr 2012, 10:28 -
How to convert PCM audio track inside M2TS file
By majouz in forum Software PlayingReplies: 1Last Post: 20th Jun 2011, 14:24 -
How do you extract ac3 from m2ts when tsmuxer doesn't read the audio?
By yoda313 in forum AudioReplies: 6Last Post: 1st Jan 2011, 08:28 -
Philips 42PFL9664H doesn't automatically detect when a DVD is started
By holmerz in forum DVD & Blu-ray PlayersReplies: 3Last Post: 10th Aug 2010, 08:18 -
corrupted m2ts file - "cannot detect stream type"
By ac1j2 in forum Newbie / General discussionsReplies: 0Last Post: 4th Mar 2010, 07:51