FAQ  •  Register  •  Login

[SOLVED] Sony BDP-480 and Nikon D7000 videos

<<

gromitcalimero

Serviio newbie

Posts: 3

Joined: Tue Sep 27, 2011 8:22 pm

Post Tue Sep 27, 2011 8:25 pm

[SOLVED] Sony BDP-480 and Nikon D7000 videos

Hi all !

I have some videos from my nikon D7000 camera and I would like transcode them in order to see these files with my Sony Blu-ray player (BDP-S480). I tried to see my videos with serviio version 0.6.0.1 but without success. I had a warning trace in log file and my TV displayed nothing (black screen with wait logo) without error message.

Content of my serviio.log :

  Code:
2011-09-26 22:07:46,406 WARN  [VideoExtractionStrategy] Couldn't resolve H264 profile/level/ref_frames for file '_DSC0873.MOV' because Sequence parameter set header was not recognized


ffmpeg -i _DSC0873.MOV command line result :

  Code:
ffmpeg version N-31480-g8bc3a48, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jul 14 2011 23:37:53 with gcc 4.4.2
  configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-librtmp --extra-libs='
-lrtmp -lpolarssl -lws2_32 -lwinmm' --arch=x86 --enable-runtime-cpudetect --enab
le-pthreads --target-os=mingw32 --cross-prefix=i686-mingw32- --pkg-config=pkg-co
nfig
  libavutil    51. 11. 0 / 51. 11. 0
  libavcodec   53.  8. 0 / 53.  8. 0
  libavformat  53.  6. 0 / 53.  6. 0
  libavdevice  53.  2. 0 / 53.  2. 0
  libavfilter   2. 25. 0 /  2. 25. 0
  libswscale    2.  0. 0 /  2.  0. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'c:\temp\serviio\_DSC0873.MOV':
  Metadata:
    major_brand     : qt
    minor_version   : 537331968
    compatible_brands: qt  niko
    creation_time   : 2011-06-26 18:01:59
  Duration: 00:00:59.26, start: 0.000000, bitrate: 20585 kb/s
    Stream #0.0(eng): Video: h264 (High), yuvj420p, 1920x1080 [PAR 1:1 DAR 16:9]
, 19039 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc
    Metadata:
      creation_time   : 2011-06-26 18:01:59
    Stream #0.1(eng): Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
    Metadata:
      creation_time   : 2011-06-26 18:01:59

Any idea?

Thanks in advance for your help !
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Tue Sep 27, 2011 10:26 pm

Re: Sony BDP-480 and Nikon D7000 videos

This means the H264 level/profile could not be read as the header seems to be dodgy. It should still add the file to the library though and not to try adding it again. Is that what you're seeing?
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
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Wed Sep 28, 2011 7:22 am

Re: Sony BDP-480 and Nikon D7000 videos

Could you enable detailed logging (see signature link) and post here the the log file section when your start this file?
Could you also provide MediaInfo result of this file?
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

gromitcalimero

Serviio newbie

Posts: 3

Joined: Tue Sep 27, 2011 8:22 pm

Post Thu Sep 29, 2011 8:59 pm

Re: Sony BDP-480 and Nikon D7000 videos

Thanks for replies,

log file (DEBUG level) with first occurence of "_DSC0873.MOV" :

  Code:
