Transcode job failed in google cloud - google-cloud-transcoder

Unable to trigger transcode jobs
Issue Summary: IAS had some failed transcode jobs for project PROJECT_NUMBER. These were retriggered and roughly ~950/1115 passed but 122 failed.
Project Number: PROJECT_NUMBER
Job ID:
projects/PROJECT_NUMBER/locations/us-west1/jobs/JOB_ID,
Location: us-west1
Job Config See job config:
Source File(s):

I downloaded and analyzed these 3 files, they are all corrupt and have syntax and bitstream errors, they were not captured by the customer properly prior to upload,
please request that they capture them properly and make sure that they can play them back with VLC without issues prior to upload processing
{"type":"log","msg":"av_log(level=ERROR): Concealing bitstream errors\n","line":"init.cc:37","level":"DEBUG","timestamp":"2021-07-22T20:52:33.879Z"}
{"type":"log","msg":"av_log(level=ERROR): AC EOB marker is absent pos=64\n","line":"init.cc:37","level":"DEBUG","timestamp":"2021-07-22T20:52:33.879Z"}
{"type":"log","msg":"av_log(level=ERROR): AC EOB marker is absent pos=64\n","line":"init.cc:37","level":"DEBUG","timestamp":"2021-07-22T20:52:33.879Z"}
{"type":"log","msg":"av_log(level=ERROR): Concealing bitstream errors\n","line":"init.cc:37","level":"DEBUG","timestamp":"2021-07-22T20:52:33.879Z"}
{"type":"log","msg":"av_log(level=ERROR): Concealing bitstream errors\n","line":"init.cc:37","level":"DEBUG","timestamp":"2021-07-22T20:52:33.879Z"}
{"type":"log","msg":"av_log(level=ERROR): AC EOB marker is absent pos=76\n","line":"init.cc:37","level":"DEBUG","timestamp":"2021-07-22T20:52:33.879Z"}
{"type":"log","msg":"av_log(level=ERROR): AC EOB marker is absent pos=70\n","line":"init.cc:37","level":"DEBUG","timestamp":"2021-07-22T20:52:33.879Z"}
{"type":"log","msg":"av_log(level=ERROR): Concealing bitstream errors\n","line":"init.cc:37","level":"DEBUG","timestamp":"2021-07-22T20:52:33.879Z"}
{"type":"log","msg":"av_log(level=ERROR): AC EOB marker is absent pos=70\n","line":"init.cc:37","level":"DEBUG","timestamp":"2021-07-22T20:52:33.879Z"}
{"type":"log","msg":"av_log(level=ERROR): Concealing bitstream errors\n","line":"init.cc:37","level":"DEBUG","timestamp":"2021-07-22T20:52:33.879Z"}
{"type":"log","msg":"av_log(level=ERROR): AC EOB marker is absent pos=64\n","line":"init.cc:37","level":"DEBUG","timestamp":"2021-07-22T20:52:33.879Z"}
{"type":"log","msg":"av_log(level=ERROR): AC EOB marker is absent pos=84\n","line":"init.cc:37","level":"DEBUG","timestamp":"2021-07-22T20:52:33.879Z"}
{"type":"log","msg":"av_log(level=ERROR): Concealing bitstream errors\n","line":"init.cc:37","level":"DEBUG","timestamp":"2021-07-22T20:52:33.879Z"}
{"type":"log","msg":"av_log(level=ERROR): AC EOB marker is absent pos=64\n","line":"init.cc:37","level":"DEBUG","timestamp":"2021-07-22T20:52:33.879Z"}
{"type":"log","msg":"av_log(level=ERROR): AC EOB marker is absent pos=84\n","line":"init.cc:37","level":"DEBUG","timestamp":"2021-07-22T20:52:33.879Z"}
{"type":"log","msg":"av_log(level=ERROR): AC EOB marker is absent pos=99\n","line":"init.cc:37","level":"DEBUG","timestamp":"2021-07-22T20:52:33.879Z"}
{"type":"log","msg":"av_log(level=ERROR): AC EOB marker is absent pos=64\n","line":"init.cc:37","level":"DEBUG","timestamp":"2021-07-22T20:52:33.879Z"}
{"type":"log","msg":"av_log(level=ERROR): AC EOB marker is absent pos=81\n","line":"init.cc:37","level":"DEBUG","timestamp":"2021-07-22T20:52:33.879Z"}
{"type":"log","msg":"av_log(level=ERROR): Concealing bitstream errors\n","line":"init.cc:37","level":"DEBUG","timestamp":"2021-07-22T20:52:33.879Z"}
{"type":"log","msg":"av_log(level=ERROR): AC EOB marker is absent pos=65\n","line":"init.cc:37","level":"DEBUG","timestamp":"2021-07-22T20:52:33.879Z"}
{"type":"log","msg":"av_log(level=ERROR): AC EOB marker is absent pos=68\n","line":"init.cc:37","level":"DEBUG","timestamp":"2021-07-22T20:52:33.879Z"}
{"type":"log","msg":"av_log(level=ERROR): Concealing bitstream errors\n","line":"init.cc:37","level":"DEBUG","timestamp":"2021-07-22T20:52:33.879Z"}

