Page 1 of 1
[SOLVED] Mov from Canon on Bravia w6

Posted:
Mon Jan 13, 2014 6:29 pm
by Arnof
Hi,
I'm trying to read .Mov files from different Canon cameras on a new Bravia W650.
TV is connected thru wifi and can read usuals files without any problems.
In settings, I have choose Bravia 2013 profile, transcoded option is checked.
Files appears on the TV but can't be read.
I think that files are not transcoded on the fly.
Did I missed something.
Thanks in advance
Re: Mov from Canon on Bravia w6

Posted:
Mon Jan 13, 2014 7:39 pm
by Illico
Could you provide information about your .mov files ? see signature links
Re: Mov from Canon on Bravia w6

Posted:
Mon Jan 13, 2014 9:05 pm
by Arnof
Une livebox dans la signature, je peux peut-être répondre en français... ;o)
En même temps quand je vois la taille du fichier (400 mo pour 2.3 min) je me dis que c'est peut-être juste un problème de bitrate ?...
ffmpeg version N-54096-ge41bf19 Copyright (c) 2000-2013 the FFmpeg developers
built on Jun 18 2013 10:49:28 with gcc 4.7.2 (GCC)
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-libass --enable-librtm
p --enable-fontconfig --enable-libfreetype --enable-zlib --enable-libx264 --extr
a-libs='-lrtmp -lpolarssl -lws2_32 -lwinmm -lexpat -lfreetype -lfribidi -lz' --a
rch=x86 --enable-runtime-cpudetect --enable-pthreads --target-os=mingw32 --cross
-prefix=i686-w64-mingw32- --enable-gpl --pkg-config=pkg-config
libavutil 52. 37.101 / 52. 37.101
libavcodec 55. 16.100 / 55. 16.100
libavformat 55. 9.100 / 55. 9.100
libavdevice 55. 2.100 / 55. 2.100
libavfilter 3. 77.101 / 3. 77.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'G:\Mes images\├®t├® 2013\MVI_3836.MOV':
Metadata:
major_brand : qt
minor_version : 537331968
compatible_brands: qt CAEP
creation_time : 2013-08-09 23:30:15
Duration: 00:02:36.29, start: 0.000000, bitrate: 24703 kb/s
Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yu
vj420p, 1280x720, 23161 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 60k tbc
Metadata:
creation_time : 2013-08-09 23:30:15
Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, s1
6, 1536 kb/s
Metadata:
creation_time : 2013-08-09 23:30:15
Re: Mov from Canon on Bravia w6

Posted:
Tue Jan 14, 2014 9:37 am
by Illico
According to
http://pdf.crse.com/manuals/13MW802111/ ... ist.html#5Sony Bravia 2013 may support: MOV (*.mov) with AVC / H.264 BP@L3 video and PCM(U8) / PCM(S16BE) / PCM(S16LE) audio
Your file is a MOV/ H264 BP@L? / PCM(S16LE) but I don't know what is the h264 level.
Could you provide
MediaInfo tools result (in text format) of your mov file ?
Re: Mov from Canon on Bravia w6

Posted:
Tue Jan 14, 2014 9:50 am
by Arnof
Les voici :
Format : MPEG-4
Profil du format : QuickTime
Identifiant du codec : qt
Taille du fichier : 460 Mio
Durée : 2mn 36s
Débit global moyen : 24,7 Mb/s
Date d'encodage : UTC 2013-08-09 23:30:15
Date de marquage : UTC 2013-08-09 23:30:15
com.apple.quicktime.make : Canon
com.apple.quicktime.model : Canon PowerShot SX230 HS
Vidéo
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Profil du format : Baseline@L4.1
Paramètres du format, CABAC : Non
Paramètres du format, RefFrames : 1 image
Paramètres du format, GOP : M=1, N=15
Identifiant du codec : avc1
Identifiant du codec/Info : Advanced Video Coding
Durée : 2mn 36s
Débit : 23,2 Mb/s
Largeur : 1 280 pixels
Hauteur : 720 pixels
Format à l'écran : 16/9
Type d'images/s : Constant
Images par seconde : 29,970 Im/s
Espace de couleurs : YUV
Sous-échantillonnage de la chrominance : 4:2:0
Profondeur des couleurs : 8 bits
Type de balayage : Progressif
Bits/(Pixel*Image) : 0.839
Taille du flux : 432 Mio (94%)
Langue : Anglais
Date d'encodage : UTC 2013-08-09 23:30:15
Date de marquage : UTC 2013-08-09 23:30:15
Coordonnées de chromaticité : BT.709
Caractéristiques du transfert : BT.709
Coefficients de la matrice : BT.601
Audio
ID : 2
Format : PCM
Paramètres du format, Endianness : Little
Paramètres du format, Signe : Signed
Identifiant du codec : sowt
Durée : 2mn 36s
Type de débit : Constant
Débit : 1 536 Kbps
Canaux : 2 canaux
Position des cannaux : Front: L R
Echantillonnage : 48,0 KHz
Profondeur des couleurs : 16 bits
Taille du flux : 28,6 Mio (6%)
Langue : Anglais
Date d'encodage : UTC 2013-08-09 23:30:15
Date de marquage : UTC 2013-08-09 23:30:15
Re: Mov from Canon on Bravia w6

