FAQ  •  Register  •  Login

[SOLVED] Transcode all the files?

<<

Tarrasque

Streaming enthusiast

Posts: 23

Joined: Fri Jan 06, 2012 10:55 pm

Post Mon Feb 20, 2012 5:24 am

[SOLVED] Transcode all the files?

Hopefully I have the terminology correct. If the config file is setup, for the support client, and the file is nativity supported, it does not transcode the file, but just gets the TV to play the file. But if the file is not support, serviio transcode the file in a format tv supports?

Is there a config that serviio transcode all the files, nativily supported by the TV or not? As there are those annoying AVI's which do not correctly play with my TV, other than remuxing those certain files, just allow serviio transcode everything? (if so what would be the disadvantages with doing that?)
<<

moltra

DLNA master

Posts: 1871

Joined: Thu Mar 24, 2011 11:00 pm

Location: Ohio USA

Post Mon Feb 20, 2012 6:15 am

Re: Transcode all the files?

try the directTV DVR it transcodes everything.

disadvantages CPU load and sometimes slightly lower quality.
Mark
Beta Tester Group
http://www.serviidb.com Online media resource repository

Netgear EVA2000 | Samsung BD-D5300 | XBOX 360 | Windows 7 | Mint Debian 12 | Raxz Maxx
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

Tarrasque

Streaming enthusiast

Posts: 23

Joined: Fri Jan 06, 2012 10:55 pm

Post Mon Feb 20, 2012 7:01 am

Re: Transcode all the files?

Is there a profile which can just transcode all the files? As CPU usage isn't a problem.

Trying to avoid purchasing something like WDTV or something similar that happens to work better than native Panasonic TV capability
<<

moltra

DLNA master

Posts: 1871

Joined: Thu Mar 24, 2011 11:00 pm

Location: Ohio USA

Post Mon Feb 20, 2012 8:07 am

Re: Transcode all the files?

Yes the directTV dvr profile

Sent from my DROIDX using Tapatalk
Mark
Beta Tester Group
http://www.serviidb.com Online media resource repository

Netgear EVA2000 | Samsung BD-D5300 | XBOX 360 | Windows 7 | Mint Debian 12 | Raxz Maxx
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Mon Feb 20, 2012 11:26 am

Re: Transcode all the files?

Tarrasque wrote:Is there a profile which can just transcode all the files? As CPU usage isn't a problem.

Trying to avoid purchasing something like WDTV or something similar that happens to work better than native Panasonic TV capability


why would you wnat to do that we have some great panasonic specific profile, that will be a perfect partner to your panasonic TV and keep the great HD quality of your files.

what model panasonic do u have ?
Phil Bennett
Beta Tester Group
Wiki | FAQ

Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

Tarrasque

Streaming enthusiast

Posts: 23

Joined: Fri Jan 06, 2012 10:55 pm

Post Tue Feb 21, 2012 4:26 am

Re: Transcode all the files?

TV = UT30 (same support as E and G series as to what files it can play) Running the latest profile, but the problem is with the TV firmware, as those AVI also crash when played from a usb stick

I can not fault the serviio at all, (and recommend it) problem is with the TV, it doesn't play avi files coded with transcode correctly. As a lot of my tv shows I have (downloaded) use that program it is kind of annoying to have to remux them so it plays fine on the TV.

I will most likely just switch between the two profiles depending on what I am watching, than remux the files (easier with the phone to login to the web gui of serviio to change profiles, than remote into the server, and run mkvmerge)

Unless the programmers out there want to have some funky detect the AVI, and what program it was used transcode it, then depending on that play natively or re transcode.

