user-1344
15-07-2016, 02:26 AM
Greetings all .. get- player has suddenly stopped working as in the conversion to mp4 fails leaving a 'streaming' file ending in 'original.partial.mp4.ts' .. as in the following example:
--
$get_iplayer --get 915
$INFO: Recorded: 552.39MB in 00:05:00 at 15084kbps to file.pw_original.partial.mp4.ts
$INFO: Begin converting file: file.pw_original.partial.mp4.ts
$[h264 @ 0x1ec0ea0] non-existing SPS 0 referenced in buffering period
$[mp4 @ 0x1f0f620] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 1 >= 1
$av_interleaved_write_frame(): Invalid argument
$INFO: Command exit code 1 (raw code = 256)
$WARNING: Conversion failed - retaining file.pw_original.partial.mp4.ts
--
Curiously enough file.pw_original.partial.mp4.ts can be converted to mp4 using the following bash script, that I copied off the Internet:
#!/bin/bash
for f in *.ts;
do
fname="${f%.*}"
rm out.mkv 2> /dev/null
ffmpeg -fix_sub_duration -i "$f" -codec copy -map 0 out.mkv
ffmpeg -fix_sub_duration -i out.mkv -scodec mov_text -acodec copy -vcodec copy "$fname"
done
--
--
$get_iplayer --get 915
$INFO: Recorded: 552.39MB in 00:05:00 at 15084kbps to file.pw_original.partial.mp4.ts
$INFO: Begin converting file: file.pw_original.partial.mp4.ts
$[h264 @ 0x1ec0ea0] non-existing SPS 0 referenced in buffering period
$[mp4 @ 0x1f0f620] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 1 >= 1
$av_interleaved_write_frame(): Invalid argument
$INFO: Command exit code 1 (raw code = 256)
$WARNING: Conversion failed - retaining file.pw_original.partial.mp4.ts
--
Curiously enough file.pw_original.partial.mp4.ts can be converted to mp4 using the following bash script, that I copied off the Internet:
#!/bin/bash
for f in *.ts;
do
fname="${f%.*}"
rm out.mkv 2> /dev/null
ffmpeg -fix_sub_duration -i "$f" -codec copy -map 0 out.mkv
ffmpeg -fix_sub_duration -i out.mkv -scodec mov_text -acodec copy -vcodec copy "$fname"
done
--