Opened 10 years ago

Closed 8 years ago

#12224 closed Bug Report - General (Duplicate)

mythtranscode fails on 720x480 1.33 recording - v0.28-pre

Reported by: steve_g@… Owned by: JYA
Priority: major Milestone: 29.0
Component: MythTV - Mythtranscode Version: Master Head
Severity: medium Keywords: mythtranscode 720 480
Cc: Ticket locked: no

Description

Mythtranscode outputs garbage on transcoding a 720x480 1.33 recording to any output format including FIFO. If I convert the file with mythffmpeg to 1080(1088), 720, or 480 it will then transcode work correctly. It plays fine. It looks like its got the wrong Pix_Fmt. The size is the issue, 720x480 from HDPVR, PVR150 and HVR2250 all have to same problem. Found in v0.28-pre-1977-g01cbd0f-dirty.

Attachments (2)

Screenshot720x480.png (281.9 KB) - added by steve_g@… 10 years ago.
n720.mpg (1.2 MB) - added by steve_g@… 10 years ago.

Download all attachments as: .zip

Change History (12)

comment:1 Changed 10 years ago by JYA

Status: newinfoneeded_new

can you please check again and see if you're still experimenting the problem?

ffmpeg was upgraded to 2.2 since

Changed 10 years ago by steve_g@…

Attachment: Screenshot720x480.png added

comment:2 Changed 10 years ago by steve_g@…

Yes, its still broken, see screen shot. It appears after 07d1ee0c8d07d0a355e96457cb69fe19340b70a8. I stared at the changes for days, but some of it is video technical than I am no expert in.

comment:3 Changed 10 years ago by JYA

Oh I see what you mean. It's the stride that is wrong.

Can you please provide a sample video? Don't need much. And how you are calling myth transcode , all arguments.

How does the generated file play with say VLC?

Changed 10 years ago by steve_g@…

Attachment: n720.mpg added

comment:4 Changed 10 years ago by steve_g@…

Here you go 5 secs. worth. This has the correct aspect of 1.33 so you wont think you have another problem when it gets to work. The screen print was from when I was playing to see if aspect ratios had anything to do with it. the execute line was mythtranscode --video -i /home/mythtv/test/tv/w720.mpg --profile 29 -o /home/mythtv/test/tv/w720.nuv. That is the default medium settings. It plays the same in ffplay, mplayer and Gnome Video (what ever that is). Sorry no VLC.

comment:5 Changed 10 years ago by steve_g@…

If I revert db5c40cfc14dcca456446fe059b01fe90211dd60 everythings good. I dont actual think you want to do that but it may give you a hint on where the problem lies.

comment:6 Changed 9 years ago by jaykool74@…