I have tried to email panasonic support about the issue with the tv, but I get rather generic response. (might try and calling them and hope it doesn't go to some offshore support place)
<<

PMI

User avatar

DLNA master

Posts: 156

Joined: Tue Jan 03, 2012 3:32 am

Location: Milwaukee, Wisconsin

Post Tue Feb 21, 2012 5:31 am

Re: Transcode all the files?

Tarrasque wrote:TV = UT30 (same support as E and G series as to what files it can play) Running the latest profile, but the problem is with the TV firmware, as those AVI also crash when played from a usb stick
If your TV is similar to my set (E-series), then it supports only MKV files from USB. This is not a problem with the firmware, just a limitation of the design. With proper configuration and transcoding you can play AVI files via Serviio and DLNA, even if your TV does not support them in their native format.
Peter
Beta Tester Group
Wiki | FAQ

Panasonic Viera TC-L32E3 LCD | Panasonic DMP-BDT210 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

Tarrasque

Streaming enthusiast

Posts: 23

Joined: Fri Jan 06, 2012 10:55 pm

Post Tue Feb 21, 2012 7:17 am

Re: Transcode all the files?

PMI you re correct, only plays MKV, must have got my self mixed up when originally testing.

Any how the TV still doesn't support files played over DLNA that was written using transcode. These files do work on another dlna clients (like the nokia n900 via DLNA, I did use the generic profile, would they just play the avi/xvid with out transcoding it?).

Example the xvids of the daily show, before last week, they used transcode 1.0.4. now they using 'some super fast avi muxer' The more recent ones work, while the one which use transcode 1.0.4 do not. All other tv shows I have tried to play over dlna which failed seem to be written with transcode (all different version, but I do believe the 1.0.15 did work).

They start to play, then after a few seconds get artefacts, and pause / crash. and tv goes back to the main dlna screen.

So I still would think its a problem with the Panasonic firmware.
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Tue Feb 21, 2012 11:41 am

Re: Transcode all the files?

Tarrasque wrote:PMI you re correct, only plays MKV, must have got my self mixed up when originally testing.

Any how the TV still doesn't support files played over DLNA that was written using transcode. These files do work on another dlna clients (like the nokia n900 via DLNA, I did use the generic profile, would they just play the avi/xvid with out transcoding it?).

Example the xvids of the daily show, before last week, they used transcode 1.0.4. now they using 'some super fast avi muxer' The more recent ones work, while the one which use transcode 1.0.4 do not. All other tv shows I have tried to play over dlna which failed seem to be written with transcode (all different version, but I do believe the 1.0.15 did work).

They start to play, then after a few seconds get artefacts, and pause / crash. and tv goes back to the main dlna screen.

So I still would think its a problem with the Panasonic firmware.


ok tarrasque your not listening to us this device can be made to work if you use one of the panasonic specific profiles we have created.

  Code:
    <Profile id="24" name="Panasonic Viera (2011) With AVI Support" extendsProfileId="1">
        <ContentDirectoryMessageBuilder>org.serviio.upnp.service.contentdirectory.PacketVideoDLNAMessageBuilder</ContentDirectoryMessageBuilder>
        <SubtitlesMimeType>text/srt</SubtitlesMimeType>
        <MediaFormatProfiles>
           <MediaFormatProfile mime-type="video/divx">AVI</MediaFormatProfile>
        </MediaFormatProfiles>
        <Transcoding>
      <!-- Transcode h264 videos with profile level > 4.1 to mpegts with ac3 audio -->
      <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" >
         <Matches container="avi" vCodec="h264" profile="high" levelGreaterThan="4.2" />
         <Matches container="avi" vCodec="h264" profile="main" levelGreaterThan="4.2" />
         <Matches container="mp4" vCodec="h264" profile="high" levelGreaterThan="4.2" />
         <Matches container="mp4" vCodec="h264" profile="main" levelGreaterThan="4.2" />
         <Matches container="matroska" vCodec="h264" profile="high" levelGreaterThan="4.2" />
         <Matches container="matroska" vCodec="h264" profile="main" levelGreaterThan="4.2" />
      </Video>
           <!-- remux VORBIS/FLAC/LPCM in MKV/MP4 to AC3 -->
           <Video targetContainer="mpegts" targetACodec="ac3" >
              <Matches container="matroska" vCodec="h264" aCodec="flac" />
              <Matches container="matroska" vCodec="h264" aCodec="vorbis" />
              <Matches container="matroska" vCodec="h264" aCodec="truehd" />
              <Matches container="mp4" vCodec="h264" aCodec="lpcm"/>
              <Matches container="mp4" vCodec="h264" aCodec="aac"/>
              <Matches container="3gp" vCodec="h264" />
           </Video>
           <!-- Remux MPEG-TS with no transcoding -->
           <Video targetContainer="mpegts">
              <Matches container="avi" vCodec="h264" />
              <Matches container="mp4" vCodec="h264" />
              <Matches container="matroska" vCodec="mpeg2video"/>
           </Video>
           <!-- Remux WTV files to MPEG-PS with no transcoding-->
           <Video targetContainer="mpeg">
              <Matches container="wtv" />
           </Video>
           <!-- unsupported codecs will be transcoded into mpeg-ts, mpeg2 video and ac3 audio -->
           <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3">           
              <Matches container="avi" vCodec="mjpeg" />
              <Matches container="avi" vCodec="dvvideo" />
              <Matches container="mp4" vCodec="mjpeg" />
              <Matches container="mp4" vCodec="mpeg4" />
         <Matches container="mpeg" vCodec="mpeg1video" />
         <Matches container="matroska" vCodec="mpeg4" />
              <Matches container="asf" />
              <Matches container="flv" />
              <Matches container="ogg" />
              <Matches container="3gp" />
           </Video>
           <!-- unsupported audio will be transcoded into lpcm audio -->
           <Audio targetContainer="lpcm">
              <Matches container="flac" />
              <Matches container="ogg" />
              <Matches container="asf" />
              <Matches container="adts" />
           </Audio>
        </Transcoding>     
    </Profile>


add that to your profiles.xml file and it should work, if it doesnt then try this profile.

  Code:
    <Profile id="24" name="Panasonic Viera (2011) Without AVI Support" extendsProfileId="1">
       <ContentDirectoryMessageBuilder>org.serviio.upnp.service.contentdirectory.PacketVideoDLNAMessageBuilder</ContentDirectoryMessageBuilder>
        <SubtitlesMimeType>text/srt</SubtitlesMimeType>
        <Transcoding>
      <!-- Transcode h264 videos with profile level > 4.1 to mpegts with ac3 audio -->
      <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" >
         <Matches container="mp4" vCodec="h264" profile="high" levelGreaterThan="4.2" />
         <Matches container="mp4" vCodec="h264" profile="main" levelGreaterThan="4.2" />
         <Matches container="matroska" vCodec="h264" profile="high" levelGreaterThan="4.2" />
         <Matches container="matroska" vCodec="h264" profile="main" levelGreaterThan="4.2" />
      </Video>
           <!-- remux VORBIS/FLAC/LPCM in MKV/MP4 to AC3 -->
           <Video targetContainer="mpegts" targetACodec="ac3" >
              <Matches container="matroska" vCodec="h264" aCodec="flac" />
              <Matches container="matroska" vCodec="h264" aCodec="vorbis" />
              <Matches container="matroska" vCodec="h264" aCodec="truehd" />
              <Matches container="mp4" vCodec="h264" aCodec="lpcm"/>
              <Matches container="mp4" vCodec="h264" aCodec="aac"/>
              <Matches container="3gp" vCodec="h264" />
           </Video>
           <!-- Remux MPEG-TS with no transcoding -->
           <Video targetContainer="mpegts">
              <Matches container="mp4" vCodec="h264" />
              <Matches container="matroska" vCodec="mpeg2video"/>
           </Video>
           <!-- Remux WTV files to MPEG-PS with no transcoding-->
           <Video targetContainer="mpeg">
              <Matches container="wtv" />
           </Video>
           <!-- unsupported codecs will be transcoded into mpeg-ts, mpeg2 video and ac3 audio -->
           <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3">           
              <Matches container="avi" />
              <Matches container="mp4" vCodec="mjpeg" />
              <Matches container="mp4" vCodec="mpeg4" />
         <Matches container="mpeg" vCodec="mpeg1video" />
         <Matches container="matroska" vCodec="mpeg4" />
              <Matches container="asf" />
              <Matches container="flv" />
              <Matches container="ogg" />
              <Matches container="3gp" />
           </Video>
           <!-- unsupported audio will be transcoded into lpcm audio -->
           <Audio targetContainer="lpcm">
              <Matches container="flac" />
              <Matches container="ogg" />
              <Matches container="asf" />
              <Matches container="adts" />
           </Audio>
        </Transcoding>     
    </Profile>


if they both dont work then its the program your using to make the files and NOT serviio or the TV.
Phil Bennett
Beta Tester Group
Wiki | FAQ

Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

Tarrasque

Streaming enthusiast

Posts: 23

Joined: Fri Jan 06, 2012 10:55 pm

Post Tue Feb 21, 2012 12:48 pm

Re: Transcode all the files?

I am currently using the Panasonic Viera with AVI support. and most avi's do play with out any issues, except the ones which are encoded using transcode 1.0.4 / 1.0.6 and other versions.

Which I am assuming is this program
http://www.transcoding.org/transcode?Download
http://tcforge.berlios.de/

The only files which seem to have errors while playing seem to all be encoded via transcode.

As the those AVI's play fine via serviio on the Nokia n900 and iPhone. I can then assume that its the AVI encoded via transcode and the Panasonic TV compatibility issue.

For now I just easily switch between the two profiles, with any of those AVI's which crash.
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Tue Feb 21, 2012 12:51 pm

Re: Transcode all the files?

Try to change the FourCC parameter : http://wiki.serviio.org/doku.php?id=avi4cc
or
Try to check the avi/divx source file with repair tool: http://wiki.serviio.org/doku.php?id=avirepair
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

Tarrasque

Streaming enthusiast

Posts: 23

Joined: Fri Jan 06, 2012 10:55 pm

Post Tue Feb 21, 2012 1:59 pm

Re: Transcode all the files?

Avi fix worked, but still in the end have the same problem. Either run the file I want to watch thru a program first (Avi fix or mkvmerge) or swap profiles.
<<

PMI

User avatar

DLNA master

Posts: 156

Joined: Tue Jan 03, 2012 3:32 am

Location: Milwaukee, Wisconsin

Post Tue Feb 21, 2012 4:44 pm

Re: Transcode all the files?

OK, I will look into this at my end, since I have a similar set, but what I don't understand, is are you encoding the AVI files yourself, or are they downloaded from somewhere? You mentioned the Daily show, like you download it in this format?

Also, if you have an avi file which does not play using either profile, can you post the Media Info in text form for that file?

I ask this b/c although our sets support mkv files, they do not support ALL mkv files, and some still have to be transcoded because of a memory limitation of our set. So, if by some chance you have an AVI file which runs into the same kind of issue, the rest of us with Panasonic gear would like to know about it, not just find a workaround that fixes your particular issue...

Thanks, :)
Peter
Beta Tester Group
Wiki | FAQ