2011-09-29 22:45:57,031 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file _DSC0873.MOV
2011-09-29 22:45:57,031 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file _DSC0873.MOV: AVC_TS_HD_50_LPCM_T
2011-09-29 22:45:57,031 DEBUG [ResourceTransportRequestHandler] Sending HEAD response back
2011-09-29 22:45:57,031 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/vnd.dlna.mpeg-tts,Date: Thu, 29 Sep 2011 20:45:57 GMT,Server: Windows XP, UPnP/1.0 DLNADOC/1.50, Serviio/0.6.0.1,Cache-control: no-cache,contentFeatures.dlna.org: DLNA.ORG_PN=MPEG_TS_SD_NA;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01500000000000000000000000000000,transferMode.dlna.org: Streaming]]
2011-09-29 22:45:57,062 DEBUG [ResourceTransportRequestHandler] GET /resource/598/MEDIA_ITEM/AVC_TS_HD_50_LPCM_T$1 HTTP/1.1, headers = [User-Agent: UPnP/1.0 DLNADOC/1.50,Host: 192.168.1.10:8895,Accept: */*,TimeSeekRange.dlna.org: npt=0-,X-AV-Physical-Unit-Info: pa="Blu-ray Disc Player",X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="Blu-ray Disc Player"; mv="2.0",getcontentFeatures.dlna.org: 1,Pragma: getIfoFileURI.dlna.org,transferMode.dlna.org: Streaming]]
2011-09-29 22:45:57,062 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.6
2011-09-29 22:45:57,062 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.1.6, Profile=Sony BD Player'
2011-09-29 22:45:57,062 DEBUG [ResourceTransportRequestHandler] Request for resource 598 and type 'MEDIA_ITEM' received
2011-09-29 22:45:57,062 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 598 (local)
2011-09-29 22:45:57,062 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 598)
2011-09-29 22:45:57,062 DEBUG [VideoDAOImpl] Reading a Video (id = 598)
2011-09-29 22:45:57,062 DEBUG [VideoDeliveryEngine] Delivering item '598' for client 'IPAddress=/192.168.1.6, Profile=Sony BD Player'
2011-09-29 22:45:57,062 DEBUG [VideoDeliveryEngine] Delivering file '_DSC0873.MOV' using transcoding
2011-09-29 22:45:57,062 DEBUG [AbstractTranscodingDeliveryEngine] No suitable transcoding job exists yet, start one for client 'IPAddress=/192.168.1.6, Profile=Sony BD Player'
2011-09-29 22:45:57,078 DEBUG [MediaItemDAOImpl] Getting file of media item 598
2011-09-29 22:45:57,078 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode video file: C:\Temp\serviio\_DSC0873.MOV
2011-09-29 22:45:57,078 DEBUG [ProcessExecutor] Starting C:\Program Files\Serviio\bin\\..\lib/ffmpeg.exe -i C:\Temp\serviio\_DSC0873.MOV -y -vcodec copy -vbsf h264_mp4toannexb -copyts -acodec copy -map 0:0 -map 0:1 -sn -f mpegts C:\WINDOWS\TEMP\Serviio\transcoding-temp-598-MPEG2TS.stf
2011-09-29 22:45:57,093 DEBUG [WebServer] Incoming connection from /192.168.1.6:57742
2011-09-29 22:45:57,093 WARN  [DiscoverySSDPMessageListener] Problem during DiscoverySSDPMessageListener, will try again
java.net.SocketException: socket closed
   at java.net.PlainDatagramSocketImpl.receive0(Native Method)
   at java.net.PlainDatagramSocketImpl.receive(Unknown Source)
   at java.net.DatagramSocket.receive(Unknown Source)
   at org.serviio.util.MultiCastUtils.receive(MultiCastUtils.java:91)
   at org.serviio.upnp.discovery.DiscoverySSDPMessageListener.listenForMulticastMessages(DiscoverySSDPMessageListener.java:120)
   at org.serviio.upnp.discovery.DiscoverySSDPMessageListener.run(DiscoverySSDPMessageListener.java:94)
   at java.lang.Thread.run(Unknown Source)


MediaInfo result :
  Code:
General
Complete name                    : C:\Temp\serviio\_DSC0873.MOV
Format                           : MPEG-4
Format profile                   : QuickTime
Codec ID                         : qt 
File size                        : 145 MiB
Duration                         : 59s 184ms
Overall bit rate                 : 20.6 Mbps
Encoded date                     : UTC 2011-06-26 18:01:59
Tagged date                      : UTC 2011-06-26 18:01:59
NCDT                             : NCTG

Video
ID                               : 1
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=3, N=10
Codec ID                         : avc1
Codec ID/Info                    : Advanced Video Coding
Duration                         : 59s 184ms
Bit rate mode                    : Variable
Bit rate                         : 19.0 Mbps
Width                            : 1 920 pixels
Height                           : 1 080 pixels
Display aspect ratio             : 16:9
Frame rate mode                  : Constant
Frame rate                       : 23.976 fps
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.383
Stream size                      : 134 MiB (92%)
Language                         : English
Encoded date                     : UTC 2011-06-26 18:01:59
Tagged date                      : UTC 2011-06-26 18:01:59
Transfer characteristics         : BT.470-6 System M, NTSC, FTC 73.682, BT.1700 625 PAL, BT.1700 625 SECAM
Matrix coefficients              : BT.470-6 System B, BT.470-6 System G, BT.601-6 625, BT.1358 625, BT.1700 625 PAL, BT.1700 625 SECAM, IEC 61966-2-4 601

Audio
ID                               : 2
Format                           : PCM
Format settings, Endianness      : Little
Format settings, Sign            : Signed
Codec ID                         : sowt
Duration                         : 59s 184ms
Bit rate mode                    : Constant
Bit rate                         : 1 536 Kbps
Channel(s)                       : 2 channels
Sampling rate                    : 48.0 KHz
Bit depth                        : 16 bits
Stream size                      : 10.8 MiB (7%)
Language                         : English
Encoded date                     : UTC 2011-06-26 18:01:59
Tagged date                      : UTC 2011-06-26 18:01:59
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Fri Sep 30, 2011 7:28 am

Re: Sony BDP-480 and Nikon D7000 videos

gromitcalimero wrote:[ProcessExecutor] Starting C:\Program Files\Serviio\bin\\..\lib/ffmpeg.exe -i C:\Temp\serviio\_DSC0873.MOV -y -vcodec copy -vbsf h264_mp4toannexb -copyts -acodec copy -map 0:0 -map 0:1 -sn -f mpegts C:\WINDOWS\TEMP\Serviio\transcoding-temp-598-MPEG2TS.stf
...
Format : AVC
Format profile : High@L4.0
Bit rate : 19.0 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Audio
Format : PCM
Bit rate : 1 536 Kbps
Channel(s) : 2 channels
...


OK thanks,
So this is a high video bitrate stream, with high audio bitrate audio stream too: MP4 / HS264 / LPCM : you might have stuttering problems.

Audio must be transcoded, because Sony BDP doesn't support that audio format into MP4 container.
So Audio must be transcoded into AC3 and video copied into MPEG2TS container:

Could you edit the profiles.xml file, "Sony BD Player" Profile section, an modify the first <Video> element like this:
  Code:
         <Video targetContainer="mpegts" targetACodec="ac3" aBitrate="320">
            <!-- FFmpeg cannot currently remux dts audio properly so it must be transcoded, but all other audio is left alone -->
            <Matches container="matroska" aCodec="dca" />
            <Matches container="ogg" vCodec="mpeg4" />
            <Matches container="mp4" aCodec="lpcm" />
         </Video>
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

gromitcalimero

Serviio newbie

Posts: 3

Joined: Tue Sep 27, 2011 8:22 pm

Post Tue Oct 04, 2011 9:24 pm

Re: Sony BDP-480 and Nikon D7000 videos

Thanks a lot, it works :D
<<

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:05 pm

Re: [SOLVED] Sony BDP-480 and Nikon D7000 videos

added to the code base, ta

Return to Sony

Who is online

Users browsing this forum: No registered users and 21 guests

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