Page 1 of 1
Video codec not supported

Posted:
Wed Oct 17, 2012 9:06 pm
by mkloster
Sorry for the re-post here...wasn't getting much attention on the Samsung forum...
I receive this error ("Video codec not supported") from my TV when attempting to stream .avi files from my Serviio server (PC) to my Samsung TV (UN46D6050TF). The device profile is set appropriately within the server.
I am an idiot when it comes to codecs, video formats, etc., so any help you can give me to debug this issue would be greatly appreciated. The .avi's were created by capturing content from a video camera via PowerDirector 8. Let me know if you need more information about the .avi file...please also include details on how to get that information. Thanks!
Mike
Re: Video codec not supported

Posted:
Wed Oct 17, 2012 9:57 pm
by Spadge
It gets pretty complicated pretty quickly, but basically ... avi is the container format, like the bag that the video and audio are carried in. In the container you get streams, and those streams are encoded with codecs.
You can find out what the avi is made up of by using mediainfo, full instructions here:
viewtopic.php?f=5&t=4510
Re: Video codec not supported

Posted:
Wed Oct 17, 2012 11:01 pm
by mkloster
Thanks...here is what it showed about my file. Do you see anything in there that would not be supported?
General
Format : AVI
Format/Info : Audio Video Interleave
Commercial name : DVCPRO
Format profile : OpenDML
File size : 11.7 GiB
Duration : 55mn 20s
Overall bit rate mode : Constant
Overall bit rate : 30.3 Mbps
Recorded date : 2006-12-14 10:22:51.000
Video
ID : 0
Format : DV
Commercial name : DVCPRO
Codec ID : dvsd
Codec ID/Hint : Sony
Duration : 55mn 20s
Bit rate mode : Constant
Bit rate : 24.4 Mbps
Encoded bit rate : 28.8 Mbps
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 4:3
Frame rate mode : Constant
Frame rate : 29.970 fps
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:1:1
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Bottom Field First
Compression mode : Lossy
Bits/(Pixel*Frame) : 2.357
Stream size : 11.1 GiB (95%)
Encoding settings : ae mode=full automatic / wb mode=automatic / white balance= / fcm=manual focus
Audio
ID : 1
Format : PCM
Format settings, Endianness : Little
Format settings, Sign : Signed
Codec ID : 1
Duration : 55mn 19s
Bit rate mode : Constant
Bit rate : 1 536 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Stream size : 608 MiB (5%)
Interleave, duration : 33 ms (1.00 video frame)
Re: Video codec not supported

Posted:
Wed Oct 17, 2012 11:12 pm
by Spadge
Do yourself a favour and re-encode that with handbrake or similar to .mp4 - that's my opinion.
Re: Video codec not supported

Posted:
Wed Oct 17, 2012 11:20 pm
by Spadge
It's a lot more simple than it looks:
https://trac.handbrake.fr/wiki/WindowsGuiGuideJust click 'source' and give it your video file, select profile "high" and tell it to encode by clicking the start button. You can play around with settings if you're not happy with the result.
Just, whatever you do, don't delete your original files.
Re: Video codec not supported

Posted:
Wed Oct 17, 2012 11:23 pm
by mkloster
Thank you very much...doing that now. I will report back w/ my findings.
Re: Video codec not supported

Posted:
Wed Oct 17, 2012 11:28 pm
by Spadge
Good luck

Re: Video codec not supported

Posted:
Thu Oct 18, 2012 2:56 pm
by mkloster
I attempted to convert it to mp4, but the audio is missing. I haven't been able to figure that out, so if you have any tips, please fire away. Thanks!
Re: Video codec not supported

Posted:
Fri Oct 19, 2012 1:04 pm
by Illico
Could you provide "ffmpeg -i <yourfilepath>" ?
Re: Video codec not supported

Posted:
Fri Oct 19, 2012 4:21 pm
by mkloster
Illico wrote:Could you provide "ffmpeg -i <yourfilepath>" ?
Sorry...I'm not sure how to do that. Thanks.
Re: Video codec not supported

Posted:
Mon Oct 22, 2012 7:38 am
by Illico
Re: Video codec not supported

Posted:
Mon Oct 22, 2012 4:07 pm
by mkloster
Here are the "ffmpeg" results for the mp4 that doesn't have sound after conversion:
- Code:
C:\Users\Mike>cd "\Program Files\Serviio\lib"
C:\Program Files\Serviio\lib>ffmpeg.exe -i C:\Users\Mike\Videos\myFile.m4v
ffmpeg version N-42368-gbf53863 Copyright (c) 2000-2012 the FFmpeg developers
built on Jul 10 2012 03:40:45 with gcc 4.6.3
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-w64-mingw32- --pkg-config=pk
g-config
libavutil 51. 64.100 / 51. 64.100
libavcodec 54. 33.100 / 54. 33.100
libavformat 54. 15.102 / 54. 15.102
libavdevice 54. 1.100 / 54. 1.100
libavfilter 3. 1.100 / 3. 1.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\Mike\Videos\myFile.m4v':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: mp42isomavc1
encoder : HandBrake 0.9.8 2012071700
Duration: 00:00:30.03, start: 0.000000, bitrate: 3751 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 720x480 [
SAR 640:717 DAR 320:239], 3585 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 180k tbc
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 159
kb/s
Stream #0:2(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 3 k
b/s
At least one output file must be specified
C:\Program Files\Serviio\lib>
Re: Video codec not supported

Posted:
Mon Oct 22, 2012 4:09 pm
by mkloster
Here are the "ffmpeg" results for the .avi that won't play on my TV:
- Code:
C:\Program Files\Serviio\lib>ffmpeg -i c:\Users\Mike\Videos\myFile.avi
ffmpeg version N-42368-gbf53863 Copyright (c) 2000-2012 the FFmpeg developers
built on Jul 10 2012 03:40:45 with gcc 4.6.3
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-w64-mingw32- --pkg-config=pk
g-config
libavutil 51. 64.100 / 51. 64.100
libavcodec 54. 33.100 / 54. 33.100
libavformat 54. 15.102 / 54. 15.102
libavdevice 54. 1.100 / 54. 1.100
libavfilter 3. 1.100 / 3. 1.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
Guessed Channel Layout for Input Stream #0.1 : stereo
Guessed Channel Layout for Input Stream #0.2 : stereo
Input #0, avi, from 'c:\Users\Mike\Videos\myFile.avi':
Duration: 00:23:26.13, start: 0.000000, bitrate: 28850 kb/s
Stream #0:0: Video: dvvideo, yuv411p, 720x480 [SAR 8:9 DAR 4:3], 28771 kb/s,
29.97 tbr, 29.97 tbn, 29.97 tbc
Stream #0:1: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s
Stream #0:2: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s
At least one output file must be specified
C:\Program Files\Serviio\lib>
Re: Video codec not supported

Posted:
Thu Nov 22, 2012 4:35 am
by smithshane
mkloster wrote:I attempted to convert it to mp4, but the audio is missing. I haven't been able to figure that out, so if you have any tips, please fire away. Thanks!
Follow this guide, hope it is helpful for you.
http://www.appgeeker.com/how-to/convert-avi-to-mp4-mac.htmlRegards, Smith.