Audio codec not supported - Samsung bd-5500
Great software... I've tried lots of DLNA server software with my Samsung and serviio is best I've used.
One issue I'm having is playing videos from an older cannon camera. I've got a Samsung BD-5500 blu-ray player using the Samsung TV / player (C-series) profile with the added container:
This was added since serviio was trying to send the file natively to the samsung which wasn't working... so now, it's trying to transcode so that the samsung can properly play it. The video now shows up, however, when it's starts to play, I receive an error message that no supported audio codec was found.
here is my ffmpeg information...
- Code:
C:\Program Files\Serviio\lib>ffmpeg -i "N:\my pictures\digital\2004-01-11\200401
11_0520PM_MVI_0602.avi"
FFmpeg version UNKNOWN, Copyright (c) 2000-2011 the FFmpeg developers
built on Jan 10 2011 21:46:22 with gcc 4.4.2
configuration: --enable-static --disable-shared --disable-shared --disable-ffp
lay --disable-ffserver --enable-memalign-hack --enable-libmp3lame --arch=x86 --e
nable-runtime-cpudetect --enable-w32threads --target-os=mingw32 --cross-prefix=i
686-mingw32-
libavutil 50.36. 0 / 50.36. 0
libavcore 0.16. 0 / 0.16. 0
libavcodec 52.108. 0 / 52.108. 0
libavformat 52.92. 0 / 52.92. 0
libavdevice 52. 2. 3 / 52. 2. 3
libavfilter 1.72. 0 / 1.72. 0
libswscale 0.12. 0 / 0.12. 0
Input #0, avi, from 'N:\my pictures\digital\2004-01-11\20040111_0520PM_MVI_0602.avi':
Metadata:
creation_time : 2004-01-11 16:20:35
encoder : CanonMVI01
Duration: 00:00:29.99, start: 0.000000, bitrate: 5345 kb/s
Stream #0.0: Video: mjpeg, yuvj422p, 640x480, 15 tbr, 15 tbn, 15 tbc
Stream #0.1: Audio: pcm_u8, 11024 Hz, 1 channels, u8, 88 kb/s
At least one output file must be specified
Logs from debug lines:
- Code:
2011-01-23 21:02:20,751 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,Content-Length: 9000000000,Date: Mon, 24 Jan 2011 02:02:20 GMT,Server: Windows 7, UPnP/1.0 DLNADOC/1.50, Serviio/0.5,Cache-control: no-cache,contentFeatures.dlna.org: DLNA.ORG_PN=MPEG_TS_SD_KO_ISO;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01500000000000000000000000000000,transferMode.dlna.org: Streaming]]
2011-01-23 21:02:20,763 DEBUG [WebServer] Incoming connection from /192.168.1.103:38978
2011-01-23 21:02:20,763 DEBUG [ResourceTransportRequestHandler] GET /resource/444/MEDIA_ITEM/MPEG_TS_SD_KO_ISO HTTP/1.0, headers = [getcontentFeatures.dlna.org: 1,transferMode.dlna.org: Streaming,getMediaInfo.sec: 1,TimeSeekRange.dlna.org: npt=0-,Host: 192.168.1.10:8895]]
2011-01-23 21:02:20,764 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.103
2011-01-23 21:02:20,765 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.1.103, Profile=Samsung TV / player (C-series)'
2011-01-23 21:02:20,766 DEBUG [ResourceTransportRequestHandler] Request for resource 444 and type 'MEDIA_ITEM' received
2011-01-23 21:02:20,766 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 444)
2011-01-23 21:02:20,768 DEBUG [VideoDAOImpl] Reading a Video (id = 444)
2011-01-23 21:02:20,770 DEBUG [VideoDeliveryEngine] Delivering item '444' for client 'IPAddress=/192.168.1.103, Profile=Samsung TV / player (C-series)'
2011-01-23 21:02:20,770 DEBUG [VideoDeliveryEngine] Delivering file '20040111_0520PM_MVI_0602.avi' using transcoding
2011-01-23 21:02:20,771 DEBUG [VideoDeliveryEngine] No suitable transcoding job exists yet, start one for client 'IPAddress=/192.168.1.103, Profile=Samsung TV / player (C-series)'
2011-01-23 21:02:20,774 DEBUG [MediaItemDAOImpl] Getting file of media item 444
2011-01-23 21:02:20,778 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode file: N:\Movies\20040111_0520PM_MVI_0602.avi
2011-01-23 21:02:20,779 DEBUG [ProcessExecutor] Starting C:\Program Files\Serviio\bin\\..\lib/ffmpeg.exe -threads 2 -i N:\Movies\20040111_0520PM_MVI_0602.avi -y -vcodec mpeg2video -sameq -r 30.0 -g 15 -copyts -acodec libmp3lame -ab 64k -ar 11024 -ac 1 -map 0:0 -map 0:1 -sn -f mpegts C:\Windows\TEMP\Serviio\transcoding-temp-444-MPEG2TS.stf
2011-01-23 21:02:21,297 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file 20040111_0520PM_MVI_0602.avi: MPEG_TS_SD_EU_ISO
2011-01-23 21:02:21,298 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file 20040111_0520PM_MVI_0602.avi: MPEG_TS_SD_NA_ISO
2011-01-23 21:02:21,298 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file 20040111_0520PM_MVI_0602.avi: MPEG_TS_SD_KO_ISO
2011-01-23 21:02:21,298 DEBUG [VideoDeliveryEngine] Sending transcoding stream
2011-01-23 21:02:21,299 DEBUG [MediaItemDAOImpl] Marking MediaItem (id = 444) as read
Now, when I try to run ffmpeg.exe stand alone with what serviio sends, I recieve the following:
- Code:
C:\Program Files\Serviio\lib>ffmpeg.exe -threads 2 -i N:\Movies\20040111_0520PM_
MVI_0602.avi -y -vcodec mpeg2video -sameq -r 30.0 -g 15 -copyts -acodec libmp3la
me -ab 64k -ar 11024 -ac 1 -map 0:0 -map 0:1 -sn -f mpegts C:\Windows\TEMP\Servi
io\transcoding-temp-444-MPEG2TS.stf
FFmpeg version UNKNOWN, Copyright (c) 2000-2011 the FFmpeg developers
built on Jan 10 2011 21:46:22 with gcc 4.4.2
configuration: --enable-static --disable-shared --disable-shared --disable-ffp
lay --disable-ffserver --enable-memalign-hack --enable-libmp3lame --arch=x86 --e
nable-runtime-cpudetect --enable-w32threads --target-os=mingw32 --cross-prefix=i
686-mingw32-
libavutil 50.36. 0 / 50.36. 0
libavcore 0.16. 0 / 0.16. 0
libavcodec 52.108. 0 / 52.108. 0
libavformat 52.92. 0 / 52.92. 0
libavdevice 52. 2. 3 / 52. 2. 3
libavfilter 1.72. 0 / 1.72. 0
libswscale 0.12. 0 / 0.12. 0
Input #0, avi, from 'N:\Movies\20040111_0520PM_MVI_0602.avi':
Metadata:
creation_time : 2004-01-11 16:20:35
encoder : CanonMVI01
Duration: 00:00:29.99, start: 0.000000, bitrate: 5345 kb/s
Stream #0.0: Video: mjpeg, yuvj422p, 640x480, 15 tbr, 15 tbn, 15 tbc
Stream #0.1: Audio: pcm_u8, 11024 Hz, 1 channels, u8, 88 kb/s
[NULL @ 02206c90] Requested sampling rate unsupported using closest supported (1
1025)
[buffer @ 02215e70] w:640 h:480 pixfmt:yuvj422p
[ffsink @ 02215aa0] auto-inserting filter 'auto-inserted scaler 0' between the f
ilter 'src' and the filter 'out'
[scale @ 022c3240] w:640 h:480 fmt:yuvj422p -> w:640 h:480 fmt:yuv420p flags:0x4
[mpegts @ 0220fb70] muxrate VBR, pcr every 3 pkts, sdt every 200, pat/pmt every
40 pkts
Output #0, mpegts, to 'C:\Windows\TEMP\Serviio\transcoding-temp-444-MPEG2TS.stf'
:
Metadata:
creation_time : 2004-01-11 16:20:35
encoder : Lavf52.92.0
Stream #0.0: Video: mpeg2video, yuv420p, 640x480, q=2-31, 200 kb/s, 90k tbn,
30 tbc
Stream #0.1: Audio: libmp3lame, 11025 Hz, 1 channels, s16, 64 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop encoding
Warning, using s16 intermediate sample format for resampling
frame= 16 fps= 0 q=6.0 size= 84kB time=0.50 bitrate=1374.7kbits/s dup=7
frame= 32 fps= 29 q=6.0 size= 147kB time=1.03 bitrate=1161.5kbits/s dup=15
frame= 50 fps= 30 q=6.0 size= 222kB time=1.63 bitrate=1112.3kbits/s dup=24
frame= 66 fps= 30 q=6.0 size= 282kB time=2.17 bitrate=1066.9kbits/s dup=32
frame= 84 fps= 31 q=6.0 size= 373kB time=2.77 bitrate=1103.5kbits/s dup=41
frame= 100 fps= 31 q=6.0 size= 441kB time=3.30 bitrate=1095.6kbits/s dup=49
So, the question is I'm not sure if the following is causing my issue:
[NULL @ 02206c90] Requested sampling rate unsupported using closest supported (1
1025)
or is it that the samsung can't handle the audio what ffmpeg is sending? It should since it's a simple pcm stream? Very confused.
-Carl