Page 1 of 1

0.6.2 still problematic for HD

PostPosted: Thu Feb 23, 2012 7:45 am
by PJusa
Hi,

I just tried 0.6.2 and it looks great but HD recordings are a problem. you can forward in them at all (MKV, AVI or other) and the displayed duration is 5 hrs + for any file. If this is not a general issue but related to specific files I can post the details - do let me know.

Those files played perfectly on 0.6.0.1 - will revert back the installation and test again. Keep up the great work!


here are some details about the problematic files:

examplefile 1

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
[avi @ 01969da0] max_analyze_duration 5000000 reached at 5000000
Input #0, avi, from '1.avi':
Duration: 01:36:13.94, start: 0.000000, bitrate: 5943 kb/s
Stream #0.0: Video: h264 (Main), yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 50 fp
s, 50 tbr, 50 tbn, 100 tbc
Stream #0.1: Audio: ac3, 48000 Hz, stereo, s16, 448 kb/s
At least one output file must be specified

examplefile 2

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
[avi @ 01969dc0] max_analyze_duration 5000000 reached at 5000000
Input #0, avi, from '2.avi':
Metadata:
encoder : Lavf52.108.0
Duration: 00:45:48.02, start: 0.000000, bitrate: 3579 kb/s
Stream #0.0: Video: h264 (Main), yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 50 fp
s, 50 tbr, 50 tbn, 100 tbc
Stream #0.1: Audio: mp3, 48000 Hz, stereo, s16, 192 kb/s
At least one output file must be specified

examplefile 3

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
[avi @ 01969dc0] max_analyze_duration 5000000 reached at 5000000
Input #0, avi, from '3.avi':
Metadata:
encoder : Lavf52.102.0
Duration: 01:45:49.70, start: 0.000000, bitrate: 2662 kb/s
Stream #0.0: Video: h264 (Main), yuv420p, 720x576 [PAR 64:45 DAR 16:9], 25 f
ps, 25 tbr, 25 tbn, 50 tbc
Stream #0.1: Audio: mp3, 48000 Hz, stereo, s16, 192 kb/s
At least one output file must be specified

the ffw/backward issues are totally solved when playing the files with 0.6.0.1 - with 0.6.2 i cant fastforward and the duration of the clip is shown as 5 hours and a bit. i also cant select a specific time for the file to start.

Re: 0.6.2 still problematic for HD

PostPosted: Thu Feb 23, 2012 1:30 pm
by zip
that's because the file is transcoded in 0.6.2 due to a new h264 pofile/level detection and the Samsung TV doesn't display the duration right.

You can try removing the video transcoding config which is related to the 4.2 level from the profile and try again.

Re: 0.6.2 still problematic for HD

PostPosted: Thu Feb 23, 2012 2:46 pm
by PJusa
thanks for the suggestion. so all references to 4.2 level should be removed or would it make sense to change the 4.2 level to a higher one? appologies if this is stupid - i know rather little about those things.

Re: 0.6.2 still problematic for HD

PostPosted: Thu Feb 23, 2012 2:48 pm
by Cerberus
PJusa wrote:thanks for the suggestion. so all references to 4.2 level should be removed or would it make sense to change the 4.2 level to a higher one? appologies if this is stupid - i know rather little about those things.


anything less than 4.2 is not transcoded, any thing above 4.2 is transcoded. So what need doing the the file header needs correcting so file isnt transcoded.

to calculate correct value for the file: http://wiki.serviio.org/doku.php?id=get_h264_level

to change it to the correct value you work out with above post: http://wiki.serviio.org/doku.php?id=avceditor

or as you found if your not worried about the online feeds feature of serviio just stick to 0.6.0.1

Re: 0.6.2 still problematic for HD

PostPosted: Thu Feb 23, 2012 3:16 pm
by PJusa
thanks - i guess i will stick with 0.6.0.1 then since it plays almost any file i throw at it. thanks for the help - those things are not that easy to figure out ;)

Re: 0.6.2 still problematic for HD

PostPosted: Mon Feb 27, 2012 1:10 pm
by zip
i meant you could just have taken the lines including 4.2 out from the profile to get back to the 0.6 functionality

Re: 0.6.2 still problematic for HD

PostPosted: Mon Feb 27, 2012 1:25 pm
by Cerberus
PJusa wrote:thanks - i guess i will stick with 0.6.0.1 then since it plays almost any file i throw at it. thanks for the help - those things are not that easy to figure out ;)


ok lolol i got a D in maths and i managed it. ;)