maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   [WIP] LLs Video Player (https://talk.maemo.org/showthread.php?t=92141)

youmeego 2014-11-20 12:06

Re: [WIP] LLs Video Player
 
Is it rss video player?

llelectronics 2014-11-20 12:09

Re: [WIP] LLs Video Player
 
Now rss feeds are not supported. (If you mean that)

youmeego 2014-11-20 12:24

Re: [WIP] LLs Video Player
 
Quote:

Originally Posted by llelectronics (Post 1448333)
Now rss feeds are not supported. (If you mean that)

Why? I need rss video player

llelectronics 2014-11-20 13:18

Re: [WIP] LLs Video Player
 
I never digged into this before.
There are plenty of rss feed readers already. Can't you just use them and if they don't provide a video player just use my player to play the videos ?

youmeego 2014-11-20 14:26

Re: [WIP] LLs Video Player
 
Quote:

Originally Posted by llelectronics (Post 1448352)
I never digged into this before.
There are plenty of rss feed readers already. Can't you just use them and if they don't provide a video player just use my player to play the videos ?

What I mean is an app like vchannel on ios, it can stream many tv shows. It is an rss video player,

llelectronics 2014-11-20 15:04

Re: [WIP] LLs Video Player
 
Streaming in general is supported.
RSS Feeds not directly. If you get the direct url from the rss feed it won't be a problem.
And sorry I don't know the iOS vchannel app.

bertjefred 2014-11-20 15:13

Re: [WIP] LLs Video Player
 
Really nice app. I tried it again after not having it installed for a while. Keep up the good work. Will tinker around with it some more, to see how we can improve it.

llelectronics 2014-11-23 18:58

Re: [WIP] LLs Video Player
 
Update: Version 0.7-6 is out now.

Includes some code cleanup and the integration of folderlistmodel and removal of cute-js dependency.

Changes:
  • Remove dependencies on folderlistmodel & cute-js
  • Add own folderlistmodel (taken from Qt 5.2)
  • Add some more filemanager functions in fmhelper.hpp
  • Cleaned up some code
  • Disabled debugging output
  • Added 'Show Hidden Files' in fileman

llelectronics 2014-11-26 13:30

Re: [WIP] LLs Video Player
 
Update: Another small bugfix release mainly fixing the issue that some youtube videos use titles with characters which are considered illegal when used as filename (e.g. /\?)

I also added a wikipedia and google image search in the file details page searching for the artist (or title if artist is not detected)

Overview:
  • Filter out illegal characters of Youtube Title when downloading (e.g. :./?\)
  • Add Google Image and Wikipedia search for Artist in File Details
  • Use only one common way to access fmhelper functions

nodevel 2014-12-26 20:07

Re: [WIP] LLs Video Player
 
Hey, llelectronics!

I am having a problem playing one type of HTTP streams (with AAC).

It is for example this video:
Code:

http://wcdn1002.nacevi.cz/ct-vod/_definst_/smil:QuoVadisTelevizeCT2-180811-MP4_404p.smil/playlist.m3u8?id=HbgemAnZswAWjK-01&publisher=lss
.
(the stream URL might change, therefore please PM me if you can't play it in VLC either; there might be geo-lock in place as well)

Here is the output:
http://pastebin.com/zh90t3VG


Any idea what is the reason?

EDIT1:

Did some research and it looks it is a MPEG-TS file. Such .ts files fail to play on SailfishOS (LL vPlayer, Gallery, Video element). What's weird is that it is fixable by changing the container to mp4 with ffmpeg and recoding the audio stream from ADTS (aac_adtstoasc). Doing this on a 250MB file takes ~2s on my computer, but I don't know how to do this on the fly on Jolla.

Code:

$ ffprobe -show_format -show_streams -loglevel quiet -print_format json video.ts
{
    "streams": [
        {
            "index": 0,
            "codec_time_base": "0/1",
            "codec_tag_string": "[21][0][0][0]",
            "codec_tag": "0x0015",
            "id": "0x101",
            "r_frame_rate": "0/0",
            "avg_frame_rate": "0/0",
            "time_base": "1/90000",
            "start_pts": 900000,
            "start_time": "10.000000",
            "duration_ts": 3758220,
            "duration": "41.758000",
            "disposition": {
                "default": 0,
                "dub": 0,
                "original": 0,
                "comment": 0,
                "lyrics": 0,
                "karaoke": 0,
                "forced": 0,
                "hearing_impaired": 0,
                "visual_impaired": 0,
                "clean_effects": 0,
                "attached_pic": 0
            }
        },
        {
            "index": 1,
            "codec_name": "h264",
            "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",
            "profile": "Baseline",
            "codec_type": "video",
            "codec_time_base": "1/50",
            "codec_tag_string": "[27][0][0][0]",
            "codec_tag": "0x001b",
            "width": 512,
            "height": 288,
            "has_b_frames": 0,
            "sample_aspect_ratio": "1:1",
            "display_aspect_ratio": "16:9",
            "pix_fmt": "yuv420p",
            "level": 31,
            "id": "0x102",
            "r_frame_rate": "25/1",
            "avg_frame_rate": "25/1",
            "time_base": "1/90000",
            "start_pts": 900000,
            "start_time": "10.000000",
            "duration_ts": 3758220,
            "duration": "41.758000",
            "disposition": {
                "default": 0,
                "dub": 0,
                "original": 0,
                "comment": 0,
                "lyrics": 0,
                "karaoke": 0,
                "forced": 0,
                "hearing_impaired": 0,
                "visual_impaired": 0,
                "clean_effects": 0,
                "attached_pic": 0
            }
        },
        {
            "index": 2,
            "codec_name": "aac",
            "codec_long_name": "AAC (Advanced Audio Coding)",
            "codec_type": "audio",
            "codec_time_base": "1/48000",
            "codec_tag_string": "[15][0][0][0]",
            "codec_tag": "0x000f",
            "sample_fmt": "fltp",
            "sample_rate": "48000",
            "channels": 2,
            "channel_layout": "stereo",
            "bits_per_sample": 0,
            "id": "0x103",
            "r_frame_rate": "0/0",
            "avg_frame_rate": "0/0",
            "time_base": "1/90000",
            "start_pts": 900000,
            "start_time": "10.000000",
            "duration_ts": 3749760,
            "duration": "41.664000",
            "bit_rate": "100500",
            "disposition": {
                "default": 0,
                "dub": 0,
                "original": 0,
                "comment": 0,
                "lyrics": 0,
                "karaoke": 0,
                "forced": 0,
                "hearing_impaired": 0,
                "visual_impaired": 0,
                "clean_effects": 0,
                "attached_pic": 0
            }
        }
    ],
    "format": {
        "filename": "video.ts",
        "nb_streams": 3,
        "nb_programs": 1,
        "format_name": "mpegts",
        "format_long_name": "MPEG-TS (MPEG-2 Transport Stream)",
        "start_time": "10.000000",
        "duration": "41.758000",
        "size": "3456568",
        "bit_rate": "662209",
        "probe_score": 100
    }
}



All times are GMT. The time now is 15:19.

vBulletin® Version 3.8.8