Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#12160 closed Bug Report - General (fixed)

mpg files fail with 0.27.1

Reported by: Robin Gilks <g8ecj@…> Owned by: JYA
Priority: minor Milestone: 0.27.2
Component: MythTV - Video Playback Version: 0.27.1
Severity: medium Keywords:
Cc: Ticket locked: no

Description

mpg file fail on both remote frontend (streamed) and local frontend.

mythavtest fails as well.

mplayer reports the file as follows:

$ mplayer TestFile?.mpg MPlayer 1.1-4.7.3 (C) 2000-2012 MPlayer Team MMX2 supported but disabled 3DNow supported but disabled 3DNowExt supported but disabled

Playing TestFile?.mpg. libavformat version 54.29.104 (external) MPEG-PS file format detected. VIDEO: MPEG1 320x240 (aspect 1) 30.000 fps 1350.0 kbps (168.8 kbyte/s) Load subtitles in ./ ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family libavcodec version 54.59.100 (external) Selected video codec: [ffmpeg1] vfm: ffmpeg (FFmpeg MPEG-1) ========================================================================== ========================================================================== Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III AUDIO: 44100 Hz, 2 ch, s16le, 224.0 kbit/15.87% (ratio: 28000->176400) Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I, II, III) ========================================================================== AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample) Starting playback... [VD_FFMPEG] Trying pixfmt=0. Could not find matching colorspace - retrying with -vf scale... Opening video filter: [scale] 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 1.33:1 - prescaling to correct movie aspect. VO: [vdpau] 320x240 => 320x240 Planar YV12 A: 10.2 V: 10.4 A-V: -0.143 ct: -0.028 307/307 3% 3% 0.3% 11 0

mythavtest fails as follows - the frontend log is the same at the point of failure:

