Page 1 of 1

Samsung B with no sound on .mts files

PostPosted: Mon Jan 06, 2014 10:03 am
by baldas
Hi all

Can you help me on this?
What can I do to have sound when I want to see .mts files with sound?
I already try several config but nothing, What option can I use or what command can i use in the profile.xml file to solve the problem?
Thanks in advance.

Re: Samsung B with no sound on .mts files

PostPosted: Mon Jan 06, 2014 10:46 am
by Illico
Could you provide more information about your file ? (see signature links)

Re: Samsung B with no sound on .mts files

PostPosted: Mon Jan 06, 2014 11:43 am
by baldas
Hi Illico,

here the information that you ask.


C:\Program Files\Serviio\lib>ffmpeg.exe -i D:\Noite.mts
ffmpeg version N-54096-ge41bf19 Copyright (c) 2000-2013 the FFmpeg developers
built on Jun 18 2013 10:49:28 with gcc 4.7.2 (GCC)
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-libass --enable-librtm
p --enable-fontconfig --enable-libfreetype --enable-zlib --enable-libx264 --extr
a-libs='-lrtmp -lpolarssl -lws2_32 -lwinmm -lexpat -lfreetype -lfribidi -lz' --a
rch=x86 --enable-runtime-cpudetect --enable-pthreads --target-os=mingw32 --cross
-prefix=i686-w64-mingw32- --enable-gpl --pkg-config=pkg-config
libavutil 52. 37.101 / 52. 37.101
libavcodec 55. 16.100 / 55. 16.100
libavformat 55. 9.100 / 55. 9.100
libavdevice 55. 2.100 / 55. 2.100
libavfilter 3. 77.101 / 3. 77.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
[mpegts @ 01CAE2E0] max_analyze_duration 5000000 reached at 5000000 microseconds

Input #0, mpegts, from 'D:\Noite.mts':
Duration: 00:13:48.45, start: 1.000000, bitrate: 6970 kb/s
Program 1
Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, 1440x1
080 [SAR 4:3 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp,
256 kb/s
At least one output file must be specified

Re: Samsung B with no sound on .mts files

PostPosted: Mon Jan 06, 2014 12:36 pm
by Illico
This file seems good. It should be delivered in native format. Could you confirm this ? (enable detailed logging and check the serviio.log file)

Re: Samsung B with no sound on .mts files

PostPosted: Mon Jan 06, 2014 2:30 pm
by baldas
The info that I have on the log is this:

2014-01-06 14:23:01,822 INFO [WebServer] WebServer starting on port 8895
2014-01-06 14:23:02,068 INFO [Device] Updated bound IP address of Device with UUID: bbc6a524-57f0-35ff-81b1-3e1398669727, bound address: 192.168.1.66
2014-01-06 14:23:02,069 INFO [EventSubscriptionExpirationChecker] Starting EventSubscriptionExpirationChecker
2014-01-06 14:23:02,069 INFO [DiscoveryAdvertisementNotifier] Starting DiscoveryAdvertisementNotifier
2014-01-06 14:23:02,069 INFO [EventDispatcher] Starting EventDispatcher
2014-01-06 14:23:02,117 INFO [RendererSearchSender] Searching for Renderer devices
2014-01-06 14:23:02,121 INFO [DiscoverySSDPMessageListener] Starting DiscoverySSDPMessageListener using interface eth3 (Broadcom NetLink (TM) Gigabit Ethernet) and address 192.168.1.66, timeout = 0


I made the change in the log config to DEBUG but i only get this info.


To restart the serviio service I only need to stop/Start it on the console or I need to restart the CPU on Windows?

Re: Samsung B with no sound on .mts files

PostPosted: Tue Jan 07, 2014 3:10 pm
by baldas
Any help on this please?

Re: Samsung B with no sound on .mts files

PostPosted: Tue Jan 07, 2014 11:30 pm
by DenyAll
To restart the serviio service I only need to stop/Start it on the console or I need to restart the CPU on Windows?
To enable debugging mode you need to either restart your PC, or restart the Windows service (in Windows, start services.msc and the stop and start the Serviio Service). Stop/Starting it on the console won't do it.

....or you can use my Winhelper tool (viewtopic.php?f=17&t=12136) which includes some quick access tools to set debug mode, stop and start the service, and other niceties..... :)

