Okay, Thanks!

On Thu, Oct 23, 2014 at 1:02 AM, Joseph Fry <[email protected]> wrote:

> x264enc works great.  Already submitted the bug against gstreamer-vaapi
> and linked to the test.mpg I am using.
>
> On Wed, Oct 22, 2014 at 5:31 PM, Sreerenj Balachandran <
> [email protected]> wrote:
>
>> Would be good if you can try with x264enc and if it fails file a bug
>> against gstreamer , if it is working with x264enc then file the bug against
>> gstreamer-vaapi :)
>> Also it would be helpful if you can provide the sample file with the bug.
>>
>> On Wed, Oct 22, 2014 at 10:35 PM, Joseph Fry <[email protected]> wrote:
>>
>>> For example:
>>>
>>> ~$ gst-launch-1.0 filesrc location=test.mpg ! decodebin !
>>> vaapiencode_h264 ! matroskamux name=mux ! filesink location=test.mkv
>>> Setting pipeline to PAUSED ...
>>> libva info: VA-API version 0.35.0
>>> libva info: va_getDriverName() returns 0
>>> libva info: Trying to open
>>> /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
>>> libva info: Found init function __vaDriverInit_0_35
>>> libva info: va_openDriver() returns 0
>>> Pipeline is PREROLLING ...
>>> Got context from element 'vaapiencodeh264-0': gst.vaapi.Display=context,
>>> display=(GstVaapiDisplay)NULL;
>>> Redistribute latency...
>>>
>>> Then it just hangs until I ctrl+c at which point it reports "ERROR:
>>> pipeline doesn't want to preroll."  If I enable verbose output it looks
>>> like it makes it through the decodebin, which is what I would expect
>>> because the same pipeline works if I just drop vaapisink after the
>>> decodebin.
>>>
>>> Obviously, my pipeline is far simpler than the one used by
>>> Transmageddon, but I suspect they are both hitting the same wall.  Of
>>> course, I don't know how to get any logging from Transmageddon to be sure.
>>>
>>> Here is the media info from the source file:
>>>
>>> General
>>> ID                                       : 0 (0x0)
>>> Complete name                            : test.mpg
>>> Format                                   : MPEG-TS
>>> File size                                : 19.8 MiB
>>> Duration                                 : 20s 20ms
>>> Overall bit rate mode                    : Variable
>>> Overall bit rate                         : 8 309 Kbps
>>> Law rating                               : TV-14 (DL)
>>>
>>> Video
>>> ID                                       : 3580 (0xDFC)
>>> Menu ID                                  : 1 (0x1)
>>> Format                                   : MPEG Video
>>> Format version                           : Version 2
>>> Format profile                           : Main@High
>>> Format settings, BVOP                    : Yes
>>> Format settings, Matrix                  : Custom
>>> Format settings, GOP                     : M=3, N=30
>>> Codec ID                                 : 2
>>> Duration                                 : 19s 836ms
>>> Bit rate mode                            : Variable
>>> Bit rate                                 : 7 316 Kbps
>>> Maximum bit rate                         : 20.0 Mbps
>>> Width                                    : 1 920 pixels
>>> Height                                   : 1 080 pixels
>>> Display aspect ratio                     : 16:9
>>> Frame rate                               : 29.970 fps
>>> Color space                              : YUV
>>> Chroma subsampling                       : 4:2:0
>>> Bit depth                                : 8 bits
>>> Compression mode                         : Lossy
>>> Bits/(Pixel*Frame)                       : 0.118
>>> Stream size                              : 17.3 MiB (87%)
>>>
>>> Audio #1
>>> ID                                       : 3581 (0xDFD)
>>> Menu ID                                  : 1 (0x1)
>>> Format                                   : AC-3
>>> Format/Info                              : Audio Coding 3
>>> Mode extension                           : CM (complete main)
>>> Format settings, Endianness              : Big
>>> Codec ID                                 : 129
>>> Duration                                 : 19s 968ms
>>> 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                  : -998ms
>>> Stream size                              : 936 KiB (5%)
>>> Language                                 : English
>>>
>>> Audio #2
>>> ID                                       : 3582 (0xDFE)
>>> Menu ID                                  : 1 (0x1)
>>> Format                                   : AC-3
>>> Format/Info                              : Audio Coding 3
>>> Mode extension                           : CM (complete main)
>>> Format settings, Endianness              : Big
>>> Codec ID                                 : 129
>>> Duration                                 : 20s 32ms
>>> Bit rate mode                            : Constant
>>> Bit rate                                 : 192 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                  : -1s 59ms
>>> Stream size                              : 470 KiB (2%)
>>> Language                                 : Spanish
>>> Language, more info                      : Visual impaired commentary
>>>
>>> Text #1
>>> ID                                       : 3580 (0xDFC)-CC1
>>> Menu ID                                  : 1 (0x1)
>>> Format                                   : EIA-608
>>> Muxing mode                              : A/53 / DTVCC Transport
>>> Muxing mode, more info                   : Muxed in Video #1
>>> Duration                                 : 19s 836ms
>>> Bit rate mode                            : Constant
>>> Stream size                              : 0.00 Byte (0%)
>>>
>>> Text #2
>>> ID                                       : 3580 (0xDFC)-1
>>> Menu ID                                  : 1 (0x1)
>>> Format                                   : EIA-708
>>> Muxing mode                              : A/53 / DTVCC Transport
>>> Muxing mode, more info                   : Muxed in Video #1
>>> Duration                                 : 19s 836ms
>>> Bit rate mode                            : Constant
>>> Stream size                              : 0.00 Byte (0%)
>>>
>>> Menu
>>> ID                                       : 53 (0x35)
>>> Menu ID                                  : 1 (0x1)
>>> Duration                                 : 20s 20ms
>>> List                                     : 3580 (0xDFC) (MPEG Video) /
>>> 3581 (0xDFD) (AC-3, English) / 3582 (0xDFE) (AC-3, Spanish)
>>> Language                                 :  / English / Spanish
>>> Law rating                               : TV-14 (DL)
>>>
>>> On Wed, Oct 22, 2014 at 4:20 AM, Sreerenj Balachandran <
>>> [email protected]> wrote:
>>>
>>>> What kind of transcoding ?
>>>> At least provide the sample pipeline.
>>>> or
>>>> Please file a bug against gstreamer-vaapi in gnome bugzilla,
>>>> https://bugzilla.gnome.org/enter_bug.cgi?product=gstreamer-vaapi
>>>>
>>>>
>>>> On Tue, Oct 21, 2014 at 11:27 PM, Joseph Fry <[email protected]> wrote:
>>>>
>>>>> I have been trying to get VAAPI transcoding working, both from
>>>>> transmageddon and using gst-launch-1.0.  In both cases, it appears that it
>>>>> never completes prerolling the pipeline, but never errors either.
>>>>>
>>>>> I am running Ubuntu Trusty, with gstreamer 1.2.4 and vaapi plugin
>>>>> 0.5.8.  I can play videos using vaapi and gstreamer, just can't seem to
>>>>> find a working pipeline to transcode, and Transmageddon appears to have 
>>>>> the
>>>>> same issue.
>>>>>
>>>>> Is there anything I can do to get to the bottom of this, or is it a
>>>>> known issue?
>>>>>
>>>>> _______________________________________________
>>>>> gnome-multimedia mailing list
>>>>> [email protected]
>>>>> https://mail.gnome.org/mailman/listinfo/gnome-multimedia
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Sreerenj Balachandran (Intel OTC, Finland)
>>>> http://twitter.com/#!/sreerenj
>>>>
>>>>
>>>>
>>>
>>
>>
>> --
>> Sreerenj Balachandran (Intel OTC, Finland)
>> http://twitter.com/#!/sreerenj
>>
>>
>>
>


-- 
Sreerenj Balachandran (Intel OTC, Finland)
http://twitter.com/#!/sreerenj
_______________________________________________
gnome-multimedia mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gnome-multimedia

Reply via email to