$ mythavtest TestFile?.mpg 2014-06-02 23:12:09.163220 C mythavtest version: fixes/0.27 [v0.27.1] www.mythtv.org 2014-06-02 23:12:09.163267 C Qt version: compile: 4.8.5, runtime: 4.8.5 2014-06-02 23:12:09.163273 N Enabled verbose msgs: general 2014-06-02 23:12:09.163294 N Setting Log Level to LOG_INFO 2014-06-02 23:12:09.163632 N Using runtime prefix = /usr 2014-06-02 23:12:09.163650 N Using configuration directory = /home/g8ecj/.mythtv 2014-06-02 23:12:09.163783 I Assumed character encoding: en_NZ.UTF-8 2014-06-02 23:12:09.163784 I Added logging to the console 2014-06-02 23:12:09.165001 N Empty LocalHostName?. 2014-06-02 23:12:09.165016 I Using localhost value of jupiter 2014-06-02 23:12:09.165069 I Testing network connectivity to '192.168.1.10' 2014-06-02 23:12:09.168998 I Starting process signal handler 2014-06-02 23:12:09.169079 I Starting process manager 2014-06-02 23:12:09.169183 I Starting IO manager (read) 2014-06-02 23:12:09.169254 I Starting IO manager (write) 2014-06-02 23:12:09.284204 N Setting QT default locale to en_NZ 2014-06-02 23:12:09.284228 I Current locale en_NZ 2014-06-02 23:12:09.284284 E No locale defaults file for en_NZ, skipping 2014-06-02 23:12:09.370323 I ScreenSaverX11Private: DPMS is active. 2014-06-02 23:12:09.389638 I Added logging to mythlogserver at TCP:35327 2014-06-02 23:12:09.416897 N Desktop video mode: 1920x1080 60.000 Hz 2014-06-02 23:12:09.481197 E LIRC: Failed to read config file '/home/g8ecj/.lircrc' 2014-06-02 23:12:09.481256 E JoystickMenuThread?: Joystick disabled - Failed to read /home/g8ecj/.mythtv/joystickmenurc 2014-06-02 23:12:09.481264 I UDPListener: Enabling 2014-06-02 23:12:09.484699 I Binding to UDP 127.0.0.1:6948 2014-06-02 23:12:09.484767 I Binding to UDP 192.168.1.10:6948 2014-06-02 23:12:09.484884 I Binding to UDP [::1]:6948 2014-06-02 23:12:09.484961 I Binding to UDP [fe80::224:8cff:fe1d:f0e1%enp0s10]:6948 2014-06-02 23:12:09.485016 I Binding to UDP 192.168.1.255:6948 2014-06-02 23:12:09.522958 I Using Frameless Window 2014-06-02 23:12:09.522967 I Using Full Screen Window 2014-06-02 23:12:09.681867 I Trying the OpenGL painter 2014-06-02 23:12:09.724694 I OpenGL: Sync to VBlank is enabled (good!) 2014-06-02 23:12:10.006082 I OpenGL1: Fragment program support available 2014-06-02 23:12:10.006154 I OpenGL: OpenGL vendor : NVIDIA Corporation 2014-06-02 23:12:10.006160 I OpenGL: OpenGL renderer: GeForce? 8300/integrated/SSE2 2014-06-02 23:12:10.006165 I OpenGL: OpenGL version : 3.3.0 NVIDIA 331.67 2014-06-02 23:12:10.006175 I OpenGL: Max texture size: 8192 x 8192 2014-06-02 23:12:10.006180 I OpenGL: Max texture units: 4 2014-06-02 23:12:10.006196 I OpenGL: Direct rendering: Yes 2014-06-02 23:12:10.006201 I OpenGL: PixelBufferObject? support available 2014-06-02 23:12:10.006206 I OpenGL: Initialised MythRenderOpenGL 2014-06-02 23:12:10.415042 I MythUIWebBrowser: Loading css from - file:///usr/share/mythtv/themes/default/htmls/mythbrowser.css 2014-06-02 23:12:10.415479 E MythUIWebBrowser: failed to find our parent screen 2014-06-02 23:12:10.417051 I MythUIWebBrowser: enabling plugins 2014-06-02 23:12:10.520545 I Setup Interrupt handler 2014-06-02 23:12:10.520557 I Setup Terminated handler 2014-06-02 23:12:10.520566 I Setup Segmentation fault handler 2014-06-02 23:12:10.520573 I Setup Aborted handler 2014-06-02 23:12:10.520581 I Setup Bus error handler 2014-06-02 23:12:10.520589 I Setup Floating point exception handler 2014-06-02 23:12:10.520597 I Setup Illegal instruction handler 2014-06-02 23:12:10.520607 I Setup Real-time signal 0 handler 2014-06-02 23:12:10.607214 I Current MythTV Schema Version (DBSchemaVer): 1317 2014-06-02 23:12:10.608881 I TV: Creating TV object 2014-06-02 23:12:10.640013 N Suspending idle timer 2014-06-02 23:12:10.641135 I TV: Created TvPlayWindow?. 2014-06-02 23:12:10.814244 I TV: Attempting to change from None to WatchingVideo? 2014-06-02 23:12:10.908403 N AudioPlayer?: Enabling Audio 2014-06-02 23:12:10.933192 I AFD: codec MP2 has 2 channels 2014-06-02 23:12:10.933288 I AFD: Opened codec 0x37172a0, id(MP2) type(Audio) 2014-06-02 23:12:10.951530 I VDPAU: Version 1 2014-06-02 23:12:10.951549 I VDPAU: Information NVIDIA VDPAU Driver Shared Library 331.67 Fri Apr 4 11:46:48 PDT 2014 2014-06-02 23:12:10.958459 E AFD: Could not open codec 0x3716640, id(MPEG2VIDEO) type(Video) ignoring. reason Invalid argument 2014-06-02 23:12:10.958503 E Couldn't open decoder for: /home/g8ecj/TestFile.mpg 2014-06-02 23:12:10.958516 E Player(0): Unable to open video file. 2014-06-02 23:12:10.958522 E playCtx: StartPlaying?() Failed to start player 2014-06-02 23:12:10.959552 I TV: Main UI disabled. 2014-06-02 23:12:10.959682 I TV: Entering main playback loop. 2014-06-02 23:12:10.967674 I ScreenSaverX11Private: DPMS Deactivated 1 2014-06-02 23:12:10.975570 I TV: Exiting main playback loop. 2014-06-02 23:12:10.986208 I MythCoreContext?: Connecting to backend server: 192.168.1.10:6543 (try 1 of 1) 2014-06-02 23:12:10.990982 I Using protocol version 77 2014-06-02 23:12:10.993985 N Resuming idle timer 2014-06-02 23:12:11.065433 I OpenGL1: Deleting OpenGL Resources 2014-06-02 23:12:11.065503 I OpenGL: Deleting OpenGL Resources 2014-06-02 23:12:11.070178 I Waiting for threads to exit. QWaitCondition: cv destroy failure: Device or resource busy QWaitCondition: mutex destroy failure: Device or resource busy QThread: Destroyed while thread is still running

10s sample sent direct to Jean-Yves

Attachments (1)

TestFile.mpg (2.0 MB) - added by JYA 5 years ago.

Download all attachments as: .zip

Change History (6)

Changed 5 years ago by JYA

Attachment: TestFile.mpg added

comment:1 Changed 5 years ago by JYA

Owner: set to JYA
Status: newaccepted

It works with current master and ffmpeg 2.2...

So obviously an issue with FFmpeg 1.2..

not much can be done at this stage

comment:2 Changed 5 years ago by JYA

ah.. works fine on a mac with fixes/0.27

Anyway, who wants to watch such bad quality video :)

comment:3 Changed 5 years ago by Jean-Yves Avenard <jyavenard@…>

Resolution: fixed
Status: acceptedclosed

In fee00c36f79dd06432392dd9d4891efc5d253fd2/mythtv:

Remove hack forcing MPEG1 video to be treated as MPEG2

This hack was added to fix #287, which was a problem with XvMC decoding.
It makes no sense today, and actually break genuine MPEG1 videos.

Fixes #12160

comment:4 Changed 5 years ago by JYA

Milestone: unknown0.27.2

comment:5 Changed 5 years ago by Jean-Yves Avenard <jyavenard@…>

In 0a560205c40b4698732b97ac479415fb3494f240/mythtv:

Remove hack forcing MPEG1 video to be treated as MPEG2

This hack was added to fix #287, which was a problem with XvMC decoding.
It makes no sense today, and actually break genuine MPEG1 videos.

Fixes #12160

(cherry picked from commit fee00c36f79dd06432392dd9d4891efc5d253fd2)

Note: See TracTickets for help on using tickets.