Jump to content
Sign in to follow this  
antdude

Playing back a MPEG-2 video recording in progress problems?

Recommended Posts

antdude

Hello.

 

I am using DVBViewer Pro v4.9.0.0 in an old, updated Windows XP Pro. SP3 machine. I noticed when playing my recording MPEG-2 videos in progress in it, I do not have subtitles and 5.1 audio setup (DVBViewer says AC3 2.0 the whole time). If I stop recording and play that same video file back, then I can get subtitles (shows none) and proper audio setups.

 

Manually using timeshift is fine though, but I am not always there do the manual timeshift when my video starts since I use the timer/scheduler. :(

 

FYI if it helps with a MPEG-2 recording and playing it back live I am doing right now:

 

10-10_19-55-00_KTTV DT (eng) 11.1_Terra Nova.log:

KTTV DT (eng) 11.1 10/10/2011

G:\videos\recorded\10-10_19-55-00_KTTV DT (eng) 11.1_Terra Nova.mpg

Device: Air2PC-ATSC-PCI 1

7:55:00 PM / 12:00:00 AM (~ 0.0 MB) Start

7:55:01 PM / 12:00:01 AM (~ 1.7 MB) PID 49: MPEG2 Video, 16:9, 1280x720, 59.94 fps

7:55:01 PM / 12:00:01 AM (~ 1.7 MB) PID 52: AC3 Audio Stereo, 48 khz, 448 kbps

7:55:01 PM / 12:00:01 AM (~ 1.7 MB) PID 53: AC3 Audio Stereo, 48 khz, 384 kbps

7:59:29 PM / 12:04:29 AM (~ 492.9 MB) PID 52: AC3 Audio 5.1, 48 khz, 448 kbps

8:21:36 PM / 12:26:36 AM (~ 2858.3 MB) PID 52: AC3 Audio Stereo, 48 khz, 448 kbps

8:23:11 PM / 12:28:10 AM (~ 3017.0 MB) PID 52: AC3 Audio 5.1, 48 khz, 448 kbps

8:40:28 PM / 12:45:27 AM (~ 4925.0 MB) PID 52: AC3 Audio Stereo, 48 khz, 448 kbps

8:42:39 PM / 12:47:39 AM (~ 5176.8 MB) PID 52: AC3 Audio 5.1, 48 khz, 448 kbps

 

10-10_19-55-00_KTTV DT (eng) 11.1_Terra Nova.txt:

[General]

Version=1.1

[Media]

Created=10.10.2011 19:55:00

Channel=KTTV DT (eng) 11.1

LastShown=30.12.1899

LastPosition=0

Played=0

[0]

Id=5065

Date=10.10.2011

Time=20:00:00

Duration=01:00:00

Title=Terra Nova

Info=

Description=Elisabeth, Jim, Malcolm and Taylor discover a mysterious virus that causes memory loss, paranoia, and eventually death when they investigate radio silence at a nearby scientific outpost, so they must work together to find a cure before it's too late.

Charset=255

Content=255

MinimumAge=0

 

 

As you can see there is 5.1 audio during the TV episode and some commercials.

 

 

So, what's up with this? Thank you in advance. :)

Edited by antdude

Share this post


Link to post
Griga
I do not have subtitles
Terra Nova.mpg

Have you already tried recording as TS?

 

DVBViewer says AC3 2.0 the whole time

What does the DVBViewer Filter property page say?

Share this post


Link to post
antdude

Have you already tried recording as TS?

 

 

What does the DVBViewer Filter property page say?

No, I have not tried TS format. After messing with it, I think I figured out what's wrong. It seems like I had to pick the other audio track ("AC3 Audio Stereo (2)" instead of "AC3 Audio Stereo (1)". Weird. I wonder why 5.1 wasn't on the first one.

 

I have not fixed the closed captions/subtitles part yet. CCExtractor GUI v0.59 does see them and I was able to extract.

 

I attached a screen shot of DVB Source properties when using default audio track #1.

post-17855-0-35336300-1318336502_thumb.gif

Edited by antdude

Share this post


Link to post
SimonP

As Griga said, change to recording in .ts format.

 

My understanding is that .mpg doesn't record subtitles and it only saves one audio stream whereas .ts saves everything that is transmitted so I'm surprised that you were able to get subtitles from a .mpg recording.

 

Check out MediaInfo, it's a very useful tool for finding out what is contained in recordings.

Edited by SimonP

Share this post


Link to post
antdude

As Griga said, change to recording in .ts format.

 

My understanding is that .mpg doesn't record subtitles and it only saves one audio stream whereas .ts saves everything that is transmitted so I'm surprised that you were able to get subtitles from a .mpg recording.

 

Check out MediaInfo, it's a very useful tool for finding out what is contained in recordings.

Really for .MPG? Hmm! FYI from MediaInfo from the latest K-Lite Codec Mega Pack:

 

General

Complete name : G:\videos\recorded\Watched\Terra Nova 4.mpg

Format : MPEG-PS

File size : 6.96 GiB

Duration : 1h 5mn

Overall bit rate mode : Variable

Overall bit rate : 15.2 Mbps

 

Video

ID : 224 (0xE0)

Format : MPEG Video

Format version : Version 2

Format profile : Main@High

Format settings, BVOP : Yes

Format settings, Matrix : Default

Duration : 1h 5mn

Bit rate mode : Variable

Bit rate : 14.1 Mbps

Width : 1 280 pixels

Height : 720 pixels

Display aspect ratio : 16:9

Active Format Description : Letterbox 16:9 image, with alternative 4:3 center

Frame rate : 59.940 fps

Standard : Component

Color space : YUV

Chroma subsampling : 4:2:0

Bit depth : 8 bits

Compression mode : Lossy

Bits/(Pixel*Frame) : 0.255

Stream size : 6.44 GiB (93%)

 

Audio #1

ID : 189 (0xBD)-128 (0x80)

Format : AC-3

Format/Info : Audio Coding 3

Mode extension : CM (complete main)

Muxing mode : DVD-Video

Duration : 1h 5mn

Bit rate mode : Constant

Bit rate : 448 Kbps

Channel(s) : 2 channels

Channel positions : Front: L R

Sampling rate : 48.0 KHz

Bit depth : 16 bits

Compression mode : Lossy

Delay relative to video : -545ms

Stream size : 209 MiB (3%)

 

Audio #2

ID : 189 (0xBD)-129 (0x81)

Format : AC-3

Format/Info : Audio Coding 3

Mode extension : CM (complete main)

Muxing mode : DVD-Video

Duration : 1h 5mn

Bit rate mode : Constant

Bit rate : 384 Kbps

Channel(s) : 2 channels

Channel positions : Front: L R

Sampling rate : 48.0 KHz

Bit depth : 16 bits

Compression mode : Lossy

Delay relative to video : -572ms

Stream size : 179 MiB (3%)

 

 

According to that there are two audio tracks?

Share this post


Link to post
Griga
My understanding is that .mpg doesn't record subtitles

ATSC closed captions are part of the video data (in the MPEG2 user_data section), so they are recorded for sure in MPG files. However, as European software DVBViewer doesn't seem to take this into account, because DVB subtitles are located in a separate stream that can only be recorded as TS.

 

@antdude: What are your settings for MPG playback? Is the DVBViewer Filter enabled for MPG playback in the DirectX options? If not, what is listed under View -> Filters when a MPG file (not being in progress) is played?

 

AFAIK DVBViewer doesn't contain native support for ATSC closed captions in MPG files (only for TS), so I guess some third party DirectShow filter is looking after it. However, when it comes to playing ongoing recordings, DVBViewer forces DVBViewer Filter usage, because many other source resp. splitter filters are not able to open files in shared mode (one instance writing, another one reading). That would explain the missing subtitles in ongoing recordings.

Share this post


Link to post
antdude
... @antdude: What are your settings for MPG playback? Is the DVBViewer Filter enabled for MPG playback in the DirectX options? If not, what is listed under View -> Filters when a MPG file (not being in progress) is played?

 

AFAIK DVBViewer doesn't contain native support for ATSC closed captions in MPG files (only for TS), so I guess some third party DirectShow filter is looking after it. However, when it comes to playing ongoing recordings, DVBViewer forces DVBViewer Filter usage, because many other source resp. splitter filters are not able to open files in shared mode (one instance writing, another one reading). That would explain the missing subtitles in ongoing recordings.

Yes, DVBViewer Filter is enabled for .MPG and .TS. I attached a screen shot of the Filters with the same recorded .MPG file.

post-17855-0-05180600-1318344701_thumb.gif

Share this post


Link to post
Griga
If I stop recording and play that same video file back, then I can get subtitles

I really wonder how you made it :blink:

 

I've tried the following:

 

- Played a ATSC sample TS file with DVBViewer. Closed captions were displayed.

 

- Used TSPlayer to convert the file to MPG (TSPlayer uses the DVBViewer recording engine for re-recording a TS file in a different format)

 

- Played the MPG file in DVBViewer. Settings -> Subtitles just says "None". No subtitles whatsoever.

Share this post


Link to post
antdude

I really wonder how you made it :blink:

 

I've tried the following: ...

What do you mean made it? It's directly from DVBViewer's timer recording and then I manually played that same video file with drag and drop from recording folder. oh well, I can live without the subtitles/CCs. At least I have my audio tracks working now if I switch it manually (still should be detecting the right one with 5.1?). :)

