FAQ  •  Register  •  Login

how to force transcoding of vob files

<<

hennys

DLNA master

Posts: 119

Joined: Tue Sep 21, 2010 7:13 am

Post Fri Feb 11, 2011 8:47 pm

how to force transcoding of vob files

HI,

I tried to adjust my samsung c-series profile to transcode vob files always in an attempt to get audio and video in sync (it is at the pc, but not at the tv) . but now i get unsupported media type at the tv and the following error on the log:


2011-02-11 21:35:47,128 WARN [ProcessExecutor] Process C:\Program Files (x86)\Serviio\lib/ffmpeg.exe has a return code of 1! This is a possible error.
2011-02-11 21:35:47,351 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: FFmpeg execution failed
java.io.IOException: FFmpeg execution failed
at org.serviio.delivery.resource.VideoDeliveryEngine.retrieveTranscodedResource(VideoDeliveryEngine.java:160)
at org.serviio.delivery.resource.VideoDeliveryEngine.retrieveTranscodedResource(VideoDeliveryEngine.java:54)
at org.serviio.delivery.resource.AbstractDeliveryEngine.deliver(AbstractDeliveryEngine.java:90)
at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResource(MediaResourceRetrievalStrategy.java:116)
at org.serviio.upnp.webserver.ResourceTransportRequestHandler.handleRequest(ResourceTransportRequestHandler.java:126)
at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:52)
at org.apache.http.protocol.HttpService.doService(HttpService.java:293)
at org.serviio.upnp.webserver.ServiioHttpService.doService(ServiioHttpService.java:58)
at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:212)
at org.serviio.upnp.webserver.WebServer$WorkerThread.run(WebServer.java:187)

