0

Problems streaming big video files on Samsung LN40B650

I'm trying to play big video file near 400Mb MP4/H.264/AAC

I hardcoded URL into Yahoo! VideoSample widget and uploaded it on my Samsung LN40B650, but always got error while playing that file. Seems like video is loaded properly, but player dispatch onStateChange() where event.payload.newState == event.payload.videoplayer.states.ERROR.

Also I tried to play 2 different MP4 video clips on my Samsung TV which were downloaded from YouTube . The one, which is 32Mb size plays well. It's 640x480 MP4/H.264/AAC
But the one which is 56Mb starts playing and than player throws out an error described above. Both files are identical except size. moov atom is set at 3Mb

Did I make a mistake buying Samsung TV? Should I have bought LG one?

Thanks!

by
17 Replies
  • The problem is in how the video is encoded most likely. The encoding option is called by different names in different apps, but in Quicktime for example it's called "Enable for Internet Streaming". This flag tells it to put the moov atom at the beginning of the file instead of after the mdat at the end of the file. The probably reason the first stream plays is due to the fact it can buffer the entire file where as it can't with the second file.
    0
  • Jeremy,

    I spent some time googling for moov atom info. I found one program named AtomicParsley which grabs this info from MP4 file. All my files have moov atom at the beginning. Like this: Atom moov @ 32 of size: 269535, ends @ 269567 or this Atom moov @ 24 of size: 3629635, ends @ 3629659
    So, I decided to do some experiments. I cut my 400Mb video file into smaller ones. Basically I just trimmed a piece from the beginning and changed meta data info. So, I was able to play files with sizes from 30Mb up to 300Mb. They played perfect on m Samsung TV. 350Mb one didn't play. So, I'm puzzled. Does Samsung TV try to download the whole file into buffer and fails?
    Oh, i also tried to stream 400M, 1G and 2G files with my Flash movie player. I can. But I can not do this with TV. As I understand, if moov atom is not set properly at the beginning I wouldn't be able to stream it with Flash.
    So, it seems to me that the problem is with Samsung media player.
    Please help me. I'm kind of desperate.
    0
  • You cannot stream to the devices in any format currently. There is no Flash media or file support on the platform - so Flash streaming is not the way to go.

    Everything must be progressive download currently.
    0
  • QUOTE (WidgetRealm @ Feb 4 2010, 03:05 PM) <{POST_SNAPBACK}>
    You cannot stream to the devices in any format currently. There is no Flash media or file support on the platform - so Flash streaming is not the way to go.

    Everything must be progressive download currently.


    Sorry under 'streaming' i mean progressive download.

    Yep, i know that TV didn't suport Flash, i mean that i try played that big files with some desktop flash video player that also use progressive download and it plays correctly!
    0
  • Mind sharing a URL to one of the test videos which fails?

    -Jeremy
    0
  • QUOTE (Jeremy Johnstone @ Feb 6 2010, 01:58 AM) <{POST_SNAPBACK}>
    Mind sharing a URL to one of the test videos which fails?

    -Jeremy


    Jeremy, could you provide me your e-mail?
    0
  • generally you just send emails to the tvwidgets@yahoo-inc.com email alias.
    0
  • QUOTE (Mike R. @ Feb 9 2010, 10:52 AM) <{POST_SNAPBACK}>
    generally you just send emails to the tvwidgets@yahoo-inc.com email alias.


    I did it near 2 weeks ago(ticket #1203)
    0
  • Jeremy, please look into #1203 ticket. Here is URL to video file.

    We have some progress with resolving problems. Our TV was connected to Internet through Wi-Fi adapter and maiby that was because big video files did not play correctly. BTW now TV connected through wire, but new problems with playing big video files appears. Some of them(also video from ticket) playing without sound(sound codec AAC). Any recoding manipulations doesn't help.

    Could you check that URL, please?

    Thanks!
    0
  • I don't have access to the helpdesk at the moment, but I will do my best to check into it soon.
    0
  • QUOTE (Jeremy Johnstone @ Feb 11 2010, 08:21 AM) <{POST_SNAPBACK}>
    I don't have access to the helpdesk at the moment, but I will do my best to check into it soon.


    Thanks!

    One notice: if we cut off that video file to 300Mb it start playing correctly. You can find that cut off version file by adding "_sm" to previous file name.
    0
  • QUOTE (vova.leskiv @ Feb 12 2010, 12:22 AM) <{POST_SNAPBACK}>
    Thanks!

    One notice: if we cut off that video file to 300Mb it start playing correctly. You can find that cut off version file by adding "_sm" to previous file name.

    I am sorry for the incredibly late response, we have just been swamped with work. Have you resolved this issue?

    I have personally streamed files over 300MB without any problems. It could have to do with your encoder. Can you try Super: http://www.erightsoft.com/SUPER.html and see if that makes a difference?

    Jim
    0
  • QUOTE (Jim @ Feb 25 2010, 06:03 PM) <{POST_SNAPBACK}>
    I am sorry for the incredibly late response, we have just been swamped with work. Have you resolved this issue?

    I have personally streamed files over 300MB without any problems. It could have to do with your encoder. Can you try Super: http://www.erightsoft.com/SUPER.html and see if that makes a difference?

    Jim


    Hi Jim, we still have this issue available.

    So did you try to play our files? I'm already installed Super and i will try to encode some video. Hope this help but i see that Super use the same ffmpeg that we use under Linux. Could you drop me a link to BIG video file that you played on Samsung? Maiby something wrong with our TV... :-/

    Thanks!
    0
  • I no longer have a link to a big video. My tests with ffmpeg under Linux have been hit or miss. Would you be willing to share your configuration options for linux ffmpeg here? What encoding library did you use? Which ffmpeg version?

    Let us know if your Super encoded video works.

    Jim
    0
  • The result of playing video encoded by Super:
    player showed up for 3 second, then went completely blank for 5 second, then TV power cycle by itself.player showed up for 3 second.

    ffmpeg version:
    CODE
    FFmpeg version SVN-r20557-snapshot, Copyright (c) 2000-2009 Fabrice Bellard, et al.
    built on Nov 22 2009 01:47:19 with gcc 4.4.1 20090725 (Red Hat 4.4.1-2)
    configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-avfilter --enable-avfilter-lavf --enable-pthreads --enable-x11grab --enable-vdpau --disable-avisynth --enable-libdc1394 --enable-libdirac --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --disable-stripping
    libavutil 50. 4. 0 / 50. 4. 0
    libavcodec 52.41. 0 / 52.41. 0
    libavformat 52.39. 2 / 52.39. 2
    libavdevice 52. 2. 0 / 52. 2. 0
    libavfilter 1. 8. 0 / 1. 8. 0
    libswscale 0. 7. 1 / 0. 7. 1
    libpostproc 51. 2. 0 / 51. 2. 0


    ffmpeg params:
    CODE
    ffmpeg -i <filename.in> -vcodec libx264 -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -flags2 +mixed_refs -subq 5 -trellis 1 -refs 3 -bf 3 -b_strategy 1 -coder 1 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.8 -qmin 10 -qmax 51 -qdiff 4 -acodec libfaac -ar 44100 -ab 128k -b 1000k -s 640:480 -y <filename.out.mp4>


    Jim, did you try to play BIG video files on Samsung LN40B650 exactly?
    0
  • Thanks for that!

    That is completely bizarre, I have never had a problem with a Super video. If you put that video up along with the old one, I can analyze them and try to pin down the problem. Please email them to tvwidgets@yahoo.com if you do not want them public.

    Jim
    0
  • QUOTE (Jim @ Mar 3 2010, 03:59 PM) <{POST_SNAPBACK}>
    Thanks for that!

    That is completely bizarre, I have never had a problem with a Super video. If you put that video up along with the old one, I can analyze them and try to pin down the problem. Please email them to tvwidgets@yahoo.com if you do not want them public.

    Jim


    Hi Jim!

    Thanks for reply, details in 1344 ticket.
    0

Recent Posts

in General - Yahoo! TV Widgets