FAQ  •  Register  •  Login

[SOLVED] TX-L32E5E avi audio/video not sync

<<

aka399

Serviio newbie

Posts: 10

Joined: Thu Nov 01, 2012 9:52 am

Post Thu Nov 01, 2012 10:08 am

[SOLVED] TX-L32E5E avi audio/video not sync

Hello, I'm a new user of this fantastic server and I have a little problem with some avi files. The audio is not in sync with video and I want to fix this problem. I try with transcoding but no avi files can be played if I enable it. At the moment I set serviio as default, it recognize my tv as Panasonic Viera E/S/T/VT. Here the file with problems

  Code:
daniele@debian:~$ ffmpeg -i  "/media/Dati/TV Shows/Fringe/Season 1/Fringe.1x01.Il.Laboratorio.Del.Dottor.Bishop.ITA.DVDMux.XviD-NovaRip.avi"
ffmpeg version 0.7.13, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jun 13 2012 14:14:09 with gcc 4.4.5
  configuration: --enable-libdc1394 --prefix=/usr --extra-cflags='-Wall -g ' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-avfilter --enable-libdirac --disable-decoder=libdirac --enable-libfreetype --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-libvpx --enable-librtmp --extra-libs=-lgcrypt --disable-altivec --disable-armv5te --disable-armv6 --disable-vis
  libavutil    50. 43. 0 / 50. 43. 0
  libavcodec   52.123. 0 / 52.123. 0
  libavformat  52.111. 0 / 52.111. 0
  libavdevice  52.  5. 0 / 52.  5. 0
  libavfilter   1. 80. 0 /  1. 80. 0
  libswscale    0. 14. 1 /  0. 14. 1
  libpostproc  51.  2. 0 / 51.  2. 0
[mpeg4 @ 0xdc9e20] Invalid and inefficient vfw-avi packed B frames detected
Input #0, avi, from '/media/Dati/TV Shows/Fringe/Season 1/Fringe.1x01.Il.Laboratorio.Del.Dottor.Bishop.ITA.DVDMux.XviD-NovaRip.avi':
  Metadata:
    encoder         : VirtualDubMod 1.5.10.2 (build 2542/release)
  Duration: 01:18:17.24, start: 0.000000, bitrate: 1250 kb/s
    Stream #0.0: Video: mpeg4, yuv420p, 640x352 [PAR 1:1 DAR 20:11], 23.98 tbr, 25 tbn, 23.98 tbc
    Stream #0.1: Audio: mp3, 48000 Hz, stereo, s16, 32 kb/s
    Metadata:
      title           : Italian
At least one output file must be specified


Serviio is running on debian. Hope you can help me
Last edited by aka399 on Mon Nov 12, 2012 7:46 pm, edited 1 time in total.
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Thu Nov 01, 2012 12:50 pm

Re: TX-L32E5E avi audio/video not sync

You need to update your ffmpeg version. Source code here : http://www.serviio.org/download, take care of config compile options.
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

aka399

Serviio newbie

Posts: 10

Joined: Thu Nov 01, 2012 9:52 am

Post Thu Nov 01, 2012 7:42 pm

Re: TX-L32E5E avi audio/video not sync

Done, same problem.
other suggest?
  Code:
daniele@debian:~$ ffmpeg -i  "/media/Dati/TV Shows/Fringe/Season 1/Fringe.1x01.Il.Laboratorio.Del.Dottor.Bishop.ITA.DVDMux.XviD-NovaRip.avi"
ffmpeg version N-42368-gbf53863 Copyright (c) 2000-2012 the FFmpeg developers
  built on Nov  1 2012 15:17:06 with gcc 4.4.5
  configuration:
  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
[mpeg4 @ 0x220c5c0] Invalid and inefficient vfw-avi packed B frames detected
Input #0, avi, from '/media/Dati/TV Shows/Fringe/Season 1/Fringe.1x01.Il.Laboratorio.Del.Dottor.Bishop.ITA.DVDMux.XviD-NovaRip.avi':
  Metadata:
    encoder         : VirtualDubMod 1.5.10.2 (build 2542/release)
  Duration: 01:18:17.24, start: 0.000000, bitrate: 1250 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 640x352 [SAR 1:1 DAR 20:11], 23.98 tbr, 25 tbn, 23.98 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16, 32 kb/s
    Metadata:
      title           : Italian
