FAQ  •  Register  •  Login

Connection drop while playing online video with Samsung c630

<<

aekstrom

Serviio newbie

Posts: 7

Joined: Sun Oct 02, 2011 12:40 pm

Location: Sweden

Post Mon Oct 03, 2011 6:10 pm

Re: Connection drop while playing online video with Samsung

There could also be 2 types of mainboards on the same model with different firmwares. T-VAL6DEUC and T-MSX6DEUC. I have T-MSX6DEUC on my Samsung C6005.
Which one do you have on your C630? I have also tested out with iMediaShare and it works OK.
<<

vard81

Serviio newbie

Posts: 18

Joined: Sun Oct 02, 2011 1:17 pm

Post Mon Oct 03, 2011 6:30 pm

Re: Connection drop while playing online video with Samsung

aekstrom wrote:There could also be 2 types of mainboards on the same model with different firmwares. T-VAL6DEUC and T-MSX6DEUC. I have T-MSX6DEUC on my Samsung C6005.
Which one do you have on your C630? I have also tested out with iMediaShare and it works OK.


I have T-MSX6DEUC too.
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Tue Oct 04, 2011 2:17 am

Re: Connection drop while playing online video with Samsung

ok this make no sense to me as i should work fine, ok let go back to basic's can you guy provide me withh ffmpeg -i result for a working online feed and one that fails please, so i can try and work out whats going on, also to keep it simple and rule out plugin problem can you do it with youtube feeds as tehy dont use a plugin.
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
<<

vard81

Serviio newbie

Posts: 18

Joined: Sun Oct 02, 2011 1:17 pm

Post Tue Oct 04, 2011 4:44 pm

Re: Connection drop while playing online video with Samsung

Cerberus wrote:ok this make no sense to me as i should work fine, ok let go back to basic's can you guy provide me withh ffmpeg -i result for a working online feed and one that fails please, so i can try and work out whats going on, also to keep it simple and rule out plugin problem can you do it with youtube feeds as tehy dont use a plugin.


OK. First of all to keep it simple I have reverted changes on profiles and restarted server to apply changes. Unfortunately I did not know any online feed that can be played till end. Almost all of them can be started but disconnects about 40 second till end. Feeds that shorter then ~40 second event can’t be started. If I am not mistake YouTube requires plugin. BTW here is YouTube result for “charlie bit my finger” video that even can’t be started. Probably this one http://www.youtube.com/watch?v=_OBlgSz8sSM
In *-cmd.txt I have attached command line that ffmpeg starts by server when I am trying to play video on TV
In *-out.log I have attached ffmpeg –I “url” stdout. Is it what you asking for?
If you need .stf files. There are big I can’t attach.

Please let me now if you need anything else.
Thanks for trying to help.

P.S I have hit the limit. Let me know if you need TED-out.log as well.
Attachments
YouTube-out.log
(2.41 KiB) Downloaded 794 times
YouTube-cmd.txt
(646 Bytes) Downloaded 621 times
TED-cmd.txt
(285 Bytes) Downloaded 894 times
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Tue Oct 04, 2011 7:14 pm

Re: Connection drop while playing online video with Samsung

ok so they are FLV files

try this online transcoding section and see if that solves the issue

  Code:
<OnlineTranscoding>
   <Video targetContainer="mpegts" targetACodec="ac3">
      <Matches container="mp4" aCodec="lpcm" />
      <Matches container="flv" vCodec="h264" />
   </Video>
</OnlineTranscoding>
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
<<

vard81

Serviio newbie

Posts: 18

Joined: Sun Oct 02, 2011 1:17 pm

Post Wed Oct 05, 2011 3:59 am

Re: Connection drop while playing online video with Samsung

Cerberus wrote:ok so they are FLV files

try this online transcoding section and see if that solves the issue

  Code:
<OnlineTranscoding>
   <Video targetContainer="mpegts" targetACodec="ac3">
      <Matches container="mp4" aCodec="lpcm" />
      <Matches container="flv" vCodec="h264" />
   </Video>
