Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linuxtv-softmpeg] Demultiplex strangeness when playing VDR files



Hi,

I've tried to look into why softmpeg won't play VDR files.

I modified the code so that it dumped the raw video data to a file, by hooking into video_handle_pes_data. 

I did the same for softdevice, which plays back VDR files OK.

I did a diff on the raw data, and (according to od and emacs diff anyway) the files are the same up until location 0x3765:

Softmpeg output:

0003740 bd20 69d0 d484 0d70 1671 cc1a 08b0 e81c
0003760 bf15 00f8 0f63 00b6 0100 07ea 80fa 0000
0004000 83be bc1c 9103 089c 2319 4092 20e3 078e
0004020 edc8 5718 146e e603 2f1b 537e 0d00 1a0a

Softdevice output:

0003740 bd20 69d0 d484 0d70 1671 cc1a 08b0 e81c
0003760 bf15 00f8 0f63 beb6 1c83 03bc 9c91 1908
0004000 9223 e340 8e20 c807 18ed 6e57 0314 1be6
0004020 7e2f 0053 0a0d e41a b7f4 1fbb 2caf 6200

'mtest' will play the softdevice file fine, but won't play the softmpeg file.

The '0100' looks as though it could possibly be some kind of start code.

I can't figure out why the files would be different though - live video plays fine!

I'll see if I can look through the code to see if I can spot anything. (Time to get the mpeg standard out!)

'mplayer' plays both the pes output from VDR, and the softdevice raw output fine, but doesn't like the softmpeg output. I wonder what's different.

It looks as though the only place a problem could exist is in softmpeg_decoder_process_pes_data or is_pes_packet_start.

Live TV works well though!

Thanks,

Colin






--
Info:  To unsubscribe send a mail to ecartis@linuxtv.org with
"unsubscribe linuxtv-softmpeg" as subject.



Home | Main Index | Thread Index