At least one output file must be specified
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Fri Nov 02, 2012 7:51 am

Re: TX-L32E5E avi audio/video not sync

Audio bitrate is very slow (32kbps), you probably have to reencode the audio with higher bitrate.
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

aka399

Serviio newbie

Posts: 10

Joined: Thu Nov 01, 2012 9:52 am

Post Fri Nov 02, 2012 9:25 am

Re: TX-L32E5E avi audio/video not sync

Can I do with serviio transcoding?
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Fri Nov 02, 2012 1:11 pm

Re: TX-L32E5E avi audio/video not sync

Backup your ./serviio/config/profiles.xml.
Edit the viera2011 profile, by addind "aBitrate="192"" option on audio like this:
Save and restart serviio services, or reboot PC.

  Code:
   <Profile id="viera2011" name="Panasonic Viera E/S/ST/VT (2011)" extendsProfileId="viera2011a">
      <!-- Panasonic Viera E3, E30, S30, ST30, VT30 (2011), E50 (2012)  Without AVI Support -->
      <Detection>
         <UPnPSearch>
            <FriendlyName>(VIERA (E|S)T?(3|5)0?.*)|(VIERA VT30.*)</FriendlyName>
            <Manufacturer>Panasonic</Manufacturer>
         </UPnPSearch>
      </Detection>
      <Transcoding>
         <!-- unsupported codecs will be transcoded into mpeg-ts, mpeg2 video and ac3 audio -->
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="192">
            <Matches container="avi" />            
         </Video>
      </Transcoding>
   </Profile>




About your ffmpeg version, you don't have any configuration option enabled :
configuration:
--enable-static
--disable-shared
--disable-ffplay
--disable-ffserver
--enable-memalign-hack
--enable-libmp3lame
--enable-librtmp
--extra-libs='-lrtmp -lpolarssl -lws2_32 -lwinmm'
--arch=x86
--enable-runtime-cpudetect
--enable-pthreads
--target-os=mingw32
--cross-prefix=i686-w64-mingw32-
--pkg-config=pkg-config
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

aka399

Serviio newbie

Posts: 10

Joined: Thu Nov 01, 2012 9:52 am

Post Fri Nov 02, 2012 1:47 pm

Re: TX-L32E5E avi audio/video not sync

hello,
before you wrote I tried to reencode audio:

  Code:
daniele@debian:~$ ffmpeg -i  "/media/Dati/TV Shows/Fringe/Season 1/Fringe.1x01.Il.Laboratorio.Del.Dottor.Bishop.ITA.DVDMux.XviD-NovaRip.avi" -vcodec copy -ab 192k "/media/Dati/TV Shows/Fringe/Season 1/Fringe.1x01.Il.Laboratorio.Del.Dottor.Bishop.ITA.DVDMux.XviD-NovaRipAAA.avi"


  Code:
daniele@debian:~$ ffmpeg -i  "/media/Dati/TV Shows/Fringe/Season 1/Fringe.1x01.Il.Laboratorio.Del.Dottor.Bishop.AAA.avi"
ffmpeg version N-42368-gbf53863 Copyright (c) 2000-2012 the FFmpeg developers
  built on Nov  1 2012 15:17:06 with gcc 4.4.5
  configuration:
  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
[mpeg4 @ 0x2f28560] Invalid and inefficient vfw-avi packed B frames detected
Input #0, avi, from '/media/Dati/TV Shows/Fringe/Season 1/Fringe.1x01.Il.Laboratorio.Del.Dottor.Bishop.AAA.avi':
  Metadata:
    encoder         : Lavf54.15.102
  Duration: 01:18:17.24, start: 0.000000, bitrate: 1304 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 640x352 [SAR 1:1 DAR 20:11], 23.98 tbr, 25 tbn, 23.98 tbc
    Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, s16, 192 kb/s
    Metadata:
      title           : Italian
At least one output file must be specified


but the audio is still async, so I think the new profiles couldn't work.

About ffmpeg configuration, I have to enable/disable all you wrote? I have to recompile?
thanks for patience
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Fri Nov 02, 2012 5:41 pm

Re: TX-L32E5E avi audio/video not sync

aka399 wrote:About ffmpeg configuration, I have to enable/disable all you wrote? I have to recompile?

Don't know...I only see that your ffmpeg configuration: is empty.
The list above is what I see on my ffmpeg windows version (with serviio installation).
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

