Page 1 of 1

LG 32LW570G and .m2ts files problem (only 30 seconds)

PostPosted: Sat Dec 17, 2011 8:32 pm
by rosario.f
Hi guys.

Sorry for my bad English.
I have an LG 32LW570G. When I play video .m2ts (made with my Sony HDR-SR12) via DLNA, I can only see the first 30 seconds then Serviio skip the next .m2ts file in my video folder.
If I pause the video around the 25th second and then I play again, I can see another 30 seconds and so on ...
If I play .avi or .iso all work right .

I have installed Serviio v 0.6.0.1 on Windows Vista 64bit:
  • Intel Core2 Quad CPU Q9550 @ 2.83GHz
  • 4GB RAM
  • 190 GB free on C:
  • 297 GB free on S: (where i keep my video files)
  • Serviio render profile: "Generic DLNA profile" (I try force "Lg TV / player" but Serviio don't keep my choice)

This is ffmpeg -i result:
  Code:
C:\Program Files (x86)\Serviio\lib>ffmpeg.exe -i "S:\_Sony\Video\20111208\20111208140124.m2ts"
ffmpeg version N-35462-g61b1d85, Copyright (c) 2000-2011 the FFmpeg developers
  built on Dec  5 2011 14:28:46 with gcc 4.6.2
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libope
ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en
able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger -
-enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
  libavutil    51. 30. 0 / 51. 30. 0
  libavcodec   53. 40. 0 / 53. 40. 0
  libavformat  53. 24. 0 / 53. 24. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 51. 0 /  2. 51. 0
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[mpegts @ 00000000003BD2F0] parser not found for codec hdmv_pgs_subtitle, packet
s or times may be invalid.

Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1)
-> 50.00 (50/1)
Input #0, mpegts, from 'S:\_Sony\Video\20111208\20111208140124.m2ts':
  Duration: 00:06:19.11, start: 1.000033, bitrate: 17149 kb/s
  Program 1
    Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, 1920x1
080 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, s16,
256 kb/s
    Stream #0:2[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)


and this is MediaInfo:
  Code:
General
ID                               : 0 (0x0)
Complete name                    : S:\_Sony\Video\20111208\20111208140124.m2ts
Format                           : BDAV
Format/Info                      : Blu-ray Video
File size                        : 775 MiB
Duration                         : 6mn 19s
Overall bit rate mode            : Variable
Overall bit rate                 : 17.2 Mbps
Maximum Overall bit rate         : 18.0 Mbps

Video
ID                               : 4113 (0x1011)
Menu ID                          : 1 (0x1)
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : High@L4.0
Format settings, CABAC           : Yes
Format settings, ReFrames        : 2 frames
Format settings, GOP             : M=2, N=13
Codec ID                         : 27
Duration                         : 6mn 19s
Bit rate mode                    : Variable
Bit rate                         : 16.0 Mbps
Width                            : 1 920 pixels
Height                           : 1 080 pixels
Display aspect ratio             : 16:9
Frame rate                       : 25.000 fps
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Interlaced
Scan order                       : Top Field First
Bits/(Pixel*Frame)               : 0.309
Stream size                      : 732 MiB (94%)

Audio
ID                               : 4352 (0x1100)
Menu ID                          : 1 (0x1)
Format                           : AC-3
Format/Info                      : Audio Coding 3
Mode extension                   : CM (complete main)
Codec ID                         : 129
Duration                         : 6mn 19s
Bit rate mode                    : Constant
Bit rate                         : 256 Kbps
Channel(s)                       : 2 channels
Channel positions                : Front: L R
Sampling rate                    : 48.0 KHz
Bit depth                        : 16 bits
Compression mode                 : Lossy
Delay relative to video          : -80ms
Stream size                      : 11.6 MiB (1%)

Text
ID                               : 4608 (0x1200)
Menu ID                          : 1 (0x1)
Format                           : PGS
Codec ID                         : 144
Duration                         : 6mn 18s
Delay relative to video          : -80ms


Thank you for support.

Re: LG 32LW570G and .m2ts files problem (only 30 seconds)

PostPosted: Mon Dec 19, 2011 8:59 am
by Illico
rosario.f wrote:If I pause the video around the 25th second and then I play again, I can see another 30 seconds and so on ...
If I play .avi or .iso all work right .

Woww!
I think its a LG DLNA issue.
Do you have latest LG firmware?
Could you post detailed serviio logging file ? (see signature)

Re: LG 32LW570G and .m2ts files problem (only 30 seconds)

PostPosted: Tue Dec 20, 2011 8:12 am
by rosario.f
Illico wrote:
rosario.f wrote:If I pause the video around the 25th second and then I play again, I can see another 30 seconds and so on ...
If I play .avi or .iso all work right .

Woww!
I think its a LG DLNA issue.
Do you have latest LG firmware?
Could you post detailed serviio logging file ? (see signature)