The part in my profile (which is probably wrong to transcode the vob files is:

<!-- For vob files out of sync -->
<Video targetContainer="mpeg" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="256" forceVTranscoding="true">
<Matches container="mpeg" />
</Video>
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat Feb 12, 2011 11:29 am

Re: how to force transcoding of vob files

that looks ok to me. post the ffmpeg command that is invoked (and fails)
<<

hennys

DLNA master

Posts: 119

Joined: Tue Sep 21, 2010 7:13 am

Post Sat Feb 12, 2011 9:14 pm

Re: how to force transcoding of vob files

zip wrote:that looks ok to me. post the ffmpeg command that is invoked (and fails)


I tried to put it back in the profiles.xml, but now it isn't transcoding:

"2011-02-12 22:12:05,346 DEBUG [VideoDeliveryEngine] Delivering file 'Amika S02E17.VOB' in native format"

I have attached my profiles.xml. perhaps I put in in the wrong place ?

regards,
Hen
Attachments
profiles.zip
(4.03 KiB) Downloaded 341 times
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Feb 13, 2011 12:40 pm

Re: how to force transcoding of vob files

which profile?
<<

hennys

DLNA master

Posts: 119

Joined: Tue Sep 21, 2010 7:13 am

Post Sun Feb 13, 2011 2:36 pm

Re: how to force transcoding of vob files

samsung c-series (see the vob comment)
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Feb 13, 2011 3:21 pm

Re: how to force transcoding of vob files

It's in the right place, but commented out. Enable it and restart Serviio, it should then transcode.
<<

hennys

DLNA master

Posts: 119

Joined: Tue Sep 21, 2010 7:13 am

Post Sun Feb 13, 2011 3:29 pm

Re: how to force transcoding of vob files

zip wrote:It's in the right place, but commented out. Enable it and restart Serviio, it should then transcode.


I cannot detect where it's commented out. Imho only the comment line, is commented out and the profile setting is active ?

Regards,

Hen
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Feb 13, 2011 3:52 pm

Re: how to force transcoding of vob files

You have this:

  Code:
<!-- For vob files out of sync -amika?
  <Video targetContainer="mpeg" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="256" forceVTranscoding="true">
    <Matches container="mpeg" />
  </Video> -->


Has to be :

  Code:
<!-- For vob files out of sync -amika? -->
  <Video targetContainer="mpeg" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="256" forceVTranscoding="true">
    <Matches container="mpeg" />
  </Video>
<<

hennys

DLNA master

Posts: 119

Joined: Tue Sep 21, 2010 7:13 am

Post Sun Feb 13, 2011 4:19 pm

Re: how to force transcoding of vob files

zip wrote:You have this:

  Code:
<!-- For vob files out of sync -amika?
  <Video targetContainer="mpeg" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="256" forceVTranscoding="true">
    <Matches container="mpeg" />
  </Video> -->


Has to be :

  Code:
<!-- For vob files out of sync -amika? -->
  <Video targetContainer="mpeg" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="256" forceVTranscoding="true">
    <Matches container="mpeg" />
  </Video>


I see now, I edited the B-series profile and enabled it there :S...

I will enable the c-series and see what commandline comes up for the failed transcode.

Regards,

Hen
<<

hennys

DLNA master

Posts: 119

Joined: Tue Sep 21, 2010 7:13 am

Post Sun Feb 13, 2011 9:12 pm

Re: how to force transcoding of vob files

zip wrote:that looks ok to me. post the ffmpeg command that is invoked (and fails)


Hi zip,

The command line that is being invoked is:

2011-02-13 22:08:03,839 DEBUG [ProcessExecutor] Starting C:\Program Files (x86)\Serviio\lib/ffmpeg.exe -threads 3 -i J:\Kids\amika\Seizoen 2\Amika S02E08.VOB -y -vcodec mpeg2video -sameq -r 25.0 -g 15 -copyts -acodec copy -map 0:0 -map 0:1 -sn -f vob d:\temp\Serviio\transcoding-temp-47-MPEG2PS.stf

The ffmpeg reply to the command line is:

FFmpeg version UNKNOWN, Copyright (c) 2000-2011 the FFmpeg developers
built on Jan 10 2011 21:46:22 with gcc 4.4.2
configuration: --enable-static --disable-shared --disable-shared --disable-ffplay --disable-ffserver --enable-memalign
-hack --enable-libmp3lame --arch=x86 --enable-runtime-cpudetect --enable-w32threads --target-os=mingw32 --cross-prefix=i
686-mingw32-
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
[mpeg @ 0104ec10] max_analyze_duration reached
Input #0, mpeg, from 'J:\Kids\amika\Seizoen 2\Amika S02E08.VOB':
Duration: 01:16:36.81, start: 5351.784000, bitrate: 608 kb/s
Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x576 [PAR 64:45 DAR 16:9], 6500 kb/s, 25 fps, 25 tbr, 90k tbn, 50
tbc
Stream #0.1[0x80]: Audio: ac3, 48000 Hz, stereo, s16, 224 kb/s
[buffer @ 01064b00] w:720 h:576 pixfmt:yuv420p
[vob @ 01062e70] VBV buffer size not set, muxing may fail
Output #0, vob, to 'd:\temp\Serviio\transcoding-temp-47-MPEG2PS.stf':
Metadata:
encoder : Lavf52.92.0
Stream #0.0: Video: mpeg2video, yuv420p, 720x576 [PAR 64:45 DAR 16:9], q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream #0.1: Audio: ac3, 48000 Hz, stereo, 224 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop encoding
[mpeg2video @ 0163f4b0] warning: first frame is no keyframe
Last message repeated 1 times
[vob @ 01062e70] st:1 error, non monotone timestamps 54720 >= 51840
[vob @ 01062e70] st:1 error, pts < dts
av_interleaved_write_frame(): Operation not permitted
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Feb 13, 2011 10:36 pm

Re: how to force transcoding of vob files

interesting... the stream is dodgy.

try this in the profile:

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


or this:

  Code:
<Video targetContainer="mpegts" >
    <Matches container="mpeg" />
  </Video>
<<

hennys

DLNA master

Posts: 119

Joined: Tue Sep 21, 2010 7:13 am

Post Mon Feb 14, 2011 6:53 pm

Re: how to force transcoding of vob files

zip wrote:interesting... the stream is dodgy.

try this in the profile:

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


or this:

  Code:
<Video targetContainer="mpegts" >
    <Matches container="mpeg" />
  </Video>


neither works :(

regards,

Hen
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Feb 14, 2011 7:43 pm

Re: how to force transcoding of vob files

what do you mean?
<<

hennys

DLNA master

Posts: 119

Joined: Tue Sep 21, 2010 7:13 am

Post Mon Feb 14, 2011 8:32 pm

Re: how to force transcoding of vob files

zip wrote:what do you mean?


I tried both of your suggestions, but both render the file unplayable on the tv.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Feb 14, 2011 9:58 pm

Re: how to force transcoding of vob files

any errors in the log?

Return to Transcoding

Who is online

Users browsing this forum: No registered users and 17 guests

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