aka399

Serviio newbie

Posts: 10

Joined: Thu Nov 01, 2012 9:52 am

Post Sat Nov 03, 2012 3:17 pm

Re: TX-L32E5E avi audio/video not sync

ok, tried with new profiles forcing transcoding @192k but don't work.
Recompiled ffmpeg with configug and test it again, same result.
I think the question is the warning [[mpeg4 @ 0x2bb5800] Invalid and inefficient vfw-avi packed B frames detected] who is not show for other videos:

  Code:
daniele@debian:~$ ffmpeg -i   "/media/Dati/TV Shows/Fringe/Season 1/Fringe.1x01.Il.Laboratorio.Del.Dottor.Bishop.ITA.DVDMux.XviD-NovaRip.avi"
ffmpeg version git-2012-11-02-77d89a5 Copyright (c) 2000-2012 the FFmpeg developers
  built on Nov  2 2012 22:25:51 with gcc 4.4.5 (Debian 4.4.5-8)
  configuration: --enable-gpl --enable-libfaac --enable-libfdk-aac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx --enable-x11grab --enable-libx264 --enable-nonfree --enable-version3
  libavutil      52.  2.100 / 52.  2.100
  libavcodec     54. 70.100 / 54. 70.100
  libavformat    54. 35.100 / 54. 35.100
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 21.106 /  3. 21.106
  libswscale      2.  1.102 /  2.  1.102
  libswresample   0. 16.100 /  0. 16.100
  libpostproc    52.  1.100 / 52.  1.100
[mpeg4 @ 0x2bb5800] Invalid and inefficient vfw-avi packed B frames detected
Input #0, avi, from '/media/Dati/TV Shows/Fringe/Season 1/Fringe.1x01.Il.Laboratorio.Del.Dottor.Bishop.ITA.DVDMux.XviD-NovaRip.avi':
  Metadata:
    encoder         : VirtualDubMod 1.5.10.2 (build 2542/release)
  Duration: 01:18:17.24, start: 0.000000, bitrate: 1250 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 640x352 [SAR 1:1 DAR 20:11], 23.98 tbr, 25 tbn, 23.98 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16, 32 kb/s
    Metadata:
      title           : Italian
At least one output file must be specified


  Code:
daniele@debian:~$ ffmpeg -i    "/media/Dati/TV Shows/Fringe/Season 2/Fringe.2x01.Un.Nuovo.Giorno.Nella.Vecchia.Citta.ITA.WEB-DL.Mux.XviD-NovaRip.avi"
ffmpeg version git-2012-11-02-77d89a5 Copyright (c) 2000-2012 the FFmpeg developers
  built on Nov  2 2012 22:25:51 with gcc 4.4.5 (Debian 4.4.5-8)
  configuration: --enable-gpl --enable-libfaac --enable-libfdk-aac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx --enable-x11grab --enable-libx264 --enable-nonfree --enable-version3
  libavutil      52.  2.100 / 52.  2.100
  libavcodec     54. 70.100 / 54. 70.100
  libavformat    54. 35.100 / 54. 35.100
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 21.106 /  3. 21.106
  libswscale      2.  1.102 /  2.  1.102
  libswresample   0. 16.100 /  0. 16.100
  libpostproc    52.  1.100 / 52.  1.100
Input #0, avi, from '/media/Dati/TV Shows/Fringe/Season 2/Fringe.2x01.Un.Nuovo.Giorno.Nella.Vecchia.Citta.ITA.WEB-DL.Mux.XviD-NovaRip.avi':
  Metadata:
    encoder         : VirtualDubMod 1.5.10.2 (build 2542/release)
  Duration: 00:41:58.40, start: 0.000000, bitrate: 1166 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 624x352 [SAR 1:1 DAR 39:22], 23.98 tbr, 25 tbn, 23.98 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16, 192 kb/s
    Metadata:
      title           : Italian
At least one output file must be specified


I'll try to reencode also video with ffmpeg. any suggest about options to use?
<<

aka399

Serviio newbie

Posts: 10

Joined: Thu Nov 01, 2012 9:52 am

Post Mon Nov 12, 2012 7:45 pm

Re: TX-L32E5E avi audio/video not sync

solved reencoding files with handbrake. Only changing container in MKV the files works well.

Return to Panasonic

Who is online

Users browsing this forum: No registered users and 9 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.