[mythtv-users] Movie downloaded from MythWeb with bad runtime: how to fix?

Paul Gardiner lists at glidos.net
Thu Jan 7 22:11:07 UTC 2010


Paul Gardiner wrote:
> Robert McNamara wrote:
>> On Thu, Jan 7, 2010 at 11:06 AM, Paul Gardiner <lists at glidos.net> wrote:
>>> Paul Gardiner wrote:
>>>> Robert McNamara wrote:
>>>>> If you want to be able to play it *everywhere*, you will likely need
>>>>> to remux the recording into a new container.
>>>>>
>>>>> Example:
>>>>>
>>>>> ffmpeg -i infile.mpg -acodec copy -vcodec copy outfile.mpg
>>>> That's the sort of thing I was looking for. And I thought it had
>>>> worked when I tried it. Well it had to some degree. That
>>>> produced a file that Nero Showtime will play and show the correct
>>>> runtime, but Windows Media Player plays the audio only, and
>>>> NeroVision Express shows it as blank (although with the
>>>> correct runtime). It's NeroVision that is really my target here.
>>> Is there a similar command that means recompress to the same
>>> format... hmmm I guess not since that would be very rarely
>>> any use. :-(
>>>
>>> P.
>>
>> Not quite sure what you mean-- if you want to transcode, you'd need to
>> actually come up with all the parameters.  The above just remuxes the
>> streams with no transcode.
>>
>> It's probably worth noting that for most people/situations, their
>> .mpg's are actually Transport Streams.  passing ffmepg an outfile of
>> .mpg actually creates a Program Stream, so you might try:
>>
>> ffmpeg -i infile.mpg -acodec copy -vcodec copy outfile.ts
>>
>> to trigger a mux to a TS.  It might change matters, it might not.
>> Give it a shot.
> 
> Thanks, will do. I think with the remux ffmpeg may have been
> confused by the interlacing. It complained:
> 
> Seems stream 5 codec frame rate differs from container frame rate: 50.00 
> (50/1) -> 25.00 (25/1)
> 
> Maybe that doesn't matter.

Ending up having to transcode.

   ffmpeg -i infile.mpg -target pal-dvd -sameq outfile.mpg

seemed to do the trick.

Thanks for all the help all.

Cheers,
	Paul.



More information about the mythtv-users mailing list