Yes i have the lastest firmware.
This is serviio.log file.
I make tree test:
1) I play video without pause and after about 30 seconds it's stop and play next video.
2) I play another video without pause and after about 30 seconds it's stop and play next video.
3) I play again first video but i pause after 25 seconds and play again for two times. Now I see about 1:30 seconds :-(

Re: LG 32LW570G and .m2ts files problem (only 30 seconds)

PostPosted: Tue Dec 20, 2011 1:16 pm
by Illico
There were a lot of socket reset by your device when files are delivered in native format in Byte Range mode
2011-12-20 08:52:27,031 DEBUG [WebServer] I/O error: Connection reset by peer: socket write error

Do you try with file format that need trancoding (not native supported) (divx,avi, etc)?

Re: LG 32LW570G and .m2ts files problem (only 30 seconds)

PostPosted: Tue Dec 20, 2011 10:30 pm
by rosario.f
I try play first 5 minutes of some file, but i don't know if they needed trancoding
Playing is ok.
The last file, .m2ts file, always stop at same position.
Where i can find file that need trancoding?

Thank you

Re: LG 32LW570G and .m2ts files problem (only 30 seconds)

PostPosted: Wed Dec 21, 2011 12:14 pm
by zip
can you play the whole file in VLC? what if you copy the file to USB stick, does the TV play it from there?

Re: LG 32LW570G and .m2ts files problem (only 30 seconds)

PostPosted: Thu Dec 22, 2011 8:05 am
by rosario.f
VLC:
Yes, i can play the whole file in VLC.

USB stick:
My TV don't list *.m2ts file but if i rename file .m2ts in .avi on USB stick i can play it (the whole file).

PC:
I try to rename file .m2ts in .avi on pc folder but I can play only 30 sec.

  Code:
2011-12-22 08:58:47,348 INFO  [LibraryUpdatesCheckerThread] Started looking for updates to currently shared files
2011-12-22 08:58:49,473 WARN  [VideoExtractionStrategy] Couldn't resolve H264 profile/level/ref_frames for file '20111208140124.m2ts.avi' because Sequence parameter set header was not recognized
2011-12-22 09:00:13,318 INFO  [RendererManager] Stored a new renderer: uuid='bc44234d-23f8-4ef8-94fd-04d870d03a95', name = 'LG TV / player', ipAddress='192.168.1.132', profile = '8'
2011-12-22 09:00:15,821 INFO  [RendererManager] Stored a new renderer: uuid='1c279740-1dd2-11b2-9d7b-ecf753f73c57', name = 'MediaRenderer', ipAddress='192.168.1.132', profile = '1'
2011-12-22 09:00:18,353 WARN  [OnlineVideoSourcesMetadataExtractor] Online metadata search returned no results for file 20111208140124.m2ts.avi [VideoDescription [type=FILM, names=[20111208140124 m2ts, null], year=null, season=null, episode=null]]
2011-12-22 09:00:19,548 INFO  [LibraryAdditionsCheckerThread] Added file '20111208140124.m2ts.avi' (title: 20111208140124.m2ts) to Library
2011-12-22 09:05:21,818 INFO  [LibraryAdditionsCheckerThread] Finished looking for newly added files

Re: LG 32LW570G and .m2ts files problem (only 30 seconds)

PostPosted: Thu Dec 22, 2011 9:31 am
by zip
can you try to remux the file to mov and try it then?

  Code:
ffmpeg -i S:\_Sony\Video\20111208\20111208140124.m2ts -vcodec copy -acodec copy -f mov S:\_Sony\Video\20111208\20111208140124.mov

Re: LG 32LW570G and .m2ts files problem (only 30 seconds)

PostPosted: Thu Dec 22, 2011 11:36 am
by rosario.f
ffmpeg output
  Code:
Y:\appo>ffmpeg -i 20111208140124.m2ts -vcodec copy -acodec copy -f mov 201112081
40124.mov
ffmpeg version N-35462-g61b1d85, Copyright (c) 2000-2011 the FFmpeg developers
  built on Dec  5 2011 14:28:46 with gcc 4.6.2
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libope
ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en
able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger -
-enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
  libavutil    51. 30. 0 / 51. 30. 0
  libavcodec   53. 40. 0 / 53. 40. 0
  libavformat  53. 24. 0 / 53. 24. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 51. 0 /  2. 51. 0
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[mpegts @ 000000000002D410] parser not found for codec hdmv_pgs_subtitle, packet
s or times may be invalid.

Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1)
-> 50.00 (50/1)
Input #0, mpegts, from '20111208140124.m2ts':
  Duration: 00:06:19.11, start: 1.000033, bitrate: 17149 kb/s
  Program 1
    Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, 1920x1
080 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, s16,
256 kb/s
    Stream #0:2[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
Output #0, mov, to '20111208140124.mov':
  Metadata:
    encoder         : Lavf53.24.0
    Stream #0:0: Video: h264 (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DA
