Page 1 of 1

.WMV file playing without audio on PS3

PostPosted: Tue Mar 29, 2011 5:03 am
by individual
  Code:
FFmpeg version UNKNOWN, Copyright (c) 2000-2011 the FFmpeg developers
  built on Mar 26 2011 10:52:39 with gcc 4.2.3
  configuration: --arch=arm --enable-armv5te --prefix=/opt --extra-cflags=-I/opt/include --extra-ldflags=-L/opt/lib --enable-static --disab                   le-shared --disable-ffplay --disable-ffserver --enable-libmp3lame
  libavutil     50.36. 0 / 50.36. 0
  libavcore      0.16. 0 /  0.16. 0
  libavcodec    52.108. 0 / 52.108. 0
  libavformat   52.92. 0 / 52.92. 0
  libavdevice   52. 2. 3 / 52. 2. 3
  libavfilter    1.72. 0 /  1.72. 0
  libswscale     0.12. 0 /  0.12. 0

Seems stream 1 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 23.98 (24000/1001)
Input #0, asf, from 'IMAX Fighter Pilot - Operation Red Flag 1080p.wmv':
  Metadata:
    WM/ParentalRating:
    WMFSDKVersion   : 9.00.00.2991
    WMFSDKNeeded    : 0.0.0.0000
    IsVBR           : 0
    title           :
    artist          :
    copyright       :
    comment         :
  Duration: 00:48:27.90, start: 4.000000, bitrate: 9404 kb/s
    Stream #0.0(eng): Audio: wmapro, 48000 Hz, 5.1, flt, 440 kb/s
    Stream #0.1(eng): Video: wmv3, yuv420p, 1440x1080, 9000 kb/s, PAR 4:3 DAR 16:9, 23.98 tbr, 1k tbn, 1k tbc
At least one output file must be specified


Can the PS3 profile be amended so it could play wmapro, 48000 Hz, 5.1 audio streams on PS3? I have video but no sound in PS3.

In console I have Downmix to stereo activated. Testing the file in Windows Media Player, it plays all right.

Re: .WMV file playing without audio on PS3

PostPosted: Tue Apr 26, 2011 7:11 pm
by Illico
Please, turn on detailed logging (see link signature), you should be able to see the FFmpeg command that is used for the transcode. Try executing the command manually in a terminal window and post the (error) result here.

Re: .WMV file playing without audio on PS3

PostPosted: Tue Apr 26, 2011 7:18 pm
by Illico
If this file is streamed in native format, you could transcode the audio into wmav2 by modifying the profiles.xml
  Code:
   <Profile id="4" name="Playstation 3" extendsProfileId="1">
      <Detection>
         <HttpHeaders>
            <X-AV-Client-Info>.*PLAYSTATION 3.*</X-AV-Client-Info>
         </HttpHeaders>   
      </Detection>
      <MediaFormatProfiles>
         <MediaFormatProfile mime-type="video/divx">AVI</MediaFormatProfile>
      </MediaFormatProfiles>
      <Transcoding>
         <!--
            remux MKV with any video to MPEG2TS and possibly change audio to ac3, also AVI anfd FLV with H264
         -->
         <Video targetContainer="mpegts" targetACodec="ac3">
            <Matches container="matroska" />
            <Matches container="avi" vCodec="h264" />
            <Matches container="flv" vCodec="h264" />
         </Video>
         <!-- all other unplayable files just transcode to mpeg2 -->
         <Video targetContainer="mpegts" targetACodec="ac3" targetVCodec="mpeg2video">
            <Matches container="flv" />
         </Video>
         <Video targetContainer="asf" targetACodec="wmav2">
            <Matches container="asf" aCodec="wmapro"/>
         </Video>
      </Transcoding>
      <LimitImageResolution>false</LimitImageResolution>
   </Profile>