</OnlineTranscoding>


Following is my version that i have reverted to simplify as you suggested.

<OnlineTranscoding>
<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384">
<Matches container="mp4"/>
<Matches container="flv" />
</Video>

is there differences that can make work?
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Wed Oct 05, 2011 4:18 am

Re: Connection drop while playing online video with Samsung

you cant simplify my code, it need to be added exactly as i wrote it as all you will do with your profile is hammer the pc running serviio with transcode job that are NOT required.
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
<<

vard81

Serviio newbie

Posts: 18

Joined: Sun Oct 02, 2011 1:17 pm

Post Wed Oct 05, 2011 4:05 pm

Re: Connection drop while playing online video with Samsung

OK. I have tried exactly what you say. Still can’t play till end of video. TED video can’t be played at all.
Please let me know if you want to try something else.

BTW: I don’t think that it is something related to transcending. Please see why.
Suppose we have online video “some video”. Let’s say it has ~180 second length and factory default profile for c series Samsung TV.
1. Start play “some video” video.
a. Server starts ffmepg. ffmpeg.exe -i " video url" “something else” D:\tmp\Serviio\transcoding-temp-1000000000160006-MPEG2TS.stf
b. TV stars showing video and disconnects at ~140 second.
2. Start play “some video” video again.
a. Server dose not start ffmepg since it already has generated transcoding-temp-1000000000160006-MPEG2TS.stf file
b. TV stars showing video and disconnects at ~140 second. Same as before.
3. Move transcoding-temp-1000000000160006-MPEG2TS.stf D:\video\transcoding-temp-1000000000160006-MPEG2TS.mp4
4. Force refresh and start play transcoding-temp-1000000000160006-MPEG2TS.mp4
a. TV plays till end with no problem.

So maybe I am not correct but I can assume that TV has no problem with video format. Only problem is streaming .stf file.

Can I affect on ~140 second playing time. Make it play longer or shorter. Yes.
To make it play longer
<OnlineTranscoding>
<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384" forceVTranscoding="true">
<Matches container="mp4"/>
<Matches container="flv" />
</Video>
</OnlineTranscoding>

Please notice that I am using forceVTranscoding="true".
Now video plays till ~160 second
To make it shorter use this one
<OnlineTranscoding>
<Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="512" targetACodec="ac3" aBitrate="384" forceVTranscoding="true">
<Matches container="mp4"/>
<Matches container="flv" />
</Video>
</OnlineTranscoding>

Please notice that I am using maxVBitrate="512".
Now video plays till ~130-135 second
What is a different? I don’t know. Maybe generated *MPEG2TS.stf file size?
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Wed Oct 05, 2011 7:08 pm

Re: Connection drop while playing online video with Samsung

vard81 wrote:OK. I have tried exactly what you say. Still can’t play till end of video. TED video can’t be played at all.
Please let me know if you want to try something else.


i wont even discussed TED as there system is pure crap and id have to use so much transcoding to make it work it would make every other feed look crap too.

as for the not play to the end something has to be basicly wrong with the setup cause this simplely isnt possible as i have it working myself.
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
<<

moltra

DLNA master

Posts: 1871

Joined: Thu Mar 24, 2011 11:00 pm

Location: Ohio USA

Post Wed Oct 05, 2011 7:27 pm

Re: Connection drop while playing online video with Samsung

Try this after you try to play a file and it disconnects copy the file generated by ffmpeg to your serviio video directory and see if it will play fully.

This will help make sure there is not an error with the transcoding.

Also you did not specify your network setup, but if it is wireless please run the tool from this thread to rule out any other network interferences.

http://forum.serviio.org/viewtopic.php?f=17&t=2439
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
<<

vard81

Serviio newbie

Posts: 18

Joined: Sun Oct 02, 2011 1:17 pm

Post Wed Oct 05, 2011 7:46 pm

Re: Connection drop while playing online video with Samsung

