FAQ  •  Register  •  Login

wmv2 and mpeg4 (DX50) avi transcoding

<<

val

Serviio newbie

Posts: 2

Joined: Mon Jul 16, 2012 9:44 am

Post Tue Aug 07, 2012 12:18 am

wmv2 and mpeg4 (DX50) avi transcoding

Hi.

I'm having a little trouble creating some transcoding thingies (or whatever the term is called) for a Samsung UE 40 ES5500 TV.

First one is for wmv2 files. When trying to play them through serviio, the TV comes back with the error 'The file format is not supported'.

So I created this

  Code:
<Video targetContainer="mpegts" targetACodec="ac3" targetVCodec="mpeg2video" forceVTranscoding="true">
            <Matches container="wmv" />
         </Video>


in the C/D/E profile but this would cause the serviio service in Windows 7 services would continually turn itself off when I restarted it.

Looking in the serviio log it reported this error:

  Code:
2012-08-07 00:34:31,853 ERROR [XmlUtils] XML Profiles.xsd didn't pass validation, reason: cvc-enumeration-valid: Value 'wmv' is not facet-valid with respect to enumeration '[*, mp4, asf, mpegvideo, mpeg, mpegts, matroska, avi, flv, wtv, ogg, 3gp, rtp, rtsp, applehttp]'. It must be a value from the enumeration.
2012-08-07 00:34:31,854 ERROR [MediaServer] An unexpected error occured. Ending the application. Message: org.serviio.profile.ProfilesDefinitionException: Profiles XML file is not valid (according to the schema). Check the log.
java.lang.RuntimeException: org.serviio.profile.ProfilesDefinitionException: Profiles XML file is not valid (according to the schema). Check the log.
   at org.serviio.profile.ProfileManager.parseProfilesFromFile(ProfileManager.java:183)
   at org.serviio.profile.ProfileManager.loadProfiles(ProfileManager.java:156)
   at org.serviio.MediaServer.main(MediaServer.java:112)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
   at com.exe4j.runtime.WinLauncher$2.run(Unknown Source)
Caused by: org.serviio.profile.ProfilesDefinitionException: Profiles XML file is not valid (according to the schema). Check the log.
   at org.serviio.profile.ProfilesDefinitionParser.validateXML(ProfilesDefinitionParser.java:868)
   at org.serviio.profile.ProfilesDefinitionParser.parseDefinition(ProfilesDefinitionParser.java:138)
   at org.serviio.profile.ProfileManager.parseProfilesFromFile(ProfileManager.java:181)
   ... 8 more


When I removed the addition transcode thingie I added it would start normally.

So, I'm really stuck on how to get files with the wmv2 codec to work.

This is the output from the kind of the offending wmv file:

  Code:
  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.0 : stereo
Input #0, asf, from 'E:\wmvNoPlay.wmv':
  Metadata:
    title           : wmvNoPlay
    WMFSDKVersion   : 11.0.5721.5145
    WMFSDKNeeded    : 0.0.0.0000
    VBR Peak        : 19610.0000
    Buffer Average  : 68720.0000
    IsVBR           : 1
  Duration: 00:21:34.17, start: 0.000000, bitrate: 630 kb/s
    Stream #0:0(eng): Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, stereo, s16,
 64 kb/s
    Stream #0:1(eng): Video: wmv2 (WMV2 / 0x32564D57), yuv420p, 480x352, 797 kb/
s, 29.97 tbr, 1k tbn, 1k tbc
At least one output file must be specified.



Second is mpeg4 (DX50) avi's. These avi's return the error 'The selected file is not currently supported
' on my TV.

ffmeg output for this file/codec is:

  Code:
  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
[mpeg4 @ 0142C400] Invalid and inefficient vfw-avi packed B frames detected
Input #0, avi, from 'E:\aviNoPlay.avi':
  Metadata:
    encoder         : Nandub v1.0rc2
  Duration: 01:22:44.84, start: 0.000000, bitrate: 1138 kb/s
    Stream #0:0: Video: mpeg4 (DX50 / 0x30355844), yuv420p, 544x416 [SAR 1:1 DAR
 17:13], 25 fps, 25 tbr, 25 tbn, 30k tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16, 128 kb
/s
At least one output file must be specified


Any suggestions how I can get these file to transcode?

Any help will be greatly appreciated.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Aug 07, 2012 3:37 pm

Re: wmv2 and mpeg4 (DX50) avi transcoding

As the log states:

  Code:
 Value 'wmv' is not facet-valid with respect to enumeration '[*, mp4, asf, mpegvideo, mpeg, mpegts, matroska, avi, flv, wtv, ogg, 3gp, rtp, rtsp, applehttp]'. It must be a value from the enumeration.


You have to match on asf container, not wmv.

Return to Transcoding

Who is online

Users browsing this forum: No registered users and 27 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.