FAQ  •  Register  •  Login

Can't read some files (especially flv)

<<

Ned Flanders

User avatar

Serviio newbie

Posts: 4

Joined: Mon Oct 29, 2012 3:44 pm

Location: France

Post Fri Nov 02, 2012 2:24 am

Can't read some files (especially flv)

Hi,
i just switched from Windows 7 to Ubuntu 12.10, i play my videos with Samsung TV-C or Playstation 3. All was working great but now some local files can't be read (all .flv and some .avi or .mkv), the problem also occurs for all Youtube videos (with youtube.groovy). The TV reports "unknown file format" and the PS3 a network error. My ffmpeg version is the last from ubuntu servers.

Here is the ffmpeg result for a file which can be read on TV :

  Code:
# ffmpeg -i success.wmv
ffmpeg version 0.8.3-6:0.8.3-6ubuntu2, Copyright (c) 2000-2012 the Libav developers
  built on Oct  1 2012 12:54:15 with gcc 4.7.2
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.

Seems stream 1 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 30.00 (30/1)
Input #0, asf, from 'success.wmv':
  Metadata:
    Application     : Windows Movie Maker 2.1.4026.0
    WMFSDKVersion   : 10.00.00.3802
    WMFSDKNeeded    : 0.0.0.0000
    IsVBR           : 0
    artist          : Martin Lindsay
  Duration: 00:01:56.73, start: 0.000000, bitrate: 517 kb/s
    Stream #0.0(eng): Audio: wmav2, 44100 Hz, 2 channels, s16, 64 kb/s
    Stream #0.1(eng): Video: wmv3 (Main), yuv420p, 320x240, 448 kb/s, 30 tbr, 1k tbn, 1k tbc
At least one output file must be specified


And this one can't :
  Code:
# ffmpeg -i fail.flv
ffmpeg version 0.8.3-6:0.8.3-6ubuntu2, Copyright (c) 2000-2012 the Libav developers
  built on Oct  1 2012 12:54:15 with gcc 4.7.2
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
[flv @ 0x1fa49e0] Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 25.00 (25/1)
Input #0, flv, from 'fail.flv':
  Metadata:
    creator         : DailyMotion
    metadatacreator : DailyMotion
    hasKeyframes    : true
    hasVideo        : true
    hasAudio        : true
    hasMetadata     : true
    canSeekToEnd    : false
    datasize        : 8572167
    videosize       : 6875560
    audiosize       : 1662823
    lasttimestamp   : 133
    lastkeyframetimestamp: 133
    lastkeyframelocation: 8574374
  Duration: 00:02:13.44, start: 0.000000, bitrate: 506 kb/s
    Stream #0.0: Video: flv, yuv420p, 320x240, 410 kb/s, 25 tbr, 1k tbn, 1k tbc
    Stream #0.1: Audio: mp3, 44100 Hz, stereo, s16, 96 kb/s
At least one output file must be specified


The conversion with ffmpeg works for both of them. Do you have any idea ? Thanks in advance.
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Fri Nov 02, 2012 7:53 am

Re: Can't read some files (especially flv)

Try 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
<<

Ned Flanders

User avatar

Serviio newbie

Posts: 4

Joined: Mon Oct 29, 2012 3:44 pm

Location: France

Post Fri Nov 02, 2012 6:43 pm

Re: Can't read some files (especially flv)

Problem solved. Everything seems to work now. I followed this tutorial step by step :
http://wiki.serviio.org/doku.php?id=build_ffmpeg_linux

But now Ubuntu suggests me to update ffmpeg, libav-tools, libavdevice53 and libavfilter2. Should I simply ignore this ?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat Nov 03, 2012 4:00 pm

Re: Can't read some files (especially flv)

I think Ubuntu uses the forked FFmpeg branch (AVConv), so yes, ignore it :-)

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 15 guests

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