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
esmerge
ESMERGE(1) User Commands ESMERGE(1)
NAME
esmerge - merge audio and video ES into a TS
DESCRIPTION
Usage:
esmerge [switches] <video-file> <audio-file> <output-file>
TS tools version 1.11, esmerge built Nov 11 2008 17:15:46
Merge the contents of two Elementary Stream (ES) files, one containing video data, and the other audio, to produce an output file
containing Transport Stream (TS).
Files:
<video-file>
is the ES file containing video.
<audio-file>
is the ES file containing audio.
<output-file> is the resultant TS file.
Switches:
-quiet, -q
Only output error messages.
-verbose, -v
Output information about each audio/video frame.
-x Output diagnostic information.
-h264 The video stream is H.264 (the default)
-avs The video stream is AVS
-vidrate <hz>
Video frame rate in Hz - defaults to 25Hz.
-rate <hz>
Audio sample rate in Hertz - defaults to 44100, i.e., 44.1KHz.
-cd Equivalent to -rate 44100 (CD rate), the default.
-dat Equivalent to -rate 48000 (DAT rate).
-adts The audio stream is ADTS (the default)
-l2 The audio stream is MPEG layer 2 audio
-mp2adts
The audio stream is MPEG-2 style ADTS regardless of ID bit
-mp4adts
The audio stream is MPEG-4 style ADTS regardless of ID bit
-ac3 The audio stream is Dolby AC-3 in ATSC
-patpmtfreq <f>
PAT and PMT will be inserted every <f> video frames. by default, f = 0 and PAT/PMT are inserted only at the start of the output
stream.
Limitations =========== For the moment, the video input must be H.264 or AVS, and the audio input ADTS, AC-3 ATSC or MPEG layer 2. Also,
the audio is assumed to have a constant number of samples per frame.
esmerge <video-file> <audio-file> <output-file>
TS tools version 1.11, esmerge built Nov 11 2008 17:15:46
Merge the contents of two Elementary Stream (ES) files, one containing video data, and the other audio, to produce an output file
containing Transport Stream (TS).
Files:
<video-file>
is the ES file containing video.
<audio-file>
is the ES file containing audio.
<output-file> is the resultant TS file.
Switches:
-quiet, -q
Only output error messages.
-verbose, -v
Output information about each audio/video frame.
-x Output diagnostic information.
-h264 The video stream is H.264 (the default)
-avs The video stream is AVS
-vidrate <hz>
Video frame rate in Hz - defaults to 25Hz.
-rate <hz>
Audio sample rate in Hertz - defaults to 44100, i.e., 44.1KHz.
-cd Equivalent to -rate 44100 (CD rate), the default.
-dat Equivalent to -rate 48000 (DAT rate).
-adts The audio stream is ADTS (the default)
-l2 The audio stream is MPEG layer 2 audio
-mp2adts
The audio stream is MPEG-2 style ADTS regardless of ID bit
-mp4adts
The audio stream is MPEG-4 style ADTS regardless of ID bit
-ac3 The audio stream is Dolby AC-3 in ATSC
-patpmtfreq <f>
PAT and PMT will be inserted every <f> video frames. by default, f = 0 and PAT/PMT are inserted only at the start of the output
stream.
Limitations =========== For the moment, the video input must be H.264 or AVS, and the audio input ADTS, AC-3 ATSC or MPEG layer 2. Also,
the audio is assumed to have a constant number of samples per frame.
SEE ALSO
The full documentation for esmerge is maintained as a Texinfo manual. If the info and esmerge programs are properly installed at your
site, the command
info esmerge
should give you access to the complete manual.
esmerge 1.11 November 2008 ESMERGE(1)