Page 1 of 1
FIle plays on B profile but not on C/D (0.6.0.1)

Posted:
Thu Feb 23, 2012 8:08 am
by PJusa
OK,
another funny problem. I have a file that wont play on C/D profile. When i switch profile to B it does. I cant figure out why. I though C/D inherits B?
here are the details of the file
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
[mpeg4 @ 0196a4e0] Invalid and inefficient vfw-avi packed B frames detected
Seems stream 0 codec frame rate differs from container frame rate: 30000.00 (300
00/1) -> 25.00 (25/1)
Input #0, avi, from '1.avi':
Metadata:
encoder : Nandub v1.0rc2
title : 01 - Pumuckl Spuk in der Werkstatt
ISBJ : 01 - Pumuckl Spuk in der Werkstatt
artist : fLoRi 2003
copyright :
comment :
Duration: 00:23:20.44, start: 0.000000, bitrate: 2094 kb/s
Stream #0.0: Video: mpeg4, yuv420p, 640x480 [PAR 1:1 DAR 4:3], 25 fps, 25 tb
r, 25 tbn, 30k tbc
Stream #0.1: Audio: mp3, 48000 Hz, stereo, s16, 128 kb/s
At least one output file must be specified
Re: FIle plays on B profile but not on C/D (0.6.0.1)

Posted:
Thu Feb 23, 2012 8:47 am
by will
http://wiki.serviio.org/doku.php?id=avirepair will help fix that file, however you should also upgrade to 0.6.2, 0.6.0.1 is a bit old now.
My guess is that B was doing some extra transcoding with fixed the "Invalid and inefficient vfw-avi packed B frames detected" problem, i'm sure someone familure with the samsung profiles can confirm.
Re: FIle plays on B profile but not on C/D (0.6.0.1)

Posted:
Thu Feb 23, 2012 9:47 am
by PJusa
thanks will - i will try that. i used DivXRepair which didnt find any issues for that file.
i didnt upgrade to 0.6.1/2 because those versions create ffw/bw-issues on my HD files. otherwise 0.6.2 would have been perfect. i tried it and it played this file without any problems and in default settings for C/D profile.
Re: FIle plays on B profile but not on C/D (0.6.0.1)

Posted:
Thu Feb 23, 2012 1:28 pm
by Cerberus
that an avi encoding issue and id advise sticking to 0.6.0.1 atm with your other issue.
http://wiki.serviio.org/doku.php?id=avirepair - to fix your avi file

Re: FIle plays on B profile but not on C/D (0.6.0.1)

Posted:
Thu Feb 23, 2012 2:48 pm
by PJusa
alright i fixed the file in question and the problem is exactly the same. divfix did find one problem - produced a fixed file and i added it to serviio. still the same error: video codec not supported.
Re: FIle plays on B profile but not on C/D (0.6.0.1)

Posted:
Thu Feb 23, 2012 2:55 pm
by Cerberus
broken beyond repair file and reason B profile work is cause all avi are transcoded.
Re: FIle plays on B profile but not on C/D (0.6.0.1)

Posted:
Thu Feb 23, 2012 3:16 pm
by PJusa
in that case the best solution would be to manually switch the profiles for such files right?
Re: FIle plays on B profile but not on C/D (0.6.0.1)

Posted:
Fri Feb 24, 2012 8:48 am
by PJusa
ok the non playing files bugged me a bit so i tried them all.
the funny thing is that some actually play with C/D profile while others dont. appologies in case this is not pertaining to samsung specific issues. it just might...
let me post an example of one that plays and one that doesnt. i am not sure why one would play and the other doesnt because the error thrown is the same for both files. can anyone help?
PLAYS
ffmpeg version N-38053-ga923b6b Copyright (c) 2000-2012 the FFmpeg developers
built on Feb 20 2012 19:07:51 with gcc 4.6.2
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libope
ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en
able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger -
-enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
libavutil 51. 39.100 / 51. 39.100
libavcodec 54. 3.101 / 54. 3.101
libavformat 54. 1.100 / 54. 1.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 62.101 / 2. 62.101
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 7.100 / 0. 7.100
libpostproc 52. 0.100 / 52. 0.100
[mpeg4 @ 0235AD00] Invalid and inefficient vfw-avi packed B frames detected
Input #0, avi, from '8.avi':
Metadata:
encoder : Nandub v1.0rc2
title : 08 - Meister Eder und sein Pumuckl - Pumuckl und die Schul
e
ISBJ : 08 - Meister Eder und sein Pumuckl - Pumuckl und die Schul
e
artist : fLoRi 2003
copyright :
comment :
Duration: 00:21:25.76, start: 0.000000, bitrate: 2282 kb/s
Stream #0:0: Video: mpeg4 (DX50 / 0x30355844), yuv420p, 480x352 [SAR 1:1 DAR
15:11], 25 fps, 25 tbr, 25 tbn, 30k tbc
Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16, 112 kb
/s
At least one output file must be specified
DOESNT PLAY
ffmpeg version N-38053-ga923b6b Copyright (c) 2000-2012 the FFmpeg developers
built on Feb 20 2012 19:07:51 with gcc 4.6.2
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libope
ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en
able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger -
-enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
libavutil 51. 39.100 / 51. 39.100
libavcodec 54. 3.101 / 54. 3.101
libavformat 54. 1.100 / 54. 1.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 62.101 / 2. 62.101
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 7.100 / 0. 7.100
libpostproc 52. 0.100 / 52. 0.100
[mpeg4 @ 0235AD20] Invalid and inefficient vfw-avi packed B frames detected
Input #0, avi, from '1.avi':
Metadata:
encoder : Nandub v1.0rc2
title : 01 - Pumuckl Spuk in der Werkstatt
ISBJ : 01 - Pumuckl Spuk in der Werkstatt
artist : fLoRi 2003
copyright :
comment :
Duration: 00:23:20.44, start: 0.000000, bitrate: 2094 kb/s
Stream #0:0: Video: mpeg4 (DX50 / 0x30355844), yuv420p, 640x480 [SAR 1:1 DAR
4:3], 25 fps, 25 tbr, 25 tbn, 30k tbc
Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16, 128 kb
/s
At least one output file must be specified
Re: FIle plays on B profile but not on C/D (0.6.0.1)

Posted:
Sun Feb 26, 2012 11:30 pm
by zip
This is the problem you're looking for:
- Code:
[mpeg4 @ 0235AD20] Invalid and inefficient vfw-avi packed B frames detected
Re: FIle plays on B profile but not on C/D (0.6.0.1)

Posted:
Mon Feb 27, 2012 12:46 pm
by PJusa
Hi Petr,
I thought as much - but what I found strange is that both files have this particular error and yet one plays and the other doesnt. I can reencode them (which is what i am doing) to fix it - it's just strange that such a thing occurs.
Re: FIle plays on B profile but not on C/D (0.6.0.1)

Posted:
Mon Feb 27, 2012 1:04 pm
by zip
oops, didnt notice the other had it too.... This usually is the problem but might be combined with something else.
Re: FIle plays on B profile but not on C/D (0.6.0.1)

Posted:
Mon Feb 27, 2012 1:28 pm
by Cerberus
dw zip i got ya back

try this on the none working files, some do work that show that error as they are les broken than other luck of the draw but 99% of the time zip is correct and that is the error that stop file from playing.
now back to fixing it

(the
wiki is your friend)
http://wiki.serviio.org/doku.php?id=fix_avisNANDUB is essence of all evil when it comes to DLNA, long live VIRTUALDUB ( yes i know im not supposed to advertise product but when they are this crap i have to )