Panasonic Viera TC-L32E3 LCD | Panasonic DMP-BDT210 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Tue Feb 21, 2012 5:13 pm

Re: Transcode all the files?

PMI wrote:OK, I will look into this at my end, since I have a similar set, but what I don't understand, is are you encoding the AVI files yourself, or are they downloaded from somewhere? You mentioned the Daily show, like you download it in this format?

Also, if you have an avi file which does not play using either profile, can you post the Media Info in text form for that file?

I ask this b/c although our sets support mkv files, they do not support ALL mkv files, and some still have to be transcoded because of a memory limitation of our set. So, if by some chance you have an AVI file which runs into the same kind of issue, the rest of us with Panasonic gear would like to know about it, not just find a workaround that fixes your particular issue...

Thanks, :)


its nothing special about pansonic gear its just there alot of badly encoded avi file flying about atm, that have to be fixed before they can be streamed.
Phil Bennett
Beta Tester Group
Wiki | FAQ

Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

PMI

User avatar

DLNA master

Posts: 156

Joined: Tue Jan 03, 2012 3:32 am

Location: Milwaukee, Wisconsin

Post Wed Feb 22, 2012 9:43 pm

Re: Transcode all the files?

See below for the Media Info for the AVI file in question. The file was downloaded from a popular web site for TV shows.
See http://eztv.it/ and, there seem to be more just like it... :(