moltra wrote:Try this after you try to play a file and it disconnects copy the file generated by ffmpeg to your serviio video directory and see if it will play fully.

This will help make sure there is not an error with the transcoding.

Also you did not specify your network setup, but if it is wireless please run the tool from this thread to rule out any other network interferences.

http://forum.serviio.org/viewtopic.php?f=17&t=2439


Basically that what i did at first. Copied file works without any problem. I am running on wired connection. And OS that server runs is Windows 7.
<<

moltra

DLNA master

Posts: 1871

Joined: Thu Mar 24, 2011 11:00 pm

Location: Ohio USA

Post Wed Oct 05, 2011 9:03 pm

Re: Connection drop while playing online video with Samsung

I copied this from one of Zip's posts on another thread. Can you capture packets when you are trying to play the online video? And post the results on here? Maybe something will show up that is causing the problem.

zip wrote:Any chance you could capture packets via Wireshark between the player and a server that works? I'm interested in traffic between the 2 IP addresses (server, player) from the point of starting the player to browsing to a media file (no need to play it).
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
<<

aekstrom

Serviio newbie

Posts: 7

Joined: Sun Oct 02, 2011 12:40 pm

Location: Sweden

Post Thu Oct 06, 2011 11:57 am

Re: Connection drop while playing online video with Samsung

Hi.
As written earlier in the thread above I have about the same problem as vard81.

vard81 will probably post a pcap as well. Anyway I had the time so here it is.

I have capture the traffic between my windows 7(64bit) running Serviio 0.6.0.1 with IP: [172.27.27.5] and my Samsung UE46C6005 with IP:[172.27.27.107]
Test clip is recorded by me on my youtube profile: http://www.youtube.com/watch?v=OLploYLfkDk
The clip is 26sec long and stops after 14sec on the TV.
The clip starts about 16sec in the pcap file and I can see the video data starts at frame 273.
PCAP file can be downloaded here: http://aekstrom.com/Serviio-capture.pcap
I have also saved the video file from the temp dir: http://aekstrom.com/transcoding-temp-10 ... PEG2PS.stf

Some notes:
-The size on the pcap gile is 15mb and the full clip is about 13mb so it looks like Serviio is actually sending the full video to the TV.
-Please ignore the CRC check reported by Wireshark. This is normal because the checksum will be calculated after Wireshark has capture the packet.
-One difference for vard81 and me is that the shortest clip I have been able to start is 21 sec and will run for about 10sec.

I hope this information can help and not confuse things more. :?

Best Regards
/Andreas
<<

vard81

Serviio newbie

Posts: 18

Joined: Sun Oct 02, 2011 1:17 pm

Post Thu Oct 06, 2011 6:31 pm

Re: Connection drop while playing online video with Samsung

Hi,
I have my PCAP file for same video that Andreas posted but I did not know where to post it. If you need it let me know I will figure out something.

Andreas is right while his TV can play that video 10 second my TV dose not play at all.
I did other experiment. I got online http://www.youtube.com/bmw#p/u/1/g9KVYlczExU video and played it and captured by Wireshark. Then copied temp file to .mp4 file and the played and captured again.
I have attached screenshots for last packets. Please look at time difference between last PSH packet and SYN one.
Attachments
BMW microNavigation.jpg
BMW microNavigation.jpg (224.48 KiB) Viewed 17918 times
online BMW microNavigation.jpg
online feed version
online BMW microNavigation.jpg (241.34 KiB) Viewed 17918 times
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Oct 09, 2011 5:54 pm

Re: Connection drop while playing online video with Samsung

First, just to confirm, all online content is transcoded (inherited from Generic profile).

Second, can you enable detailed log, play the file, find the ffmpeg command used for transcoding and try running it manually? Check how many fps it's doing.

Another thing you can try is install Intel UPnp tools, run AV Media Controller. Assign Samsung C/D profile to the IP running the Intel Tools. Restart AV Media Controller, browse to the feed you want to play, Properties (post them here, especially duration), find the video resource. Post the resource details here (especially protocol info). Copy resource URL and try playing it (Open stream) in VLC - does it play the whole file?
<<

