Qt在QByteArray中播放视频商店

时间:2016-10-31 20:47:46

标签: c++ qt qbytearray qmediaplayer

当我尝试播放存储在SQlite数据库中的视频时,它不能播放,它的音频工作, 这是代码:

#!/usr/bin/env python
# -*- coding: utf8 -*-

CSV_FILE = "EBAY_CSV/ebaycsvfile.csv"
CSV_FILE_UTF8 = "/tmp/utf8_ebay_csvfile.csv"

import csv
import codecs
with open(CSV_FILE) as infile:
    with codecs.open(CSV_FILE_UTF8, "wb", encoding="utf8") as outfile:
        inlines = [inline.decode("latin") for inline in infile.readlines()]
        outfile.writelines(inlines)

csv_reader = csv.DictReader(open(CSV_FILE_UTF8), delimiter=';')
for row in csv_reader:
    print row["Name des Käufers"]   

0 个答案:

没有答案