Re: Samsung B with no sound on .mts files

PostPosted: Wed Jan 08, 2014 2:24 pm
by baldas
Hi,

In attach is the DEBUG log File.
Can you take a look and help me put the .mts files running on my Samsung B with sound?

Re: Samsung B with no sound on .mts files

PostPosted: Wed Jan 08, 2014 10:56 pm
by DenyAll
I'll leave it with Illico, but I think he needs a log file showing you playing the file Noite.mts :)

Re: Samsung B with no sound on .mts files

PostPosted: Wed Jan 08, 2014 11:56 pm
by baldas
But i put all info that it is on the log after playing the file.

Re: Samsung B with no sound on .mts files

PostPosted: Thu Jan 09, 2014 2:43 am
by DenyAll
I see that you used a different file this time 'Natal de 2013.mts' (I searched the log for 'Noite.mts'). This is delivered in native format (ie. no transcoding).

2014-01-08 13:20:09,374 DEBUG [VideoDeliveryEngine] Delivering file 'Natal de 2013.mts' in native format

It suggests that your TV doesn't like something in the AC3 stream within the file. You may need to transcode it (change your profile to transcode AC3 audio), or you could see if remuxing the file helps. Illico has much more knowledge on Sony systems than I, so he may come up with other ideas.

Re: Samsung B with no sound on .mts files

PostPosted: Thu Jan 09, 2014 7:31 pm
by baldas
Thanks for the tips, but is a Samsung B and not a Sony. But i agree with you.
how can i Transcode the audio to other format?
can you help me???

Re: Samsung B with no sound on .mts files

PostPosted: Thu Jan 09, 2014 11:02 pm
by DenyAll
but is a Samsung B and not a Sony
doh.... I am doing too many at once :oops:
How many files are we talking about?

Firstly try remuxing the file, either using my WinHelper tool mentioned previously or by running the command (from a command line -you will also need to reference your ffmpeg location, usually "C:\Program Files\Serviio\lib\ffmpeg.exe"):

    ffmpeg -i "file name.mts" -map 0 - c copy "file name remux.mts"
This will simply copy the existing audio and video into a new package - will test if the container was corrupt.

If that doesn't work re-transcode the audio (to AC3):

    ffmpeg -i "original file name.mts" -map 0 - vcodec copy -acodec ac3 -ab 192k "file name ac3.mts"
and if that doesn't work try transcoding audio to another format (and in this case, to stereo):

    ffmpeg -i "original file name.mts" -map 0 - vcodec copy -acodec mp2 -ac 2 -ab 192k "file name mp2.mts"
Take note of any errors or warnings.

Re: Samsung B with no sound on .mts files

PostPosted: Thu Jan 09, 2014 11:14 pm
by baldas
If i understand i need to make that command to all .mts files that i want to play? :?
Can i do or put any command on the serviio so the program do that automatic during the stream?
Because i have many files in .mts from my video camera ;) .

Re: Samsung B with no sound on .mts files

PostPosted: Thu Jan 09, 2014 11:21 pm
by DenyAll
Hopefully, just one for now - once we work out which one fixes the issue we'll try and get Serviio to do it automajically.

Re: Samsung B with no sound on .mts files

PostPosted: Fri Jan 10, 2014 9:31 am
by baldas
OK
I will try and then I give a feedback
thanks

Re: Samsung B with no sound on .mts files

PostPosted: Tue Jan 14, 2014 12:58 pm
by baldas
dont work i have this error that is attach in the image file

What is wrong on the command??

Re: Samsung B with no sound on .mts files

PostPosted: Thu Jan 16, 2014 3:24 pm
by baldas
Any Help??

Re: Samsung B with no sound on .mts files

PostPosted: Fri Jan 17, 2014 12:44 am
by DenyAll
Can you please PM me a small video sample.