Posted:
Tue Jan 14, 2014 10:22 am
by Illico
So on your mov file header, the h264 level is 4.1 with Baseline profile
(Profil du format : Baseline@L4.1)
but according to Sony specification, for Baseline profile the maximum level supported is L3
(AVC / H.264 BP@L3, MP@L4.2, HP@L4.2)
Could you enable
detailed logging and confirm that your MOV file was delivered in native format (without transcoding) ?
Then we could try to detect this file configuration and try to transcode it.
Could you edit your profiles.xml, on "Sony Bravia TV (2013)" section edit lines like this:
- Code:
... <Transcoding>
<!-- Transcode all h264 video with HIGH/MAIN > Level 4.2 on MPEG-TS stream with MPEG2VIDEO and ac3 audio transcoding -->
<!-- expected profile MPEG_TS_SD_EU/MPEG_TS_SD_NA/MPEG_TS_SD_KO -->
<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" DAR="16:9" forceInheritance="true">
<Matches container="*" vCodec="h264" profile="high_10" />
<Matches container="*" vCodec="h264" profile="high_444" />
<Matches container="*" vCodec="h264" profile="high_422" />
<Matches container="*" vCodec="h264" profile="high" levelGreaterThan="4.2" />
<Matches container="*" vCodec="h264" profile="main" levelGreaterThan="4.2" />
<Matches container="*" vCodec="h264" profile="baseline" levelGreaterThan="3.0" />
<Matches container="*" vCodec="h264" profile="c_baseline" levelGreaterThan="3.0" />
</Video>
...
Save profiles.xml and restart serviio
services (not server) or reboot the PC, then retry.
Re: Mov from Canon on Bravia w6

Posted:
Tue Jan 14, 2014 11:02 am
by Illico
Oh,
I also notice that Sony Bravia 2013 seems not support PCM with 48kHz sample rate.
PCM(S16LE) 11.025k / 16k / 44.1k
So that also could be the problem. But I'm waiting for your test result from my previous post
Re: Mov from Canon on Bravia w6

Posted:
Tue Jan 14, 2014 11:35 am
by Arnof
No it isn't transcoded :
2014-01-14 12:18:20,711 DEBUG [VideoDeliveryEngine] Delivering file 'MVI_3836.MOV' in native format
I have tried to modify the profile.xml dut the video is still read in native :
2014-01-14 12:31:40,081 DEBUG [VideoDeliveryEngine] Delivering file 'MVI_3836.MOV' in native format
Thank you for your answer !
Re: Mov from Canon on Bravia w6