Related

How do I skip a line COBOL?

I have a cobol project and everything works and prints fine except I can't figure out how to skip a line between address.
Action code:
200-PROCESS-ONE-RECORD.
MOVE NAME-IN TO LEFT-LABEL-OUT
MOVE SPACES TO BLANK-OUT
MOVE NAME-IN TO RIGHT-LABEL-OUT
MOVE SPACES TO BLANK-A-OUT
WRITE LABEL-RECORD-OUT
MOVE ADDRESS-IN TO LEFT-LABEL-OUT
MOVE SPACES TO BLANK-OUT
MOVE ADDRESS-IN TO RIGHT-LABEL-OUT
MOVE SPACES TO BLANK-A-OUT
WRITE LABEL-RECORD-OUT
MOVE CITY-STATE-ZIP-IN TO LEFT-LABEL-OUT
MOVE SPACES TO BLANK-OUT
MOVE CITY-STATE-ZIP-IN TO RIGHT-LABEL-OUT
MOVE SPACES TO BLANK-A-OUT
WRITE LABEL-RECORD-OUT
It currently print like this:
IAN HENDERSON IAN HENDERSON
1309 SPRINGBANK ST. 1309 SPRINGBANK ST.
DETROIT MI 48024 DETROIT MI 48024
JANET LEASA JANET LEASA
12700 GRATIOT ST. 12700 GRATIOT ST.
WARREN MI 48077 WARREN MI 48077
I need a space/empty line between lines 3 and 4. In this case an empty line between DETROIT and Janet.
Either
MOVE SPACE TO LABEL-RECORD-OUT
WRITE LABEL-RECORD-OUT
Or
WRITE LABEL-RECORD-OUT FROM SPACE
Wherever a blank line is needed. This fits the pattern from the code you have shown.
One would need to see the record description entry for LABEL-RECORD-OUT to make it more clear that the above would answer the question.

How to draw a cross section of an engine in TikZ

I would like to convert the following picture, which is a cross section of an engine, into a TikZ code:
How to start with this picture?
How to draw the walls and pipes in an easy way?
How to draw the oil (the hatched area)?
How to draw the oil (the hatched area)?
One way may be to use pattern=north east lines from patterns library described at page 730 of the PGF Manual:
\documentclass[tikz,border=5mm]{standalone}
\usetikzlibrary{patterns}
\begin{document}
\begin{tikzpicture}
\fill [pattern=north east lines] (0,6) -- (0,0) -- (10,0) -- (10,6);
\draw (0,10) -- (0,0) -- (10,0) -- (10,10);
\end{tikzpicture}
\end{document}

"Metro Line" diagrams in Latex, what is best approach?

How does one goes at trying to render such diagram with Latex.
Europe’s many alliances, reimagined as a Metro system European
countries are bound together in many ways
https://www.washingtonpost.com/graphics/world/how-european-countries-are-bound-together/?noredirect=on
Is there a package for such type of "Metro Line" diagrams ?
Maybe the following tikz code could be a starting point:
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{calc}
\begin{document}
\begin{tikzpicture}
\coordinate (Norway) at (0,1);
\coordinate (Belgium) at (2,0);
\draw[ultra thick, red] (Norway) -- (1:0.9599) -- (Belgium);
\draw[ultra thick, blue] ($(Norway) + (0,-0.1)$) -- ($(1:0.9599) + (-0.03,-0.065)$) -- ($(Belgium) + (0,-0.065)$);
\node[rotate=45,anchor=west] at (Norway) {Norway};
\draw[fill=white] (Norway) circle (0.03);
\draw[fill=white] ($(Norway) + (0,-0.1)$) circle (0.03);
\node[rotate=45,anchor=west] at (Belgium) {Belgium};
\draw[fill=white] (Belgium) circle (0.03);
\draw[fill=white] ($(Belgium) + (0,-0.065)$) circle (0.03);
\end{tikzpicture}
\end{document}

Latex hline does not work with rowcolor?

\begin{tabularx}{\textwidth}{ |X|X|X| }
\hline
\rowcolor{fapsgrau1}\global\setlength\arrayrulewidth{0.4pt}
\textbf{Länge} & \textbf{Breite} & \textbf{Höhe} \\
\hline
& 115 & \\
& 120 & \\
240 (248) & 150 & 52 \\
300 (298) (308) & 175 & 200 \\
& 200 & 113 (123) \\
490 (498) & 240 & 155 \\
(623) & 300 & 238 (248) \\
& 365 & \\
\hline
\end{tabularx}
How do i need to change the code that the hline on the top is seen and that the lines continue to the top? (cannot upload the picture)
What you're witnessing is an artifact of the PDF viewer, not the LaTeX code. Let's look at a comparison between three PDF viewers:
SumatraPDF
Adobe Acrobat Reader DC
Foxit Reader
Here are different zoom levels for the same table:
SumatraPDF # 150%
Adobe Acrobat Reader DC # 150%
Foxit Reader # 150%
Sumatra shows all the lines around the coloured header, as does Foxit. Adobe Reader doesn't show the top/left rules.
SumatraPDF # 200%
Adobe Acrobat Reader DC # 200%
Foxit reader # 200%
SumatraPDF again shows all rules, while Adobe Reader and Foxit seems to miss the left rule in the header.
As you should be able to see, it's zoom, but also viewer-dependent. Viewers tend to render the output and make it snap to visible pixels. In some of these calculations, there may be rounding that causing visuals to differ from the actual.
Printing will be correct, regardless of the reader.

