FAQ  •  Register  •  Login

Can't fast forward, skip etc when transcoding movies.

<<

mightymouse2045

Streaming enthusiast

Posts: 45

Joined: Sun Jan 15, 2012 11:16 am

Post Sun Dec 15, 2013 11:57 am

Can't fast forward, skip etc when transcoding movies.

Hi there,

I can't fast forward with any movie that's being transcoded...

This is the command being run:

ffmpeg -threads auto -i "/data1/Movies/1.Animation/Wall-E/Wall-e 2008 720p dts.mkv" -y -threads auto -c:v wmv2 -b:v 5000k -maxrate:v 5000k -bufsize:v 5000k -r 24000/1001 -g 15 -c:a wmav2 -b:a 192k -ac 2 -map 0:0 -map 0:1 -sn -f asf /tmp/Serviio/transcoding-temp-test.stf

If I run that manually and open it in vlc, it's same result I can't fast forward or skip or time jump.

My version of ffmpeg is from latest git build from a week ago.

Can anyone help me out? Is it the ffmpeg version or the ffmpeg command, or something else?

Here's my profile:

  Code:
   <Profile id="MyTablet" name="Samsung Galaxy Tab 10.1" extendsProfileId="1">
      <ContentDirectoryMessageBuilder>org.serviio.upnp.service.contentdirectory.SamsungDLNAMessageBuilder</ContentDirectoryMessageBuilder>
        <ResourceTransportProtocolHandler>org.serviio.upnp.protocol.http.transport.SamsungWiseLinkProtocolHandler</ResourceTransportProtocolHandler>
      <Detection>
         <UPnPSearch>
            <FriendlyName>GT-N7100</FriendlyName>            
            <ModelNumber>(1\.0)|(AllShare1\.0)</ModelNumber>
          </UPnPSearch>
      </Detection>
      <DeviceDescription>
         <FriendlyName>meServiio</FriendlyName>
      </DeviceDescription>
      <Transcoding>
         <!-- if audio is DTS,DolbyTrueHD, audio must be transcoded -->
          <Video targetContainer="asf" targetVCodec="wmv2" targetACodec="wmav2" maxVBitrate="2440" forceStereo="true" maxHeight="720">
             <Matches container="*" aCodec="dca" />
            < Matches container="*" aCodec="truehd" />
          </Video>
          <Audio targetContainer="mp3">
            <Matches container="flac" />
            <Matches container="ogg" />
            <Matches container="adts" />
            <Matches container="mp4" />
         </Audio>         
      </Transcoding>
      <OnlineTranscoding keepStreamOpen="false">
         <Video targetContainer="asf" targetVCodec="wmv2" targetACodec="wmav2" maxVBitrate="2440" forceStereo="true" maxHeight="720">
            <Matches container="*"/>
         </Video>
      </OnlineTranscoding>
   </Profile>
<<

mightymouse2045

Streaming enthusiast

Posts: 45

Joined: Sun Jan 15, 2012 11:16 am

Post Sun Dec 15, 2013 5:56 pm

Re: Can't fast forward, skip etc when transcoding movies.

mightymouse2045 wrote:Hi there,

I can't fast forward with any movie that's being transcoded...

This is the command being run:

ffmpeg -threads auto -i "/data1/Movies/1.Animation/Wall-E/Wall-e 2008 720p dts.mkv" -y -threads auto -c:v wmv2 -b:v 5000k -maxrate:v 5000k -bufsize:v 5000k -r 24000/1001 -g 15 -c:a wmav2 -b:a 192k -ac 2 -map 0:0 -map 0:1 -sn -f asf /tmp/Serviio/transcoding-temp-test.stf

If I run that manually and open it in vlc, it's same result I can't fast forward or skip or time jump.

My version of ffmpeg is from latest git build from a week ago.

Can anyone help me out? Is it the ffmpeg version or the ffmpeg command, or something else?



Ok I just did a full static build for all versions of dependencies mentioned in the readme file for Serviio, and -Dffmpeg.location=/opt/serviio/bin/ffmpeg

So I have a dedicated build of, libass, rtmp, ffmpeg, x264 etc etc just for serviio, but still same problem. I can't fast forward etc when encoding.

So yeah any ideas would be appreciated....
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Dec 15, 2013 6:53 pm

Re: Can't fast forward, skip etc when transcoding movies.

When transcoding, Serviio only supports time based seek (not byte based seek), which in DLNA is optional. So it's possible your device doesn't support it.
<<

mightymouse2045

Streaming enthusiast

Posts: 45

Joined: Sun Jan 15, 2012 11:16 am

Post Mon Dec 16, 2013 6:42 am

Re: Can't fast forward, skip etc when transcoding movies.

zip wrote:When transcoding, Serviio only supports time based seek (not byte based seek), which in DLNA is optional. So it's possible your device doesn't support it.


Ok so it seems that encoding in asf is what is causing it.

If I encode in mpegts, then I can seek (time based increments).

Ok so we can close this thread out and I'll wait for my other thread to be answered about encoding options http://forum.serviio.org/viewtopic.php?f=7&t=15090, specifically the thread part, because that is why I encode with asf as opposed to x264, or mp4 etc

Return to Transcoding

Who is online

Users browsing this forum: No registered users and 5 guests

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