10-28-2019
Hi
MadeInGermany. I tried your script. I end receiving many messages like;
Quote:
[h264 @ 0x41456c0] nal_unit_type: 1, nal_ref_idc: 0
Clipping frame in rate conversion by 0.020821
[h264 @ 0x4162a00] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 0x4138440] nal_unit_type: 1, nal_ref_idc: 0
[h264 @ 0x41456c0] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 0x4162a00] nal_unit_type: 1, nal_ref_idc: 0
[h264 @ 0x4138440] nal_unit_type: 1, nal_ref_idc: 0
[h264 @ 0x41456c0] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 0x4162a00] nal_unit_type: 1, nal_ref_idc: 0
[h264 @ 0x4138440] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 0x41456c0] nal_unit_type: 1, nal_ref_idc: 0
[h264 @ 0x4162a00] nal_unit_type: 1, nal_ref_idc: 0
Quote:
Enter command: <target>|all <time>|-1 <command>[ <argument>]
Parse error, at least 3 arguments were expected, only 1 given in string 'T TO 2012 OLYMPICS-qK8cJH_b5fQ.mp4'
then:
Quote:
Clipping frame in rate conversion by 0.344780
[h264 @ 0x5a036c0] nal_unit_type: 1, nal_ref_idc: 2
and finally
Quote:
[h264 @ 0x4f10a00] nal_unit_type: 1, nal_ref_idc: 0
Clipping frame in rate conversion by 0.065620
[mpeg4 @ 0x4f0c2a0] P qp:236<2108.0<3658 5337 want:215699 total:218738 comp:0.240138 st_q:2108.04 size:8624 var:4332426/460252 br:969 fps:25
stream #0:
keyframe=0
duration=0.042
dts=222.722 pts=222.806
size=6954
It ends reencoding only the first video in the dir.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I am new to unix scripting and I need to write a script that accepts a directory name as an argument, and inside the script to go through all the ".dat" files in that directory. For each ".dat" file in the directory, create a control file(.ctl) file containing the associated ".dat" file name... (0 Replies)
Discussion started by: Axis99
0 Replies
2. Shell Programming and Scripting
Hello,
I was wondering if anyone had an answer for this?
thanks,
KW (3 Replies)
Discussion started by: kwa71
3 Replies
3. Shell Programming and Scripting
Hi Guys,
Is there any way I can execute my bash script on files in a different folder than what the script is in? Here is an excerpt of my script:
#!/usr/bin/bash
input_path="/cygdrive/c/files"
output_path="/cygdrive/c/files/data"
#script uses files from /cygdrive/c/files directory,... (1 Reply)
Discussion started by: npatwardhan
1 Replies
4. UNIX for Dummies Questions & Answers
Hi
I'm trying to call my files from different directories in my script.
Can you please help me.
Here is my script:
#!/bin/bash
#----------------------------------------------------------------------------------------------------------------------
#This script allows the user... (1 Reply)
Discussion started by: ladyAnne
1 Replies
5. Shell Programming and Scripting
Script must removes files from the first directory if there is a file with same name in the second directory
Script passed to the two directories, it lies with them in one directory:
sh script_name dir1 dir2
This is my version, but it does not work :wall:
set - $2/*
for i
do
set -... (6 Replies)
Discussion started by: SLAMUL
6 Replies
6. Shell Programming and Scripting
hi,
I am having script in which i want to check if directory has any file in it or not. If directory contains a single or more files then and only then it should proceed to further operations...
P.S.: Directory might have thousand number of files. so there might be chance of getting error... (4 Replies)
Discussion started by: VSom007
4 Replies
7. UNIX for Dummies Questions & Answers
Hi Folks,
There is a job which generates a .zip files every day at /usr/app/generated directory , now please advise for the script that will delete this zip files permanently.but while deleting it should make sure that it will not delete the last two days recently generated zip files and this... (1 Reply)
Discussion started by: punpun66
1 Replies
8. Shell Programming and Scripting
Hi,
Could you please assist how to move the gz files which are older than the 90 days from one folder to another folder ,before that it need to check the file system named "nfs" if size is less than 90 or not. If size is above 90 then it shouldn't perform file move and exit the script throwing... (4 Replies)
Discussion started by: venkat918
4 Replies
9. Shell Programming and Scripting
Hello Folks,
Looking for a script which can keep doing ls to the directories and once file landed to the directory then ,read the files do further calculation and exit.
Kindly guide.
Regards,
Sadique (3 Replies)
Discussion started by: sadique.manzar
3 Replies
LEARN ABOUT DEBIAN
tsserve
TSSERVE(1) User TSSERVE(1)
NAME
tsserve - act as a server which plays the given transport or program stream
DESCRIPTION
Usage:
tsserve <infile> tsserve <infile> -port <n> tsserve [switches] <infile> [switches]
TS tools version 1.11, tsserve built Nov 11 2008 17:15:49
Act as a server which plays the given file (containing Transport Stream or Program Stream data). The output is always Transport
Stream.
Input:
<infile>
An H.222.0 TS or PS file to serve to the client. This will be treated as file 0 (see below).
-0 <file0> .. -9 <file9>
Specify files 0 through 9, selectable with command characters 0 through 9. The lowest numbered file will be the default for display.
General Switches:
-details
Print out more detailed help information, including some less common options.
-quiet, -q
Suppress informational and warning messages.
-verbose, -v
Output additional diagnostic messages
-port <n>
Listen for a client on port <n> (default 88)
-noaudio
Ignore any audio data
-pad <n>
Pad the start of the output with <n> filler TS packets, to allow the client to synchronize with the datastream. Defaults to 8.
-noseqhdr
Do not output sequence headers for fast forward/reverse data. Only relevant to H.262 data.
Program Stream Switches:
-prepeat <n>
Output the program data (PAT/PMT) after every <n> PS packs. Defaults to 100.
-h264, -avc
Force the program to treat the input as MPEG-4/AVC.
-h262 Force the program to treat the input as MPEG-2.
Both of these affect the stream type of the output data.
If the audio stream being output is Dolby (AC-3), then the stream type used to output it differs for DVB (European) and ATSC (USA)
data. It may be specified as follows:
-dolby dvb
Use stream type 0x06 (the default)
-dolby atsc
Use stream type 0x81
For information on using the program in other modes, see -details.
tsserve <infile> tsserve <infile> -port <n> tsserve [switches] <infile> [switches]
TS tools version 1.11, tsserve built Nov 11 2008 17:15:49
Act as a server which plays the given file (containing Transport Stream or Program Stream data). The output is always Transport
Stream.
Input:
<infile>
An H.222.0 TS or PS file to serve to the client. This will be treated as file 0 (see below).
-0 <file0> .. -9 <file9>
Specify files 0 through 9, selectable with command characters 0 through 9. The lowest numbered file will be the default for display.
General Switches:
-details
Print out more detailed help information, including some less common options.
-quiet, -q
Suppress informational and warning messages.
-verbose, -v
Output additional diagnostic messages
-port <n>
Listen for a client on port <n> (default 88)
-noaudio
Ignore any audio data
-pad <n>
Pad the start of the output with <n> filler TS packets, to allow the client to synchronize with the datastream. Defaults to 8.
-noseqhdr
Do not output sequence headers for fast forward/reverse data. Only relevant to H.262 data.
Program Stream Switches:
-prepeat <n>
Output the program data (PAT/PMT) after every <n> PS packs. Defaults to 100.
-h264, -avc
Force the program to treat the input as MPEG-4/AVC.
-h262 Force the program to treat the input as MPEG-2.
Both of these affect the stream type of the output data.
If the audio stream being output is Dolby (AC-3), then the stream type used to output it differs for DVB (European) and ATSC (USA)
data. It may be specified as follows:
-dolby dvb
Use stream type 0x06 (the default)
-dolby atsc
Use stream type 0x81
For information on using the program in other modes, see -details.
SEE ALSO
The full documentation for tsserve is maintained as a Texinfo manual. Please check http://tstools.berlios.de for more information.
tsserve 1.11 November 2008 TSSERVE(1)