Posted:
Tue Jan 14, 2014 1:37 pm
by Illico
1/ I re-check your h264 params
Profil du format : Baseline@L4.1
Paramètres du format, RefFrames : 1 image
Largeur : 1 280 pixels
Hauteur : 720 pixels
According to this :
http://wiki.serviio.org/doku.php?id=get_h264_leveldpbMbs = (1280* 720 * 1 ) / 256 = 3600 ==> Level 2.1 so your file seems not really a BaselineL4.1 but a BaselineL2.1
To understand, could you change the previous edited profile and change level to 2.0 ? then the file should be transcoded (check on log)
<Matches container="*" vCodec="h264" profile="baseline" levelGreaterThan="2.0" />
<Matches container="*" vCodec="h264" profile="c_baseline" levelGreaterThan="2.0" />
2/ For audio, could you restart with original profiles.xml, then edit the 2013 profile section by adding :
<Matches container="*" vCodec="h264" aCodec="lpcm" />
- Code:
<!-- Remux all other h264 video to MPEG-TS stream with ac3 audio transcoding -->
<!-- Remux all other matroska/mpeg2video to MPEG-TS stream with ac3 audio transcoding -->
<Video targetContainer="mpegts" targetACodec="ac3" forceInheritance="true">
<Matches container="*" vCodec="h264" aCodec="lpcm" />
<Matches container="*" vCodec="h264" aCodec="truehd" />
<Matches container="*" vCodec="h264" aCodec="flac" />
<Matches container="avi" vCodec="h264" />
<Matches container="flv" vCodec="h264" />
<Matches container="wtv" vCodec="h264" />
<Matches container="matroska" vCodec="mpeg2video" />
</Video>
Re: Mov from Canon on Bravia w6

Posted:
Tue Jan 14, 2014 2:02 pm
by Arnof
It works !
Thank you for being so reactive !
Re: Mov from Canon on Bravia w6

Posted:
Tue Jan 14, 2014 2:11 pm
by Illico
Arnof wrote:It works !
Thank you for being so reactive !
Which modification works (1) or (2), or both ?
Re: Mov from Canon on Bravia w6

Posted:
Tue Jan 14, 2014 2:15 pm
by Arnof
I did both.
in order to make modifications one by one, could you tell me what was the original values for these two lines :
<Matches container="*" vCodec="h264" profile="baseline" levelGreaterThan="2.0" />
<Matches container="*" vCodec="h264" profile="c_baseline" levelGreaterThan="2.0" />
Edit : I answer to myself : They did not exist !
I will try tonight...
Re: Mov from Canon on Bravia w6

Posted:
Tue Jan 14, 2014 2:19 pm
by Illico
Arnof wrote:I did both.
I will try one by one tonight...
OK, I hope that only the (2) will be enough.
Bonne après midi.
Re: Mov from Canon on Bravia w6

Posted:
Tue Jan 14, 2014 2:21 pm
by Illico
Arnof wrote:I did both.
in order to make modifications one by one, could you tell me what was the original values for these two lines :
<Matches container="*" vCodec="h264" profile="baseline" levelGreaterThan="2.0" />
<Matches container="*" vCodec="h264" profile="c_baseline" levelGreaterThan="2.0" />
I will try tonight...
remove the two lines like this:
- Code:
<!-- Transcode all h264 video with HIGH/MAIN > Level 4.2 on MPEG-TS stream with MPEG2VIDEO and ac3 audio transcoding -->
<!-- expected profile MPEG_TS_SD_EU/MPEG_TS_SD_NA/MPEG_TS_SD_KO -->
<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" DAR="16:9" forceInheritance="true">
<Matches container="*" vCodec="h264" profile="high_10" />
<Matches container="*" vCodec="h264" profile="high_444" />
<Matches container="*" vCodec="h264" profile="high_422" />
<Matches container="*" vCodec="h264" profile="high" levelGreaterThan="4.2" />
<Matches container="*" vCodec="h264" profile="main" levelGreaterThan="4.2" />
</Video>
Re: Mov from Canon on Bravia w6

Posted:
Tue Jan 14, 2014 2:27 pm
by Arnof
Indeed, modification (2) is good enough.
Merci encore et bonne aprem également !
Re: Mov from Canon on Bravia w6

Posted:
Tue Jan 14, 2014 6:13 pm
by Arnof
I finally leave the option (1).
Bitarate was too high for my wifi connection (18000kbs), so after transcoding, it works perfectly.
An idea : it might be useful to specify a maximum bitrate above which tanscoding would be active...
Re: Mov from Canon on Bravia w6

Posted:
Tue Jan 14, 2014 7:11 pm
by Illico
Arnof wrote:An idea : it might be useful to specify a maximum bitrate above which tanscoding would be active...
Already requested :
https://bitbucket.org/xnejp03/serviio/i ... te-for-useBut serviio dev, don't want to fix it.