Page 1 of 1

Unable to play avi on Sony 40HX850 (India)

PostPosted: Sat Jan 05, 2013 10:50 am
by mandards
Hi,

I have one AVI file which I am not able to play at all on Sony 40HX850. I converted it to wmv, but still it won't play. I keep getting 'Playback no available'. As I read somewhere on this forum, following is the ffmpeg output for the file,

Kindly advise what could be going wrong at my end. Please let me know if any questions.

Thanks in advance,
Mandar

Following is the output for the AVI file
  Code:
ffmpeg version N-42368-gbf53863 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jul 10 2012 03:40:45 with gcc 4.6.3
  configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-librtmp --extra-libs='
-lrtmp -lpolarssl -lws2_32 -lwinmm' --arch=x86 --enable-runtime-cpudetect --enab
le-pthreads --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --pkg-config=pk
g-config
  libavutil      51. 64.100 / 51. 64.100
  libavcodec     54. 33.100 / 54. 33.100
  libavformat    54. 15.102 / 54. 15.102
  libavdevice    54.  1.100 / 54.  1.100
  libavfilter     3.  1.100 /  3.  1.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
[avi @ 0036BEA0] non-interleaved AVI
Input #0, avi, from 'D:\Data\Videos\TerrificMovie_avi.avi':
  Metadata:
    encoder         : AVI-Mux GUI 1.17.8.3, Feb 16 201019:42:50
    JUNK            :
  Duration: 01:33:10.01, start: 0.000000, bitrate: 2093 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv
420p, 720x400 [SAR 1:1 DAR 9:5], 23.98 tbr, 23.98 tbn, 23.98 tbc
    Stream #0:1: Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz, stereo, s16, 192 kb
/s
    Metadata:
      title           : kkk
At least one output file must be specified


Following is the output for the converted WMV file
  Code:
ffmpeg version N-42368-gbf53863 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jul 10 2012 03:40:45 with gcc 4.6.3
  configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-librtmp --extra-libs='
-lrtmp -lpolarssl -lws2_32 -lwinmm' --arch=x86 --enable-runtime-cpudetect --enab
le-pthreads --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --pkg-config=pk
g-config
  libavutil      51. 64.100 / 51. 64.100
  libavcodec     54. 33.100 / 54. 33.100
  libavformat    54. 15.102 / 54. 15.102
  libavdevice    54.  1.100 / 54.  1.100
  libavfilter     3.  1.100 /  3.  1.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
Guessed Channel Layout for  Input Stream #0.1 : stereo
Input #0, asf, from 'D:\Data\Videos\TerrificMovie_wmv.wmv':
  Metadata:
    WM/EncodingTime : 18446744á¬é¬
                    : ¿*á¬é¬
                    : ¿*á¬é¬
                    : ¿*á¬é¬
                    : ¿*á¬é¬┘?ù?wwɺ*?É─~?*á¬é¬
                    : ¿?
    IsVBR           : 0
    MediaFoundationVersion: 2.112
  Duration: 01:33:07.68, start: 0.000000, bitrate: 7243 kb/s
    Stream #0:0: Video: wmv2 (WMV2 / 0x32564D57), yuv420p, 720x400, SAR 1:1 DAR
9:5, 29.97 tbr, 1k tbn, 1k tbc
    Stream #0:1: Audio: wmav1 ([96][1][0][0] / 0x0160), 44100 Hz, stereo, s16, 1
92 kb/s
At least one output file must be specified

Re: Unable to play avi on Sony 40HX850 (India)

PostPosted: Sat Jan 05, 2013 10:54 am
by mandards
Additional info that I forgot to paste in the previous post. I have another XVid AVI file which plays ok. Following is the ffmpeg output for the same. What surprises me is that though both the files are XVid AVI, previous one doesn't play but this one plays ok.

Thanks in advance,
Mandar

  Code:
ffmpeg version N-42368-gbf53863 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jul 10 2012 03:40:45 with gcc 4.6.3
  configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-librtmp --extra-libs='
-lrtmp -lpolarssl -lws2_32 -lwinmm' --arch=x86 --enable-runtime-cpudetect --enab
le-pthreads --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --pkg-config=pk
g-config
  libavutil      51. 64.100 / 51. 64.100
  libavcodec     54. 33.100 / 54. 33.100
  libavformat    54. 15.102 / 54. 15.102
  libavdevice    54.  1.100 / 54.  1.100
  libavfilter     3.  1.100 /  3.  1.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
[mp2 @ 039D6020] Header missing
Input #0, avi, from 'D:\Data\Videos\sample.avi':
  Duration: 00:00:37.03, start: 0.000000, bitrate: 2428 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv
420p, 720x400 [SAR 1:1 DAR 9:5], 23.98 tbr, 23.98 tbn, 23.98 tbc
    Stream #0:1: Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz, stereo, s16, 192 kb
/s
At least one output file must be specified

Re: Unable to play avi on Sony 40HX850 (India)

PostPosted: Sat Jan 05, 2013 3:17 pm
by mandards
Seems I got a hack for this thing to work. Somewhere on this forum (after I posted the original post in this thread), I learnt about faking the Sony profile as "Sony Bravia TV (2010)" instead of "Sony Bravia TV (2012)". And bingo, it worked!

Checking the profile.xml file, I see that Sony Bravia TV (2010) extends The "sony2011" profile section which in turn extends the "sony2012" profile section. Essentially, I think there is some transcoding directive in sony2010 which is not there in sony2012.

Being a newbie, really appreciate how to go about analyzing this missing part. Also I was wondering why the inheritance has been set in reverse order i.e. 2010 <- 2011 <- 2012. Wanted to understand the technical implications behind the same.

Thanks for any directions.

Mandar

Re: Unable to play avi on Sony 40HX850 (India)

PostPosted: Sun Jan 06, 2013 2:48 pm
by Illico
mandards wrote:Being a newbie, really appreciate how to go about analyzing this missing part. Also I was wondering why the inheritance has been set in reverse order i.e. 2010 <- 2011 <- 2012. Wanted to understand the technical implications behind the same.

2012 model supports more format in natiive than 2011 and 2010 (divx,wmv,etc), so a profile is created for the most recent (2012), then for older profile inheritance has been set an we add transcoding section for format not supported in native.

If I compare your two avi files, video and audio codec seems similar, but avi container transcoders are different (encoder : AVI-Mux GUI 1.17.8.3), it's probably the source of your problem.
You can use MediaInfo tool result to see more details

You can also check with this toold :http://wiki.serviio.org/doku.php?id=avirepair