FAQ  •  Register  •  Login

[SOLVED] mpegts decoding, Sony BD-player does not replay

<<

Janiporo

Streaming enthusiast

Posts: 28

Joined: Mon Mar 19, 2012 2:05 pm

Post Wed Jun 22, 2016 7:49 pm

[SOLVED] mpegts decoding, Sony BD-player does not replay

Hardware:
-Sony BDP-S4100 / BD-player / BDP-Sx100 profile
-Sony BDP-S4500 / BD-player / BDP-Sx100 profile
-Kodi on Linux Ubuntu 14.04 / BDP-Sx100 profile
-Kodi on Linux Mint 17.1 / BDP-Sx100 profile

What am I trying to do:
-Decode AAC 5.1-audio files to AC3 5.1 / My player or amplifier does not support AAC 5.1 sound, AAC comes out as stereo.

Problem:
-If I hit play, everything is fine (after modding file, more of that below), when I hit stop and play again, nothing happens. So I can not continue watching where I left off. I can however play another file in between, and the original file works again, once. Rebooting the player does the same.


If I set the following to the /config/profiles.xml like so: (screenshot --> http://kuvapilvi.fi/k/yw5X.jpg )

  Code:
            <!-- transcode all surround audio types to ac3 -->
         <Video targetContainer="m2ts" targetACodec="ac3" aBitrate="320" >
               <Matches container="*" vCodec="h264" aCodec="aac" />
               <Matches container="*" vCodec="h264" aCodec="dca" />
               <Matches container="*" vCodec="h264" aCodec="truehd" />
         </Video>


...then video plays with both machines correctly with AC3 5.1 audio. If I set container to mpegts (as it is originally) S4500 will not play it for some reason, just freezes (S4100 plays just fine), S4500 supports more codecs than S4100, so it should work, but does not.


So, how can I make this replay to work? Any ideas? It worked before (S4100-player only, using mpegts-option) when I used: ppa:kirillshkrogalev/ffmpeg-next -repo and FFmpeg version 7:2.4.3-1ubuntu1~trusty6, and now it is version "N-80283-g84efdab" ??

Both Kodi:s play everything fine with same profile

here is output of ffmpeg-command:

  Code:
ffmpeg version N-80283-g84efdab Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
  configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --mandir=/usr/share/man --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libfreetype --enable-gnutls --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvidstab
  libavutil      55. 24.100 / 55. 24.100
  libavcodec     57. 46.100 / 57. 46.100
  libavformat    57. 37.101 / 57. 37.101
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 46.101 /  6. 46.101
  libavresample   3.  0.  0 /  3.  0.  0
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...


For some reason I think this is now still the compiled version of ffmpeg, I do not understand,, I can not see FFmpeg in synaptic, and that version is strange, it used to be 3.0.0 with this repo like 4 days ago.

This is what I did when removed compiled FFmeg and installed repo FFmpeg (did not reboot it in between, should I have?) --> viewtopic.php?f=7&t=22131#p109299

Should I just reinstall the whole os and start over? Or is there any help available? Reinstalling it is really annoying, I have so many tweaks in it. And I ONLY have this one annoying problem. All 3 attempts to build from source failed to play ANY files when decoded.
Last edited by Janiporo on Fri Jun 24, 2016 2:54 pm, edited 1 time in total.
<<

Janiporo

Streaming enthusiast

Posts: 28

Joined: Mon Mar 19, 2012 2:05 pm

Post Fri Jun 24, 2016 2:22 pm

Re: mpegts / m2ts decoding, Sony BD-player does not replay f

Solved this by installing Ubuntu 16.04 and ffmpeg from repo (yes, it is back there in 16.04).
Everything works now, even replay on both machines. Only thing I had to change (for S4500's sake) was: targetContainer="mpegts" to --> targetContainer="m2ts"

Also logically, I should do this for all tarcetcontainer/mpegts-options in this profile. And maybe I will.

PS: If you get only stereo sound on new install, go into Serviio console, and change downmix to stereo to "keep original" ,or something like that.

I am happy 8-)

Return to Transcoding

Who is online

Users browsing this forum: No registered users and 19 guests

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