Share this post


Link to post
Griga
What do you mean made it?

Well, it's simply impossible. DVBViewer (at least with the DVBViewer Filter as source filter) doesn't display ATSC closed captions in MPG files. It doesn't here. I know the DVBViewer CC decoder code. It's only designed for processing TS packets. Some supernatural power must be involved...

Share this post


Link to post
antdude

Well, it's simply impossible. DVBViewer (at least with the DVBViewer Filter as source filter) doesn't display ATSC closed captions in MPG files. It doesn't here. I know the DVBViewer CC decoder code. It's only designed for processing TS packets. Some supernatural power must be involved...

Ah. Hmm. It would be nice to have it in MPEG-2 for future versions then. :)

Share this post


Link to post
Griga
It would be nice to have it in MPEG-2 for future versions then

Supernatural power or what? First give me a good explanation why it works on your PC.

Share this post


Link to post
antdude

Supernatural power or what? First give me a good explanation why it works on your PC.

Both. ;) [grin]

Share this post


Link to post
Derrick

..either he can't see the CC subs or he uses another player/splitter..

 

DVBViewer forces DVBViewer Filter usage, because many other source resp. splitter filters are not able to open files in shared mode

 

but:

If I stop recording and play that same video file back, then I can get subtitles
He doesn't say that dvbv is used for playback ;)