aekstrom

Serviio newbie

Posts: 7

Joined: Sun Oct 02, 2011 12:40 pm

Location: Sweden

Post Sun Oct 09, 2011 7:28 pm

Re: Connection drop while playing online video with Samsung

Hi

Here are the FPS and duration reported by ffmpeg running manually from the line in the log.
Duration: 00:00:26.30, start: 0.000000, bitrate: 1433 kb/s
Stream #0.0(und): Video: h264 (High), yuv420p, 1280x720, 1352 kb/s, 15.97 fps, 16 tbr, 1k tbn, 32 tbc

I have attached the output from AV Media Controllers Properties on the video.
Copy and playing the URL in VLC works fine and play the full video.
The video tested is the same as I tested above.
http://www.youtube.com/watch?v=OLploYLfkDk

Thanks.
Best Regards
/Andreas
Attachments
Resource2.JPG
From AV Media Controller
Resource2.JPG (25.36 KiB) Viewed 17888 times
Resource1.JPG
From AV Media Controller
Resource1.JPG (26.72 KiB) Viewed 17888 times
Properties.JPG
From AV Media Controller
Properties.JPG (26.89 KiB) Viewed 17888 times
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Oct 09, 2011 7:35 pm

Re: Connection drop while playing online video with Samsung

cool. so the duration of 26 seconds is correct. How long does this play on the TV?

What I meant with fps is, when the transcode job runs, how fast does it download/transcode?
<<

vard81

Serviio newbie

Posts: 18

Joined: Sun Oct 02, 2011 1:17 pm

Post Sun Oct 09, 2011 7:48 pm

Re: Connection drop while playing online video with Samsung

zip wrote:First, just to confirm, all online content is transcoded (inherited from Generic profile).

Second, can you enable detailed log, play the file, find the ffmpeg command used for transcoding and try running it manually? Check how many fps it's doing.

Another thing you can try is install Intel UPnp tools, run AV Media Controller. Assign Samsung C/D profile to the IP running the Intel Tools. Restart AV Media Controller, browse to the feed you want to play, Properties (post them here, especially duration), find the video resource. Post the resource details here (especially protocol info). Copy resource URL and try playing it (Open stream) in VLC - does it play the whole file?


I at Oct 04, 2011 9:44 pm in this thread I have posted In *-cmd.txt command line that ffmpeg starts by server when I am trying to play video on TV. sdtout for ffmpeg -i (without given output file) run is also attach. i have done with given output file and it does 80-120 fps.
I have tried to play TED video (url : http://download.ted.com/talks/ChristophAdami_2011X.mp4 ) with VLC and it plays till end.

For Intel tool I will run and post letter.

I can’t find in F.A.Q. how to enable detailed logging. I would like to enable it.

P.S. i also have xbox 360 maybe I should try to use it and see how it works. Or maybe I could use MS media player on other PC?
<<

vard81

Serviio newbie

Posts: 18

Joined: Sun Oct 02, 2011 1:17 pm

Post Sun Oct 09, 2011 7:56 pm

Re: Connection drop while playing online video with Samsung

zip wrote:cool. so the duration of 26 seconds is correct. How long does this play on the TV?

What I meant with fps is, when the transcode job runs, how fast does it download/transcode?


For that short video mine even dose not stats.

it fills to me that TV tries to buffer x MB and then play. if video smaller then x MB it buffers and drops connection without playing.
<<

aekstrom

Serviio newbie

Posts: 7

Joined: Sun Oct 02, 2011 12:40 pm

Location: Sweden

Post Sun Oct 09, 2011 8:04 pm

Re: Connection drop while playing online video with Samsung

zip wrote:cool. so the duration of 26 seconds is correct. How long does this play on the TV?

What I meant with fps is, when the transcode job runs, how fast does it download/transcode?


The clip runs for 14sec on the TV.
FPS differs between 96-99.
Next

Return to Samsung

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.