[mythtv-users] mythcommflag vs mythtranscode for videos

Dave Hill myth at davidrhill.com
Wed Jan 30 00:53:45 UTC 2013


On 1/29/2013 5:22 PM, Jim Stichnoth wrote:
> All three tools (the recorder, mythcommflag --rebuild, and
> mythtranscode --buildindex) produce seektables in the same place,
> namely the recordedseek table for recordings and the filemarkup table
> for videos.  If mythcommflag is not producing any seektable entries,
> one possibility is that the underlying ffmpeg is crashing on the file,
> which is not unheard of.  You might be able to detect this by running
> it from the debugger.  If not, it would help to get access to the
> video file in question.
>
> As for the "choppy seeks", is this from an HD-PVR recording?  There
> has been an issue where regenerating the seektable would identify
> non-IDR I-frames whereas the recorder only identifies IDR frames.
> That would likely lead to pixelation after a seek until an actual IDR
> frame is reached.  This issue was fixed in mythcommflag, but may still
> be there in mythtranscode.
>
>
Thanks for the info Jim!  No, these videos are all from DVD either using 
mencoder 2-pass or mplayer to generate .vob and then ffmpeg 2-pass -- 
they are DIVX mpeg-4 .avi files.   Every one that I tried had the 
problem that mythcommflag does not generate filemarkup entries for 
them.  When I switched over to using mythtranscode to generate seek 
tables, then I started noticing the other symptoms -- either seek 
doesn't work at all or it is "choppy" when it works.

Running it under gdb, I saw two threads that exited before I saw the 
progress indicator.  Is one of those the underlying ffmpeg you referred to?

Reading symbols from /usr/bin/mythcommflag...(no debugging symbols 
found)...done.
(gdb) run --rebuild --video DVDs/The_Truman_Show.avi
Starting program: /usr/bin/mythcommflag --rebuild --video 
DVDs/The_Truman_Show.avi
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe00c6700 (LWP 18080)]
[New Thread 0x7fffdf8c5700 (LWP 18081)]
[New Thread 0x7fffdf0c4700 (LWP 18082)]
[New Thread 0x7fffde8c3700 (LWP 18083)]
[New Thread 0x7fffde0c2700 (LWP 18084)]
[New Thread 0x7fffdd8c1700 (LWP 18085)]
[New Thread 0x7fffdd0c0700 (LWP 18086)]
[New Thread 0x7fffcffff700 (LWP 18087)]
2013-01-29 18:39:21.134613 C  mythcommflag version: fixes/0.26 
[v0.26.0-89-g14aa707] www.mythtv.org
2013-01-29 18:39:21.134667 C  Qt version: compile: 4.8.1, runtime: 4.8.1
[New Thread 0x7fffcf7fe700 (LWP 18088)]
[Thread 0x7fffcf7fe700 (LWP 18088) exited]
MythTV Commercial Flagger, building seek table for:
     DVDs/The_Truman_Show.avi
[New Thread 0x7fffcf7fe700 (LWP 18089)]
[New Thread 0x7fffcd9ce700 (LWP 18090)]
Rebuild started at Tue Jan 29 18:39:21 2013
[New Thread 0x7fffbffff700 (LWP 18091)]
[Thread 0x7fffdd0c0700 (LWP 18086) exited]
2013-01-29 18:39:21.943303 E  VDPAU: Error at mythrender_vdpau.cpp:1546 
(#1, Unknown)
2013-01-29 18:39:21.943314 E  VDPAU: Failed to create VDPAU device.
2013-01-29 18:39:21.943318 E  VDPAU: No VDPAU device
2013-01-29 18:39:21.943321 E  VDPAU: Failed to create dummy device.
2013-01-29 18:39:21.943554 E  Object deleted with non-zero reference count!
Rebuild completed at Tue Jan 29 19:02:56 2013
2013-01-29 19:02:56.506857 E  decoding error
             eno: Unknown error 541478725 (541478725)
[Thread 0x7fffdf8c5700 (LWP 18081) exited]
[Thread 0x7fffdd8c1700 (LWP 18085) exited]
[Thread 0x7fffcd9ce700 (LWP 18090) exited]
[Thread 0x7fffdf0c4700 (LWP 18082) exited]
[Thread 0x7fffde8c3700 (LWP 18083) exited]
[Thread 0x7fffbffff700 (LWP 18091) exited]
[Thread 0x7fffde0c2700 (LWP 18084) exited]
[Thread 0x7fffcffff700 (LWP 18087) exited]
[Thread 0x7fffcf7fe700 (LWP 18089) exited]
[Thread 0x7fffe00c6700 (LWP 18080) exited]
[Inferior 1 (process 18075) exited normally]
(gdb) quit

It runs for about 20 minutes and then exits without generating a seek 
table.  What can I do to help diagnose this further?


Thanks,
Dave Hill





More information about the mythtv-users mailing list