Share this post


Link to post
Griga
He doesn't say that dvbv is used for playback

He does:

Yes, DVBViewer Filter is enabled for .MPG and .TS.

 

P.S. Well, ok, not explicitely. Maybe he's using VLC for MPG playback and doesn't dare to admit it here.

Edited by Griga

Share this post


Link to post
antdude

..either he can't see the CC subs or he uses another player/splitter..

 

 

 

but:

He doesn't say that dvbv is used for playback ;)

I did use DVBV for playback on recordings (in progress and finished).

Share this post


Link to post
Griga
I did use DVBV for playback on recordings (in progress and finished).

Last hope gone... anyway, the VLC media player is able to play DVBViewer MPG recordings in progress and to display ATSC closed captions in MPG files (just tried). That would be a solution for your problem (not for mine ;)).

Share this post


Link to post
antdude

Last hope gone... anyway, the VLC media player is able to play DVBViewer MPG recordings in progress and to display ATSC closed captions in MPG files (just tried). That would be a solution for your problem (not for mine ;)).

Ah I will try that later (not at the PC to try it). I'd love to use DVBViewer's player instead especially with in progress recording. If I use VLC or another player, then I will have two players going and I don't think my fullscreen to my 1996's 20" CRT TV will work due to conflicts. :(

Share this post


Link to post
Griga

You can switch playback off in DVBViewer (View -> Close Graph) without affecting the recording.

Share this post


Link to post
antdude

You can switch playback off in DVBViewer (View -> Close Graph) without affecting the recording.

Ah, I wasn't aware of that trick. I assume I can reopen that graph too?

Share this post


Link to post
Griga
I assume I can reopen that graph too?

Sure. Use Channel -> Last Channel.

 

Another thing: I'm curently working on ATSC CC improvements, but I have only two sample files - quite poor for testing. Could you upload additional TS samples containing CCs to some hoster? 30 seconds or so per file would be sufficient. TS is better because it can easily be converted to MPG, but not the other way round.

 

My samples only contain roll-up style captions (as used for live shows), so additional samples with pop-on style captions (as used for movie subtitling) would be good. Or even better a sample that switches between the styles, but that might be hard to catch ;)

Share this post


Link to post
antdude

Sure. Use Channel -> Last Channel.

 

Another thing: I'm curently working on ATSC CC improvements, but I have only two sample files - quite poor for testing. Could you upload additional TS samples containing CCs to some hoster? 30 seconds or so per file would be sufficient. TS is better because it can easily be converted to MPG, but not the other way round.

 

My samples only contain roll-up style captions (as used for live shows), so additional samples with pop-on style captions (as used for movie subtitling) would be good. Or even better a sample that switches between the styles, but that might be hard to catch ;)

Sure! Um, where do I upload it? I can't upload very big files since my upload speed sucks. I have a 5 seconds TS file (saw its subtitles after recording and watching it in DVBV) that is already 9 MB from a live local news (same station as Terra Nova from last night that I mentioned)! :( Edited by antdude

Share this post


Link to post
Griga
Um, where do I upload it?

There are free hosters like RapidShare and MegaUpload, but I'll ask Christian and Lars if there is a better solution...

 

I can't upload very big files since my upload speed sucks

I know that. Usually it becomes a background task for times when my PC has nothing else to do. What is your upload data rate?

Share this post


Link to post
antdude

There are free hosters like RapidShare and MegaUpload, but I'll ask Christian and Lars if there is a better solution...

 

 

I know that. Usually it becomes a background task for times when my PC has nothing else to do. What is your upload data rate?

384 Kb. Also, it is shared with other people. :( Anyways, I uploaded the 9 MB zipped TS file to here: http://www.multiupload.com/BQU5SG2F5S ... I hope it works. I am going to sleep now.

Share this post


Link to post
Griga
384 Kb.

Same here ;)

 

Anyways, I uploaded the 9 MB zipped TS file

Thanks :) It's HDTV, that's why it gets so big. Are there still SD channels broadcasting in your region?

 

I am going to sleep now.

Have a good (rest of the) night - see you later...

Share this post


Link to post
antdude

Same here ;)

 

 

Thanks :) It's HDTV, that's why it gets so big. Are there still SD channels broadcasting in your region?

 

 

Have a good (rest of the) night - see you later...

Yeah and good morning (my side).

Share this post


Link to post
Griga

Good morning... please check your PM :)

Share this post


Link to post
antdude

Good morning... please check your PM :)

Got and thanks. I can't do it now, but will try later. :)

Share this post


Link to post
This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...