Modify

Ticket #10768 (closed Bug Report - General: fixed)

Opened 12 months ago

Last modified 10 months ago

Unable to record with mpeg-4 software encoding

Reported by: ggervasio@… Owned by: danielk
Priority: minor Milestone: 0.26
Component: MythTV - General Version: Unspecified
Severity: medium Keywords:
Cc: Ticket locked: no

Description

With recent master (v0.26-pre-409-gc51c98a), I am unable to record with mpeg-4 software encoding. There are two issues:

  1. The recording profile codec settings are not loaded correctly, so the recorder defaults to RTjpeg:
2012-05-28 08:55:01.135476 I  TVRec(17): Starting Recorder
2012-05-28 08:55:01.167617 I  Using profile 'Default' to record
2012-05-28 08:55:01.167632 I  TVRec(17): rec->GetPathname(): '/home/mythtv/store
.w2/1007_20120528085500.nuv'
2012-05-28 08:55:01.168862 I  DTVRec(17): ResetForNewFile(void)
2012-05-28 08:55:01.218171 E  NVR(/dev/video0): Unknown video codec.  Please go into the TV Settings, Recording Profiles and setup the four 'Software Encoders' profiles.  Assuming RTjpeg for now.
2012-05-28 08:55:01.218210 E  NVR(/dev/video0): Unknown audio codec

Another symptom of the problem is that the video/audio codec settings in mythtv-setup "Recording Profiles" do not reflect what's in the database and changes do not appear to stick.

This problem appears to be due to settings changes in 84974039959d2372844a39a820ca4c7530df5a58. I'm not sure why, but the attached hack seems to make it work.

  1. With the codec settings loaded correctly, the recordings do not contain any video. This appears due to changes to use new ffmpeg API. The second patch makes it work.

Attachments

settings_profile-v0.26-pre-409-gc51c98a.patch (1.1 KB) - added by ggervasio@… 12 months ago.
hack for recording profile settings
av_encode-v0.26-pre-409-gc51c98a.patch (682 bytes) - added by ggervasio@… 12 months ago.
fix mpeg-4 video encode

Change History

Changed 12 months ago by ggervasio@…

hack for recording profile settings

Changed 12 months ago by ggervasio@…

fix mpeg-4 video encode

comment:1 Changed 12 months ago by danielk

  • Owner set to danielk
  • Status changed from new to assigned
  • Milestone changed from unknown to 0.26

comment:2 Changed 12 months ago by Daniel Kristjansson <danielk@…>

In 3a086e3dbd18c9147202a299fc1c080c282f37e6/mythtv:

Refs #10768. Allow ComboBoxSetting::SetDBValue() to set a value for a not yet loaded selection list.

comment:3 Changed 10 months ago by Gregorio Gervasio, Jr <ggervasio@…>

  • Status changed from assigned to closed
  • Resolution set to fixed

In fe6e4df0fdaf976ee235c912f7a167a1eb8e80d0/mythtv:

Fixed libavcodec video encoding.

Fixes #10768

Signed-off-by: Gavin Hurlbut <ghurlbut@…>

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.