R 16:9], q=2-31, 50 fps, 90k tbn, 90k tbc
    Stream #0:1: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, 256 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 3120 fps=  0 q=-1.0 size=  121766kB time=00:01:01.79 bitrate=16140.8kbits
frame= 6245 fps=  0 q=-1.0 size=  245965kB time=00:02:04.29 bitrate=16210.9kbits
frame= 9252 fps=6168 q=-1.0 size=  364762kB time=00:03:04.32 bitrate=16211.0kbit
frame=12193 fps=6097 q=-1.0 size=  480743kB time=00:04:03.23 bitrate=16190.8kbit
frame=13169 fps=5146 q=-1.0 size=  519647kB time=00:04:22.69 bitrate=16204.8kbit
frame=13292 fps=4014 q=-1.0 size=  524390kB time=00:04:25.22 bitrate=16196.9kbit
frame=13378 fps=3503 q=-1.0 size=  527953kB time=00:04:26.91 bitrate=16203.3kbit
frame=13467 fps=3047 q=-1.0 size=  531382kB time=00:04:28.71 bitrate=16199.8kbit
frame=13545 fps=2740 q=-1.0 size=  534459kB time=00:04:30.24 bitrate=16201.0kbit
frame=13652 fps=2489 q=-1.0 size=  538775kB time=00:04:32.42 bitrate=16201.4kbit
frame=13753 fps=2296 q=-1.0 size=  543005kB time=00:04:34.43 bitrate=16208.6kbit
frame=14073 fps=2122 q=-1.0 size=  555559kB time=00:04:40.77 bitrate=16209.2kbit
frame=14504 fps=2031 q=-1.0 size=  572699kB time=00:04:49.38 bitrate=16212.2kbit
frame=14637 fps=1889 q=-1.0 size=  578081kB time=00:04:52.10 bitrate=16212.2kbit
frame=15080 fps=1818 q=-1.0 size=  596097kB time=00:05:00.96 bitrate=16225.1kbit
frame=15235 fps=1733 q=-1.0 size=  602139kB time=00:05:04.03 bitrate=16223.9kbit
frame=15787 fps=1698 q=-1.0 size=  623740kB time=00:05:15.04 bitrate=16218.7kbit
frame=16640 fps=1699 q=-1.0 size=  657703kB time=00:05:32.16 bitrate=16220.4kbit
frame=17247 fps=1624 q=-1.0 size=  681826kB time=00:05:44.26 bitrate=16224.5kbit
frame=17348 fps=1560 q=-1.0 size=  686035kB time=00:05:46.31 bitrate=16228.1kbit
frame=17525 fps=1498 q=-1.0 size=  693169kB time=00:05:49.86 bitrate=16230.4kbit
frame=17923 fps=1469 q=-1.0 size=  708912kB time=00:05:57.73 bitrate=16233.8kbit
frame=18044 fps=1421 q=-1.0 size=  713778kB time=00:06:00.23 bitrate=16232.0kbit
frame=18537 fps=1398 q=-1.0 size=  733450kB time=00:06:10.11 bitrate=16233.7kbit
frame=18768 fps=1361 q=-1.0 size=  742490kB time=00:06:14.66 bitrate=16234.5kbit
frame=18954 fps=1360 q=-1.0 Lsize=  751545kB time=00:06:19.05 bitrate=16241.9kbi
ts/s
video:739348kB audio:11847kB global headers:0kB muxing overhead 0.046624%

Y:\appo>


mov file
  • Audio: NO
  • Video: ok, i play the whole file
  • Timeline: ok

m2ts file
  • Audio: ok
  • Video: about 30 seconds
  • Timeline: not run

See attach file

Re: LG 32LW570G and .m2ts files problem (only 30 seconds)

PostPosted: Thu Dec 22, 2011 11:46 am
by zip
ok, so it looks like the player has a problem with m2ts container (or at least those that you have). You;ll have to remux files to mov or mkv I assume. The audio problem - i'm not sure as it's just copying what was in the original, maybe mkv would work.

Also try remuxing back to mpegts if it helps:

  Code:
ffmpeg -i S:\_Sony\Video\20111208\20111208140124.m2ts -vcodec copy -acodec copy -f mpegts S:\_Sony\Video\20111208\20111208140124.ts

Re: LG 32LW570G and .m2ts files problem (only 30 seconds)

PostPosted: Thu Dec 22, 2011 4:18 pm
by rosario.f
zip wrote:Also try remuxing back to mpegts if it helps:

  Code:
ffmpeg -i S:\_Sony\Video\20111208\20111208140124.m2ts -vcodec copy -acodec copy -f mpegts S:\_Sony\Video\20111208\20111208140124.ts


Yes, i can play the whole file (audio & video) after i remuxing in mpegtf format (.ts)

Thank you so much.