jkc120
12th January 2008, 00:27
Sorry if this is in the wrong forum...If so, can a mod move it to the appropriate place (or where it'll get the proper exposuse)?
Anyway, I was wondering if it is possible to stream ab AVC/AC3 video to the PS3. My input file is an mkv file, and I know this is not supported directly, but I have found a way to play them back:
- mkvextract the mkv into .h264 and .ac3 files
- use h264info (or a C program I wrote for linux) to change the Level from 5.1 to 4.1
- transcode ac3 into aac
- mux with mp4box
This works great. However, the audio is 5.1 AAC which I understand the PS3 sends out as PCM 2.0 via TOSLINK.
Is there a way to combine the edited .h264 stream and the original .ac3 stream into an appropriate container/file, and stream that to the PS3? If so, what mime-type is it expecting? I am currently using ushare, and it has various definition for each extension. E.g. for mp4, I had to change it to:
{ "mp4", "AVC_TS_MP_HD_AAC_MULT5", UPNP_VIDEO, "http-get:*:video/mp4:"},
Any help would be appreciated! I do not have a wired windows box, so I need to be able to do all this with open source tools, though if a step is missing and is something I can write my own perl/c script for, I'm ok with that.
Thanks in advance!
Anyway, I was wondering if it is possible to stream ab AVC/AC3 video to the PS3. My input file is an mkv file, and I know this is not supported directly, but I have found a way to play them back:
- mkvextract the mkv into .h264 and .ac3 files
- use h264info (or a C program I wrote for linux) to change the Level from 5.1 to 4.1
- transcode ac3 into aac
- mux with mp4box
This works great. However, the audio is 5.1 AAC which I understand the PS3 sends out as PCM 2.0 via TOSLINK.
Is there a way to combine the edited .h264 stream and the original .ac3 stream into an appropriate container/file, and stream that to the PS3? If so, what mime-type is it expecting? I am currently using ushare, and it has various definition for each extension. E.g. for mp4, I had to change it to:
{ "mp4", "AVC_TS_MP_HD_AAC_MULT5", UPNP_VIDEO, "http-get:*:video/mp4:"},
Any help would be appreciated! I do not have a wired windows box, so I need to be able to do all this with open source tools, though if a step is missing and is something I can write my own perl/c script for, I'm ok with that.
Thanks in advance!