2017-07-28, 07:04 AM
Hi All,
I need a little help converting an avc/aac ts file to mpeg/ac3 ts file.
Notice I am only extracting 2 minutes of video starting at 1 minute from the start.
The code I'm trying to use is ...
ffmpeg -t 00:02:00.000 -ss 00:01:00.000 -i %1 -vcodec mpeg2video -aspect 16:9 -profile:v 4 -level:v 6 -b:v 15000k -bufsize 25000k -maxrate 25000k -vf "scale=1920:1080,yadif=0:-1" -acodec ac3 -ab 448k -ar 48000 -ac 2 -f mpegts -y "%~n1.ts"
When I try and open it in VideoRedo 3 I get the following error message "No PIDs specified when trying to open a transport stream"
If I use the following code ...
ffmpeg -t 00:02:00.000 -ss 00:01:00.000 -i %1 -vcodec mpeg2video -aspect 16:9 -profile:v 4 -level:v 6 -b:v 15000k -bufsize 25000k -maxrate 25000k -vf "scale=1920:1080,yadif=0:-1" -acodec ac3 -ab 448k -ar 48000 -ac 2 -f vob -y "%~n1.mpg"
The screen bleeds messages like ...
[vob @ 00000000025c6040] buffer underflow st=1 bufi=916 size=1792
[vob @ 00000000025c6040] buffer underflow st=1 bufi=1139 size=1792
---------------------------->
[vob @ 00000000025c6040] buffer underflow st=1 bufi=436 size=1792
[vob @ 00000000025c6040] buffer underflow st=1 bufi=659 size=1792
[vob @ 00000000025c6040] buffer underflow st=1 bufi=882 size=1792
Last message repeated 47 times
VideoRedo 3 is happy with the file generated but I do not like blood :eek:
Any help getting the first command to work would be much appreciated. :o
I need a little help converting an avc/aac ts file to mpeg/ac3 ts file.
Notice I am only extracting 2 minutes of video starting at 1 minute from the start.
The code I'm trying to use is ...
ffmpeg -t 00:02:00.000 -ss 00:01:00.000 -i %1 -vcodec mpeg2video -aspect 16:9 -profile:v 4 -level:v 6 -b:v 15000k -bufsize 25000k -maxrate 25000k -vf "scale=1920:1080,yadif=0:-1" -acodec ac3 -ab 448k -ar 48000 -ac 2 -f mpegts -y "%~n1.ts"
When I try and open it in VideoRedo 3 I get the following error message "No PIDs specified when trying to open a transport stream"
If I use the following code ...
ffmpeg -t 00:02:00.000 -ss 00:01:00.000 -i %1 -vcodec mpeg2video -aspect 16:9 -profile:v 4 -level:v 6 -b:v 15000k -bufsize 25000k -maxrate 25000k -vf "scale=1920:1080,yadif=0:-1" -acodec ac3 -ab 448k -ar 48000 -ac 2 -f vob -y "%~n1.mpg"
The screen bleeds messages like ...
[vob @ 00000000025c6040] buffer underflow st=1 bufi=916 size=1792
[vob @ 00000000025c6040] buffer underflow st=1 bufi=1139 size=1792
---------------------------->
[vob @ 00000000025c6040] buffer underflow st=1 bufi=436 size=1792
[vob @ 00000000025c6040] buffer underflow st=1 bufi=659 size=1792
[vob @ 00000000025c6040] buffer underflow st=1 bufi=882 size=1792
Last message repeated 47 times
VideoRedo 3 is happy with the file generated but I do not like blood :eek:
Any help getting the first command to work would be much appreciated. :o
Regards,
Mark
(Remember not to forget that which you don' t need to know.)
Mark
(Remember not to forget that which you don' t need to know.)