Mythtranscode fails for me giving the following output:

Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: C thread_unknown mythcommandlineparser.cpp:2595 (ConfigureLogging) mythtranscode version: fixes/0.27 [v0.27-193-g8ee257c] www.mythtv.org
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: C thread_unknown mythcommandlineparser.cpp:2597 (ConfigureLogging) Qt version: compile: 4.8.6, runtime: 4.8.6
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: N thread_unknown mythcommandlineparser.cpp:2599 (ConfigureLogging) Enabled verbose msgs:  general
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: N thread_unknown logging.cpp:914 (logStart) Setting Log Level to LOG_INFO
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: I Logger logging.cpp:315 (run) Added logging to the console
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Interrupt handler
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Terminated handler
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Segmentation fault handler
id(AC3) type(Audio)
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: I CoreContext avformatdecoder.cpp:1898 (ScanStreams) AFD: codec AC3 has 1 channels
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: I CoreContext avformatdecoder.cpp:2378 (OpenAVCodec) AFD: Opened codec 0xd9d6a0, id(AC3) type(Audio)
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: I CoreContext avformatdecoder.cpp:2378 (OpenAVCodec) AFD: Opened codec 0xd9c1e0, id(MPEG2VIDEO) type(Video)
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: N CoreContext audioplayer.cpp:164 (ReinitAudio) AudioPlayer: Enabling Audio
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: N CoreContext transcode.cpp:111 (GetProfile) Transcode: Looking for autodetect profile: Autodetect from 720p
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: I SendMessage mythcorecontext.cpp:423 (ConnectCommandSocket) MythCoreContext: Connecting to backend server: 192.168.1.2:6543 (try 1 of 1)
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: I SendMessage mythcorecontext.cpp:1241 (CheckProtoVersion) Using protocol version 77
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: N CoreContext transcode.cpp:136 (GetProfile) Transcode: Using autodetect profile: MPEG2
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: E CoreContext transcode.cpp:747 (TranscodeFile) No video information found!
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: E CoreContext transcode.cpp:749 (TranscodeFile) Please ensure that recording profiles for the transcoder are set
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: E CoreContext main.cpp:711 (main) Transcoding /var/lib/mythtv/recordings/1071_20150924010000.mpg failed
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: N CoreContext main.cpp:1077 (CompleteJob) Deleting /var/lib/mythtv/recordings/1071_20150924010000.mpg.tmp
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: N CoreContext main.cpp:736 (transUnlink) Requesting delete for file 'myth://Default@192.168.1.2:6543/1071_20150924010000.mpg.tmp'.
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: N CoreContext main.cpp:742 (transUnlink) Deleting file '/var/lib/mythtv/id(AC3) type(Audio)
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: I CoreContext avformatdecoder.cpp:1898 (ScanStreams) AFD: codec AC3 has 1 channels
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: I CoreContext avformatdecoder.cpp:2378 (OpenAVCodec) AFD: Opened codec 0xd9d6a0, id(AC3) type(Audio)
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: I CoreContext avformatdecoder.cpp:2378 (OpenAVCodec) AFD: Opened codec 0xd9c1e0, id(MPEG2VIDEO) type(Video)
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: N CoreContext audioplayer.cpp:164 (ReinitAudio) AudioPlayer: Enabling Audio
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: N CoreContext transcode.cpp:111 (GetProfile) Transcode: Looking for autodetect profile: Autodetect from 720p
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: I SendMessage mythcorecontext.cpp:423 (ConnectCommandSocket) MythCoreContext: Connecting to backend server: 192.168.1.2:6543 (try 1 of 1)
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: I SendMessage mythcorecontext.cpp:1241 (CheckProtoVersion) Using protocol version 77
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: N CoreContext transcode.cpp:136 (GetProfile) Transcode: Using autodetect profile: MPEG2
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: E CoreContext transcode.cpp:747 (TranscodeFile) No video information found!
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: E CoreContext transcode.cpp:749 (TranscodeFile) Please ensure that recording profiles for the transcoder are set
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: E CoreContext main.cpp:711 (main) Transcoding /var/lib/mythtv/recordings/1071_20150924010000.mpg failed
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: N CoreContext main.cpp:1077 (CompleteJob) Deleting /var/lib/mythtv/recordings/1071_20150924010000.mpg.tmp
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: N CoreContext main.cpp:736 (transUnlink) Requesting delete for file 'myth://Default@192.168.1.2:6543/1071_20150924010000.mpg.tmp'.
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: N CoreContext main.cpp:742 (transUnlink) Deleting file '/var/lib/mythtv/recordings/1071_20150924010000.mpg.tmp'.
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: I CoreContext mythcontext.cpp:1194 (~MythContext) Waiting for threads to exit.
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: I LogForward loggingserver.cpp:1372 (forwardMessage) New Client:  (#1)
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: I LogForward loggingserver.cpp:295 (SyslogLogger) Added sysloggingrecordings/1071_20150924010000.mpg.tmp'.
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: I CoreContext mythcontext.cpp:1194 (~MythContext) Waiting for threads to exit.
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: I LogForward loggingserver.cpp:1372 (forwardMessage) New Client:  (#1)
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: I LogForward loggingserver.cpp:295 (SyslogLogger) Added sysloggingSep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Aborted handler
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Bus error handler
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Floating point exception handler
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Illegal instruction handler
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Real-time signal 0 handler
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: N thread_unknown mythdirs.cpp:55 (InitializeMythDirs) Using runtime prefix = /usr
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: N thread_unknown mythdirs.cpp:68 (InitializeMythDirs) Using configuration directory = /home/mythtv/.mythtv
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: I CoreContext mythcorecontext.cpp:254 (Init) Assumed character encoding: en_CA.UTF-8
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: N CoreContext mythcontext.cpp:504 (LoadDatabaseSettings) Empty LocalHostName.
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: I CoreContext mythcontext.cpp:512 (LoadDatabaseSettings) Using localhost value of jeremy-desktop
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: N CoreContext mythcorecontext.cpp:1328 (InitLocale) Setting QT default locale to EN_US
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: I CoreContext mythcorecontext.cpp:1361 (SaveLocaleDefaults) Current locale EN_US
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: N CoreContext mythlocale.cpp:121 (LoadDefaultsFromXML) Reading locale defaults from /usr/share/mythtv//locales/en_us.xml
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: I CoreContext mythtranslation.cpp:65 (load) Loading en_us translation for module mythfrontend
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: N CoreContext main.cpp:566 (main) Transcoding from /var/lib/mythtv/recordings/1071_20150924010000.mpg to /var/lib/mythtv/recordings/1071_20150924010000.mpg.tmp
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: I CoreContext avformatdecoder.cpp:1898 (ScanStreams) AFD: codec AC3 has 6 channels
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: I CoreContext avformatdecoder.cpp:2378 (OpenAVCodec) AFD: Opened codec 0xd9cc40, id(AC3) type(Audio)
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: I CoreContext avformatdecoder.cpp:1898 (ScanStreams) AFD: codec AC3 has 1 channels
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: I CoreContext avformatdecoder.cpp:2378 (OpenAVCodec) AFD: Opened codec 0xd9d6a0, id(AC3) type(Audio)
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: I CoreContext avformatdecoder.cpp:2378 (OpenAVCodec) AFD: Opened codec 0xd9c1e0, id(MPEG2VIDEO) type(Video)
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: N CoreContext audioplayer.cpp:164 (ReinitAudio) AudioPlayer: Enabling Audio
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: N CoreContext transcode.cpp:111 (GetProfile) Transcode: Looking for autodetect profile: Autodetect from 720p
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: I SendMessage mythcorecontext.cpp:423 (ConnectCommandSocket) MythCoreContext: Connecting to backend server: 192.168.1.2:6543 (try 1 of 1)
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: I SendMessage mythcorecontext.cpp:1241 (CheckProtoVersion) Using protocol version 77
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: N CoreContext transcode.cpp:136 (GetProfile) Transcode: Using autodetect profile: MPEG2
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: E CoreContext transcode.cpp:747 (TranscodeFile) No video information found!
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: E CoreContext transcode.cpp:749 (TranscodeFile) Please ensure that recording profiles for the transcoder are set
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: E CoreContext main.cpp:711 (main) Transcoding /var/lib/mythtv/recordings/1071_20150924010000.mpg failed
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: N CoreContext main.cpp:1077 (CompleteJob) Deleting /var/lib/mythtv/recordings/1071_20150924010000.mpg.tmp
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: N CoreContext main.cpp:736 (transUnlink) Requesting delete for file 'myth://Default@192.168.1.2:6543/1071_20150924010000.mpg.tmp'.
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: N CoreContext main.cpp:742 (transUnlink) Deleting file '/var/lib/mythtv/recordings/1071_20150924010000.mpg.tmp'.
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: I CoreContext mythcontext.cpp:1194 (~MythContext) Waiting for threads to exit.
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: I LogForward loggingserver.cpp:1372 (forwardMessage) New Client:  (#1)
Sep 25 11:15:19 jeremy-desktop mythtranscode: mythtranscode[4284]: I LogForward loggingserver.cpp:295 (SyslogLogger) Added syslogging
Last edited 9 years ago by Karl Egly (previous) (diff)

comment:7 Changed 9 years ago by paulh

Status: infoneeded_newnew

Issue is still present in current master

comment:8 Changed 9 years ago by Stuart Auchterlonie

Milestone: 0.280.29

Moving to 0.29

comment:9 Changed 9 years ago by Stuart Auchterlonie

Milestone: 0.2929.0

Milestone renamed

comment:10 Changed 8 years ago by JYA

Resolution: Duplicate
Status: newclosed

dupe #12479

Note: See TracTickets for help on using tickets.