Centering a table wider than the text column

I'm including a table in my LaTeX document and the centering works fine if the table isn't wider than the text column above it, but when the table is wider, the left side of the table sticks to the left side of the text column, and the additional width of the table is on the right side of the page, how can I center the table?
I'd recommend trying the chngpage package.
\documentclass{article}
% allows for temporary adjustment of side margins
\usepackage{chngpage}
% provides filler text
\usepackage{lipsum}
% just makes the table prettier (see \toprule, \bottomrule, etc. commands below)
\usepackage{booktabs}
\begin{document}
\lipsum[1]% just a paragraph of filler text
\medskip% adds some space before the table
\begin{adjustwidth}{-1in}{-1in}% adjust the L and R margins by 1 inch
\begin{tabular}{ll}
\toprule
Sequence & Wide column \\
\midrule
First & Vestibulum porta ultricies felis. In nec mi. \\
Second & Nam vestibulum auctor nibh. In eleifend,
lacus id tristique ullamcorper, mauris urna convallis elit. \\
Third & Ut luctus nisi quam lobortis magna. Aenean sit amet odio
et sapien rutrum lobortis. \\
Fourth & Integer dictum accumsan purus. Nullam erat ligula,
dictum sed, feugiat nec, faucibus id, ipsum. \\
\bottomrule
\end{tabular}
\end{adjustwidth}
\medskip% adds some space after the table
\noindent\lipsum[2]% just a paragraph of filler text
\end{document}
The documentation for the chngpage package is located at the bottom of the chngpage.sty file. I've pulled out the docs for the adjustwidth environment:
Within an adjustwidth environment
the left and right margins can be
adjusted. The environment takes one
optional argument and two required
length arguments:
\begin{adjustwidth}[]{leftmargin}{rightmargin}
A positive length value will increase the relevant margin
(shortening the text lines) while a
negative length value will decrease
the margin (lengthening text lines).
An empty length argument means no
change to the margin. At the end of
the environment the margins revert to
their original values.
For example, to extend the text
into the right margin:
\begin{adjustwidth}{}{-8em}
Any appearance of the optional
argument (even just []) will cause the
values of the margins to switch
between odd and even pages.
If the document is being set
twosided it might be advantageous to
have any wider text extending into the
outside margin. This could be done via
the optional argument, as:
\begin{adjustwidth}[]{}{-8em}
To have the adjusted text
horizontally centered with respect to
any surrounding text, the margins
should be adjusted equally:
\begin{adjustwidth}{-4em}{-4em}
Latex: Centering table larger than textwidth
Usually, you can center tables with \center. But when the table is longer than the \textwidth, it will be align with the left side margin. You can temporarily adjust the textwidth.
% allows for temporary adjustment of side margins
\usepackage{chngpage}
\begin{table}
\begin{adjustwidth}{-.5in}{-.5in}
\begin{center}
\begin{tabular}{|c|}
\hline
And here comes a very long line. And here comes a very long line. And here comes a very long line. \\
\hline
\end{tabular}
\caption{This Table is longer than the text width. And its caption is really long, too. This Table is longer than the text width. And its caption is really long, too. This Table is longer than the text width. And its caption is really long, too. This Table is longer than the text width. }
\label{myTable}
\end{center}
\end{adjustwidth}
\end{table}
If you're using a \table float, the \begin{adjustwidth} ... \end{adjustwidth} has to be contained inside it.
In figures, the figure environment must contain the adjustwidth env.. Furthermore, caption should be left outside of this environment to align with the overall figure's width:
\begin{figure}[h]
\begin{adjustwidth}{-1in}{-1in}% adjust the L and R margins by 1 inch
\centering
\includegraphics[scale=0.44]{res/sth.png}
\end{adjustwidth}
\caption{sth}
\label{fig:sth}
\end{figure}
Are you using a multi-column document? I so, consider the table* variant environment.
In a single column environment your options run to:
Increase the textwidth. But the default margin were choosen for good ergonomic reasons, so this is to be discouraged beyond a minimal tweaking.
Reduce the text size in the table (i.e. \small or even \footnotesize inside the tabular environment). Again, this is less than optimal.
Use the rotating package as suggested in the link Stephan202 gave. I used this for a couple of very large tables in my dissertation (with only the p positioning options) and it came out very nicely.

Resources