I can confirm that the file WILL play when transcoded in the profile for VIERA without AVI support (like mine).

I can't test it playing in native format, someone who owns a VIERA TV set that supports other AVI's would have to do that.
Attachments
The_Daily_Show_AVI_0.txt
(2.64 KiB) Downloaded 502 times
Last edited by PMI on Wed Feb 22, 2012 10:30 pm, edited 1 time in total.
Peter
Beta Tester Group
Wiki | FAQ

Panasonic Viera TC-L32E3 LCD | Panasonic DMP-BDT210 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Wed Feb 22, 2012 9:51 pm

Re: Transcode all the files?

not sure why we are continuing this topic, as its not cause by serviio but by badly encoded avi files as i stated above, and a fix has been given to solve this.
Phil Bennett
Beta Tester Group
Wiki | FAQ

Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

Tarrasque

Streaming enthusiast

Posts: 23

Joined: Fri Jan 06, 2012 10:55 pm

Post Sun Feb 26, 2012 11:27 am

Re: Transcode all the files?

To give this thread conclusion. I created a batch file that run divfix to the file, and as divfix creates a new file the batch file then renames it back to the original file name. Also a similar batch file that can be run to fix up all the files in a folder.

Return to Transcoding

Who is online

Users browsing this forum: No registered users and 16 guests

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