Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: .flv files not displaying video while audio works fine

  1. #1

    Default .flv files not displaying video while audio works fine

    I have followed the guide and most everything else works fine but for .flv files. Anyone have a beginning point for me to start? Thanks.

  2. #2

    Default Re: .flv files not displaying video while audio works fine

    Quote Originally Posted by chuckenheimer View Post
    I have followed the guide and most everything else works fine but for .flv files. Anyone have a beginning point for me to start? Thanks.
    Well, first you should tell what player you are trying to use, and which guide you followed. (can you provide a link?)

    And maybe your openSUSE version would be good to know as well. (IIRC it was 13.1, right?)

  3. #3

    Default Re: .flv files not displaying video while audio works fine

    Quote Originally Posted by wolfi323 View Post
    Well, first you should tell what player you are trying to use, and which guide you followed. (can you provide a link?)

    And maybe your openSUSE version would be good to know as well. (IIRC it was 13.1, right?)
    VLC, SMPlayer & Kaffeine.

    https://forums.opensuse.org/blogs/ca...ion-guide-149/

    13,1, yes.

  4. #4

    Default Re: .flv files not displaying video while audio works fine

    Quote Originally Posted by chuckenheimer View Post
    VLC, SMPlayer & Kaffeine.
    This can't really be a codec installation issue in this case, because MPlayer doesn't use the system codecs but brings its own.

    Maybe those files are encoded with something that's not supported (yet) by ffmpeg?

    Can you please post the content of the "Codec Information" window in VLC (see the "Tools" menu), or mplayer's console output.

    Maybe you would need the win32 codecs for those specific files... this only works for the 32bit versions of the players though.

  5. #5

    Default Re: .flv files not displaying video while audio works fine

    Can't cut and paste so I'll type in the relevant, I think, information about the video:

    Codec: H264 - MPEG-4 AVC (part 10)(avc1)
    |
    Decoded format: Planar 4:2:0 YUV

    Codec: MPEG AAC Audio (mp4a)

    That's from VLC. I see something already in that the H264 format may be troublesome, huh? Also, I'm on a 32-bit machine, FYI.

    Thanks!

  6. #6

    Default Re: .flv files not displaying video while audio works fine

    Quote Originally Posted by chuckenheimer View Post
    Can't cut and paste so I'll type in the relevant, I think, information about the video:

    Codec: H264 - MPEG-4 AVC (part 10)(avc1)
    |
    Decoded format: Planar 4:2:0 YUV

    Codec: MPEG AAC Audio (mp4a)

    That's from VLC. I see something already in that the H264 format may be troublesome, huh?
    No, H264 should work fine.

    Hm.
    Please check again that you really have "vlc-codecs" and "libxine2-codecs" installed.

    Do you maybe have the VideoLAN repo added to your system as well?
    This can lead to such problems.
    Please post the output of "zypper lr -d".

    I just created a .flv video with ffmpeg that shows the exact same properties in VLC's codec information, and it plays fine here (with MPlayer, Kaffeine _and_ VLC).

    Also, I'm on a 32-bit machine, FYI.
    OK, in that case you could try to install the package "w32codec-all" from Packman. This contains additional Windows codecs.
    But again, H264/mpeg4 should work fine without that. Those Windows codecs were only needed years ago, when most codecs didn't have working opensource decoders.
    And since they are quite old, I don't think they even include a H264/MPEG4/AAC codec.

  7. #7

    Default Re: .flv files not displaying video while audio works fine

    Quote Originally Posted by wolfi323 View Post
    No, H264 should work fine.

    Hm.
    Please check again that you really have "vlc-codecs" and "libxine2-codecs" installed.

    Yes, these two are installed.

    Do you maybe have the VideoLAN repo added to your system as well?
    This can lead to such problems.
    Please post the output of "zypper lr -d".

    linux-uc1g:/home/charles # zypper lr -d
    # | Alias | Name | Enabled | Refresh | Priority | Type | URI | Service
    ---+------------------------------------+------------------------------------+---------+---------+----------+--------+---------------------------------------------------------------------------+--------
    1 | download.opensuse.org-13.1-non-oss | Update Repository (Non-Oss) | Yes | Yes | 99 | rpm-md | Index of /update/13.1-non-oss |
    2 | download.opensuse.org-non-oss | Main Repository (NON-OSS) | Yes | Yes | 99 | yast2 | Index of /distribution/13.1/repo/non-oss |
    3 | download.opensuse.org-oss | Main Repository (OSS) | Yes | Yes | 99 | yast2 | Index of /distribution/13.1/repo/oss |
    4 | download.opensuse.org-update | Main Update Repository | Yes | Yes | 99 | rpm-md | Index of /update/13.1 |
    5 | home:cornelisbb | home:cornelisbb | Yes | Yes | 99 | rpm-md | Index of /repositories/home:/cornelisbb/openSUSE_13.1 |
    6 | libdvdcss | libdvdcss | Yes | Yes | 99 | rpm-md | http://opensuse-guide.org/repo/13.1/ |
    7 | openSUSE-13.1-1.10 | openSUSE-13.1-1.10 | Yes | Yes | 99 | yast2 | cd:///?devices=/dev/disk/by-id/ata-HL-DT-STDVD-RAM_GSA-H55L,/dev/sr0 |
    8 | packman | packman | Yes | Yes | 99 | rpm-md | Index of /suse/openSUSE_13.1/ |
    9 | repo-debug | openSUSE-13.1-Debug | No | Yes | 99 | NONE | Index of /debug/distribution/13.1/repo/oss |
    10 | repo-debug-update | openSUSE-13.1-Update-Debug | No | Yes | 99 | NONE | Index of /debug/update/13.1 |
    11 | repo-debug-update-non-oss | openSUSE-13.1-Update-Debug-Non-Oss | No | Yes | 99 | NONE | Index of /debug/update/13.1-non-oss |
    12 | repo-source | openSUSE-13.1-Source | No | Yes | 99 | NONE | Index of /source/distribution/13.1/repo/oss |
    linux-uc1g:/home/charles #

    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

    I just created a .flv video with ffmpeg that shows the exact same properties in VLC's codec information, and it plays fine here (with MPlayer, Kaffeine _and_ VLC).


    OK, in that case you could try to install the package "w32codec-all" from Packman. This contains additional Windows codecs.
    But again, H264/mpeg4 should work fine without that. Those Windows codecs were only needed years ago, when most codecs didn't have working opensource decoders.
    And since they are quite old, I don't think they even include a H264/MPEG4/AAC codec.
    I'll await further observations before applying what may be unnecessary codecs, if you think that advisable.

  8. #8

    Default Re: .flv files not displaying video while audio works fine

    Your repo list looks ok.

    Could you post a list of all your installed packages then please?
    Code:
    rpm -qa | egrep "vlc|mplayer|xine"
    Maybe there is something missing...

    Could you run mplayer (or vlc or kaffeine) directly in a terminal window and post the output?
    Code:
    mplayer xxx.flv
    You should close the window or press Ctrl+C as soon as possible, so that the output doesn't get too long.

    Quote Originally Posted by chuckenheimer View Post
    I'll await further observations before applying what may be unnecessary codecs, if you think that advisable.
    Well, I just had a look, win32codec-all does contain an H264 codec apparently.
    So you could try to install it (just search for it in YaST). If it doesn't help, you can uninstall it easily again anyway...

  9. #9

    Default Re: .flv files not displaying video while audio works fine

    Quote Originally Posted by wolfi323 View Post
    Your repo list looks ok.

    Could you post a list of all your installed packages then please?
    Code:
    rpm -qa | egrep "vlc|mplayer|xine"
    Maybe there is something missing...

    Could you run mplayer (or vlc or kaffeine) directly in a terminal window and post the output?
    Code:
    mplayer xxx.flv
    You should close the window or press Ctrl+C as soon as possible, so that the output doesn't get too long.


    Well, I just had a look, win32codec-all does contain an H264 codec apparently.
    So you could try to install it (just search for it in YaST). If it doesn't help, you can uninstall it easily again anyway...
    linux-uc1g:/home/charles # rpm -qa | egrep "vlc|mplayer|xine"
    gmplayer-1.1.1+r36500-6.1.i586
    vlc-codecs-2.1.1-185.9.i586
    xine-ui-0.99.7-8.1.3.i586
    gnome-mplayer-1.0.8-1.3.i586
    libxine2-1.2.3-89.2.i586
    vlc-qt-2.1.1-185.9.i586
    vlc-noX-2.1.1-185.9.i586
    xinetd-2.3.15-2.1.2.i586
    libvlccore7-2.1.1-185.9.i586
    libvlc5-2.1.1-185.9.i586
    vlc-noX-lang-2.1.1-185.9.noarch
    vlc-2.1.1-185.9.i586
    libxine2-pulse-1.2.3-89.2.i586
    libxine2-codecs-1.2.3-89.2.i586
    smplayer-skins-20130605-1.1.noarch
    smplayer-0.8.6-1.1.i586
    linux-uc1g:/home/charles #

    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

    charles@linux-uc1g:/var/run/media/charles/SCRATCH/video> mplayer pd.flv
    MPlayer -4.8 (C) 2000-2013 MPlayer Team
    mplayer: could not connect to socket
    mplayer: No such file or directory
    Failed to open LIRC support. You will not be able to use your remote control.

    Playing pd.flv.
    libavformat version 55.19.104 (internal)
    libavformat file format detected.
    [flv @ 0xb7485760]Stream discovered after head already parsed
    [lavf] stream 0: video (h264), -vid 0
    [lavf] stream 1: audio (aac), -aid 0
    VIDEO: [H264] 600x480 0bpp 29.970 fps 768.4 kbps (93.8 kbyte/s)
    Clip info:
    starttime: 0
    totalduration: 387
    totaldatarate: 888
    bytelength: 42901679
    canseekontime: true
    sourcedata: B4A7DD888HM1385488665310303
    purl:
    pmsg:
    Load subtitles in ./
    ==========================================================================
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    libavcodec version 55.39.101 (internal)
    Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
    ==========================================================================
    ==========================================================================
    Trying to force audio codec driver family libmad...
    Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
    AUDIO: 44100 Hz, 2 ch, floatle, 131.7 kbit/4.66% (ratio: 16457->352800)
    Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
    ==========================================================================
    AO: [pulse] 44100Hz 2ch floatle (4 bytes per sample)
    Starting playback...
    [VD_FFMPEG] Trying pixfmt=0.
    [VD_FFMPEG] XVMC-accelerated MPEG-2.
    The selected video_out device is incompatible with this codec.
    Try appending the scale filter to your filter list,
    e.g. -vf spp,scale instead of -vf spp.
    [VD_FFMPEG] Trying pixfmt=0.
    [VD_FFMPEG] XVMC-accelerated MPEG-2.
    The selected video_out device is incompatible with this codec.
    Try appending the scale filter to your filter list,
    e.g. -vf spp,scale instead of -vf spp.
    Movie-Aspect is undefined - no prescaling applied.
    VO: [xv] 600x480 => 600x480 Planar YV12 [zoom]
    A: 0.2 V: 0.0 A-V: 0.249 ct: 0.000 0/ 0 ??% ??% ??,?% 0 0
    X11 error: BadAlloc (insufficient resources for operation)
    X11 error: BadAlloc (insufficient resources for operation)
    A: 0.2 V: 0.0 A-V: 0.217 ct: 0.003 0/ 0 ??% ??% ??,?% 1 0
    X11 error: BadAlloc (insufficient resources for operation)
    A: 0.2 V: 0.1 A-V: 0.183 ct: 0.006 0/ 0 ??% ??% ??,?% 2 0
    X11 error: BadAlloc (insufficient resources for operation)
    A: 0.2 V: 0.1 A-V: 0.150 ct: 0.009 0/ 0 ??% ??% ??,?% 2 0
    X11 error: BadAlloc (insufficient resources for operation)
    A: 0.2 V: 0.2 A-V: 0.050 ct: 0.016 0/ 0 ??% ??% ??,?% 3 0
    X11 error: BadAlloc (insufficient resources for operation)
    X11 error: BadAlloc (insufficient resources for operation)
    A: 0.2 V: 0.2 A-V: 0.016 ct: 0.017 0/ 0 ??% ??% ??,?% 3 0
    X11 error: BadAlloc (insufficient resources for operation)
    A: 0.2 V: 0.3 A-V: -0.017 ct: 0.016 0/ 0 ??% ??% ??,?% 3 0
    X11 error: BadAlloc (insufficient resources for operation)
    A: 0.2 V: 0.3 A-V: -0.050 ct: 0.012 0/ 0 ??% ??% ??,?% 3 0
    X11 error: BadAlloc (insufficient resources for operation)
    A: 0.5 V: 0.5 A-V: 0.019 ct: 0.020 0/ 0 56% 30% 0.9% 3 0
    X11 error: BadAlloc (insufficient resources for operation)
    X11 error: BadAlloc (insufficient resources for operation)
    X11 error: BadAlloc (insufficient resources for operation)
    X11 error: BadAlloc (insufficient resources for operation)
    X11 error: BadAlloc (insufficient resources for operation)
    A: 0.5 V: 0.5 A-V: 0.019 ct: 0.022 0/ 0 53% 28% 0.8% 3 0
    X11 error: BadAlloc (insufficient resources for operation)
    A: 0.6 V: 0.5 A-V: 0.016 ct: 0.023 0/ 0 50% 27% 0.8% 3 0
    X11 error: BadAlloc (insufficient resources for operation)
    A: 0.6 V: 0.6 A-V: 0.014 ct: 0.027 0/ 0 44% 25% 0.8% 3 0
    X11 error: BadAlloc (insufficient resources for operation)
    X11 error: BadAlloc (insufficient resources for operation)
    X11 error: BadAlloc (insufficient resources for operation)
    A: 0.7 V: 0.7 A-V: 0.012 ct: 0.029 0/ 0 42% 24% 0.7% 3 0
    X11 error: BadAlloc (insufficient resources for operation)
    A: 0.7 V: 0.7 A-V: 0.012 ct: 0.030 0/ 0 41% 23% 0.7% 3 0
    X11 error: BadAlloc (insufficient resources for operation)
    A: 0.7 V: 0.7 A-V: 0.009 ct: 0.031 0/ 0 39% 22% 0.7% 3 0
    X11 error: BadAlloc (insufficient resources for operation)
    A: 0.8 V: 0.8 A-V: 0.009 ct: 0.032 0/ 0 37% 20% 0.7% 3 0
    X11 error: BadAlloc (insufficient resources for operation)
    X11 error: BadAlloc (insufficient resources for operation)
    A: 0.8 V: 0.8 A-V: 0.007 ct: 0.033 0/ 0 36% 20% 0.7% 3 0
    X11 error: BadAlloc (insufficient resources for operation)
    A: 0.9 V: 0.9 A-V: 0.006 ct: 0.034 0/ 0 34% 19% 0.6% 3 0
    X11 error: BadAlloc (insufficient resources for operation)


    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

    win32codec-all was NOT found in YaST. FYI.

  10. #10

    Default Re: .flv files not displaying video while audio works fine

    Quote Originally Posted by chuckenheimer View Post
    linux-uc1g:/home/charles # rpm -qa | egrep "vlc|mplayer|xine"
    That looks ok as well.

    charles@linux-uc1g:/var/run/media/charles/SCRATCH/video> mplayer pd.flv
    MPlayer -4.8 (C) 2000-2013 MPlayer Team
    mplayer: could not connect to socket
    mplayer: No such file or directory
    Failed to open LIRC support. You will not be able to use your remote control.

    Playing pd.flv.
    libavformat version 55.19.104 (internal)
    libavformat file format detected.
    [flv @ 0xb7485760]Stream discovered after head already parsed
    [lavf] stream 0: video (h264), -vid 0
    [lavf] stream 1: audio (aac), -aid 0
    VIDEO: [H264] 600x480 0bpp 29.970 fps 768.4 kbps (93.8 kbyte/s)
    Clip info:
    starttime: 0
    totalduration: 387
    totaldatarate: 888
    bytelength: 42901679
    canseekontime: true
    sourcedata: B4A7DD888HM1385488665310303
    purl:
    pmsg:
    Load subtitles in ./
    ==========================================================================
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    libavcodec version 55.39.101 (internal)
    Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
    ==========================================================================
    ==========================================================================
    Trying to force audio codec driver family libmad...
    Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
    AUDIO: 44100 Hz, 2 ch, floatle, 131.7 kbit/4.66% (ratio: 16457->352800)
    Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
    ==========================================================================
    AO: [pulse] 44100Hz 2ch floatle (4 bytes per sample)
    Starting playback...
    [VD_FFMPEG] Trying pixfmt=0.
    [VD_FFMPEG] XVMC-accelerated MPEG-2.
    The selected video_out device is incompatible with this codec.
    Try appending the scale filter to your filter list,
    e.g. -vf spp,scale instead of -vf spp.
    [VD_FFMPEG] Trying pixfmt=0.
    [VD_FFMPEG] XVMC-accelerated MPEG-2.
    The selected video_out device is incompatible with this codec.
    Try appending the scale filter to your filter list,
    e.g. -vf spp,scale instead of -vf spp.
    Movie-Aspect is undefined - no prescaling applied.
    VO: [xv] 600x480 => 600x480 Planar YV12 [zoom]
    A: 0.2 V: 0.0 A-V: 0.249 ct: 0.000 0/ 0 ??% ??% ??,?% 0 0
    X11 error: BadAlloc (insufficient resources for operation)
    X11 error: BadAlloc (insufficient resources for operation)
    So apparently the codec is correctly identified.
    But I think those X11 errors are the problem, i.e. it's not the decoding but the playback.

    Mplayer (or ffmpeg to be exact) tries to use the hardware acceleration of your gfx card but that doesn't support H264. And the fallback of xv doesn't seem to be working.
    What graphics card do you have and which driver are you using?

    Try this to see if that shows the video:
    Code:
    mplayer -vo x11 pd.flv
    win32codec-all was NOT found in YaST. FYI.
    Right, it's called "w32codec-all". I wrote it correctly in my first post...

    But I'm quite sure now that this won't help, since the problem doesn't seem to be on the software codec side.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •